2 # From configure.in Id: configure.in 62474 2009-10-22 11:35:43Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
706 LIBGNOMEPRINTUI_CFLAGS
814 ICC_PCH_CREATE_SWITCH
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_DFB_USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
937 COND_TOOLKIT_MGL_USE_GUI_1
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
958 COND_TOOLKIT_X11_USE_GUI_1
960 COND_USE_EXCEPTIONS_0
961 COND_USE_EXCEPTIONS_1
964 COND_USE_GUI_1_USE_OPENGL_1
965 COND_USE_GUI_1_WXUNIV_0
966 COND_USE_GUI_1_WXUNIV_1
967 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
978 COND_USE_SOTWOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
983 COND_USE_SOVERSOLARIS_1
988 COND_WINDOWS_IMPLIB_1
989 COND_WITH_PLUGIN_SDL_1
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
998 COND_wxUSE_EXPAT_builtin
999 COND_wxUSE_LIBJPEG_builtin
1000 COND_wxUSE_LIBPNG_builtin
1001 COND_wxUSE_LIBTIFF_builtin
1002 COND_wxUSE_REGEX_builtin
1003 COND_wxUSE_ZLIB_builtin
1006 WX_LIBRARY_BASENAME_NOGUI
1007 WX_LIBRARY_BASENAME_GUI
1027 WXCONFIG_LDFLAGS_GUI
1039 WX_RESOURCES_MACOSX_ASCII
1040 WX_RESOURCES_MACOSX_DATA
1050 ac_precious_vars
='build_alias
1074 LIBGNOMEPRINTUI_CFLAGS
1075 LIBGNOMEPRINTUI_LIBS
1086 ac_subdirs_all
='src/tiff
1089 # Initialize some variables set by options.
1091 ac_init_version
=false
1092 # The variables have the same names as the options, with
1093 # dashes changed to underlines.
1094 cache_file
=/dev
/null
1101 program_transform_name
=s
,x
,x
,
1109 # Installation directory options.
1110 # These are left unexpanded so users can "make install exec_prefix=/foo"
1111 # and all the variables that are supposed to be based on exec_prefix
1112 # by default will actually change.
1113 # Use braces instead of parens because sh, perl, etc. also accept them.
1114 # (The list follows the same order as the GNU Coding Standards.)
1115 bindir
='${exec_prefix}/bin'
1116 sbindir
='${exec_prefix}/sbin'
1117 libexecdir
='${exec_prefix}/libexec'
1118 datarootdir
='${prefix}/share'
1119 datadir
='${datarootdir}'
1120 sysconfdir
='${prefix}/etc'
1121 sharedstatedir
='${prefix}/com'
1122 localstatedir
='${prefix}/var'
1123 includedir
='${prefix}/include'
1124 oldincludedir
='/usr/include'
1125 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1126 infodir
='${datarootdir}/info'
1131 libdir
='${exec_prefix}/lib'
1132 localedir
='${datarootdir}/locale'
1133 mandir
='${datarootdir}/man'
1139 # If the previous option needs an argument, assign it.
1140 if test -n "$ac_prev"; then
1141 eval $ac_prev=\
$ac_option
1147 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1151 # Accept the important Cygnus configure options, so we can diagnose typos.
1153 case $ac_dashdash$ac_option in
1157 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1159 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1160 bindir
=$ac_optarg ;;
1162 -build | --build | --buil | --bui | --bu)
1163 ac_prev
=build_alias
;;
1164 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1165 build_alias
=$ac_optarg ;;
1167 -cache-file | --cache-file | --cache-fil | --cache-fi \
1168 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1169 ac_prev
=cache_file
;;
1170 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1171 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1172 cache_file
=$ac_optarg ;;
1174 --config-cache | -C)
1175 cache_file
=config.cache
;;
1177 -datadir | --datadir | --datadi | --datad)
1179 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1180 datadir
=$ac_optarg ;;
1182 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1183 | --dataroo | --dataro | --datar)
1184 ac_prev
=datarootdir
;;
1185 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1186 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1187 datarootdir
=$ac_optarg ;;
1189 -disable-* | --disable-*)
1190 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1194 { (exit 1); exit 1; }; }
1195 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1196 eval enable_
$ac_feature=no
;;
1198 -docdir | --docdir | --docdi | --doc | --do)
1200 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1201 docdir
=$ac_optarg ;;
1203 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1205 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1206 dvidir
=$ac_optarg ;;
1208 -enable-* | --enable-*)
1209 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1212 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1213 { (exit 1); exit 1; }; }
1214 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1215 eval enable_
$ac_feature=\
$ac_optarg ;;
1217 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1218 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1219 | --exec | --exe | --ex)
1220 ac_prev
=exec_prefix
;;
1221 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1222 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1223 | --exec=* | --exe=* | --ex=*)
1224 exec_prefix
=$ac_optarg ;;
1226 -gas | --gas | --ga | --g)
1227 # Obsolete; use --with-gas.
1230 -help | --help | --hel | --he | -h)
1231 ac_init_help
=long
;;
1232 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1233 ac_init_help
=recursive
;;
1234 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1235 ac_init_help
=short
;;
1237 -host | --host | --hos | --ho)
1238 ac_prev
=host_alias
;;
1239 -host=* | --host=* | --hos=* | --ho=*)
1240 host_alias
=$ac_optarg ;;
1242 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1244 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1246 htmldir
=$ac_optarg ;;
1248 -includedir | --includedir | --includedi | --included | --include \
1249 | --includ | --inclu | --incl | --inc)
1250 ac_prev
=includedir
;;
1251 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1252 | --includ=* | --inclu=* | --incl=* | --inc=*)
1253 includedir
=$ac_optarg ;;
1255 -infodir | --infodir | --infodi | --infod | --info | --inf)
1257 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1258 infodir
=$ac_optarg ;;
1260 -libdir | --libdir | --libdi | --libd)
1262 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1263 libdir
=$ac_optarg ;;
1265 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1266 | --libexe | --libex | --libe)
1267 ac_prev
=libexecdir
;;
1268 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1269 | --libexe=* | --libex=* | --libe=*)
1270 libexecdir
=$ac_optarg ;;
1272 -localedir | --localedir | --localedi | --localed | --locale)
1273 ac_prev
=localedir
;;
1274 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1275 localedir
=$ac_optarg ;;
1277 -localstatedir | --localstatedir | --localstatedi | --localstated \
1278 | --localstate | --localstat | --localsta | --localst | --locals)
1279 ac_prev
=localstatedir
;;
1280 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1281 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1282 localstatedir
=$ac_optarg ;;
1284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1287 mandir
=$ac_optarg ;;
1289 -nfp | --nfp | --nf)
1290 # Obsolete; use --without-fp.
1293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1294 | --no-cr | --no-c | -n)
1297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1303 | --oldin | --oldi | --old | --ol | --o)
1304 ac_prev
=oldincludedir
;;
1305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1308 oldincludedir
=$ac_optarg ;;
1310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1313 prefix
=$ac_optarg ;;
1315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1316 | --program-pre | --program-pr | --program-p)
1317 ac_prev
=program_prefix
;;
1318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1320 program_prefix
=$ac_optarg ;;
1322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1323 | --program-suf | --program-su | --program-s)
1324 ac_prev
=program_suffix
;;
1325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1327 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1337 -program-transform-name=* | --program-transform-name=* \
1338 | --program-transform-nam=* | --program-transform-na=* \
1339 | --program-transform-n=* | --program-transform-=* \
1340 | --program-transform=* | --program-transfor=* \
1341 | --program-transfo=* | --program-transf=* \
1342 | --program-trans=* | --program-tran=* \
1343 | --progr-tra=* | --program-tr=* | --program-t=*)
1344 program_transform_name
=$ac_optarg ;;
1346 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1348 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1349 pdfdir
=$ac_optarg ;;
1351 -psdir | --psdir | --psdi | --psd | --ps)
1353 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1357 | -silent | --silent | --silen | --sile | --sil)
1360 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1362 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1364 sbindir
=$ac_optarg ;;
1366 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1367 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1368 | --sharedst | --shareds | --shared | --share | --shar \
1370 ac_prev
=sharedstatedir
;;
1371 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1372 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1373 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1375 sharedstatedir
=$ac_optarg ;;
1377 -site | --site | --sit)
1379 -site=* | --site=* | --sit=*)
1382 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1384 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1385 srcdir
=$ac_optarg ;;
1387 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1388 | --syscon | --sysco | --sysc | --sys | --sy)
1389 ac_prev
=sysconfdir
;;
1390 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1391 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1392 sysconfdir
=$ac_optarg ;;
1394 -target | --target | --targe | --targ | --tar | --ta | --t)
1395 ac_prev
=target_alias
;;
1396 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1397 target_alias
=$ac_optarg ;;
1399 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1402 -version | --version | --versio | --versi | --vers | -V)
1403 ac_init_version
=: ;;
1406 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_
$ac_package=\
$ac_optarg ;;
1414 -without-* | --without-*)
1415 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1418 { echo "$as_me: error: invalid package name: $ac_package" >&2
1419 { (exit 1); exit 1; }; }
1420 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1421 eval with_
$ac_package=no
;;
1424 # Obsolete; use --with-x.
1427 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1428 | --x-incl | --x-inc | --x-in | --x-i)
1429 ac_prev
=x_includes
;;
1430 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1431 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1432 x_includes
=$ac_optarg ;;
1434 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1435 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1436 ac_prev
=x_libraries
;;
1437 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1438 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1439 x_libraries
=$ac_optarg ;;
1441 -*) { echo "$as_me: error: unrecognized option: $ac_option
1442 Try \`$0 --help' for more information." >&2
1443 { (exit 1); exit 1; }; }
1447 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1448 # Reject names that are not valid shell variable names.
1449 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1450 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1451 { (exit 1); exit 1; }; }
1452 eval $ac_envvar=\
$ac_optarg
1453 export $ac_envvar ;;
1456 # FIXME: should be removed in autoconf 3.0.
1457 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1458 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1459 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1460 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1466 if test -n "$ac_prev"; then
1467 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1468 { echo "$as_me: error: missing argument to $ac_option" >&2
1469 { (exit 1); exit 1; }; }
1472 # Be sure to have absolute directory names.
1473 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1474 datadir sysconfdir sharedstatedir localstatedir includedir \
1475 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1476 libdir localedir mandir
1478 eval ac_val
=\$
$ac_var
1480 [\\/$
]* | ?
:[\\/]* ) continue;;
1481 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1483 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1484 { (exit 1); exit 1; }; }
1487 # There might be people who depend on the old broken behavior: `$host'
1488 # used to hold the argument of --host etc.
1489 # FIXME: To remove some day.
1492 target
=$target_alias
1494 # FIXME: To remove some day.
1495 if test "x$host_alias" != x
; then
1496 if test "x$build_alias" = x
; then
1497 cross_compiling
=maybe
1498 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1499 If a cross compiler is detected then cross compile mode will be used." >&2
1500 elif test "x$build_alias" != "x$host_alias"; then
1506 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1508 test "$silent" = yes && exec 6>/dev
/null
1511 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1512 ac_ls_di
=`ls -di .` &&
1513 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1514 { echo "$as_me: error: Working directory cannot be determined" >&2
1515 { (exit 1); exit 1; }; }
1516 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1517 { echo "$as_me: error: pwd does not report name of working directory" >&2
1518 { (exit 1); exit 1; }; }
1521 # Find the source files, if location was not specified.
1522 if test -z "$srcdir"; then
1523 ac_srcdir_defaulted
=yes
1524 # Try the directory containing this script, then the parent directory.
1525 ac_confdir
=`$as_dirname -- "$0" ||
1526 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1527 X"$0" : 'X\(//\)[^/]' \| \
1528 X"$0" : 'X\(//\)$' \| \
1529 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1553 ac_srcdir_defaulted
=no
1555 if test ! -r "$srcdir/$ac_unique_file"; then
1556 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1557 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1558 { (exit 1); exit 1; }; }
1560 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1562 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1563 { (exit 1); exit 1; }; }
1565 # When building in place, set srcdir=.
1566 if test "$ac_abs_confdir" = "$ac_pwd"; then
1569 # Remove unnecessary trailing slashes from srcdir.
1570 # Double slashes in file names in object file debugging info
1571 # mess up M-x gdb in Emacs.
1573 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1575 for ac_var
in $ac_precious_vars; do
1576 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1577 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1578 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1579 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1583 # Report the --help message.
1585 if test "$ac_init_help" = "long"; then
1586 # Omit some internal or obsolete options to make the list less imposing.
1587 # This message is too long to be a string in the A/UX 3.1 sh.
1589 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1591 Usage: $0 [OPTION]... [VAR=VALUE]...
1593 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1594 VAR=VALUE. See below for descriptions of some of the useful variables.
1596 Defaults for the options are specified in brackets.
1599 -h, --help display this help and exit
1600 --help=short display options specific to this package
1601 --help=recursive display the short help of all the included packages
1602 -V, --version display version information and exit
1603 -q, --quiet, --silent do not print \`checking...' messages
1604 --cache-file=FILE cache test results in FILE [disabled]
1605 -C, --config-cache alias for \`--cache-file=config.cache'
1606 -n, --no-create do not create output files
1607 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1609 Installation directories:
1610 --prefix=PREFIX install architecture-independent files in PREFIX
1611 [$ac_default_prefix]
1612 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1615 By default, \`make install' will install all the files in
1616 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1617 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1618 for instance \`--prefix=\$HOME'.
1620 For better control, use the options below.
1622 Fine tuning of the installation directories:
1623 --bindir=DIR user executables [EPREFIX/bin]
1624 --sbindir=DIR system admin executables [EPREFIX/sbin]
1625 --libexecdir=DIR program executables [EPREFIX/libexec]
1626 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1627 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1628 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1629 --libdir=DIR object code libraries [EPREFIX/lib]
1630 --includedir=DIR C header files [PREFIX/include]
1631 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1632 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1633 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1634 --infodir=DIR info documentation [DATAROOTDIR/info]
1635 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1636 --mandir=DIR man documentation [DATAROOTDIR/man]
1637 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1638 --htmldir=DIR html documentation [DOCDIR]
1639 --dvidir=DIR dvi documentation [DOCDIR]
1640 --pdfdir=DIR pdf documentation [DOCDIR]
1641 --psdir=DIR ps documentation [DOCDIR]
1647 --x-includes=DIR X include files are
in DIR
1648 --x-libraries=DIR X library files are
in DIR
1651 --build=BUILD configure
for building on BUILD
[guessed
]
1652 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1656 if test -n "$ac_init_help"; then
1657 case $ac_init_help in
1658 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1663 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1664 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1665 --disable-gui don
't build GUI parts of the library
1666 --enable-monolithic build wxWidgets as single library
1667 --enable-plugins build parts of wxWidgets as loadable components
1668 --enable-official_build official build of wxWidgets (win32 DLL only)
1669 --enable-vendor=VENDOR vendor name (win32 DLL only)
1670 --disable-all-features disable all optional features to build minimal library
1671 --enable-universal use wxWidgets GUI controls instead of native ones
1672 --enable-nanox use NanoX
1673 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1674 --enable-gpe use GNOME PDA Environment features if possible
1675 --enable-debug build library for debugging
1676 --disable-debug_flag disable all debugging support
1677 --enable-debug_info generate debug information
1678 --enable-debug_gdb create code with extra GDB debugging information
1679 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1680 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1681 --disable-shared create static library instead of shared
1682 --enable-stl use STL for containers
1683 --enable-std_iostreams use standard C++ stream classes
1684 --enable-std_string use standard C++ string classes
1685 --disable-unicode compile without Unicode support
1686 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1687 --enable-utf8 use UTF-8 representation for strings (Unix only)
1688 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1689 --enable-extended_rtti use extended RTTI (XTI)
1690 --enable-omf use OMF object format
1691 --disable-optimise compile without optimisations
1692 --enable-profile create code with profiling information
1693 --enable-no_rtti create code without RTTI information
1694 --enable-no_exceptions create code without C++ exceptions handling
1695 --enable-permissive compile code disregarding strict ANSI
1696 --enable-no_deps create code without dependency information
1697 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1698 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1699 --enable-compat26 enable wxWidgets
2.6 compatibility
1700 --disable-compat28 disable wxWidgets
2.8 compatibility
1701 --disable-rpath disable use of rpath
for uninstalled builds
1702 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1703 --disable-visibility disable use of ELF symbols visibility even
if supported
1704 --disable-tls disable use of compiler TLS support
1705 --enable-intl use internationalization system
1706 --enable-xlocale use x
-locale support
(requires wxLocale
)
1707 --enable-config use wxConfig
(and derived
) classes
1708 --enable-protocols use wxProtocol and derived classes
1709 --enable-ftp use wxFTP
(requires wxProtocol
1710 --enable-http use wxHTTP
(requires wxProtocol
1711 --enable-fileproto use wxFileProto class
(requires wxProtocol
1712 --enable-sockets use socket
/network classes
1713 --enable-ipv6 enable IPv6 support
in wxSocket
1714 --enable-ole use OLE classes
(Win32 only
)
1715 --enable-dataobj use data object classes
1716 --enable-ipc use interprocess communication
(wxSocket etc.
)
1717 --enable-baseevtloop use event loop
in console programs too
1718 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1719 --enable-selectloop use wxSelectDispatcher class
1720 --enable-any use wxAny class
1721 --enable-apple_ieee use the Apple IEEE codec
1722 --enable-arcstream use wxArchive streams
1723 --enable-base64 use base64 encoding
/decoding functions
1724 --enable-backtrace use wxStackWalker class
for getting backtraces
1725 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1726 --enable-cmdline use wxCmdLineParser class
1727 --enable-datetime use wxDateTime class
1728 --enable-debugreport use wxDebugReport class
1729 --enable-dialupman use dialup network classes
1730 --enable-dynlib use wxLibrary class
for DLL loading
1731 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1732 --enable-exceptions build exception
-safe library
1733 --enable-ffile use wxFFile class
1734 --enable-file use wxFile class
1735 --enable-filesystem use virtual
file systems classes
1736 --enable-fontenum use wxFontEnumerator class
1737 --enable-fontmap use font encodings conversion classes
1738 --enable-fs_archive use virtual archive filesystems
1739 --enable-fs_inet use virtual HTTP
/FTP filesystems
1740 --enable-fs_zip now replaced by fs_archive
1741 --enable-fswatcher use wxFileSystemWatcher class
1742 --enable-geometry use geometry class
1743 --enable-log use logging system
1744 --enable-longlong use wxLongLong class
1745 --enable-mimetype use wxMimeTypesManager
1746 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1747 --enable-snglinst use wxSingleInstanceChecker class
1748 --enable-sound use wxSound class
1749 --enable-stdpaths use wxStandardPaths class
1750 --enable-stopwatch use wxStopWatch class
1751 --enable-streams use wxStream etc classes
1752 --enable-sysoptions use wxSystemOptions
1753 --enable-tarstream use wxTar streams
1754 --enable-textbuf use wxTextBuffer class
1755 --enable-textfile use wxTextFile class
1756 --enable-timer use wxTimer class
1757 --enable-variant use wxVariant class
1758 --enable-zipstream use wxZip streams
1759 --enable-url use wxURL class
1760 --enable-protocol use wxProtocol class
1761 --enable-protocol-http HTTP support
in wxProtocol
1762 --enable-protocol-ftp FTP support
in wxProtocol
1763 --enable-protocol-file FILE support
in wxProtocol
1764 --enable-threads use threads
1765 --enable-iniconf use wxIniConfig
(Win32 only
)
1766 --enable-regkey use wxRegKey class
(Win32 only
)
1767 --enable-docview use document view architecture
1768 --enable-help use
help subsystem
1769 --enable-mshtmlhelp use MS HTML Help
(win32
)
1770 --enable-html use wxHTML sub
-library
1771 --enable-htmlhelp use wxHTML
-based help
1772 --enable-xrc use XRC resources sub
-library
1773 --enable-aui use AUI docking library
1774 --enable-propgrid use wxPropertyGrid library
1775 --enable-ribbon use wxRibbon library
1776 --enable-stc use wxStyledTextCtrl library
1777 --enable-constraints use layout
-constraints system
1778 --enable-loggui use standard GUI logger
1779 --enable-logwin use wxLogWindow
1780 --enable-logdialog use wxLogDialog
1781 --enable-mdi use multiple document interface architecture
1782 --enable-mdidoc use docview architecture with MDI
1783 --enable-mediactrl use wxMediaCtrl class
1784 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1785 --enable-webkit use wxWebKitCtrl
(Mac
)
1786 --enable-richtext use wxRichTextCtrl
1787 --enable-graphics_ctx use graphics context
2D drawing API
1788 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1789 --enable-printarch use printing architecture
1790 --enable-svg use wxSVGFileDC device context
1791 --enable-clipboard use wxClipboard class
1792 --enable-dnd use Drag
'n'Drop classes
1793 --enable-metafile use win32 metafiles
1794 --disable-controls disable compilation of all standard controls
1795 --enable-accel use accelerators
1796 --enable-animatectrl use wxAnimationCtrl class
1797 --enable-bmpbutton use wxBitmapButton class
1798 --enable-bmpcombobox use wxBitmapComboBox class
1799 --enable-button use wxButton class
1800 --enable-calendar use wxCalendarCtrl class
1801 --enable-caret use wxCaret class
1802 --enable-checkbox use wxCheckBox class
1803 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1804 --enable-choice use wxChoice class
1805 --enable-choicebook use wxChoicebook class
1806 --enable-collpane use wxCollapsiblePane class
1807 --enable-colourpicker use wxColourPickerCtrl class
1808 --enable-combobox use wxComboBox class
1809 --enable-comboctrl use wxComboCtrl class
1810 --enable-dataviewctrl use wxDataViewCtrl class
1811 --enable-datepick use wxDatePickerCtrl class
1812 --enable-detect_sm use code to detect X11 session manager
1813 --enable-dirpicker use wxDirPickerCtrl class
1814 --enable-display use wxDisplay class
1815 --enable-editablebox use wxEditableListBox class
1816 --enable-filectrl use wxFileCtrl class
1817 --enable-filepicker use wxFilePickerCtrl class
1818 --enable-fontpicker use wxFontPickerCtrl class
1819 --enable-gauge use wxGauge class
1820 --enable-grid use wxGrid class
1821 --enable-headerctrl use wxHeaderCtrl class
1822 --enable-hyperlink use wxHyperlinkCtrl class
1823 --enable-imaglist use wxImageList class
1824 --enable-infobar use wxInfoBar class
1825 --enable-listbook use wxListbook class
1826 --enable-listbox use wxListBox class
1827 --enable-listctrl use wxListCtrl class
1828 --enable-notebook use wxNotebook class
1829 --enable-notifmsg use wxNotificationMessage class
1830 --enable-odcombobox use wxOwnerDrawnComboBox class
1831 --enable-popupwin use wxPopUpWindow class
1832 --enable-radiobox use wxRadioBox class
1833 --enable-radiobtn use wxRadioButton class
1834 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1835 --enable-sash use wxSashWindow class
1836 --enable-scrollbar use wxScrollBar class and scrollable windows
1837 --enable-searchctrl use wxSearchCtrl class
1838 --enable-slider use wxSlider class
1839 --enable-spinbtn use wxSpinButton class
1840 --enable-spinctrl use wxSpinCtrl class
1841 --enable-splitter use wxSplitterWindow class
1842 --enable-statbmp use wxStaticBitmap class
1843 --enable-statbox use wxStaticBox class
1844 --enable-statline use wxStaticLine class
1845 --enable-stattext use wxStaticText class
1846 --enable-statusbar use wxStatusBar class
1847 --enable-taskbaricon use wxTaskBarIcon class
1848 --enable-tbarnative use native wxToolBar class
1849 --enable-textctrl use wxTextCtrl class
1850 --enable-tipwindow use wxTipWindow class
1851 --enable-togglebtn use wxToggleButton class
1852 --enable-toolbar use wxToolBar class
1853 --enable-toolbook use wxToolbook class
1854 --enable-treebook use wxTreebook class
1855 --enable-treectrl use wxTreeCtrl class
1856 --enable-commondlg use all common dialogs
1857 --enable-aboutdlg use wxAboutBox
1858 --enable-choicedlg use wxChoiceDialog
1859 --enable-coldlg use wxColourDialog
1860 --enable-filedlg use wxFileDialog
1861 --enable-finddlg use wxFindReplaceDialog
1862 --enable-fontdlg use wxFontDialog
1863 --enable-dirdlg use wxDirDialog
1864 --enable-msgdlg use wxMessageDialog
1865 --enable-numberdlg use wxNumberEntryDialog
1866 --enable-splash use wxSplashScreen
1867 --enable-textdlg use wxTextDialog
1868 --enable-tipdlg use startup tips
1869 --enable-progressdlg use wxProgressDialog
1870 --enable-wizarddlg use wxWizard
1871 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1872 --enable-miniframe use wxMiniFrame class
1873 --enable-tooltips use wxToolTip class
1874 --enable-splines use spline drawing code
1875 --enable-mousewheel use mousewheel
1876 --enable-validators use wxValidator and derived classes
1877 --enable-busyinfo use wxBusyInfo
1878 --enable-joystick use wxJoystick
1879 --enable-metafiles use wxMetaFile
(Win32 only
)
1880 --enable-dragimage use wxDragImage
1881 --enable-accessibility enable accessibility support
1882 --enable-palette use wxPalette class
1883 --enable-image use wxImage class
1884 --enable-gif use gif images
(GIF
file format
)
1885 --enable-pcx use pcx images
(PCX
file format
)
1886 --enable-tga use tga images
(TGA
file format
)
1887 --enable-iff use iff images
(IFF
file format
)
1888 --enable-pnm use pnm images
(PNM
file format
)
1889 --enable-xpm use xpm images
(XPM
file format
)
1890 --enable-ico_cur use Windows ICO and CUR formats
1891 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1892 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1893 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1894 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1895 --enable-wxdib use wxDIB class
(Win32 only
)
1896 --enable-autoidman use automatic ids management
1897 --disable-largefile omit support
for large files
1898 --disable-gtktest do not try to compile and run a
test GTK
+ program
1899 --disable-gtktest Do not try to compile and run a
test GTK program
1900 --disable-sdltest Do not try to compile and run a
test SDL program
1901 --enable-omf use OMF object format
(OS
/2)
1902 --disable-dependency-tracking
1903 don
't use dependency tracking even if the compiler
1905 --disable-precomp-headers
1906 don't use precompiled headers even
if compiler can
1909 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1910 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1911 --without-subdirs don
't generate makefiles for samples/demos/...
1912 --with-flavour=NAME specify a name to identify this build
1913 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1914 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1915 --with-motif use Motif/Lesstif
1916 --with-osx_carbon use Mac OS X (Carbon)
1917 --with-osx_cocoa use Mac OS X (Cocoa)
1918 --with-mac use Mac OS X (Default)
1919 --with-cocoa use Cocoa
1920 --with-wine use Wine
1921 --with-msw use MS-Windows
1922 --with-pm use OS/2 Presentation Manager
1923 --with-mgl use SciTech MGL
1924 --with-directfb use DirectFB
1925 --with-microwin use MicroWindows
1927 --with-libpng use libpng (PNG image format)
1928 --with-libjpeg use libjpeg (JPEG file format)
1929 --with-libtiff use libtiff (TIFF file format)
1930 --with-libxpm use libxpm (XPM file format)
1931 --with-libiconv use libiconv (character conversion)
1932 --with-libmspack use libmspack (CHM help files loading)
1933 --without-gtkprint don't use GTK printing support
1934 --without-gnomeprint don
't use GNOME printing libraries
1935 --with-gnomevfs use GNOME VFS for associating MIME types
1936 --with-hildon use Hildon framework for Nokia 770/800/810
1937 --with-opengl use OpenGL (or Mesa)
1938 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1939 --with-sdl use SDL for audio on Unix
1940 --with-regex enable support for wxRegEx class
1941 --with-zlib use zlib for LZW compression
1942 --with-expat enable XML support using expat parser
1943 --with-macosx-sdk=PATH use an OS X SDK at PATH
1944 --with-macosx-version-min=VER build binaries which require at least this OS X version
1945 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1946 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1947 --with-x use the X Window System
1948 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1949 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1950 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1951 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1952 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1954 Some influential environment variables:
1955 CC C compiler command
1956 CFLAGS C compiler flags
1957 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1958 nonstandard directory <lib dir>
1959 LIBS libraries to pass to the linker, e.g. -l<library>
1960 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1961 you have headers in a nonstandard directory <include dir>
1963 CXX C++ compiler command
1964 CXXFLAGS C++ compiler flags
1965 PKG_CONFIG path to pkg-config utility
1967 C compiler flags for DIRECTFB, overriding pkg-config
1969 linker flags for DIRECTFB, overriding pkg-config
1970 XMKMF Path to xmkmf, Makefile generator for X Window System
1972 C compiler flags for PANGOX, overriding pkg-config
1973 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1975 C compiler flags for PANGOFT2, overriding pkg-config
1977 linker flags for PANGOFT2, overriding pkg-config
1979 C compiler flags for PANGOXFT, overriding pkg-config
1981 linker flags for PANGOXFT, overriding pkg-config
1983 C compiler flags for GTKPRINT, overriding pkg-config
1985 linker flags for GTKPRINT, overriding pkg-config
1986 LIBGNOMEPRINTUI_CFLAGS
1987 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1988 LIBGNOMEPRINTUI_LIBS
1989 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1991 C compiler flags for GNOMEVFS, overriding pkg-config
1993 linker flags for GNOMEVFS, overriding pkg-config
1995 C compiler flags for HILDON, overriding pkg-config
1996 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1998 C compiler flags for HILDON2, overriding pkg-config
2000 linker flags for HILDON2, overriding pkg-config
2002 C compiler flags for CAIRO, overriding pkg-config
2003 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2004 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2005 GST_LIBS linker flags for GST, overriding pkg-config
2007 Use these variables to override the choices made by `configure' or to
help
2008 it to
find libraries and programs with nonstandard names
/locations.
2010 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2015 if test "$ac_init_help" = "recursive"; then
2016 # If there are subdirs, report their specific --help.
2017 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2018 test -d "$ac_dir" || continue
2022 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2024 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2025 # A ".." for each directory in $ac_dir_suffix.
2026 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2027 case $ac_top_builddir_sub in
2028 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2029 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2032 ac_abs_top_builddir
=$ac_pwd
2033 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2034 # for backward compatibility:
2035 ac_top_builddir
=$ac_top_build_prefix
2038 .
) # We are building in place.
2040 ac_top_srcdir
=$ac_top_builddir_sub
2041 ac_abs_top_srcdir
=$ac_pwd ;;
2042 [\\/]* | ?
:[\\/]* ) # Absolute name.
2043 ac_srcdir
=$srcdir$ac_dir_suffix;
2044 ac_top_srcdir
=$srcdir
2045 ac_abs_top_srcdir
=$srcdir ;;
2047 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2048 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2049 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2051 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2053 cd "$ac_dir" || { ac_status
=$?
; continue; }
2054 # Check for guested configure.
2055 if test -f "$ac_srcdir/configure.gnu"; then
2057 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2058 elif test -f "$ac_srcdir/configure"; then
2060 $SHELL "$ac_srcdir/configure" --help=recursive
2062 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2064 cd "$ac_pwd" || { ac_status
=$?
; break; }
2068 test -n "$ac_init_help" && exit $ac_status
2069 if $ac_init_version; then
2071 wxWidgets configure
2.9.1
2072 generated by GNU Autoconf
2.61
2074 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2075 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2076 This configure
script is free software
; the Free Software Foundation
2077 gives unlimited permission to copy
, distribute and modify it.
2081 cat >config.log
<<_ACEOF
2082 This file contains any messages produced by compilers while
2083 running configure, to aid debugging if configure makes a mistake.
2085 It was created by wxWidgets $as_me 2.9.1, which was
2086 generated by GNU Autoconf 2.61. Invocation command line was
2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2107 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2108 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2111 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2112 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2113 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir
=.
2122 echo "PATH: $as_dir"
2138 # Keep a trace of the command line.
2139 # Strip out --no-create and --no-recursion so they do not pile up.
2140 # Strip out --silent because we don't want to record it for future runs.
2141 # Also quote any args containing shell meta-characters.
2142 # Make two passes to allow for proper duplicate-argument suppression.
2146 ac_must_keep_next
=false
2152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2157 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2160 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2162 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2163 if test $ac_must_keep_next = true
; then
2164 ac_must_keep_next
=false
# Got value, back to normal.
2167 *=* | --config-cache | -C | -disable-* | --disable-* \
2168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170 | -with-* | --with-* | -without-* | --without-* | --x)
2171 case "$ac_configure_args0 " in
2172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2175 -* ) ac_must_keep_next
=true
;;
2178 ac_configure_args
="$ac_configure_args '$ac_arg'"
2183 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2184 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2186 # When interrupted or exit'd, cleanup temporary files, and complete
2187 # config.log. We remove comments because anyway the quotes in there
2188 # would cause problems or look ugly.
2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191 trap 'exit_status=$?
2192 # Save into config.log some information that might help in debugging.
2197 ## ---------------- ##
2198 ## Cache variables. ##
2199 ## ---------------- ##
2202 # The following way of writing the cache mishandles newlines in values,
2204 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2205 eval ac_val=\$$ac_var
2209 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2210 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2213 _ | IFS | as_nl) ;; #(
2214 *) $as_unset $ac_var ;;
2219 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2220 *${as_nl}ac_space=\ *)
2222 "s/'\''/'\''\\\\'\'''\''/g;
2223 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2234 ## ----------------- ##
2235 ## Output variables. ##
2236 ## ----------------- ##
2239 for ac_var in $ac_subst_vars
2241 eval ac_val=\$$ac_var
2243 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 echo "$ac_var='\''$ac_val'\''"
2249 if test -n "$ac_subst_files"; then
2251 ## ------------------- ##
2252 ## File substitutions. ##
2253 ## ------------------- ##
2256 for ac_var
in $ac_subst_files
2258 eval ac_val
=\$
$ac_var
2260 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 echo "$ac_var='\''$ac_val'\''"
2267 if test -s confdefs.h; then
2277 test "$ac_signal" != 0 &&
2278 echo "$as_me: caught signal $ac_signal"
2279 echo "$as_me: exit $exit_status"
2281 rm -f core *.core core.conftest.* &&
2282 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2285 for ac_signal
in 1 2 13 15; do
2286 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2290 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2291 rm -f -r conftest
* confdefs.h
2293 # Predefined preprocessor variables.
2295 cat >>confdefs.h
<<_ACEOF
2296 #define PACKAGE_NAME "$PACKAGE_NAME"
2300 cat >>confdefs.h
<<_ACEOF
2301 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2305 cat >>confdefs.h
<<_ACEOF
2306 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2310 cat >>confdefs.h
<<_ACEOF
2311 #define PACKAGE_STRING "$PACKAGE_STRING"
2315 cat >>confdefs.h
<<_ACEOF
2316 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2320 # Let the site file select an alternate cache file if it wants to.
2321 # Prefer explicitly selected file to automatically selected ones.
2322 if test -n "$CONFIG_SITE"; then
2323 set x
"$CONFIG_SITE"
2324 elif test "x$prefix" != xNONE
; then
2325 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2327 set x
"$ac_default_prefix/share/config.site" \
2328 "$ac_default_prefix/etc/config.site"
2333 if test -r "$ac_site_file"; then
2334 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2335 echo "$as_me: loading site script $ac_site_file" >&6;}
2336 sed 's/^/| /' "$ac_site_file" >&5
2341 if test -r "$cache_file"; then
2342 # Some versions of bash will fail to source /dev/null (special
2343 # files actually), so we avoid doing that.
2344 if test -f "$cache_file"; then
2345 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2346 echo "$as_me: loading cache $cache_file" >&6;}
2348 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2349 *) .
"./$cache_file";;
2353 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2354 echo "$as_me: creating cache $cache_file" >&6;}
2358 # Check that the precious variables saved in the cache have kept the same
2360 ac_cache_corrupted
=false
2361 for ac_var
in $ac_precious_vars; do
2362 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2363 eval ac_new_set
=\
$ac_env_${ac_var}_set
2364 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2365 eval ac_new_val
=\
$ac_env_${ac_var}_value
2366 case $ac_old_set,$ac_new_set in
2368 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2369 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2370 ac_cache_corrupted
=: ;;
2372 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2373 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2374 ac_cache_corrupted
=: ;;
2377 if test "x$ac_old_val" != "x$ac_new_val"; then
2378 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2379 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2380 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2381 echo "$as_me: former value: $ac_old_val" >&2;}
2382 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2383 echo "$as_me: current value: $ac_new_val" >&2;}
2384 ac_cache_corrupted
=:
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2390 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 *) ac_arg
=$ac_var=$ac_new_val ;;
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2399 if $ac_cache_corrupted; then
2400 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2401 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2402 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2403 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2404 { (exit 1); exit 1; }; }
2432 ac_cpp
='$CPP $CPPFLAGS'
2433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2442 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2443 if test -f "$ac_dir/install-sh"; then
2445 ac_install_sh
="$ac_aux_dir/install-sh -c"
2447 elif test -f "$ac_dir/install.sh"; then
2449 ac_install_sh
="$ac_aux_dir/install.sh -c"
2451 elif test -f "$ac_dir/shtool"; then
2453 ac_install_sh
="$ac_aux_dir/shtool install -c"
2457 if test -z "$ac_aux_dir"; then
2458 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2459 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2460 { (exit 1); exit 1; }; }
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2472 # Make sure we can run config.sub.
2473 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2474 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2475 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2476 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: checking build system type" >&5
2479 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_build+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 ac_build_alias
=$build_alias
2484 test "x$ac_build_alias" = x
&&
2485 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2486 test "x$ac_build_alias" = x
&&
2487 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2488 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2489 { (exit 1); exit 1; }; }
2490 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2496 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2497 echo "${ECHO_T}$ac_cv_build" >&6; }
2498 case $ac_cv_build in
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2501 echo "$as_me: error: invalid value of canonical build" >&2;}
2502 { (exit 1); exit 1; }; };;
2505 ac_save_IFS
=$IFS; IFS
='-'
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2515 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2518 { echo "$as_me:$LINENO: checking host system type" >&5
2519 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2520 if test "${ac_cv_host+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 if test "x$host_alias" = x
; then
2524 ac_cv_host
=$ac_cv_build
2526 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2527 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2528 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2529 { (exit 1); exit 1; }; }
2533 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2534 echo "${ECHO_T}$ac_cv_host" >&6; }
2537 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2538 echo "$as_me: error: invalid value of canonical host" >&2;}
2539 { (exit 1); exit 1; }; };;
2542 ac_save_IFS
=$IFS; IFS
='-'
2548 # Remember, the first character of IFS is used to create $*,
2549 # except with old shells:
2552 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2556 if test "$cross_compiling" != "no"; then
2557 HOST_PREFIX
="${host_alias}-"
2558 HOST_SUFFIX
="-$host_alias"
2565 wx_major_version_number
=2
2566 wx_minor_version_number
=9
2568 wx_subrelease_number
=0
2570 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2571 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2572 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2574 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2577 wx_top_builddir
="`pwd`"
2590 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2596 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2604 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2606 DEFAULT_wxUSE_COCOA
=0
2608 DEFAULT_wxUSE_OSX_CARBON
=0
2609 DEFAULT_wxUSE_OSX_COCOA
=0
2611 DEFAULT_wxUSE_MICROWIN
=0
2612 DEFAULT_wxUSE_MOTIF
=0
2618 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2619 DEFAULT_DEFAULT_wxUSE_GTK
=0
2620 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2621 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2622 DEFAULT_DEFAULT_wxUSE_MGL
=0
2623 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2624 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2625 DEFAULT_DEFAULT_wxUSE_MSW
=0
2626 DEFAULT_DEFAULT_wxUSE_PM
=0
2627 DEFAULT_DEFAULT_wxUSE_X11
=0
2628 DEFAULT_DEFAULT_wxUSE_DFB
=0
2632 DYLIB_RPATH_INSTALL
=
2633 DYLIB_RPATH_POSTLINK
=
2635 DEFAULT_STD_FLAG
=yes
2640 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2641 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2642 cat >>confdefs.h
<<\_ACEOF
2647 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2651 cat >>confdefs.h
<<\_ACEOF
2656 if test "x$TMP" = "xalpha"; then
2658 cat >>confdefs.h
<<\_ACEOF
2663 DEFAULT_DEFAULT_wxUSE_GTK
=1
2665 *-*-gnu* | *-*-k*bsd
*-gnu )
2668 if test "x$TMP" = "xalpha"; then
2670 cat >>confdefs.h
<<\_ACEOF
2675 DEFAULT_DEFAULT_wxUSE_GTK
=1
2677 *-*-irix5* | *-*-irix6* )
2680 cat >>confdefs.h
<<\_ACEOF
2684 cat >>confdefs.h
<<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2694 cat >>confdefs.h
<<\_ACEOF
2698 cat >>confdefs.h
<<\_ACEOF
2699 #define __SOLARIS__ 1
2702 cat >>confdefs.h
<<\_ACEOF
2706 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2707 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2713 cat >>confdefs.h
<<\_ACEOF
2717 cat >>confdefs.h
<<\_ACEOF
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2730 cat >>confdefs.h
<<\_ACEOF
2731 #define __FREEBSD__ 1
2734 cat >>confdefs.h
<<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_GTK
=1
2740 *-*-openbsd*|*-*-mirbsd*)
2743 cat >>confdefs.h
<<\_ACEOF
2744 #define __OPENBSD__ 1
2747 cat >>confdefs.h
<<\_ACEOF
2751 DEFAULT_DEFAULT_wxUSE_GTK
=1
2756 cat >>confdefs.h
<<\_ACEOF
2757 #define __NETBSD__ 1
2760 cat >>confdefs.h
<<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_GTK
=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2767 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2772 cat >>confdefs.h
<<\_ACEOF
2776 cat >>confdefs.h
<<\_ACEOF
2780 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2781 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2786 cat >>confdefs.h
<<\_ACEOF
2790 cat >>confdefs.h
<<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2799 cat >>confdefs.h
<<\_ACEOF
2803 cat >>confdefs.h
<<\_ACEOF
2807 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2813 cat >>confdefs.h
<<\_ACEOF
2817 cat >>confdefs.h
<<\_ACEOF
2821 cat >>confdefs.h
<<\_ACEOF
2825 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2832 cat >>confdefs.h
<<\_ACEOF
2833 #define __UNIXWARE__ 1
2838 *-*-cygwin* | *-*-mingw32* )
2840 DEFAULT_DEFAULT_wxUSE_MSW
=1
2846 cat >>confdefs.h
<<\_ACEOF
2851 DEFAULT_DEFAULT_wxUSE_MGL
=1
2854 *-pc-os2_emx | *-pc-os2-emx )
2855 cat >>confdefs.h
<<\_ACEOF
2860 cat >>confdefs.h
<<\_ACEOF
2865 DEFAULT_DEFAULT_wxUSE_PM
=1
2867 LDFLAGS
="$LDFLAGS -Zcrtdll"
2868 ac_executable_extensions
=".exe"
2869 export ac_executable_extensions
2873 for ac_dir
in $PATH; do
2875 if test -z "$ac_TEMP_PATH"; then
2876 ac_TEMP_PATH
="$ac_dir"
2878 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2881 export PATH
="$ac_TEMP_PATH"
2889 cat >>confdefs.h
<<\_ACEOF
2893 cat >>confdefs.h
<<\_ACEOF
2894 #define __DARWIN__ 1
2897 cat >>confdefs.h
<<\_ACEOF
2898 #define TARGET_CARBON 1
2901 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2906 cat >>confdefs.h
<<\_ACEOF
2913 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2914 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2915 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2916 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2918 DEFAULT_DEFAULT_wxUSE_X11
=1
2919 DEFAULT_wxUSE_SHARED
=no
2924 DEFAULT_wxUSE_ALL_FEATURES
=yes
2926 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_DMALLOC
=no
2930 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2931 DEFAULT_wxUSE_LIBHILDON
=no
2932 DEFAULT_wxUSE_LIBHILDON2
=no
2933 DEFAULT_wxUSE_LIBMSPACK
=no
2934 DEFAULT_wxUSE_LIBSDL
=no
2936 DEFAULT_wxUSE_ACCESSIBILITY
=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2938 DEFAULT_wxUSE_IPV6
=no
2939 DEFAULT_wxUSE_GSTREAMER8
=no
2941 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2942 DEFAULT_wxUSE_OPENGL
=auto
2943 DEFAULT_wxUSE_MEDIACTRL
=auto
2944 DEFAULT_wxUSE_COMPILER_TLS
=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2950 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2952 DEFAULT_wxUSE_GTK2
=yes
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2960 enablestring
=disable
2962 if test -z "$defaultval"; then
2963 if test x
"$enablestring" = xdisable
; then
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval
=$enable_gui;
2975 if test "$enableval" = yes; then
2976 wx_cv_use_gui
='wxUSE_GUI=yes'
2978 wx_cv_use_gui
='wxUSE_GUI=no'
2983 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2988 eval "$wx_cv_use_gui"
2990 if test x"$enablestring" = xdisable; then
2991 if test $wxUSE_GUI = no; then
3000 { echo "$as_me:$LINENO: result: $result" >&5
3001 echo "${ECHO_T}$result" >&6; }
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3016 # Check whether --enable-monolithic was given.
3017 if test "${enable_monolithic+set}" = set; then
3018 enableval=$enable_monolithic;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3032 eval "$wx_cv_use_monolithic"
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_MONOLITHIC = no; then
3041 result=$wxUSE_MONOLITHIC
3044 { echo "$as_me:$LINENO: result
: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3059 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3060 # Check whether --enable-plugins was given.
3061 if test "${enable_plugins+set}" = set; then
3062 enableval=$enable_plugins;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3066 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3071 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3076 eval "$wx_cv_use_plugins"
3078 if test x
"$enablestring" = xdisable
; then
3079 if test $wxUSE_PLUGINS = no
; then
3085 result
=$wxUSE_PLUGINS
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3093 defaultval
=$wxUSE_ALL_FEATURES
3094 if test -z "$defaultval"; then
3095 if test x
"$withstring" = xwithout
; then
3101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3104 # Check whether --with-subdirs was given.
3105 if test "${with_subdirs+set}" = set; then
3106 withval
=$with_subdirs;
3107 if test "$withval" = yes; then
3108 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3110 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3115 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3120 eval "$wx_cv_use_subdirs"
3122 if test x"$withstring" = xwithout; then
3123 if test $wxWITH_SUBDIRS = yes; then
3129 result=$wxWITH_SUBDIRS
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3136 # Check whether --with-flavour was given.
3137 if test "${with_flavour+set}" = set; then
3138 withval=$with_flavour; WX_FLAVOUR="$withval"
3144 if test -z "$defaultval"; then
3145 if test x"$enablestring" = xdisable; then
3152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3153 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3154 # Check whether --enable-official_build was given.
3155 if test "${enable_official_build+set}" = set; then
3156 enableval=$enable_official_build;
3157 if test "$enableval" = yes; then
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3170 eval "$wx_cv_use_official_build"
3172 if test x"$enablestring" = xdisable; then
3173 if test $wxUSE_OFFICIAL_BUILD = no; then
3179 result=$wxUSE_OFFICIAL_BUILD
3182 { echo "$as_me:$LINENO: result
: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3185 # Check whether --enable-vendor was given.
3186 if test "${enable_vendor+set}" = set; then
3187 enableval=$enable_vendor; VENDOR="$enableval"
3190 if test "x
$VENDOR" = "x
"; then
3195 enablestring=disable
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3205 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3206 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3207 # Check whether --enable-all-features was given.
3208 if test "${enable_all_features+set}" = set; then
3209 enableval=$enable_all_features;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3223 eval "$wx_cv_use_all_features"
3225 if test x
"$enablestring" = xdisable
; then
3226 if test $wxUSE_ALL_FEATURES = no
; then
3232 result
=$wxUSE_ALL_FEATURES
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3239 if test "$wxUSE_ALL_FEATURES" = "no"; then
3240 DEFAULT_wxUSE_MEDIACTRL
=no
3244 if test "$wxUSE_GUI" = "yes"; then
3249 if test -z "$defaultval"; then
3250 if test x
"$enablestring" = xdisable
; then
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3259 # Check whether --enable-universal was given.
3260 if test "${enable_universal+set}" = set; then
3261 enableval
=$enable_universal;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3265 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3270 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3275 eval "$wx_cv_use_universal"
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_UNIVERSAL = no; then
3284 result=$wxUSE_UNIVERSAL
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3290 if test "$wxUSE_UNIVERSAL" = "yes"; then
3292 # Check whether --with-themes was given.
3293 if test "${with_themes+set}" = set; then
3294 withval=$with_themes; wxUNIV_THEMES="$withval"
3300 # Check whether --with-gtk was given.
3301 if test "${with_gtk+set}" = set; then
3302 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-motif was given.
3307 if test "${with_motif+set}" = set; then
3308 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-osx_carbon was given.
3313 if test "${with_osx_carbon+set}" = set; then
3314 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3318 # Check whether --with-osx_cocoa was given.
3319 if test "${with_osx_cocoa+set}" = set; then
3320 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-mac was given.
3325 if test "${with_mac+set}" = set; then
3326 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-cocoa was given.
3331 if test "${with_cocoa+set}" = set; then
3332 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-wine was given.
3337 if test "${with_wine+set}" = set; then
3338 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3342 # Check whether --with-msw was given.
3343 if test "${with_msw+set}" = set; then
3344 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-pm was given.
3349 if test "${with_pm+set}" = set; then
3350 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-mgl was given.
3355 if test "${with_mgl+set}" = set; then
3356 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-directfb was given.
3361 if test "${with_directfb+set}" = set; then
3362 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-microwin was given.
3367 if test "${with_microwin+set}" = set; then
3368 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-x11 was given.
3373 if test "${with_x11+set}" = set; then
3374 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3380 if test -z "$defaultval"; then
3381 if test x"$enablestring" = xdisable; then
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3390 # Check whether --enable-nanox was given.
3391 if test "${enable_nanox+set}" = set; then
3392 enableval=$enable_nanox;
3393 if test "$enableval" = yes; then
3394 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3396 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3401 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3406 eval "$wx_cv_use_nanox"
3408 if test x"$enablestring" = xdisable; then
3409 if test $wxUSE_NANOX = no; then
3418 { echo "$as_me:$LINENO: result
: $result" >&5
3419 echo "${ECHO_T}$result" >&6; }
3422 # Check whether --enable-gtk2 was given.
3423 if test "${enable_gtk2+set}" = set; then
3424 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3430 if test -z "$defaultval"; then
3431 if test x"$enablestring" = xdisable; then
3438 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3439 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3440 # Check whether --enable-gpe was given.
3441 if test "${enable_gpe+set}" = set; then
3442 enableval=$enable_gpe;
3443 if test "$enableval" = yes; then
3444 wx_cv_use_gpe='wxUSE_GPE=yes'
3446 wx_cv_use_gpe='wxUSE_GPE=no'
3451 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3456 eval "$wx_cv_use_gpe"
3458 if test x
"$enablestring" = xdisable
; then
3459 if test $wxUSE_GPE = no
; then
3468 { echo "$as_me:$LINENO: result: $result" >&5
3469 echo "${ECHO_T}$result" >&6; }
3473 { echo "$as_me:$LINENO: checking for toolkit" >&5
3474 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3478 # In Wine, we need to default to MSW, not GTK or MOTIF
3479 if test "$wxUSE_WINE" = "yes"; then
3480 DEFAULT_DEFAULT_wxUSE_GTK
=0
3481 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3482 DEFAULT_DEFAULT_wxUSE_MSW
=1
3489 if test "$wxUSE_GUI" = "yes"; then
3491 if test "$USE_BEOS" = 1; then
3492 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3493 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3494 { (exit 1); exit 1; }; }
3497 if test "$TOOLKIT_GIVEN" = 1; then
3498 for toolkit
in $ALL_TOOLKITS; do
3500 eval "value=\$${var}"
3501 if test "x$value" = "xno"; then
3503 elif test "x$value" != "x"; then
3507 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3508 eval "wx${toolkit}_VERSION=$value"
3512 for toolkit
in $ALL_TOOLKITS; do
3513 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3514 eval "wxUSE_$toolkit=\$${var}"
3518 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3519 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3520 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3523 *-pc-os2_emx | *-pc-os2-emx )
3524 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3527 case "$NUM_TOOLKITS" in
3531 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3532 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3533 { (exit 1); exit 1; }; }
3536 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3537 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3538 { (exit 1); exit 1; }; }
3541 # to be removed when --disable-gtk2 isn't needed
3542 if test "x$wxUSE_GTK2" = "xyes"; then
3544 elif test "x$wxUSE_GTK2" = "xno"; then
3548 for toolkit
in $ALL_TOOLKITS; do
3550 eval "value=\$${var}"
3551 if test "$value" = 1; then
3552 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3553 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3554 echo "${ECHO_T}$toolkit_echo" >&6; }
3558 if test "x$host_alias" != "x"; then
3559 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3560 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3562 { echo "$as_me:$LINENO: result: base only" >&5
3563 echo "${ECHO_T}base only" >&6; }
3568 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3574 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3575 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3577 # Check whether --with-libpng was given.
3578 if test "${with_libpng+set}" = set; then
3579 withval
=$with_libpng;
3580 if test "$withval" = yes; then
3581 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3582 elif test "$withval" = no
; then
3583 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3584 elif test "$withval" = sys
; then
3585 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3586 elif test "$withval" = builtin; then
3587 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3596 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3601 eval "$wx_cv_use_libpng"
3603 if test "$wxUSE_LIBPNG" = yes; then
3604 { echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6; }
3606 elif test "$wxUSE_LIBPNG" = no; then
3607 { echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6; }
3609 elif test "$wxUSE_LIBPNG" = sys; then
3610 { echo "$as_me:$LINENO: result: system version" >&5
3611 echo "${ECHO_T}system version" >&6; }
3612 elif test "$wxUSE_LIBPNG" = builtin; then
3613 { echo "$as_me:$LINENO: result: builtin version" >&5
3614 echo "${ECHO_T}builtin version" >&6; }
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3622 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3623 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3625 # Check whether --with-libjpeg was given.
3626 if test "${with_libjpeg+set}" = set; then
3627 withval=$with_libjpeg;
3628 if test "$withval" = yes; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3630 elif test "$withval" = no; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3632 elif test "$withval" = sys; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3634 elif test "$withval" = builtin; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3649 eval "$wx_cv_use_libjpeg"
3651 if test "$wxUSE_LIBJPEG" = yes; then
3652 { echo "$as_me:$LINENO: result
: yes" >&5
3653 echo "${ECHO_T}yes" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = no; then
3655 { echo "$as_me:$LINENO: result
: no
" >&5
3656 echo "${ECHO_T}no
" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = sys; then
3658 { echo "$as_me:$LINENO: result
: system version
" >&5
3659 echo "${ECHO_T}system version
" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = builtin; then
3661 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3662 echo "${ECHO_T}builtin version
" >&6; }
3664 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3665 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3666 { (exit 1); exit 1; }; }
3670 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3671 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3673 # Check whether --with-libtiff was given.
3674 if test "${with_libtiff+set}" = set; then
3675 withval=$with_libtiff;
3676 if test "$withval" = yes; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3678 elif test "$withval" = no; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3680 elif test "$withval" = sys; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3682 elif test "$withval" = builtin; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3685 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3686 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3692 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3697 eval "$wx_cv_use_libtiff"
3699 if test "$wxUSE_LIBTIFF" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3702 elif test "$wxUSE_LIBTIFF" = no
; then
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3705 elif test "$wxUSE_LIBTIFF" = sys
; then
3706 { echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6; }
3708 elif test "$wxUSE_LIBTIFF" = builtin; then
3709 { echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6; }
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3718 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3719 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3721 # Check whether --with-libxpm was given.
3722 if test "${with_libxpm+set}" = set; then
3723 withval
=$with_libxpm;
3724 if test "$withval" = yes; then
3725 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3726 elif test "$withval" = no
; then
3727 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3728 elif test "$withval" = sys
; then
3729 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3730 elif test "$withval" = builtin; then
3731 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3740 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3745 eval "$wx_cv_use_libxpm"
3747 if test "$wxUSE_LIBXPM" = yes; then
3748 { echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6; }
3750 elif test "$wxUSE_LIBXPM" = no; then
3751 { echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6; }
3753 elif test "$wxUSE_LIBXPM" = sys; then
3754 { echo "$as_me:$LINENO: result: system version" >&5
3755 echo "${ECHO_T}system version" >&6; }
3756 elif test "$wxUSE_LIBXPM" = builtin; then
3757 { echo "$as_me:$LINENO: result: builtin version" >&5
3758 echo "${ECHO_T}builtin version" >&6; }
3760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3761 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3762 { (exit 1); exit 1; }; }
3767 defaultval=$wxUSE_ALL_FEATURES
3768 if test -z "$defaultval"; then
3769 if test x"$withstring" = xwithout; then
3775 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3776 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3778 # Check whether --with-libiconv was given.
3779 if test "${with_libiconv+set}" = set; then
3780 withval=$with_libiconv;
3781 if test "$withval" = yes; then
3782 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3784 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3789 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3794 eval "$wx_cv_use_libiconv"
3796 if test x"$withstring" = xwithout; then
3797 if test $wxUSE_LIBICONV = yes; then
3803 result=$wxUSE_LIBICONV
3806 { echo "$as_me:$LINENO: result
: $result" >&5
3807 echo "${ECHO_T}$result" >&6; }
3811 defaultval=$wxUSE_ALL_FEATURES
3812 if test -z "$defaultval"; then
3813 if test x"$withstring" = xwithout; then
3819 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3820 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3822 # Check whether --with-libmspack was given.
3823 if test "${with_libmspack+set}" = set; then
3824 withval=$with_libmspack;
3825 if test "$withval" = yes; then
3826 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3838 eval "$wx_cv_use_libmspack"
3840 if test x
"$withstring" = xwithout
; then
3841 if test $wxUSE_LIBMSPACK = yes; then
3847 result
=$wxUSE_LIBMSPACK
3850 { echo "$as_me:$LINENO: result: $result" >&5
3851 echo "${ECHO_T}$result" >&6; }
3855 defaultval
=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x
"$withstring" = xwithout
; then
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3866 # Check whether --with-gtkprint was given.
3867 if test "${with_gtkprint+set}" = set; then
3868 withval
=$with_gtkprint;
3869 if test "$withval" = yes; then
3870 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3872 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3877 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3882 eval "$wx_cv_use_gtkprint"
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_GTKPRINT = yes; then
3891 result=$wxUSE_GTKPRINT
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3910 # Check whether --with-gnomeprint was given.
3911 if test "${with_gnomeprint+set}" = set; then
3912 withval=$with_gnomeprint;
3913 if test "$withval" = yes; then
3914 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3921 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3926 eval "$wx_cv_use_gnomeprint"
3928 if test x"$withstring" = xwithout; then
3929 if test $wxUSE_LIBGNOMEPRINT = yes; then
3935 result=$wxUSE_LIBGNOMEPRINT
3938 { echo "$as_me:$LINENO: result
: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3943 defaultval=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x"$withstring" = xwithout; then
3951 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3952 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3954 # Check whether --with-gnomevfs was given.
3955 if test "${with_gnomevfs+set}" = set; then
3956 withval=$with_gnomevfs;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3970 eval "$wx_cv_use_gnomevfs"
3972 if test x
"$withstring" = xwithout
; then
3973 if test $wxUSE_LIBGNOMEVFS = yes; then
3979 result
=$wxUSE_LIBGNOMEVFS
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3987 defaultval
=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x
"$withstring" = xwithout
; then
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3998 # Check whether --with-hildon was given.
3999 if test "${with_hildon+set}" = set; then
4000 withval
=$with_hildon;
4001 if test "$withval" = yes; then
4002 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4004 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4009 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4014 eval "$wx_cv_use_hildon"
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBHILDON = yes; then
4023 result=$wxUSE_LIBHILDON
4026 { echo "$as_me:$LINENO: result: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4039 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4040 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4042 # Check whether --with-opengl was given.
4043 if test "${with_opengl+set}" = set; then
4044 withval=$with_opengl;
4045 if test "$withval" = yes; then
4046 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4048 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4053 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4058 eval "$wx_cv_use_opengl"
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_OPENGL = yes; then
4067 result=$wxUSE_OPENGL
4070 { echo "$as_me:$LINENO: result
: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4078 defaultval=$wxUSE_ALL_FEATURES
4079 if test -z "$defaultval"; then
4080 if test x"$withstring" = xwithout; then
4086 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4087 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4089 # Check whether --with-dmalloc was given.
4090 if test "${with_dmalloc+set}" = set; then
4091 withval=$with_dmalloc;
4092 if test "$withval" = yes; then
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4100 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4105 eval "$wx_cv_use_dmalloc"
4107 if test x
"$withstring" = xwithout
; then
4108 if test $wxUSE_DMALLOC = yes; then
4114 result
=$wxUSE_DMALLOC
4117 { echo "$as_me:$LINENO: result: $result" >&5
4118 echo "${ECHO_T}$result" >&6; }
4122 defaultval
=$wxUSE_ALL_FEATURES
4123 if test -z "$defaultval"; then
4124 if test x
"$withstring" = xwithout
; then
4130 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4131 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4133 # Check whether --with-sdl was given.
4134 if test "${with_sdl+set}" = set; then
4136 if test "$withval" = yes; then
4137 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4139 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4144 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4149 eval "$wx_cv_use_sdl"
4151 if test x"$withstring" = xwithout; then
4152 if test $wxUSE_LIBSDL = yes; then
4158 result=$wxUSE_LIBSDL
4161 { echo "$as_me:$LINENO: result: $result" >&5
4162 echo "${ECHO_T}$result" >&6; }
4165 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4166 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4168 # Check whether --with-regex was given.
4169 if test "${with_regex+set}" = set; then
4170 withval=$with_regex;
4171 if test "$withval" = yes; then
4172 wx_cv_use_regex='wxUSE_REGEX
=yes'
4173 elif test "$withval" = no; then
4174 wx_cv_use_regex='wxUSE_REGEX
=no
'
4175 elif test "$withval" = sys; then
4176 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4177 elif test "$withval" = builtin; then
4178 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4182 { (exit 1); exit 1; }; }
4187 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4192 eval "$wx_cv_use_regex"
4194 if test "$wxUSE_REGEX" = yes; then
4195 { echo "$as_me:$LINENO: result
: yes" >&5
4196 echo "${ECHO_T}yes" >&6; }
4197 elif test "$wxUSE_REGEX" = no; then
4198 { echo "$as_me:$LINENO: result
: no
" >&5
4199 echo "${ECHO_T}no
" >&6; }
4200 elif test "$wxUSE_REGEX" = sys; then
4201 { echo "$as_me:$LINENO: result
: system version
" >&5
4202 echo "${ECHO_T}system version
" >&6; }
4203 elif test "$wxUSE_REGEX" = builtin; then
4204 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4205 echo "${ECHO_T}builtin version
" >&6; }
4207 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4208 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4209 { (exit 1); exit 1; }; }
4213 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4214 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4216 # Check whether --with-zlib was given.
4217 if test "${with_zlib+set}" = set; then
4219 if test "$withval" = yes; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4221 elif test "$withval" = no; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=no'
4223 elif test "$withval" = sys; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4225 elif test "$withval" = builtin; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4228 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4229 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4235 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4240 eval "$wx_cv_use_zlib"
4242 if test "$wxUSE_ZLIB" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4245 elif test "$wxUSE_ZLIB" = no
; then
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4248 elif test "$wxUSE_ZLIB" = sys
; then
4249 { echo "$as_me:$LINENO: result: system version" >&5
4250 echo "${ECHO_T}system version" >&6; }
4251 elif test "$wxUSE_ZLIB" = builtin; then
4252 { echo "$as_me:$LINENO: result: builtin version" >&5
4253 echo "${ECHO_T}builtin version" >&6; }
4255 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4256 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4257 { (exit 1); exit 1; }; }
4261 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4262 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4264 # Check whether --with-expat was given.
4265 if test "${with_expat+set}" = set; then
4266 withval
=$with_expat;
4267 if test "$withval" = yes; then
4268 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4269 elif test "$withval" = no
; then
4270 wx_cv_use_expat
='wxUSE_EXPAT=no'
4271 elif test "$withval" = sys
; then
4272 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4273 elif test "$withval" = builtin; then
4274 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4283 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4288 eval "$wx_cv_use_expat"
4290 if test "$wxUSE_EXPAT" = yes; then
4291 { echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6; }
4293 elif test "$wxUSE_EXPAT" = no; then
4294 { echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6; }
4296 elif test "$wxUSE_EXPAT" = sys; then
4297 { echo "$as_me:$LINENO: result: system version" >&5
4298 echo "${ECHO_T}system version" >&6; }
4299 elif test "$wxUSE_EXPAT" = builtin; then
4300 { echo "$as_me:$LINENO: result: builtin version" >&5
4301 echo "${ECHO_T}builtin version" >&6; }
4303 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4304 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4305 { (exit 1); exit 1; }; }
4309 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4310 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4312 # Check whether --with-macosx-sdk was given.
4313 if test "${with_macosx_sdk+set}" = set; then
4314 withval=$with_macosx_sdk;
4315 wxUSE_MACOSX_SDK=$withval
4316 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4320 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4321 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4323 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4324 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4326 # Check whether --with-macosx-version-min was given.
4327 if test "${with_macosx_version_min+set}" = set; then
4328 withval=$with_macosx_version_min;
4329 wxUSE_MACOSX_VERSION_MIN=$withval
4330 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4334 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4335 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4338 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4339 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4340 # Check whether --enable-debug was given.
4341 if test "${enable_debug+set}" = set; then
4342 enableval=$enable_debug;
4343 if test "$enableval" = yes; then
4345 elif test "$enableval" = no; then
4347 elif test "$enableval" = max; then
4349 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4351 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4352 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4353 { (exit 1); exit 1; }; }
4362 case "$wxUSE_DEBUG" in
4364 DEFAULT_wxUSE_DEBUG_FLAG=yes
4365 DEFAULT_wxUSE_DEBUG_INFO=yes
4367 DEFAULT_wxUSE_OPTIMISE=no
4371 DEFAULT_wxUSE_DEBUG_FLAG=no
4372 DEFAULT_wxUSE_DEBUG_INFO=no
4376 DEFAULT_wxUSE_DEBUG_FLAG=yes
4377 DEFAULT_wxUSE_DEBUG_INFO=no
4382 enablestring=disable
4384 if test -z "$defaultval"; then
4385 if test x"$enablestring" = xdisable; then
4392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4394 # Check whether --enable-debug_flag was given.
4395 if test "${enable_debug_flag+set}" = set; then
4396 enableval=$enable_debug_flag;
4397 if test "$enableval" = yes; then
4398 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4400 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4405 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4410 eval "$wx_cv_use_debug_flag"
4412 if test x"$enablestring" = xdisable; then
4413 if test $wxUSE_DEBUG_FLAG = no; then
4419 result=$wxUSE_DEBUG_FLAG
4422 { echo "$as_me:$LINENO: result
: $result" >&5
4423 echo "${ECHO_T}$result" >&6; }
4428 if test -z "$defaultval"; then
4429 if test x"$enablestring" = xdisable; then
4436 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4437 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4438 # Check whether --enable-debug_info was given.
4439 if test "${enable_debug_info+set}" = set; then
4440 enableval=$enable_debug_info;
4441 if test "$enableval" = yes; then
4442 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4444 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4449 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4454 eval "$wx_cv_use_debug_info"
4456 if test x
"$enablestring" = xdisable
; then
4457 if test $wxUSE_DEBUG_INFO = no
; then
4463 result
=$wxUSE_DEBUG_INFO
4466 { echo "$as_me:$LINENO: result: $result" >&5
4467 echo "${ECHO_T}$result" >&6; }
4474 if test -z "$defaultval"; then
4475 if test x
"$enablestring" = xdisable
; then
4482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4483 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4484 # Check whether --enable-debug_gdb was given.
4485 if test "${enable_debug_gdb+set}" = set; then
4486 enableval
=$enable_debug_gdb;
4487 if test "$enableval" = yes; then
4488 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4490 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4495 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4500 eval "$wx_cv_use_debug_gdb"
4502 if test x"$enablestring" = xdisable; then
4503 if test $wxUSE_DEBUG_GDB = no; then
4509 result=$wxUSE_DEBUG_GDB
4512 { echo "$as_me:$LINENO: result: $result" >&5
4513 echo "${ECHO_T}$result" >&6; }
4518 if test -z "$defaultval"; then
4519 if test x"$enablestring" = xdisable; then
4526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4528 # Check whether --enable-debug_cntxt was given.
4529 if test "${enable_debug_cntxt+set}" = set; then
4530 enableval=$enable_debug_cntxt;
4531 if test "$enableval" = yes; then
4532 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4534 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4539 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4544 eval "$wx_cv_use_debug_cntxt"
4546 if test x"$enablestring" = xdisable; then
4547 if test $wxUSE_DEBUG_CONTEXT = no; then
4553 result=$wxUSE_DEBUG_CONTEXT
4556 { echo "$as_me:$LINENO: result
: $result" >&5
4557 echo "${ECHO_T}$result" >&6; }
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4570 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4571 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4572 # Check whether --enable-mem_tracing was given.
4573 if test "${enable_mem_tracing+set}" = set; then
4574 enableval=$enable_mem_tracing;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4578 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4583 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4588 eval "$wx_cv_use_mem_tracing"
4590 if test x
"$enablestring" = xdisable
; then
4591 if test $wxUSE_MEM_TRACING = no
; then
4597 result
=$wxUSE_MEM_TRACING
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4606 enablestring
=disable
4608 if test -z "$defaultval"; then
4609 if test x
"$enablestring" = xdisable
; then
4616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4618 # Check whether --enable-shared was given.
4619 if test "${enable_shared+set}" = set; then
4620 enableval
=$enable_shared;
4621 if test "$enableval" = yes; then
4622 wx_cv_use_shared
='wxUSE_SHARED=yes'
4624 wx_cv_use_shared
='wxUSE_SHARED=no'
4629 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4634 eval "$wx_cv_use_shared"
4636 if test x"$enablestring" = xdisable; then
4637 if test $wxUSE_SHARED = no; then
4643 result=$wxUSE_SHARED
4646 { echo "$as_me:$LINENO: result: $result" >&5
4647 echo "${ECHO_T}$result" >&6; }
4652 if test -z "$defaultval"; then
4653 if test x"$enablestring" = xdisable; then
4660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4662 # Check whether --enable-stl was given.
4663 if test "${enable_stl+set}" = set; then
4664 enableval=$enable_stl;
4665 if test "$enableval" = yes; then
4666 wx_cv_use_stl='wxUSE_STL
=yes'
4668 wx_cv_use_stl='wxUSE_STL
=no
'
4673 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4678 eval "$wx_cv_use_stl"
4680 if test x"$enablestring" = xdisable; then
4681 if test $wxUSE_STL = no; then
4690 { echo "$as_me:$LINENO: result
: $result" >&5
4691 echo "${ECHO_T}$result" >&6; }
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4704 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4705 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4706 # Check whether --enable-std_iostreams was given.
4707 if test "${enable_std_iostreams+set}" = set; then
4708 enableval=$enable_std_iostreams;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4712 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4717 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4722 eval "$wx_cv_use_std_iostreams"
4724 if test x
"$enablestring" = xdisable
; then
4725 if test $wxUSE_STD_IOSTREAM = no
; then
4731 result
=$wxUSE_STD_IOSTREAM
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4740 if test -z "$defaultval"; then
4741 if test x
"$enablestring" = xdisable
; then
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4750 # Check whether --enable-std_string was given.
4751 if test "${enable_std_string+set}" = set; then
4752 enableval
=$enable_std_string;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4756 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4761 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4766 eval "$wx_cv_use_std_string"
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STD_STRING = no; then
4775 result=$wxUSE_STD_STRING
4778 { echo "$as_me:$LINENO: result: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4782 enablestring=disable
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4794 # Check whether --enable-unicode was given.
4795 if test "${enable_unicode+set}" = set; then
4796 enableval=$enable_unicode;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4800 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4805 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4810 eval "$wx_cv_use_unicode"
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_UNICODE = no; then
4819 result=$wxUSE_UNICODE
4822 { echo "$as_me:$LINENO: result
: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4836 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4837 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4838 # Check whether --enable-mslu was given.
4839 if test "${enable_mslu+set}" = set; then
4840 enableval=$enable_mslu;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4844 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4849 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4854 eval "$wx_cv_use_mslu"
4856 if test x
"$enablestring" = xdisable
; then
4857 if test $wxUSE_UNICODE_MSLU = no
; then
4863 result
=$wxUSE_UNICODE_MSLU
4866 { echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6; }
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4873 # Check whether --enable-utf8 was given.
4874 if test "${enable_utf8+set}" = set; then
4875 enableval
=$enable_utf8;
4876 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4880 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4885 eval "$wx_cv_use_utf8"
4887 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4888 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4893 if test -z "$defaultval"; then
4894 if test x
"$enablestring" = xdisable
; then
4901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4903 # Check whether --enable-utf8only was given.
4904 if test "${enable_utf8only+set}" = set; then
4905 enableval
=$enable_utf8only;
4906 if test "$enableval" = yes; then
4907 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4909 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4914 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4919 eval "$wx_cv_use_utf8only"
4921 if test x"$enablestring" = xdisable; then
4922 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4928 result=$wxUSE_UNICODE_UTF8_LOCALE
4931 { echo "$as_me:$LINENO: result: $result" >&5
4932 echo "${ECHO_T}$result" >&6; }
4937 if test -z "$defaultval"; then
4938 if test x"$enablestring" = xdisable; then
4945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4947 # Check whether --enable-extended_rtti was given.
4948 if test "${enable_extended_rtti+set}" = set; then
4949 enableval=$enable_extended_rtti;
4950 if test "$enableval" = yes; then
4951 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4953 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4958 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4963 eval "$wx_cv_use_extended_rtti"
4965 if test x"$enablestring" = xdisable; then
4966 if test $wxUSE_EXTENDED_RTTI = no; then
4972 result=$wxUSE_EXTENDED_RTTI
4975 { echo "$as_me:$LINENO: result
: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4978 if test "$USE_OS2" = 1; then
4979 DEFAULT_wxUSE_OMF=no
4983 if test -z "$defaultval"; then
4984 if test x"$enablestring" = xdisable; then
4991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4992 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4993 # Check whether --enable-omf was given.
4994 if test "${enable_omf+set}" = set; then
4995 enableval=$enable_omf;
4996 if test "$enableval" = yes; then
4997 wx_cv_use_omf='wxUSE_OMF=yes'
4999 wx_cv_use_omf='wxUSE_OMF=no'
5004 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5009 eval "$wx_cv_use_omf"
5011 if test x
"$enablestring" = xdisable
; then
5012 if test $wxUSE_OMF = no
; then
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5027 enablestring
=disable
5029 if test -z "$defaultval"; then
5030 if test x
"$enablestring" = xdisable
; then
5037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5039 # Check whether --enable-optimise was given.
5040 if test "${enable_optimise+set}" = set; then
5041 enableval
=$enable_optimise;
5042 if test "$enableval" = yes; then
5043 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5045 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5050 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5055 eval "$wx_cv_use_optimise"
5057 if test x"$enablestring" = xdisable; then
5058 if test $wxUSE_OPTIMISE = no; then
5064 result=$wxUSE_OPTIMISE
5067 { echo "$as_me:$LINENO: result: $result" >&5
5068 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}-any" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6303 # Check whether --enable-any was given.
6304 if test "${enable_any+set}" = set; then
6305 enableval=$enable_any;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_any='wxUSE_ANY
=yes'
6309 wx_cv_use_any='wxUSE_ANY
=no
'
6314 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6319 eval "$wx_cv_use_any"
6321 if test x"$enablestring" = xdisable; then
6322 if test $wxUSE_ANY = no; then
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}-apple_ieee" >&5
6346 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6347 # Check whether --enable-apple_ieee was given.
6348 if test "${enable_apple_ieee+set}" = set; then
6349 enableval=$enable_apple_ieee;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6353 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6358 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6363 eval "$wx_cv_use_apple_ieee"
6365 if test x
"$enablestring" = xdisable
; then
6366 if test $wxUSE_APPLE_IEEE = no
; then
6372 result
=$wxUSE_APPLE_IEEE
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}-arcstream" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6391 # Check whether --enable-arcstream was given.
6392 if test "${enable_arcstream+set}" = set; then
6393 enableval
=$enable_arcstream;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6397 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6402 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6407 eval "$wx_cv_use_arcstream"
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_ARCHIVE_STREAMS = no; then
6416 result=$wxUSE_ARCHIVE_STREAMS
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}-base64" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6435 # Check whether --enable-base64 was given.
6436 if test "${enable_base64+set}" = set; then
6437 enableval=$enable_base64;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_base64='wxUSE_BASE64
=yes'
6441 wx_cv_use_base64='wxUSE_BASE64
=no
'
6446 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6451 eval "$wx_cv_use_base64"
6453 if test x"$enablestring" = xdisable; then
6454 if test $wxUSE_BASE64 = no; then
6460 result=$wxUSE_BASE64
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}-backtrace" >&5
6478 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6479 # Check whether --enable-backtrace was given.
6480 if test "${enable_backtrace+set}" = set; then
6481 enableval=$enable_backtrace;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6485 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6490 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6495 eval "$wx_cv_use_backtrace"
6497 if test x
"$enablestring" = xdisable
; then
6498 if test $wxUSE_STACKWALKER = no
; then
6504 result
=$wxUSE_STACKWALKER
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}-catch_segvs" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6523 # Check whether --enable-catch_segvs was given.
6524 if test "${enable_catch_segvs+set}" = set; then
6525 enableval
=$enable_catch_segvs;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6529 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6534 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6539 eval "$wx_cv_use_catch_segvs"
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6548 result=$wxUSE_ON_FATAL_EXCEPTION
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}-cmdline" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6567 # Check whether --enable-cmdline was given.
6568 if test "${enable_cmdline+set}" = set; then
6569 enableval=$enable_cmdline;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6573 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6578 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6583 eval "$wx_cv_use_cmdline"
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_CMDLINE_PARSER = no; then
6592 result=$wxUSE_CMDLINE_PARSER
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}-datetime" >&5
6610 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6611 # Check whether --enable-datetime was given.
6612 if test "${enable_datetime+set}" = set; then
6613 enableval=$enable_datetime;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6617 wx_cv_use_datetime='wxUSE_DATETIME=no'
6622 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6627 eval "$wx_cv_use_datetime"
6629 if test x
"$enablestring" = xdisable
; then
6630 if test $wxUSE_DATETIME = no
; then
6636 result
=$wxUSE_DATETIME
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}-debugreport" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6655 # Check whether --enable-debugreport was given.
6656 if test "${enable_debugreport+set}" = set; then
6657 enableval
=$enable_debugreport;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6661 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6666 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6671 eval "$wx_cv_use_debugreport"
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DEBUGREPORT = no; then
6680 result=$wxUSE_DEBUGREPORT
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}-dialupman" >&5
6698 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6699 # Check whether --enable-dialupman was given.
6700 if test "${enable_dialupman+set}" = set; then
6701 enableval=$enable_dialupman;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6705 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6710 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6715 eval "$wx_cv_use_dialupman"
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_DIALUP_MANAGER = no; then
6724 result=$wxUSE_DIALUP_MANAGER
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}-dynlib" >&5
6742 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6743 # Check whether --enable-dynlib was given.
6744 if test "${enable_dynlib+set}" = set; then
6745 enableval=$enable_dynlib;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6749 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6754 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6759 eval "$wx_cv_use_dynlib"
6761 if test x
"$enablestring" = xdisable
; then
6762 if test $wxUSE_DYNLIB_CLASS = no
; then
6768 result
=$wxUSE_DYNLIB_CLASS
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}-dynamicloader" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6787 # Check whether --enable-dynamicloader was given.
6788 if test "${enable_dynamicloader+set}" = set; then
6789 enableval
=$enable_dynamicloader;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6793 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6798 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6803 eval "$wx_cv_use_dynamicloader"
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_DYNAMIC_LOADER = no; then
6812 result=$wxUSE_DYNAMIC_LOADER
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}-exceptions" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6831 # Check whether --enable-exceptions was given.
6832 if test "${enable_exceptions+set}" = set; then
6833 enableval=$enable_exceptions;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6837 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6842 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6847 eval "$wx_cv_use_exceptions"
6849 if test x"$enablestring" = xdisable; then
6850 if test $wxUSE_EXCEPTIONS = no; then
6856 result=$wxUSE_EXCEPTIONS
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}-ffile" >&5
6874 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6875 # Check whether --enable-ffile was given.
6876 if test "${enable_ffile+set}" = set; then
6877 enableval=$enable_ffile;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_ffile='wxUSE_FFILE=yes'
6881 wx_cv_use_ffile='wxUSE_FFILE=no'
6886 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6891 eval "$wx_cv_use_ffile"
6893 if test x
"$enablestring" = xdisable
; then
6894 if test $wxUSE_FFILE = 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}-file" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6919 # Check whether --enable-file was given.
6920 if test "${enable_file+set}" = set; then
6921 enableval
=$enable_file;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_file
='wxUSE_FILE=yes'
6925 wx_cv_use_file
='wxUSE_FILE=no'
6930 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6935 eval "$wx_cv_use_file"
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILE = no; then
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}-filesystem" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6963 # Check whether --enable-filesystem was given.
6964 if test "${enable_filesystem+set}" = set; then
6965 enableval=$enable_filesystem;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6969 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6974 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6979 eval "$wx_cv_use_filesystem"
6981 if test x"$enablestring" = xdisable; then
6982 if test $wxUSE_FILESYSTEM = no; then
6988 result=$wxUSE_FILESYSTEM
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}-fontenum" >&5
7006 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7007 # Check whether --enable-fontenum was given.
7008 if test "${enable_fontenum+set}" = set; then
7009 enableval=$enable_fontenum;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7013 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7018 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7023 eval "$wx_cv_use_fontenum"
7025 if test x
"$enablestring" = xdisable
; then
7026 if test $wxUSE_FONTENUM = no
; then
7032 result
=$wxUSE_FONTENUM
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}-fontmap" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7051 # Check whether --enable-fontmap was given.
7052 if test "${enable_fontmap+set}" = set; then
7053 enableval
=$enable_fontmap;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7057 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7062 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7067 eval "$wx_cv_use_fontmap"
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FONTMAP = no; then
7076 result=$wxUSE_FONTMAP
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_archive" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7095 # Check whether --enable-fs_archive was given.
7096 if test "${enable_fs_archive+set}" = set; then
7097 enableval=$enable_fs_archive;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7101 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7106 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7111 eval "$wx_cv_use_fs_archive"
7113 if test x"$enablestring" = xdisable; then
7114 if test $wxUSE_FS_ARCHIVE = no; then
7120 result=$wxUSE_FS_ARCHIVE
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_inet" >&5
7138 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7139 # Check whether --enable-fs_inet was given.
7140 if test "${enable_fs_inet+set}" = set; then
7141 enableval=$enable_fs_inet;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7145 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7150 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7155 eval "$wx_cv_use_fs_inet"
7157 if test x
"$enablestring" = xdisable
; then
7158 if test $wxUSE_FS_INET = no
; then
7164 result
=$wxUSE_FS_INET
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}-fs_zip" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7183 # Check whether --enable-fs_zip was given.
7184 if test "${enable_fs_zip+set}" = set; then
7185 enableval
=$enable_fs_zip;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7189 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7194 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7199 eval "$wx_cv_use_fs_zip"
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_FS_ZIP = no; then
7208 result=$wxUSE_FS_ZIP
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}-fswatcher" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7227 # Check whether --enable-fswatcher was given.
7228 if test "${enable_fswatcher+set}" = set; then
7229 enableval=$enable_fswatcher;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7233 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7238 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7243 eval "$wx_cv_use_fswatcher"
7245 if test x"$enablestring" = xdisable; then
7246 if test $wxUSE_FSWATCHER = no; then
7252 result=$wxUSE_FSWATCHER
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}-geometry" >&5
7270 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7271 # Check whether --enable-geometry was given.
7272 if test "${enable_geometry+set}" = set; then
7273 enableval=$enable_geometry;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7277 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7282 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7287 eval "$wx_cv_use_geometry"
7289 if test x
"$enablestring" = xdisable
; then
7290 if test $wxUSE_GEOMETRY = no
; then
7296 result
=$wxUSE_GEOMETRY
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}-log" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7315 # Check whether --enable-log was given.
7316 if test "${enable_log+set}" = set; then
7317 enableval
=$enable_log;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_log
='wxUSE_LOG=yes'
7321 wx_cv_use_log
='wxUSE_LOG=no'
7326 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7331 eval "$wx_cv_use_log"
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_LOG = no; then
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}-longlong" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7359 # Check whether --enable-longlong was given.
7360 if test "${enable_longlong+set}" = set; then
7361 enableval=$enable_longlong;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7365 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7370 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7375 eval "$wx_cv_use_longlong"
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_LONGLONG = no; then
7384 result=$wxUSE_LONGLONG
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}-mimetype" >&5
7402 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7403 # Check whether --enable-mimetype was given.
7404 if test "${enable_mimetype+set}" = set; then
7405 enableval=$enable_mimetype;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7409 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7414 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7419 eval "$wx_cv_use_mimetype"
7421 if test x
"$enablestring" = xdisable
; then
7422 if test $wxUSE_MIMETYPE = no
; then
7428 result
=$wxUSE_MIMETYPE
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}-printfposparam" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval
=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7453 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7458 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7463 eval "$wx_cv_use_printfposparam"
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7472 result=$wxUSE_PRINTF_POS_PARAMS
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}-snglinst" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7491 # Check whether --enable-snglinst was given.
7492 if test "${enable_snglinst+set}" = set; then
7493 enableval=$enable_snglinst;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7497 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7502 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7507 eval "$wx_cv_use_snglinst"
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_SNGLINST_CHECKER = no; then
7516 result=$wxUSE_SNGLINST_CHECKER
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}-sound" >&5
7534 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7535 # Check whether --enable-sound was given.
7536 if test "${enable_sound+set}" = set; then
7537 enableval=$enable_sound;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_sound='wxUSE_SOUND=yes'
7541 wx_cv_use_sound='wxUSE_SOUND=no'
7546 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7551 eval "$wx_cv_use_sound"
7553 if test x
"$enablestring" = xdisable
; then
7554 if test $wxUSE_SOUND = no
; then
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}-stdpaths" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7579 # Check whether --enable-stdpaths was given.
7580 if test "${enable_stdpaths+set}" = set; then
7581 enableval
=$enable_stdpaths;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7585 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7590 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7595 eval "$wx_cv_use_stdpaths"
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STDPATHS = no; then
7604 result=$wxUSE_STDPATHS
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}-stopwatch" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7623 # Check whether --enable-stopwatch was given.
7624 if test "${enable_stopwatch+set}" = set; then
7625 enableval=$enable_stopwatch;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7629 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7634 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7639 eval "$wx_cv_use_stopwatch"
7641 if test x"$enablestring" = xdisable; then
7642 if test $wxUSE_STOPWATCH = no; then
7648 result=$wxUSE_STOPWATCH
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}-streams" >&5
7666 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7667 # Check whether --enable-streams was given.
7668 if test "${enable_streams+set}" = set; then
7669 enableval=$enable_streams;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_streams='wxUSE_STREAMS=yes'
7673 wx_cv_use_streams='wxUSE_STREAMS=no'
7678 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7683 eval "$wx_cv_use_streams"
7685 if test x
"$enablestring" = xdisable
; then
7686 if test $wxUSE_STREAMS = no
; then
7692 result
=$wxUSE_STREAMS
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}-sysoptions" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7711 # Check whether --enable-sysoptions was given.
7712 if test "${enable_sysoptions+set}" = set; then
7713 enableval
=$enable_sysoptions;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7717 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7722 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7727 eval "$wx_cv_use_sysoptions"
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_SYSTEM_OPTIONS = no; then
7736 result=$wxUSE_SYSTEM_OPTIONS
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}-tarstream" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7755 # Check whether --enable-tarstream was given.
7756 if test "${enable_tarstream+set}" = set; then
7757 enableval=$enable_tarstream;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7761 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7766 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7771 eval "$wx_cv_use_tarstream"
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_TARSTREAM = no; then
7780 result=$wxUSE_TARSTREAM
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}-textbuf" >&5
7798 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7799 # Check whether --enable-textbuf was given.
7800 if test "${enable_textbuf+set}" = set; then
7801 enableval=$enable_textbuf;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7805 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7810 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7815 eval "$wx_cv_use_textbuf"
7817 if test x
"$enablestring" = xdisable
; then
7818 if test $wxUSE_TEXTBUFFER = no
; then
7824 result
=$wxUSE_TEXTBUFFER
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}-textfile" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7843 # Check whether --enable-textfile was given.
7844 if test "${enable_textfile+set}" = set; then
7845 enableval
=$enable_textfile;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7849 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7854 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7859 eval "$wx_cv_use_textfile"
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_TEXTFILE = no; then
7868 result=$wxUSE_TEXTFILE
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}-timer" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7887 # Check whether --enable-timer was given.
7888 if test "${enable_timer+set}" = set; then
7889 enableval=$enable_timer;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_timer='wxUSE_TIMER
=yes'
7893 wx_cv_use_timer='wxUSE_TIMER
=no
'
7898 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7903 eval "$wx_cv_use_timer"
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_TIMER = no; then
7915 { echo "$as_me:$LINENO: result
: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7920 defaultval=$wxUSE_ALL_FEATURES
7921 if test -z "$defaultval"; then
7922 if test x"$enablestring" = xdisable; then
7929 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7930 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7931 # Check whether --enable-variant was given.
7932 if test "${enable_variant+set}" = set; then
7933 enableval=$enable_variant;
7934 if test "$enableval" = yes; then
7935 wx_cv_use_variant='wxUSE_VARIANT=yes'
7937 wx_cv_use_variant='wxUSE_VARIANT=no'
7942 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7947 eval "$wx_cv_use_variant"
7949 if test x
"$enablestring" = xdisable
; then
7950 if test $wxUSE_VARIANT = no
; then
7956 result
=$wxUSE_VARIANT
7959 { echo "$as_me:$LINENO: result: $result" >&5
7960 echo "${ECHO_T}$result" >&6; }
7964 defaultval
=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x
"$enablestring" = xdisable
; then
7973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7975 # Check whether --enable-zipstream was given.
7976 if test "${enable_zipstream+set}" = set; then
7977 enableval
=$enable_zipstream;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7981 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7986 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7991 eval "$wx_cv_use_zipstream"
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_ZIPSTREAM = no; then
8000 result=$wxUSE_ZIPSTREAM
8003 { echo "$as_me:$LINENO: result: $result" >&5
8004 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}-url" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8020 # Check whether --enable-url was given.
8021 if test "${enable_url+set}" = set; then
8022 enableval=$enable_url;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_url='wxUSE_URL
=yes'
8026 wx_cv_use_url='wxUSE_URL
=no
'
8031 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8036 eval "$wx_cv_use_url"
8038 if test x"$enablestring" = xdisable; then
8039 if test $wxUSE_URL = no; then
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" >&5
8063 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8064 # Check whether --enable-protocol was given.
8065 if test "${enable_protocol+set}" = set; then
8066 enableval=$enable_protocol;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8070 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8075 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8080 eval "$wx_cv_use_protocol"
8082 if test x
"$enablestring" = xdisable
; then
8083 if test $wxUSE_PROTOCOL = no
; then
8089 result
=$wxUSE_PROTOCOL
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_http" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_http was given.
8109 if test "${enable_protocol_http+set}" = set; then
8110 enableval
=$enable_protocol_http;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8114 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8119 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8124 eval "$wx_cv_use_protocol_http"
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_HTTP = no; then
8133 result=$wxUSE_PROTOCOL_HTTP
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8152 # Check whether --enable-protocol_ftp was given.
8153 if test "${enable_protocol_ftp+set}" = set; then
8154 enableval=$enable_protocol_ftp;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8158 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8163 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8168 eval "$wx_cv_use_protocol_ftp"
8170 if test x"$enablestring" = xdisable; then
8171 if test $wxUSE_PROTOCOL_FTP = no; then
8177 result=$wxUSE_PROTOCOL_FTP
8180 { echo "$as_me:$LINENO: result
: $result" >&5
8181 echo "${ECHO_T}$result" >&6; }
8185 defaultval=$wxUSE_ALL_FEATURES
8186 if test -z "$defaultval"; then
8187 if test x"$enablestring" = xdisable; then
8194 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8195 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8196 # Check whether --enable-protocol_file was given.
8197 if test "${enable_protocol_file+set}" = set; then
8198 enableval=$enable_protocol_file;
8199 if test "$enableval" = yes; then
8200 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8202 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8207 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8212 eval "$wx_cv_use_protocol_file"
8214 if test x
"$enablestring" = xdisable
; then
8215 if test $wxUSE_PROTOCOL_FILE = no
; then
8221 result
=$wxUSE_PROTOCOL_FILE
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8230 defaultval
=$wxUSE_ALL_FEATURES
8231 if test -z "$defaultval"; then
8232 if test x
"$enablestring" = xdisable
; then
8239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8241 # Check whether --enable-threads was given.
8242 if test "${enable_threads+set}" = set; then
8243 enableval
=$enable_threads;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_threads
='wxUSE_THREADS=yes'
8247 wx_cv_use_threads
='wxUSE_THREADS=no'
8252 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8257 eval "$wx_cv_use_threads"
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_THREADS = no; then
8266 result=$wxUSE_THREADS
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8276 if test -z "$defaultval"; then
8277 if test x"$enablestring" = xdisable; then
8284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8286 # Check whether --enable-iniconf was given.
8287 if test "${enable_iniconf+set}" = set; then
8288 enableval=$enable_iniconf;
8289 if test "$enableval" = yes; then
8290 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8292 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8297 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8302 eval "$wx_cv_use_iniconf"
8304 if test x"$enablestring" = xdisable; then
8305 if test $wxUSE_INICONF = no; then
8311 result=$wxUSE_INICONF
8314 { echo "$as_me:$LINENO: result
: $result" >&5
8315 echo "${ECHO_T}$result" >&6; }
8319 defaultval=$wxUSE_ALL_FEATURES
8320 if test -z "$defaultval"; then
8321 if test x"$enablestring" = xdisable; then
8328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8329 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8330 # Check whether --enable-regkey was given.
8331 if test "${enable_regkey+set}" = set; then
8332 enableval=$enable_regkey;
8333 if test "$enableval" = yes; then
8334 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8336 wx_cv_use_regkey='wxUSE_REGKEY=no'
8341 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8346 eval "$wx_cv_use_regkey"
8348 if test x
"$enablestring" = xdisable
; then
8349 if test $wxUSE_REGKEY = no
; then
8355 result
=$wxUSE_REGKEY
8358 { echo "$as_me:$LINENO: result: $result" >&5
8359 echo "${ECHO_T}$result" >&6; }
8362 if test "$wxUSE_GUI" = "yes"; then
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}-docview" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8378 # Check whether --enable-docview was given.
8379 if test "${enable_docview+set}" = set; then
8380 enableval
=$enable_docview;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8384 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8389 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8394 eval "$wx_cv_use_docview"
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8403 result=$wxUSE_DOC_VIEW_ARCHITECTURE
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}-help" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8422 # Check whether --enable-help was given.
8423 if test "${enable_help+set}" = set; then
8424 enableval=$enable_help;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_help='wxUSE_HELP
=yes'
8428 wx_cv_use_help='wxUSE_HELP
=no
'
8433 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8438 eval "$wx_cv_use_help"
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_HELP = 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}-mshtmlhelp" >&5
8465 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8466 # Check whether --enable-mshtmlhelp was given.
8467 if test "${enable_mshtmlhelp+set}" = set; then
8468 enableval=$enable_mshtmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8472 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8477 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8482 eval "$wx_cv_use_mshtmlhelp"
8484 if test x
"$enablestring" = xdisable
; then
8485 if test $wxUSE_MS_HTML_HELP = no
; then
8491 result
=$wxUSE_MS_HTML_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}-html" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8510 # Check whether --enable-html was given.
8511 if test "${enable_html+set}" = set; then
8512 enableval
=$enable_html;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_html
='wxUSE_HTML=yes'
8516 wx_cv_use_html
='wxUSE_HTML=no'
8521 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8526 eval "$wx_cv_use_html"
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_HTML = 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}-htmlhelp" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8554 # Check whether --enable-htmlhelp was given.
8555 if test "${enable_htmlhelp+set}" = set; then
8556 enableval=$enable_htmlhelp;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8560 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8565 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8570 eval "$wx_cv_use_htmlhelp"
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_WXHTML_HELP = no; then
8579 result=$wxUSE_WXHTML_HELP
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}-xrc" >&5
8597 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8598 # Check whether --enable-xrc was given.
8599 if test "${enable_xrc+set}" = set; then
8600 enableval=$enable_xrc;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_xrc='wxUSE_XRC=yes'
8604 wx_cv_use_xrc='wxUSE_XRC=no'
8609 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8614 eval "$wx_cv_use_xrc"
8616 if test x
"$enablestring" = xdisable
; then
8617 if test $wxUSE_XRC = no
; then
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}-aui" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8642 # Check whether --enable-aui was given.
8643 if test "${enable_aui+set}" = set; then
8644 enableval
=$enable_aui;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_aui
='wxUSE_AUI=yes'
8648 wx_cv_use_aui
='wxUSE_AUI=no'
8653 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8658 eval "$wx_cv_use_aui"
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_AUI = 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}-propgrid" >&5
8685 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8686 # Check whether --enable-propgrid was given.
8687 if test "${enable_propgrid+set}" = set; then
8688 enableval=$enable_propgrid;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8692 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8697 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8702 eval "$wx_cv_use_propgrid"
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_PROPGRID = no; then
8711 result=$wxUSE_PROPGRID
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}-ribbon" >&5
8729 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8730 # Check whether --enable-ribbon was given.
8731 if test "${enable_ribbon+set}" = set; then
8732 enableval=$enable_ribbon;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8736 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8741 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8746 eval "$wx_cv_use_ribbon"
8748 if test x
"$enablestring" = xdisable
; then
8749 if test $wxUSE_RIBBON = no
; then
8755 result
=$wxUSE_RIBBON
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}-stc" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8774 # Check whether --enable-stc was given.
8775 if test "${enable_stc+set}" = set; then
8776 enableval
=$enable_stc;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_stc
='wxUSE_STC=yes'
8780 wx_cv_use_stc
='wxUSE_STC=no'
8785 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8790 eval "$wx_cv_use_stc"
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_STC = no; then
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}-constraints" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8818 # Check whether --enable-constraints was given.
8819 if test "${enable_constraints+set}" = set; then
8820 enableval=$enable_constraints;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8824 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8829 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8834 eval "$wx_cv_use_constraints"
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_CONSTRAINTS = no; then
8843 result=$wxUSE_CONSTRAINTS
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}-loggui" >&5
8861 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8862 # Check whether --enable-loggui was given.
8863 if test "${enable_loggui+set}" = set; then
8864 enableval=$enable_loggui;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8868 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8873 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8878 eval "$wx_cv_use_loggui"
8880 if test x
"$enablestring" = xdisable
; then
8881 if test $wxUSE_LOGGUI = no
; then
8887 result
=$wxUSE_LOGGUI
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}-logwin" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8906 # Check whether --enable-logwin was given.
8907 if test "${enable_logwin+set}" = set; then
8908 enableval
=$enable_logwin;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8912 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8917 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8922 eval "$wx_cv_use_logwin"
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_LOGWINDOW = no; then
8931 result=$wxUSE_LOGWINDOW
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}-logdialog" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8950 # Check whether --enable-logdialog was given.
8951 if test "${enable_logdialog+set}" = set; then
8952 enableval=$enable_logdialog;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8956 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8961 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8966 eval "$wx_cv_use_logdialog"
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_LOGDIALOG = no; then
8975 result=$wxUSE_LOGDIALOG
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}-mdi" >&5
8993 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8994 # Check whether --enable-mdi was given.
8995 if test "${enable_mdi+set}" = set; then
8996 enableval=$enable_mdi;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_mdi='wxUSE_MDI=yes'
9000 wx_cv_use_mdi='wxUSE_MDI=no'
9005 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9010 eval "$wx_cv_use_mdi"
9012 if test x
"$enablestring" = xdisable
; then
9013 if test $wxUSE_MDI = no
; then
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}-mdidoc" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9038 # Check whether --enable-mdidoc was given.
9039 if test "${enable_mdidoc+set}" = set; then
9040 enableval
=$enable_mdidoc;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9044 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9049 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9054 eval "$wx_cv_use_mdidoc"
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_MDI_ARCHITECTURE = no; then
9063 result=$wxUSE_MDI_ARCHITECTURE
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}-mediactrl" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9082 # Check whether --enable-mediactrl was given.
9083 if test "${enable_mediactrl+set}" = set; then
9084 enableval=$enable_mediactrl;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9088 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9093 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9098 eval "$wx_cv_use_mediactrl"
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_MEDIACTRL = no; then
9107 result=$wxUSE_MEDIACTRL
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}-gstreamer8" >&5
9125 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9126 # Check whether --enable-gstreamer8 was given.
9127 if test "${enable_gstreamer8+set}" = set; then
9128 enableval=$enable_gstreamer8;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9132 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9137 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9142 eval "$wx_cv_use_gstreamer8"
9144 if test x
"$enablestring" = xdisable
; then
9145 if test $wxUSE_GSTREAMER8 = no
; then
9151 result
=$wxUSE_GSTREAMER8
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}-webkit" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9170 # Check whether --enable-webkit was given.
9171 if test "${enable_webkit+set}" = set; then
9172 enableval
=$enable_webkit;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9176 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9181 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9186 eval "$wx_cv_use_webkit"
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_WEBKIT = no; then
9195 result=$wxUSE_WEBKIT
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}-richtext" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9214 # Check whether --enable-richtext was given.
9215 if test "${enable_richtext+set}" = set; then
9216 enableval=$enable_richtext;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9220 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9225 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9230 eval "$wx_cv_use_richtext"
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_RICHTEXT = no; then
9239 result=$wxUSE_RICHTEXT
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}-graphics_ctx" >&5
9257 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9258 # Check whether --enable-graphics_ctx was given.
9259 if test "${enable_graphics_ctx+set}" = set; then
9260 enableval=$enable_graphics_ctx;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9264 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9269 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9274 eval "$wx_cv_use_graphics_ctx"
9276 if test x
"$enablestring" = xdisable
; then
9277 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9283 result
=$wxUSE_GRAPHICS_CONTEXT
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9291 defaultval
=$wxUSE_ALL_FEATURES
9292 if test -z "$defaultval"; then
9293 if test x
"$enablestring" = xdisable
; then
9300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9301 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9302 # Check whether --enable-postscript was given.
9303 if test "${enable_postscript+set}" = set; then
9304 enableval
=$enable_postscript;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9308 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9313 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9318 eval "$wx_cv_use_postscript"
9320 if test x"$enablestring" = xdisable; then
9321 if test $wxUSE_POSTSCRIPT = no; then
9327 result=$wxUSE_POSTSCRIPT
9330 { echo "$as_me:$LINENO: result: $result" >&5
9331 echo "${ECHO_T}$result" >&6; }
9335 defaultval=$wxUSE_ALL_FEATURES
9336 if test -z "$defaultval"; then
9337 if test x"$enablestring" = xdisable; then
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9346 # Check whether --enable-printarch was given.
9347 if test "${enable_printarch+set}" = set; then
9348 enableval=$enable_printarch;
9349 if test "$enableval" = yes; then
9350 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9352 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9357 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9362 eval "$wx_cv_use_printarch"
9364 if test x"$enablestring" = xdisable; then
9365 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9371 result=$wxUSE_PRINTING_ARCHITECTURE
9374 { echo "$as_me:$LINENO: result
: $result" >&5
9375 echo "${ECHO_T}$result" >&6; }
9379 defaultval=$wxUSE_ALL_FEATURES
9380 if test -z "$defaultval"; then
9381 if test x"$enablestring" = xdisable; then
9388 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9389 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9390 # Check whether --enable-svg was given.
9391 if test "${enable_svg+set}" = set; then
9392 enableval=$enable_svg;
9393 if test "$enableval" = yes; then
9394 wx_cv_use_svg='wxUSE_SVG=yes'
9396 wx_cv_use_svg='wxUSE_SVG=no'
9401 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9406 eval "$wx_cv_use_svg"
9408 if test x
"$enablestring" = xdisable
; then
9409 if test $wxUSE_SVG = no
; then
9418 { echo "$as_me:$LINENO: result: $result" >&5
9419 echo "${ECHO_T}$result" >&6; }
9425 defaultval
=$wxUSE_ALL_FEATURES
9426 if test -z "$defaultval"; then
9427 if test x
"$enablestring" = xdisable
; then
9434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9436 # Check whether --enable-clipboard was given.
9437 if test "${enable_clipboard+set}" = set; then
9438 enableval
=$enable_clipboard;
9439 if test "$enableval" = yes; then
9440 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9442 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9447 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9452 eval "$wx_cv_use_clipboard"
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_CLIPBOARD = no; then
9461 result=$wxUSE_CLIPBOARD
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9469 defaultval=$wxUSE_ALL_FEATURES
9470 if test -z "$defaultval"; then
9471 if test x"$enablestring" = xdisable; then
9478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9480 # Check whether --enable-dnd was given.
9481 if test "${enable_dnd+set}" = set; then
9482 enableval=$enable_dnd;
9483 if test "$enableval" = yes; then
9484 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9486 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9491 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9496 eval "$wx_cv_use_dnd"
9498 if test x"$enablestring" = xdisable; then
9499 if test $wxUSE_DRAG_AND_DROP = no; then
9505 result=$wxUSE_DRAG_AND_DROP
9508 { echo "$as_me:$LINENO: result
: $result" >&5
9509 echo "${ECHO_T}$result" >&6; }
9513 defaultval=$wxUSE_ALL_FEATURES
9514 if test -z "$defaultval"; then
9515 if test x"$enablestring" = xdisable; then
9522 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9523 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9524 # Check whether --enable-metafile was given.
9525 if test "${enable_metafile+set}" = set; then
9526 enableval=$enable_metafile;
9527 if test "$enableval" = yes; then
9528 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9530 wx_cv_use_metafile='wxUSE_METAFILE=no'
9535 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9540 eval "$wx_cv_use_metafile"
9542 if test x
"$enablestring" = xdisable
; then
9543 if test $wxUSE_METAFILE = no
; then
9549 result
=$wxUSE_METAFILE
9552 { echo "$as_me:$LINENO: result: $result" >&5
9553 echo "${ECHO_T}$result" >&6; }
9557 DEFAULT_wxUSE_CONTROLS
=none
9559 enablestring
=disable
9561 if test -z "$defaultval"; then
9562 if test x
"$enablestring" = xdisable
; then
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9571 # Check whether --enable-controls was given.
9572 if test "${enable_controls+set}" = set; then
9573 enableval
=$enable_controls;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9577 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9582 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9587 eval "$wx_cv_use_controls"
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_CONTROLS = no; then
9596 result=$wxUSE_CONTROLS
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9603 if test "$wxUSE_CONTROLS" = "no"; then
9604 DEFAULT_wxUSE_ACCEL=no
9605 DEFAULT_wxUSE_ANIMATIONCTRL=no
9606 DEFAULT_wxUSE_BMPBUTTON=no
9607 DEFAULT_wxUSE_BUTTON=no
9608 DEFAULT_wxUSE_CALCTRL=no
9609 DEFAULT_wxUSE_CARET=no
9610 DEFAULT_wxUSE_CHECKBOX=no
9611 DEFAULT_wxUSE_CHECKLISTBOX=no
9612 DEFAULT_wxUSE_CHOICE=no
9613 DEFAULT_wxUSE_CHOICEBOOK=no
9614 DEFAULT_wxUSE_COLLPANE=no
9615 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9616 DEFAULT_wxUSE_COMBOBOX=no
9617 DEFAULT_wxUSE_COMBOBOX=no
9618 DEFAULT_wxUSE_DATAVIEWCTRL=no
9619 DEFAULT_wxUSE_DATEPICKCTRL=no
9620 DEFAULT_wxUSE_DETECT_SM=no
9621 DEFAULT_wxUSE_DIRPICKERCTRL=no
9622 DEFAULT_wxUSE_DISPLAY=no
9623 DEFAULT_wxUSE_FILECTRL=no
9624 DEFAULT_wxUSE_FILEPICKERCTRL=no
9625 DEFAULT_wxUSE_FONTPICKERCTRL=no
9626 DEFAULT_wxUSE_GAUGE=no
9627 DEFAULT_wxUSE_GRID=no
9628 DEFAULT_wxUSE_HEADERCTRL=no
9629 DEFAULT_wxUSE_HYPERLINKCTRL=no
9630 DEFAULT_wxUSE_IMAGLIST=no
9631 DEFAULT_wxUSE_LISTBOOK=no
9632 DEFAULT_wxUSE_LISTBOX=no
9633 DEFAULT_wxUSE_LISTCTRL=no
9634 DEFAULT_wxUSE_NOTEBOOK=no
9635 DEFAULT_wxUSE_POPUPWIN=no
9636 DEFAULT_wxUSE_RADIOBOX=no
9637 DEFAULT_wxUSE_RADIOBTN=no
9638 DEFAULT_wxUSE_REARRANGECTRL=no
9639 DEFAULT_wxUSE_SASH=no
9640 DEFAULT_wxUSE_SCROLLBAR=no
9641 DEFAULT_wxUSE_SEARCHCTRL=no
9642 DEFAULT_wxUSE_SLIDER=no
9643 DEFAULT_wxUSE_SPINBTN=no
9644 DEFAULT_wxUSE_SPINCTRL=no
9645 DEFAULT_wxUSE_SPLITTER=no
9646 DEFAULT_wxUSE_STATBMP=no
9647 DEFAULT_wxUSE_STATBOX=no
9648 DEFAULT_wxUSE_STATLINE=no
9649 DEFAULT_wxUSE_STATUSBAR=no
9650 DEFAULT_wxUSE_TIPWINDOW=no
9651 DEFAULT_wxUSE_TOGGLEBTN=no
9652 DEFAULT_wxUSE_TOOLBAR=no
9653 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9654 DEFAULT_wxUSE_TOOLBOOK=no
9655 DEFAULT_wxUSE_TOOLTIPS=no
9656 DEFAULT_wxUSE_TREEBOOK=no
9657 DEFAULT_wxUSE_TREECTRL=no
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}-accel" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9673 # Check whether --enable-accel was given.
9674 if test "${enable_accel+set}" = set; then
9675 enableval=$enable_accel;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9679 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9684 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9689 eval "$wx_cv_use_accel"
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_ACCEL = no; then
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}-animatectrl" >&5
9716 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9717 # Check whether --enable-animatectrl was given.
9718 if test "${enable_animatectrl+set}" = set; then
9719 enableval=$enable_animatectrl;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9723 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9728 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9733 eval "$wx_cv_use_animatectrl"
9735 if test x
"$enablestring" = xdisable
; then
9736 if test $wxUSE_ANIMATIONCTRL = no
; then
9742 result
=$wxUSE_ANIMATIONCTRL
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}-bmpbutton" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9761 # Check whether --enable-bmpbutton was given.
9762 if test "${enable_bmpbutton+set}" = set; then
9763 enableval
=$enable_bmpbutton;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9767 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9772 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9777 eval "$wx_cv_use_bmpbutton"
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_BMPBUTTON = no; then
9786 result=$wxUSE_BMPBUTTON
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}-bmpcombobox" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9805 # Check whether --enable-bmpcombobox was given.
9806 if test "${enable_bmpcombobox+set}" = set; then
9807 enableval=$enable_bmpcombobox;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9811 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9816 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9821 eval "$wx_cv_use_bmpcombobox"
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_BITMAPCOMBOBOX = no; then
9830 result=$wxUSE_BITMAPCOMBOBOX
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}-button" >&5
9848 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9849 # Check whether --enable-button was given.
9850 if test "${enable_button+set}" = set; then
9851 enableval=$enable_button;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_button='wxUSE_BUTTON=yes'
9855 wx_cv_use_button='wxUSE_BUTTON=no'
9860 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9865 eval "$wx_cv_use_button"
9867 if test x
"$enablestring" = xdisable
; then
9868 if test $wxUSE_BUTTON = no
; then
9874 result
=$wxUSE_BUTTON
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}-calendar" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9893 # Check whether --enable-calendar was given.
9894 if test "${enable_calendar+set}" = set; then
9895 enableval
=$enable_calendar;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9899 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9904 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9909 eval "$wx_cv_use_calendar"
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CALCTRL = no; then
9918 result=$wxUSE_CALCTRL
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}-caret" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9937 # Check whether --enable-caret was given.
9938 if test "${enable_caret+set}" = set; then
9939 enableval=$enable_caret;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_caret='wxUSE_CARET
=yes'
9943 wx_cv_use_caret='wxUSE_CARET
=no
'
9948 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9953 eval "$wx_cv_use_caret"
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CARET = no; then
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}-checkbox" >&5
9980 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9981 # Check whether --enable-checkbox was given.
9982 if test "${enable_checkbox+set}" = set; then
9983 enableval=$enable_checkbox;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9987 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9992 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9997 eval "$wx_cv_use_checkbox"
9999 if test x
"$enablestring" = xdisable
; then
10000 if test $wxUSE_CHECKBOX = no
; then
10006 result
=$wxUSE_CHECKBOX
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}-checklst" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10025 # Check whether --enable-checklst was given.
10026 if test "${enable_checklst+set}" = set; then
10027 enableval
=$enable_checklst;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10031 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10036 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10041 eval "$wx_cv_use_checklst"
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_CHECKLST = no; then
10050 result=$wxUSE_CHECKLST
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}-choice" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10069 # Check whether --enable-choice was given.
10070 if test "${enable_choice+set}" = set; then
10071 enableval=$enable_choice;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10075 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10080 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10085 eval "$wx_cv_use_choice"
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_CHOICE = no; then
10094 result=$wxUSE_CHOICE
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}-choicebook" >&5
10112 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10113 # Check whether --enable-choicebook was given.
10114 if test "${enable_choicebook+set}" = set; then
10115 enableval=$enable_choicebook;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10119 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10124 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10129 eval "$wx_cv_use_choicebook"
10131 if test x
"$enablestring" = xdisable
; then
10132 if test $wxUSE_CHOICEBOOK = no
; then
10138 result
=$wxUSE_CHOICEBOOK
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}-collpane" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10157 # Check whether --enable-collpane was given.
10158 if test "${enable_collpane+set}" = set; then
10159 enableval
=$enable_collpane;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10163 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10168 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10173 eval "$wx_cv_use_collpane"
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COLLPANE = no; then
10182 result=$wxUSE_COLLPANE
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}-colourpicker" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10201 # Check whether --enable-colourpicker was given.
10202 if test "${enable_colourpicker+set}" = set; then
10203 enableval=$enable_colourpicker;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10207 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10212 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10217 eval "$wx_cv_use_colourpicker"
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_COLOURPICKERCTRL = no; then
10226 result=$wxUSE_COLOURPICKERCTRL
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}-combobox" >&5
10244 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10245 # Check whether --enable-combobox was given.
10246 if test "${enable_combobox+set}" = set; then
10247 enableval=$enable_combobox;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10251 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10256 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10261 eval "$wx_cv_use_combobox"
10263 if test x
"$enablestring" = xdisable
; then
10264 if test $wxUSE_COMBOBOX = no
; then
10270 result
=$wxUSE_COMBOBOX
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}-comboctrl" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10289 # Check whether --enable-comboctrl was given.
10290 if test "${enable_comboctrl+set}" = set; then
10291 enableval
=$enable_comboctrl;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10295 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10300 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10305 eval "$wx_cv_use_comboctrl"
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_COMBOCTRL = no; then
10314 result=$wxUSE_COMBOCTRL
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}-dataviewctrl" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10333 # Check whether --enable-dataviewctrl was given.
10334 if test "${enable_dataviewctrl+set}" = set; then
10335 enableval=$enable_dataviewctrl;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10339 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10344 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10349 eval "$wx_cv_use_dataviewctrl"
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DATAVIEWCTRL = no; then
10358 result=$wxUSE_DATAVIEWCTRL
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}-datepick" >&5
10376 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10377 # Check whether --enable-datepick was given.
10378 if test "${enable_datepick+set}" = set; then
10379 enableval=$enable_datepick;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10383 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10388 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10393 eval "$wx_cv_use_datepick"
10395 if test x
"$enablestring" = xdisable
; then
10396 if test $wxUSE_DATEPICKCTRL = no
; then
10402 result
=$wxUSE_DATEPICKCTRL
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}-detect_sm" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10421 # Check whether --enable-detect_sm was given.
10422 if test "${enable_detect_sm+set}" = set; then
10423 enableval
=$enable_detect_sm;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10427 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10432 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10437 eval "$wx_cv_use_detect_sm"
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_DETECT_SM = no; then
10446 result=$wxUSE_DETECT_SM
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}-dirpicker" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10465 # Check whether --enable-dirpicker was given.
10466 if test "${enable_dirpicker+set}" = set; then
10467 enableval=$enable_dirpicker;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10471 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10476 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10481 eval "$wx_cv_use_dirpicker"
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_DIRPICKERCTRL = no; then
10490 result=$wxUSE_DIRPICKERCTRL
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}-display" >&5
10508 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10509 # Check whether --enable-display was given.
10510 if test "${enable_display+set}" = set; then
10511 enableval=$enable_display;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_display='wxUSE_DISPLAY=yes'
10515 wx_cv_use_display='wxUSE_DISPLAY=no'
10520 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10525 eval "$wx_cv_use_display"
10527 if test x
"$enablestring" = xdisable
; then
10528 if test $wxUSE_DISPLAY = no
; then
10534 result
=$wxUSE_DISPLAY
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}-editablebox" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10553 # Check whether --enable-editablebox was given.
10554 if test "${enable_editablebox+set}" = set; then
10555 enableval
=$enable_editablebox;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10559 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10564 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10569 eval "$wx_cv_use_editablebox"
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_EDITABLELISTBOX = no; then
10578 result=$wxUSE_EDITABLELISTBOX
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}-filectrl" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10597 # Check whether --enable-filectrl was given.
10598 if test "${enable_filectrl+set}" = set; then
10599 enableval=$enable_filectrl;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10603 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10608 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10613 eval "$wx_cv_use_filectrl"
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_FILECTRL = no; then
10622 result=$wxUSE_FILECTRL
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}-filepicker" >&5
10640 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10641 # Check whether --enable-filepicker was given.
10642 if test "${enable_filepicker+set}" = set; then
10643 enableval=$enable_filepicker;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10647 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10652 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10657 eval "$wx_cv_use_filepicker"
10659 if test x
"$enablestring" = xdisable
; then
10660 if test $wxUSE_FILEPICKERCTRL = no
; then
10666 result
=$wxUSE_FILEPICKERCTRL
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}-fontpicker" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10685 # Check whether --enable-fontpicker was given.
10686 if test "${enable_fontpicker+set}" = set; then
10687 enableval
=$enable_fontpicker;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10691 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10696 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10701 eval "$wx_cv_use_fontpicker"
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_FONTPICKERCTRL = no; then
10710 result=$wxUSE_FONTPICKERCTRL
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}-gauge" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10729 # Check whether --enable-gauge was given.
10730 if test "${enable_gauge+set}" = set; then
10731 enableval=$enable_gauge;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10735 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10740 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10745 eval "$wx_cv_use_gauge"
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_GAUGE = no; then
10754 result=$wxUSE_GAUGE
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}-grid" >&5
10772 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10773 # Check whether --enable-grid was given.
10774 if test "${enable_grid+set}" = set; then
10775 enableval=$enable_grid;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_grid='wxUSE_GRID=yes'
10779 wx_cv_use_grid='wxUSE_GRID=no'
10784 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10789 eval "$wx_cv_use_grid"
10791 if test x
"$enablestring" = xdisable
; then
10792 if test $wxUSE_GRID = no
; then
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}-headerctrl" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10817 # Check whether --enable-headerctrl was given.
10818 if test "${enable_headerctrl+set}" = set; then
10819 enableval
=$enable_headerctrl;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10823 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10828 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10833 eval "$wx_cv_use_headerctrl"
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_HEADERCTRL = no; then
10842 result=$wxUSE_HEADERCTRL
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}-hyperlink" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10861 # Check whether --enable-hyperlink was given.
10862 if test "${enable_hyperlink+set}" = set; then
10863 enableval=$enable_hyperlink;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10867 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10872 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10877 eval "$wx_cv_use_hyperlink"
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_HYPERLINKCTRL = no; then
10886 result=$wxUSE_HYPERLINKCTRL
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}-imaglist" >&5
10904 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10905 # Check whether --enable-imaglist was given.
10906 if test "${enable_imaglist+set}" = set; then
10907 enableval=$enable_imaglist;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10911 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10916 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10921 eval "$wx_cv_use_imaglist"
10923 if test x
"$enablestring" = xdisable
; then
10924 if test $wxUSE_IMAGLIST = no
; then
10930 result
=$wxUSE_IMAGLIST
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}-infobar" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10949 # Check whether --enable-infobar was given.
10950 if test "${enable_infobar+set}" = set; then
10951 enableval
=$enable_infobar;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
10955 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
10960 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10965 eval "$wx_cv_use_infobar"
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_INFOBAR = no; then
10974 result=$wxUSE_INFOBAR
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}-listbook" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10993 # Check whether --enable-listbook was given.
10994 if test "${enable_listbook+set}" = set; then
10995 enableval=$enable_listbook;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10999 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
11004 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11009 eval "$wx_cv_use_listbook"
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_LISTBOOK = no; then
11018 result=$wxUSE_LISTBOOK
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}-listbox" >&5
11036 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
11037 # Check whether --enable-listbox was given.
11038 if test "${enable_listbox+set}" = set; then
11039 enableval=$enable_listbox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11043 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11048 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11053 eval "$wx_cv_use_listbox"
11055 if test x
"$enablestring" = xdisable
; then
11056 if test $wxUSE_LISTBOX = no
; then
11062 result
=$wxUSE_LISTBOX
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}-listctrl" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11081 # Check whether --enable-listctrl was given.
11082 if test "${enable_listctrl+set}" = set; then
11083 enableval
=$enable_listctrl;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
11087 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
11092 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11097 eval "$wx_cv_use_listctrl"
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_LISTCTRL = no; then
11106 result=$wxUSE_LISTCTRL
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}-notebook" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11125 # Check whether --enable-notebook was given.
11126 if test "${enable_notebook+set}" = set; then
11127 enableval=$enable_notebook;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
11131 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
11136 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11141 eval "$wx_cv_use_notebook"
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_NOTEBOOK = no; then
11150 result=$wxUSE_NOTEBOOK
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}-notifmsg" >&5
11168 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
11169 # Check whether --enable-notifmsg was given.
11170 if test "${enable_notifmsg+set}" = set; then
11171 enableval=$enable_notifmsg;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11175 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11180 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11185 eval "$wx_cv_use_notifmsg"
11187 if test x
"$enablestring" = xdisable
; then
11188 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11194 result
=$wxUSE_NOTIFICATION_MESSAGE
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}-odcombobox" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11213 # Check whether --enable-odcombobox was given.
11214 if test "${enable_odcombobox+set}" = set; then
11215 enableval
=$enable_odcombobox;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11219 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11224 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11229 eval "$wx_cv_use_odcombobox"
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_ODCOMBOBOX = no; then
11238 result=$wxUSE_ODCOMBOBOX
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}-popupwin" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11257 # Check whether --enable-popupwin was given.
11258 if test "${enable_popupwin+set}" = set; then
11259 enableval=$enable_popupwin;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11263 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11268 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11273 eval "$wx_cv_use_popupwin"
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_POPUPWIN = no; then
11282 result=$wxUSE_POPUPWIN
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}-radiobox" >&5
11300 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11301 # Check whether --enable-radiobox was given.
11302 if test "${enable_radiobox+set}" = set; then
11303 enableval=$enable_radiobox;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11307 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11312 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11317 eval "$wx_cv_use_radiobox"
11319 if test x
"$enablestring" = xdisable
; then
11320 if test $wxUSE_RADIOBOX = no
; then
11326 result
=$wxUSE_RADIOBOX
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}-radiobtn" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11345 # Check whether --enable-radiobtn was given.
11346 if test "${enable_radiobtn+set}" = set; then
11347 enableval
=$enable_radiobtn;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11351 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11356 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11361 eval "$wx_cv_use_radiobtn"
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_RADIOBTN = no; then
11370 result=$wxUSE_RADIOBTN
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}-rearrangectrl" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11389 # Check whether --enable-rearrangectrl was given.
11390 if test "${enable_rearrangectrl+set}" = set; then
11391 enableval=$enable_rearrangectrl;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11395 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11400 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11405 eval "$wx_cv_use_rearrangectrl"
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_REARRANGECTRL = no; then
11414 result=$wxUSE_REARRANGECTRL
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}-sash" >&5
11432 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11433 # Check whether --enable-sash was given.
11434 if test "${enable_sash+set}" = set; then
11435 enableval=$enable_sash;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_sash='wxUSE_SASH=yes'
11439 wx_cv_use_sash='wxUSE_SASH=no'
11444 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11449 eval "$wx_cv_use_sash"
11451 if test x
"$enablestring" = xdisable
; then
11452 if test $wxUSE_SASH = no
; then
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}-scrollbar" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11477 # Check whether --enable-scrollbar was given.
11478 if test "${enable_scrollbar+set}" = set; then
11479 enableval
=$enable_scrollbar;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11483 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11488 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11493 eval "$wx_cv_use_scrollbar"
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SCROLLBAR = no; then
11502 result=$wxUSE_SCROLLBAR
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}-searchctrl" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11521 # Check whether --enable-searchctrl was given.
11522 if test "${enable_searchctrl+set}" = set; then
11523 enableval=$enable_searchctrl;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11527 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11532 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11537 eval "$wx_cv_use_searchctrl"
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_SEARCHCTRL = no; then
11546 result=$wxUSE_SEARCHCTRL
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}-slider" >&5
11564 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11565 # Check whether --enable-slider was given.
11566 if test "${enable_slider+set}" = set; then
11567 enableval=$enable_slider;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_slider='wxUSE_SLIDER=yes'
11571 wx_cv_use_slider='wxUSE_SLIDER=no'
11576 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11581 eval "$wx_cv_use_slider"
11583 if test x
"$enablestring" = xdisable
; then
11584 if test $wxUSE_SLIDER = no
; then
11590 result
=$wxUSE_SLIDER
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}-spinbtn" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11609 # Check whether --enable-spinbtn was given.
11610 if test "${enable_spinbtn+set}" = set; then
11611 enableval
=$enable_spinbtn;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11615 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11620 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11625 eval "$wx_cv_use_spinbtn"
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_SPINBTN = no; then
11634 result=$wxUSE_SPINBTN
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}-spinctrl" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11653 # Check whether --enable-spinctrl was given.
11654 if test "${enable_spinctrl+set}" = set; then
11655 enableval=$enable_spinctrl;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11659 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11664 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11669 eval "$wx_cv_use_spinctrl"
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_SPINCTRL = no; then
11678 result=$wxUSE_SPINCTRL
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}-splitter" >&5
11696 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11697 # Check whether --enable-splitter was given.
11698 if test "${enable_splitter+set}" = set; then
11699 enableval=$enable_splitter;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11703 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11708 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11713 eval "$wx_cv_use_splitter"
11715 if test x
"$enablestring" = xdisable
; then
11716 if test $wxUSE_SPLITTER = no
; then
11722 result
=$wxUSE_SPLITTER
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}-statbmp" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11741 # Check whether --enable-statbmp was given.
11742 if test "${enable_statbmp+set}" = set; then
11743 enableval
=$enable_statbmp;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11747 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11752 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11757 eval "$wx_cv_use_statbmp"
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATBMP = no; then
11766 result=$wxUSE_STATBMP
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}-statbox" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11785 # Check whether --enable-statbox was given.
11786 if test "${enable_statbox+set}" = set; then
11787 enableval=$enable_statbox;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11791 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11796 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11801 eval "$wx_cv_use_statbox"
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_STATBOX = no; then
11810 result=$wxUSE_STATBOX
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}-statline" >&5
11828 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11829 # Check whether --enable-statline was given.
11830 if test "${enable_statline+set}" = set; then
11831 enableval=$enable_statline;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_statline='wxUSE_STATLINE=yes'
11835 wx_cv_use_statline='wxUSE_STATLINE=no'
11840 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11845 eval "$wx_cv_use_statline"
11847 if test x
"$enablestring" = xdisable
; then
11848 if test $wxUSE_STATLINE = no
; then
11854 result
=$wxUSE_STATLINE
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}-stattext" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11873 # Check whether --enable-stattext was given.
11874 if test "${enable_stattext+set}" = set; then
11875 enableval
=$enable_stattext;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11879 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11884 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11889 eval "$wx_cv_use_stattext"
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_STATTEXT = no; then
11898 result=$wxUSE_STATTEXT
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}-statusbar" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11917 # Check whether --enable-statusbar was given.
11918 if test "${enable_statusbar+set}" = set; then
11919 enableval=$enable_statusbar;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11923 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11928 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11933 eval "$wx_cv_use_statusbar"
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_STATUSBAR = no; then
11942 result=$wxUSE_STATUSBAR
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}-taskbaricon" >&5
11960 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11961 # Check whether --enable-taskbaricon was given.
11962 if test "${enable_taskbaricon+set}" = set; then
11963 enableval=$enable_taskbaricon;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11967 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11972 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11977 eval "$wx_cv_use_taskbaricon"
11979 if test x
"$enablestring" = xdisable
; then
11980 if test $wxUSE_TASKBARICON = no
; then
11986 result
=$wxUSE_TASKBARICON
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}-tbarnative" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12005 # Check whether --enable-tbarnative was given.
12006 if test "${enable_tbarnative+set}" = set; then
12007 enableval
=$enable_tbarnative;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12011 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12016 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12021 eval "$wx_cv_use_tbarnative"
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR_NATIVE = no; then
12030 result=$wxUSE_TOOLBAR_NATIVE
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}-textctrl" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12049 # Check whether --enable-textctrl was given.
12050 if test "${enable_textctrl+set}" = set; then
12051 enableval=$enable_textctrl;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12055 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12060 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12065 eval "$wx_cv_use_textctrl"
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TEXTCTRL = no; then
12074 result=$wxUSE_TEXTCTRL
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}-tipwindow" >&5
12092 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12093 # Check whether --enable-tipwindow was given.
12094 if test "${enable_tipwindow+set}" = set; then
12095 enableval=$enable_tipwindow;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12099 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12104 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12109 eval "$wx_cv_use_tipwindow"
12111 if test x
"$enablestring" = xdisable
; then
12112 if test $wxUSE_TIPWINDOW = no
; then
12118 result
=$wxUSE_TIPWINDOW
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}-togglebtn" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12137 # Check whether --enable-togglebtn was given.
12138 if test "${enable_togglebtn+set}" = set; then
12139 enableval
=$enable_togglebtn;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12143 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12148 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12153 eval "$wx_cv_use_togglebtn"
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TOGGLEBTN = no; then
12162 result=$wxUSE_TOGGLEBTN
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12181 # Check whether --enable-toolbar was given.
12182 if test "${enable_toolbar+set}" = set; then
12183 enableval=$enable_toolbar;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12187 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12192 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12197 eval "$wx_cv_use_toolbar"
12199 if test x"$enablestring" = xdisable; then
12200 if test $wxUSE_TOOLBAR = no; then
12206 result=$wxUSE_TOOLBAR
12209 { echo "$as_me:$LINENO: result
: $result" >&5
12210 echo "${ECHO_T}$result" >&6; }
12214 defaultval=$wxUSE_ALL_FEATURES
12215 if test -z "$defaultval"; then
12216 if test x"$enablestring" = xdisable; then
12223 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12224 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12225 # Check whether --enable-toolbook was given.
12226 if test "${enable_toolbook+set}" = set; then
12227 enableval=$enable_toolbook;
12228 if test "$enableval" = yes; then
12229 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12231 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12236 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12241 eval "$wx_cv_use_toolbook"
12243 if test x
"$enablestring" = xdisable
; then
12244 if test $wxUSE_TOOLBOOK = no
; then
12250 result
=$wxUSE_TOOLBOOK
12253 { echo "$as_me:$LINENO: result: $result" >&5
12254 echo "${ECHO_T}$result" >&6; }
12258 defaultval
=$wxUSE_ALL_FEATURES
12259 if test -z "$defaultval"; then
12260 if test x
"$enablestring" = xdisable
; then
12267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12268 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12269 # Check whether --enable-treebook was given.
12270 if test "${enable_treebook+set}" = set; then
12271 enableval
=$enable_treebook;
12272 if test "$enableval" = yes; then
12273 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12275 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12280 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12285 eval "$wx_cv_use_treebook"
12287 if test x"$enablestring" = xdisable; then
12288 if test $wxUSE_TREEBOOK = no; then
12294 result=$wxUSE_TREEBOOK
12297 { echo "$as_me:$LINENO: result: $result" >&5
12298 echo "${ECHO_T}$result" >&6; }
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12313 # Check whether --enable-treectrl was given.
12314 if test "${enable_treectrl+set}" = set; then
12315 enableval=$enable_treectrl;
12316 if test "$enableval" = yes; then
12317 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12319 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12324 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12329 eval "$wx_cv_use_treectrl"
12331 if test x"$enablestring" = xdisable; then
12332 if test $wxUSE_TREECTRL = no; then
12338 result=$wxUSE_TREECTRL
12341 { echo "$as_me:$LINENO: result
: $result" >&5
12342 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}-commondlg" >&5
12358 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12359 # Check whether --enable-commondlg was given.
12360 if test "${enable_commondlg+set}" = set; then
12361 enableval=$enable_commondlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12365 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12370 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12375 eval "$wx_cv_use_commondlg"
12377 if test x
"$enablestring" = xdisable
; then
12378 if test $wxUSE_COMMONDLGS = no
; then
12384 result
=$wxUSE_COMMONDLGS
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}-aboutdlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12403 # Check whether --enable-aboutdlg was given.
12404 if test "${enable_aboutdlg+set}" = set; then
12405 enableval
=$enable_aboutdlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12409 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12414 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12419 eval "$wx_cv_use_aboutdlg"
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_ABOUTDLG = no; then
12428 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12447 # Check whether --enable-choicedlg was given.
12448 if test "${enable_choicedlg+set}" = set; then
12449 enableval=$enable_choicedlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12453 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12458 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12463 eval "$wx_cv_use_choicedlg"
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_CHOICEDLG = no; then
12472 result=$wxUSE_CHOICEDLG
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}-coldlg" >&5
12490 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12491 # Check whether --enable-coldlg was given.
12492 if test "${enable_coldlg+set}" = set; then
12493 enableval=$enable_coldlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12497 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12502 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12507 eval "$wx_cv_use_coldlg"
12509 if test x
"$enablestring" = xdisable
; then
12510 if test $wxUSE_COLOURDLG = no
; then
12516 result
=$wxUSE_COLOURDLG
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}-filedlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12535 # Check whether --enable-filedlg was given.
12536 if test "${enable_filedlg+set}" = set; then
12537 enableval
=$enable_filedlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12541 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12546 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12551 eval "$wx_cv_use_filedlg"
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_FILEDLG = no; then
12560 result=$wxUSE_FILEDLG
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}-finddlg" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12579 # Check whether --enable-finddlg was given.
12580 if test "${enable_finddlg+set}" = set; then
12581 enableval=$enable_finddlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12585 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12590 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12595 eval "$wx_cv_use_finddlg"
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_FINDREPLDLG = no; then
12604 result=$wxUSE_FINDREPLDLG
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}-fontdlg" >&5
12622 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12623 # Check whether --enable-fontdlg was given.
12624 if test "${enable_fontdlg+set}" = set; then
12625 enableval=$enable_fontdlg;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12629 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12634 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12639 eval "$wx_cv_use_fontdlg"
12641 if test x
"$enablestring" = xdisable
; then
12642 if test $wxUSE_FONTDLG = no
; then
12648 result
=$wxUSE_FONTDLG
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}-dirdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-dirdlg was given.
12668 if test "${enable_dirdlg+set}" = set; then
12669 enableval
=$enable_dirdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12673 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12678 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12683 eval "$wx_cv_use_dirdlg"
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_DIRDLG = no; then
12692 result=$wxUSE_DIRDLG
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}-msgdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-msgdlg was given.
12712 if test "${enable_msgdlg+set}" = set; then
12713 enableval=$enable_msgdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12717 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12722 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12727 eval "$wx_cv_use_msgdlg"
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_MSGDLG = no; then
12736 result=$wxUSE_MSGDLG
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}-numberdlg" >&5
12754 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12755 # Check whether --enable-numberdlg was given.
12756 if test "${enable_numberdlg+set}" = set; then
12757 enableval=$enable_numberdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12761 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12766 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12771 eval "$wx_cv_use_numberdlg"
12773 if test x
"$enablestring" = xdisable
; then
12774 if test $wxUSE_NUMBERDLG = no
; then
12780 result
=$wxUSE_NUMBERDLG
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}-splash" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12799 # Check whether --enable-splash was given.
12800 if test "${enable_splash+set}" = set; then
12801 enableval
=$enable_splash;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12805 wx_cv_use_splash
='wxUSE_SPLASH=no'
12810 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12815 eval "$wx_cv_use_splash"
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_SPLASH = no; then
12824 result=$wxUSE_SPLASH
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12842 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12843 # Check whether --enable-textdlg was given.
12844 if test "${enable_textdlg+set}" = set; then
12845 enableval=$enable_textdlg;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12849 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12854 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12859 eval "$wx_cv_use_textdlg"
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_TEXTDLG = no; then
12868 result=$wxUSE_TEXTDLG
12871 { echo "$as_me:$LINENO: result
: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12886 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12887 # Check whether --enable-tipdlg was given.
12888 if test "${enable_tipdlg+set}" = set; then
12889 enableval=$enable_tipdlg;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12893 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12898 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12903 eval "$wx_cv_use_tipdlg"
12905 if test x
"$enablestring" = xdisable
; then
12906 if test $wxUSE_STARTUP_TIPS = no
; then
12912 result
=$wxUSE_STARTUP_TIPS
12915 { echo "$as_me:$LINENO: result: $result" >&5
12916 echo "${ECHO_T}$result" >&6; }
12920 defaultval
=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x
"$enablestring" = xdisable
; then
12929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12930 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12931 # Check whether --enable-progressdlg was given.
12932 if test "${enable_progressdlg+set}" = set; then
12933 enableval
=$enable_progressdlg;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12937 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12942 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12947 eval "$wx_cv_use_progressdlg"
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_PROGRESSDLG = no; then
12956 result=$wxUSE_PROGRESSDLG
12959 { echo "$as_me:$LINENO: result: $result" >&5
12960 echo "${ECHO_T}$result" >&6; }
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12975 # Check whether --enable-wizarddlg was given.
12976 if test "${enable_wizarddlg+set}" = set; then
12977 enableval=$enable_wizarddlg;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12981 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12986 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12991 eval "$wx_cv_use_wizarddlg"
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_WIZARDDLG = no; then
13000 result=$wxUSE_WIZARDDLG
13003 { echo "$as_me:$LINENO: result
: $result" >&5
13004 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}-menus" >&5
13020 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13021 # Check whether --enable-menus was given.
13022 if test "${enable_menus+set}" = set; then
13023 enableval=$enable_menus;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_menus='wxUSE_MENUS=yes'
13027 wx_cv_use_menus='wxUSE_MENUS=no'
13032 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13037 eval "$wx_cv_use_menus"
13039 if test x
"$enablestring" = xdisable
; then
13040 if test $wxUSE_MENUS = no
; then
13046 result
=$wxUSE_MENUS
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}-miniframe" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13065 # Check whether --enable-miniframe was given.
13066 if test "${enable_miniframe+set}" = set; then
13067 enableval
=$enable_miniframe;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13071 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13076 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13081 eval "$wx_cv_use_miniframe"
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_MINIFRAME = no; then
13090 result=$wxUSE_MINIFRAME
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}-tooltips" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13109 # Check whether --enable-tooltips was given.
13110 if test "${enable_tooltips+set}" = set; then
13111 enableval=$enable_tooltips;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13115 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13120 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13125 eval "$wx_cv_use_tooltips"
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_TOOLTIPS = no; then
13134 result=$wxUSE_TOOLTIPS
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}-splines" >&5
13152 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13153 # Check whether --enable-splines was given.
13154 if test "${enable_splines+set}" = set; then
13155 enableval=$enable_splines;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_splines='wxUSE_SPLINES=yes'
13159 wx_cv_use_splines='wxUSE_SPLINES=no'
13164 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13169 eval "$wx_cv_use_splines"
13171 if test x
"$enablestring" = xdisable
; then
13172 if test $wxUSE_SPLINES = no
; then
13178 result
=$wxUSE_SPLINES
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}-mousewheel" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13197 # Check whether --enable-mousewheel was given.
13198 if test "${enable_mousewheel+set}" = set; then
13199 enableval
=$enable_mousewheel;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13203 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13208 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13213 eval "$wx_cv_use_mousewheel"
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_MOUSEWHEEL = no; then
13222 result=$wxUSE_MOUSEWHEEL
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}-validators" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13241 # Check whether --enable-validators was given.
13242 if test "${enable_validators+set}" = set; then
13243 enableval=$enable_validators;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13247 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13252 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13257 eval "$wx_cv_use_validators"
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_VALIDATORS = no; then
13266 result=$wxUSE_VALIDATORS
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}-busyinfo" >&5
13284 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13285 # Check whether --enable-busyinfo was given.
13286 if test "${enable_busyinfo+set}" = set; then
13287 enableval=$enable_busyinfo;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13291 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13296 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13301 eval "$wx_cv_use_busyinfo"
13303 if test x
"$enablestring" = xdisable
; then
13304 if test $wxUSE_BUSYINFO = no
; then
13310 result
=$wxUSE_BUSYINFO
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13318 defaultval
=$wxUSE_ALL_FEATURES
13319 if test -z "$defaultval"; then
13320 if test x
"$enablestring" = xdisable
; then
13327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13328 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13329 # Check whether --enable-joystick was given.
13330 if test "${enable_joystick+set}" = set; then
13331 enableval
=$enable_joystick;
13332 if test "$enableval" = yes; then
13333 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13335 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13340 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13345 eval "$wx_cv_use_joystick"
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_JOYSTICK = no; then
13354 result=$wxUSE_JOYSTICK
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13373 # Check whether --enable-metafile was given.
13374 if test "${enable_metafile+set}" = set; then
13375 enableval=$enable_metafile;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13379 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13384 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13389 eval "$wx_cv_use_metafile"
13391 if test x"$enablestring" = xdisable; then
13392 if test $wxUSE_METAFILE = no; then
13398 result=$wxUSE_METAFILE
13401 { echo "$as_me:$LINENO: result
: $result" >&5
13402 echo "${ECHO_T}$result" >&6; }
13406 defaultval=$wxUSE_ALL_FEATURES
13407 if test -z "$defaultval"; then
13408 if test x"$enablestring" = xdisable; then
13415 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13416 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13417 # Check whether --enable-dragimage was given.
13418 if test "${enable_dragimage+set}" = set; then
13419 enableval=$enable_dragimage;
13420 if test "$enableval" = yes; then
13421 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13423 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13428 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13433 eval "$wx_cv_use_dragimage"
13435 if test x
"$enablestring" = xdisable
; then
13436 if test $wxUSE_DRAGIMAGE = no
; then
13442 result
=$wxUSE_DRAGIMAGE
13445 { echo "$as_me:$LINENO: result: $result" >&5
13446 echo "${ECHO_T}$result" >&6; }
13450 defaultval
=$wxUSE_ALL_FEATURES
13451 if test -z "$defaultval"; then
13452 if test x
"$enablestring" = xdisable
; then
13459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13461 # Check whether --enable-accessibility was given.
13462 if test "${enable_accessibility+set}" = set; then
13463 enableval
=$enable_accessibility;
13464 if test "$enableval" = yes; then
13465 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13467 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13472 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13477 eval "$wx_cv_use_accessibility"
13479 if test x"$enablestring" = xdisable; then
13480 if test $wxUSE_ACCESSIBILITY = no; then
13486 result=$wxUSE_ACCESSIBILITY
13489 { echo "$as_me:$LINENO: result: $result" >&5
13490 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}-palette" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13507 # Check whether --enable-palette was given.
13508 if test "${enable_palette+set}" = set; then
13509 enableval=$enable_palette;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13513 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13518 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13523 eval "$wx_cv_use_palette"
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_PALETTE = no; then
13532 result=$wxUSE_PALETTE
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}-image" >&5
13550 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13551 # Check whether --enable-image was given.
13552 if test "${enable_image+set}" = set; then
13553 enableval=$enable_image;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_image='wxUSE_IMAGE=yes'
13557 wx_cv_use_image='wxUSE_IMAGE=no'
13562 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13567 eval "$wx_cv_use_image"
13569 if test x
"$enablestring" = xdisable
; then
13570 if test $wxUSE_IMAGE = no
; then
13576 result
=$wxUSE_IMAGE
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}-gif" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13595 # Check whether --enable-gif was given.
13596 if test "${enable_gif+set}" = set; then
13597 enableval
=$enable_gif;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_gif
='wxUSE_GIF=yes'
13601 wx_cv_use_gif
='wxUSE_GIF=no'
13606 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13611 eval "$wx_cv_use_gif"
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_GIF = 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}-pcx" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13639 # Check whether --enable-pcx was given.
13640 if test "${enable_pcx+set}" = set; then
13641 enableval=$enable_pcx;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_pcx='wxUSE_PCX
=yes'
13645 wx_cv_use_pcx='wxUSE_PCX
=no
'
13650 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13655 eval "$wx_cv_use_pcx"
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_PCX = 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}-tga" >&5
13682 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13683 # Check whether --enable-tga was given.
13684 if test "${enable_tga+set}" = set; then
13685 enableval=$enable_tga;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_tga='wxUSE_TGA=yes'
13689 wx_cv_use_tga='wxUSE_TGA=no'
13694 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13699 eval "$wx_cv_use_tga"
13701 if test x
"$enablestring" = xdisable
; then
13702 if test $wxUSE_TGA = no
; then
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13716 defaultval
=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x
"$enablestring" = xdisable
; then
13725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13726 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13727 # Check whether --enable-iff was given.
13728 if test "${enable_iff+set}" = set; then
13729 enableval
=$enable_iff;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_iff
='wxUSE_IFF=yes'
13733 wx_cv_use_iff
='wxUSE_IFF=no'
13738 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13743 eval "$wx_cv_use_iff"
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_IFF = no; then
13755 { echo "$as_me:$LINENO: result: $result" >&5
13756 echo "${ECHO_T}$result" >&6; }
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13770 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13771 # Check whether --enable-pnm was given.
13772 if test "${enable_pnm+set}" = set; then
13773 enableval=$enable_pnm;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_pnm='wxUSE_PNM
=yes'
13777 wx_cv_use_pnm='wxUSE_PNM
=no
'
13782 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13787 eval "$wx_cv_use_pnm"
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_PNM = no; then
13799 { echo "$as_me:$LINENO: result
: $result" >&5
13800 echo "${ECHO_T}$result" >&6; }
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13814 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13815 # Check whether --enable-xpm was given.
13816 if test "${enable_xpm+set}" = set; then
13817 enableval=$enable_xpm;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_xpm='wxUSE_XPM=yes'
13821 wx_cv_use_xpm='wxUSE_XPM=no'
13826 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13831 eval "$wx_cv_use_xpm"
13833 if test x
"$enablestring" = xdisable
; then
13834 if test $wxUSE_XPM = no
; then
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13848 defaultval
=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x
"$enablestring" = xdisable
; then
13857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13859 # Check whether --enable-ico_cur was given.
13860 if test "${enable_ico_cur+set}" = set; then
13861 enableval
=$enable_ico_cur;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13865 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13870 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13875 eval "$wx_cv_use_ico_cur"
13877 if test x"$enablestring" = xdisable; then
13878 if test $wxUSE_ICO_CUR = no; then
13884 result=$wxUSE_ICO_CUR
13887 { echo "$as_me:$LINENO: result: $result" >&5
13888 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}-dccache" >&5
13904 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13905 # Check whether --enable-dccache was given.
13906 if test "${enable_dccache+set}" = set; then
13907 enableval=$enable_dccache;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13911 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13916 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13921 eval "$wx_cv_use_dccache"
13923 if test x"$enablestring" = xdisable; then
13924 if test $wxUSE_DC_CACHEING = no; then
13930 result=$wxUSE_DC_CACHEING
13933 { echo "$as_me:$LINENO: result
: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13938 defaultval=$wxUSE_ALL_FEATURES
13939 if test -z "$defaultval"; then
13940 if test x"$enablestring" = xdisable; then
13947 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13948 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13949 # Check whether --enable-ps-in-msw was given.
13950 if test "${enable_ps_in_msw+set}" = set; then
13951 enableval=$enable_ps_in_msw;
13952 if test "$enableval" = yes; then
13953 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13955 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13960 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13965 eval "$wx_cv_use_ps_in_msw"
13967 if test x
"$enablestring" = xdisable
; then
13968 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
13974 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13977 { echo "$as_me:$LINENO: result: $result" >&5
13978 echo "${ECHO_T}$result" >&6; }
13982 defaultval
=$wxUSE_ALL_FEATURES
13983 if test -z "$defaultval"; then
13984 if test x
"$enablestring" = xdisable
; then
13991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13992 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13993 # Check whether --enable-ownerdrawn was given.
13994 if test "${enable_ownerdrawn+set}" = set; then
13995 enableval
=$enable_ownerdrawn;
13996 if test "$enableval" = yes; then
13997 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13999 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14004 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14009 eval "$wx_cv_use_ownerdrawn"
14011 if test x"$enablestring" = xdisable; then
14012 if test $wxUSE_OWNER_DRAWN = no; then
14018 result=$wxUSE_OWNER_DRAWN
14021 { echo "$as_me:$LINENO: result: $result" >&5
14022 echo "${ECHO_T}$result" >&6; }
14026 defaultval=$wxUSE_ALL_FEATURES
14027 if test -z "$defaultval"; then
14028 if test x"$enablestring" = xdisable; then
14035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14036 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14037 # Check whether --enable-uxtheme was given.
14038 if test "${enable_uxtheme+set}" = set; then
14039 enableval=$enable_uxtheme;
14040 if test "$enableval" = yes; then
14041 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14043 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14048 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14053 eval "$wx_cv_use_uxtheme"
14055 if test x"$enablestring" = xdisable; then
14056 if test $wxUSE_UXTHEME = no; then
14062 result=$wxUSE_UXTHEME
14065 { echo "$as_me:$LINENO: result
: $result" >&5
14066 echo "${ECHO_T}$result" >&6; }
14070 defaultval=$wxUSE_ALL_FEATURES
14071 if test -z "$defaultval"; then
14072 if test x"$enablestring" = xdisable; then
14079 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14080 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14081 # Check whether --enable-wxdib was given.
14082 if test "${enable_wxdib+set}" = set; then
14083 enableval=$enable_wxdib;
14084 if test "$enableval" = yes; then
14085 wx_cv_use_wxdib='wxUSE_DIB=yes'
14087 wx_cv_use_wxdib='wxUSE_DIB=no'
14092 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14097 eval "$wx_cv_use_wxdib"
14099 if test x
"$enablestring" = xdisable
; then
14100 if test $wxUSE_DIB = no
; then
14109 { echo "$as_me:$LINENO: result: $result" >&5
14110 echo "${ECHO_T}$result" >&6; }
14113 if test "$wxUSE_MSW" != 1; then
14114 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14119 defaultval
=$wxUSE_ALL_FEATURES
14120 if test -z "$defaultval"; then
14121 if test x
"$enablestring" = xdisable
; then
14128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14129 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14130 # Check whether --enable-autoidman was given.
14131 if test "${enable_autoidman+set}" = set; then
14132 enableval
=$enable_autoidman;
14133 if test "$enableval" = yes; then
14134 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14136 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14141 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14146 eval "$wx_cv_use_autoidman"
14148 if test x"$enablestring" = xdisable; then
14149 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14155 result=$wxUSE_AUTOID_MANAGEMENT
14158 { echo "$as_me:$LINENO: result: $result" >&5
14159 echo "${ECHO_T}$result" >&6; }
14165 cat >confcache <<\_ACEOF
14166 # This file is a shell script that caches the results of configure
14167 # tests run on this system so they can be shared between configure
14168 # scripts and configure runs, see configure's option
--config-cache.
14169 # It is not useful on other systems. If it contains results you don't
14170 # want to keep, you may remove or edit it.
14172 # config.status only pays attention to the cache file if you give it
14173 # the --recheck option to rerun configure.
14175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14177 # following values.
14181 # The following way of writing the cache mishandles newlines in values,
14182 # but we know of no workaround that is simple, portable, and efficient.
14183 # So, we kill variables containing newlines.
14184 # Ultrix sh set writes to stderr and can't be redirected directly,
14185 # and sets the high bit in the cache file unless we assign to the vars.
14187 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14188 eval ac_val
=\$
$ac_var
14192 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14193 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14196 _
| IFS
| as_nl
) ;; #(
14197 *) $as_unset $ac_var ;;
14203 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14204 *${as_nl}ac_space
=\
*)
14205 # `set' does not quote correctly, so add quotes (double-quote
14206 # substitution turns \\\\ into \\, and sed turns \\ into \).
14209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14212 # `set' quotes correctly as required by POSIX, so do not add quotes.
14213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14222 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14224 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14226 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14227 if test -w "$cache_file"; then
14228 test "x$cache_file" != "x/dev/null" &&
14229 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14230 echo "$as_me: updating cache $cache_file" >&6;}
14231 cat confcache
>$cache_file
14233 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14234 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14244 ac_cpp
='$CPP $CPPFLAGS'
14245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14248 if test -n "$ac_tool_prefix"; then
14249 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14250 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14253 if test "${ac_cv_prog_CC+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 if test -n "$CC"; then
14257 ac_cv_prog_CC
="$CC" # Let the user override the test.
14259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14260 for as_dir
in $PATH
14263 test -z "$as_dir" && as_dir
=.
14264 for ac_exec_ext
in '' $ac_executable_extensions; do
14265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14266 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14277 if test -n "$CC"; then
14278 { echo "$as_me:$LINENO: result: $CC" >&5
14279 echo "${ECHO_T}$CC" >&6; }
14281 { echo "$as_me:$LINENO: result: no" >&5
14282 echo "${ECHO_T}no" >&6; }
14287 if test -z "$ac_cv_prog_CC"; then
14289 # Extract the first word of "gcc", so it can be a program name with args.
14290 set dummy gcc
; ac_word
=$2
14291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14296 if test -n "$ac_ct_CC"; then
14297 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14300 for as_dir
in $PATH
14303 test -z "$as_dir" && as_dir
=.
14304 for ac_exec_ext
in '' $ac_executable_extensions; do
14305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14306 ac_cv_prog_ac_ct_CC
="gcc"
14307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14316 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14317 if test -n "$ac_ct_CC"; then
14318 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14319 echo "${ECHO_T}$ac_ct_CC" >&6; }
14321 { echo "$as_me:$LINENO: result: no" >&5
14322 echo "${ECHO_T}no" >&6; }
14325 if test "x$ac_ct_CC" = x
; then
14328 case $cross_compiling:$ac_tool_warned in
14330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14331 whose name does not start with the host triplet. If you think this
14332 configuration is useful to you, please write to autoconf@gnu.org." >&5
14333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14334 whose name does not start with the host triplet. If you think this
14335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14336 ac_tool_warned
=yes ;;
14341 CC
="$ac_cv_prog_CC"
14344 if test -z "$CC"; then
14345 if test -n "$ac_tool_prefix"; then
14346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14347 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14350 if test "${ac_cv_prog_CC+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 if test -n "$CC"; then
14354 ac_cv_prog_CC
="$CC" # Let the user override the test.
14356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14357 for as_dir
in $PATH
14360 test -z "$as_dir" && as_dir
=.
14361 for ac_exec_ext
in '' $ac_executable_extensions; do
14362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14363 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14374 if test -n "$CC"; then
14375 { echo "$as_me:$LINENO: result: $CC" >&5
14376 echo "${ECHO_T}$CC" >&6; }
14378 { echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6; }
14385 if test -z "$CC"; then
14386 # Extract the first word of "cc", so it can be a program name with args.
14387 set dummy cc
; ac_word
=$2
14388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14390 if test "${ac_cv_prog_CC+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 if test -n "$CC"; then
14394 ac_cv_prog_CC
="$CC" # Let the user override the test.
14396 ac_prog_rejected
=no
14397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14398 for as_dir
in $PATH
14401 test -z "$as_dir" && as_dir
=.
14402 for ac_exec_ext
in '' $ac_executable_extensions; do
14403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14404 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14405 ac_prog_rejected
=yes
14409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14416 if test $ac_prog_rejected = yes; then
14417 # We found a bogon in the path, so make sure we never use it.
14418 set dummy
$ac_cv_prog_CC
14420 if test $# != 0; then
14421 # We chose a different compiler from the bogus one.
14422 # However, it has the same basename, so the bogon will be chosen
14423 # first if we set CC to just the basename; use the full file name.
14425 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14431 if test -n "$CC"; then
14432 { echo "$as_me:$LINENO: result: $CC" >&5
14433 echo "${ECHO_T}$CC" >&6; }
14435 { echo "$as_me:$LINENO: result: no" >&5
14436 echo "${ECHO_T}no" >&6; }
14441 if test -z "$CC"; then
14442 if test -n "$ac_tool_prefix"; then
14443 for ac_prog
in cl.exe
14445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14446 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14449 if test "${ac_cv_prog_CC+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14452 if test -n "$CC"; then
14453 ac_cv_prog_CC
="$CC" # Let the user override the test.
14455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14456 for as_dir
in $PATH
14459 test -z "$as_dir" && as_dir
=.
14460 for ac_exec_ext
in '' $ac_executable_extensions; do
14461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14462 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14473 if test -n "$CC"; then
14474 { echo "$as_me:$LINENO: result: $CC" >&5
14475 echo "${ECHO_T}$CC" >&6; }
14477 { echo "$as_me:$LINENO: result: no" >&5
14478 echo "${ECHO_T}no" >&6; }
14482 test -n "$CC" && break
14485 if test -z "$CC"; then
14487 for ac_prog
in cl.exe
14489 # Extract the first word of "$ac_prog", so it can be a program name with args.
14490 set dummy
$ac_prog; ac_word
=$2
14491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14494 echo $ECHO_N "(cached) $ECHO_C" >&6
14496 if test -n "$ac_ct_CC"; then
14497 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14500 for as_dir
in $PATH
14503 test -z "$as_dir" && as_dir
=.
14504 for ac_exec_ext
in '' $ac_executable_extensions; do
14505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14506 ac_cv_prog_ac_ct_CC
="$ac_prog"
14507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14516 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14517 if test -n "$ac_ct_CC"; then
14518 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14519 echo "${ECHO_T}$ac_ct_CC" >&6; }
14521 { echo "$as_me:$LINENO: result: no" >&5
14522 echo "${ECHO_T}no" >&6; }
14526 test -n "$ac_ct_CC" && break
14529 if test "x$ac_ct_CC" = x
; then
14532 case $cross_compiling:$ac_tool_warned in
14534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14535 whose name does not start with the host triplet. If you think this
14536 configuration is useful to you, please write to autoconf@gnu.org." >&5
14537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14538 whose name does not start with the host triplet. If you think this
14539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14540 ac_tool_warned
=yes ;;
14549 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14550 See \`config.log' for more details." >&5
14551 echo "$as_me: error: no acceptable C compiler found in \$PATH
14552 See \`config.log' for more details." >&2;}
14553 { (exit 1); exit 1; }; }
14555 # Provide some information about the compiler.
14556 echo "$as_me:$LINENO: checking for C compiler version" >&5
14557 ac_compiler
=`set X $ac_compile; echo $2`
14558 { (ac_try
="$ac_compiler --version >&5"
14559 case "(($ac_try" in
14560 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14561 *) ac_try_echo=$ac_try;;
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_compiler --version >&5") 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }
14568 { (ac_try="$ac_compiler -v >&5"
14569 case "(($ac_try" in
14570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14571 *) ac_try_echo
=$ac_try;;
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_compiler -v >&5") 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }
14578 { (ac_try
="$ac_compiler -V >&5"
14579 case "(($ac_try" in
14580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_compiler -V >&5") 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }
14589 cat >conftest.$ac_ext <<_ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14604 ac_clean_files_save=$ac_clean_files
14605 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14606 # Try to create an executable without -o first, disregard a.out.
14607 # It will help us diagnose broken compilers, and finding out an intuition
14609 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14610 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14611 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14613 # List of possible output files, starting from the most likely.
14614 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14615 # only as a last resort. b.out is created by i960 compilers.
14616 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14618 # The IRIX 6 linker writes into existing files which may not be
14619 # executable, retaining their permissions. Remove them first so a
14620 # subsequent execution test works.
14622 for ac_file in $ac_files
14625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14626 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14631 if { (ac_try="$ac_link_default"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_link_default") 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; then
14641 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14642 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14643 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14644 # so that the user can short-circuit this test for compilers unknown to
14646 for ac_file
in $ac_files ''
14648 test -f "$ac_file" || continue
14650 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14653 # We found the default executable, but exeext='' is most
14657 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14659 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14661 # We set ac_cv_exeext here because the later test for it is not
14662 # safe: cross compilers may not add the suffix if given an `-o'
14663 # argument, so we may need to know it at that point already.
14664 # Even if this section looks crufty: it has the advantage of
14665 # actually working.
14671 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14677 { echo "$as_me:$LINENO: result: $ac_file" >&5
14678 echo "${ECHO_T}$ac_file" >&6; }
14679 if test -z "$ac_file"; then
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.
$ac_ext >&5
14683 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14684 See \`config.log' for more details." >&5
14685 echo "$as_me: error: C compiler cannot create executables
14686 See \`config.log' for more details." >&2;}
14687 { (exit 77); exit 77; }; }
14690 ac_exeext
=$ac_cv_exeext
14692 # Check that the compiler produces executables we can run. If not, either
14693 # the compiler is broken, or we cross compile.
14694 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14695 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14696 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14697 # If not cross compiling, check that we can run a simple program.
14698 if test "$cross_compiling" != yes; then
14699 if { ac_try
='./$ac_file'
14700 { (case "(($ac_try" in
14701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_try") 2>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14711 if test "$cross_compiling" = maybe; then
14712 cross_compiling=yes
14714 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14715 If you meant to cross compile, use \`--host'.
14716 See \`config.log' for more details.
" >&5
14717 echo "$as_me: error
: cannot run C compiled programs.
14718 If you meant to cross compile
, use \
`--host'.
14719 See \`config.log
' for more details." >&2;}
14720 { (exit 1); exit 1; }; }
14724 { echo "$as_me:$LINENO: result: yes" >&5
14725 echo "${ECHO_T}yes" >&6; }
14727 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14728 ac_clean_files=$ac_clean_files_save
14729 # Check that the compiler produces executables we can run. If not, either
14730 # the compiler is broken, or we cross compile.
14731 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14732 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14733 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14734 echo "${ECHO_T}$cross_compiling" >&6; }
14736 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14737 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14738 if { (ac_try="$ac_link"
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_link") 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; then
14748 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14749 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14750 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14752 for ac_file
in conftest.exe conftest conftest.
*; do
14753 test -f "$ac_file" || continue
14755 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14756 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14762 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14763 See \`config.log' for more details." >&5
14764 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14765 See \`config.log' for more details." >&2;}
14766 { (exit 1); exit 1; }; }
14769 rm -f conftest
$ac_cv_exeext
14770 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14771 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14773 rm -f conftest.
$ac_ext
14774 EXEEXT
=$ac_cv_exeext
14776 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14777 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14778 if test "${ac_cv_objext+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 cat >conftest.
$ac_ext <<_ACEOF
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14796 rm -f conftest.o conftest.obj
14797 if { (ac_try
="$ac_compile"
14798 case "(($ac_try" in
14799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_compile") 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 for ac_file in conftest.o conftest.obj conftest.*; do
14808 test -f "$ac_file" || continue;
14810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14811 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14819 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14820 See \`config.log
' for more details." >&5
14821 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14822 See \`config.log' for more details.
" >&2;}
14823 { (exit 1); exit 1; }; }
14826 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14828 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14829 echo "${ECHO_T}$ac_cv_objext" >&6; }
14830 OBJEXT=$ac_cv_objext
14832 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14833 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14834 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14835 echo $ECHO_N "(cached
) $ECHO_C" >&6
14837 cat >conftest.$ac_ext <<_ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14855 rm -f conftest.$ac_objext
14856 if { (ac_try="$ac_compile"
14857 case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_compile") 2>conftest.er1
14864 grep -v '^ *+' conftest.er1 >conftest.err
14866 cat conftest.err >&5
14867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14868 (exit $ac_status); } && {
14869 test -z "$ac_c_werror_flag" ||
14870 test ! -s conftest.err
14871 } && test -s conftest.$ac_objext; then
14872 ac_compiler_gnu=yes
14874 echo "$as_me: failed program was
:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14884 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14885 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14886 GCC=`test $ac_compiler_gnu = yes && echo yes`
14887 ac_test_CFLAGS=${CFLAGS+set}
14888 ac_save_CFLAGS=$CFLAGS
14889 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14890 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14891 if test "${ac_cv_prog_cc_g+set}" = set; then
14892 echo $ECHO_N "(cached
) $ECHO_C" >&6
14894 ac_save_c_werror_flag=$ac_c_werror_flag
14895 ac_c_werror_flag=yes
14898 cat >conftest.$ac_ext <<_ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14913 rm -f conftest.$ac_objext
14914 if { (ac_try="$ac_compile"
14915 case "(($ac_try" in
14916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14917 *) ac_try_echo=$ac_try;;
14919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14920 (eval "$ac_compile") 2>conftest.er1
14922 grep -v '^ *+' conftest.er1 >conftest.err
14924 cat conftest.err >&5
14925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14926 (exit $ac_status); } && {
14927 test -z "$ac_c_werror_flag" ||
14928 test ! -s conftest.err
14929 } && test -s conftest.$ac_objext; then
14930 ac_cv_prog_cc_g=yes
14932 echo "$as_me: failed program was
:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14936 cat >conftest.$ac_ext <<_ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14951 rm -f conftest.$ac_objext
14952 if { (ac_try="$ac_compile"
14953 case "(($ac_try" in
14954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_compile") 2>conftest.er1
14960 grep -v '^ *+' conftest.er1 >conftest.err
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_c_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest.$ac_objext; then
14970 echo "$as_me: failed program was
:" >&5
14971 sed 's/^/| /' conftest.$ac_ext >&5
14973 ac_c_werror_flag=$ac_save_c_werror_flag
14975 cat >conftest.$ac_ext <<_ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14990 rm -f conftest.$ac_objext
14991 if { (ac_try="$ac_compile"
14992 case "(($ac_try" in
14993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_compile") 2>conftest.er1
14999 grep -v '^ *+' conftest.er1 >conftest.err
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15003 (exit $ac_status); } && {
15004 test -z "$ac_c_werror_flag" ||
15005 test ! -s conftest.err
15006 } && test -s conftest.$ac_objext; then
15007 ac_cv_prog_cc_g=yes
15009 echo "$as_me: failed program was
:" >&5
15010 sed 's/^/| /' conftest.$ac_ext >&5
15015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15022 ac_c_werror_flag=$ac_save_c_werror_flag
15024 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15025 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15026 if test "$ac_test_CFLAGS" = set; then
15027 CFLAGS=$ac_save_CFLAGS
15028 elif test $ac_cv_prog_cc_g = yes; then
15029 if test "$GCC" = yes; then
15035 if test "$GCC" = yes; then
15041 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15042 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15043 if test "${ac_cv_prog_cc_c89+set}" = set; then
15044 echo $ECHO_N "(cached
) $ECHO_C" >&6
15046 ac_cv_prog_cc_c89=no
15048 cat >conftest.$ac_ext <<_ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 #include <stdarg.h>
15056 #include <sys/types.h>
15057 #include <sys/stat.h>
15058 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15059 struct buf { int x; };
15060 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15061 static char *e (p, i)
15067 static char *f (char * (*g) (char **, int), char **p, ...)
15072 s = g (p, va_arg (v,int));
15077 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15078 function prototypes and stuff, but not '\xHH' hex character constants.
15079 These don't provoke an error unfortunately, instead are silently treated
15080 as 'x'. The following induces an error, until -std is added to get
15081 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15082 array size at least. It's necessary to write '\x00'==0 to get something
15083 that's true only with -std. */
15084 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15086 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15087 inside strings and character constants. */
15089 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15091 int test (int i, double x);
15092 struct s1 {int (*f) (int a);};
15093 struct s2 {int (*f) (double a);};
15094 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15100 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15105 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15106 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15108 CC="$ac_save_CC $ac_arg"
15109 rm -f conftest.$ac_objext
15110 if { (ac_try="$ac_compile"
15111 case "(($ac_try" in
15112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15113 *) ac_try_echo=$ac_try;;
15115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15116 (eval "$ac_compile") 2>conftest.er1
15118 grep -v '^ *+' conftest.er1 >conftest.err
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15122 (exit $ac_status); } && {
15123 test -z "$ac_c_werror_flag" ||
15124 test ! -s conftest.err
15125 } && test -s conftest.$ac_objext; then
15126 ac_cv_prog_cc_c89=$ac_arg
15128 echo "$as_me: failed program was
:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15134 rm -f core conftest.err conftest.$ac_objext
15135 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15137 rm -f conftest.$ac_ext
15142 case "x
$ac_cv_prog_cc_c89" in
15144 { echo "$as_me:$LINENO: result
: none needed
" >&5
15145 echo "${ECHO_T}none needed
" >&6; } ;;
15147 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15148 echo "${ECHO_T}unsupported
" >&6; } ;;
15150 CC="$CC $ac_cv_prog_cc_c89"
15151 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15152 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15157 ac_cpp='$CPP $CPPFLAGS'
15158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15171 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15172 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15173 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15174 echo $ECHO_N "(cached
) $ECHO_C" >&6
15176 cat >conftest.$ac_ext <<_ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15187 #ifndef __INTEL_COMPILER
15195 rm -f conftest.$ac_objext
15196 if { (ac_try="$ac_compile"
15197 case "(($ac_try" in
15198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15199 *) ac_try_echo=$ac_try;;
15201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15202 (eval "$ac_compile") 2>conftest.er1
15204 grep -v '^ *+' conftest.er1 >conftest.err
15206 cat conftest.err >&5
15207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15208 (exit $ac_status); } && {
15209 test -z "$ac_c_werror_flag" ||
15210 test ! -s conftest.err
15211 } && test -s conftest.$ac_objext; then
15212 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15214 echo "$as_me: failed program was
:" >&5
15215 sed 's/^/| /' conftest.$ac_ext >&5
15217 bakefile_cv_c_compiler___INTEL_COMPILER=no
15221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15225 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15226 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15227 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15233 ac_cpp='$CPP $CPPFLAGS'
15234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15241 if test "$INTELCC" = "yes"; then
15245 ac_cpp='$CPP $CPPFLAGS'
15246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15250 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15251 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15252 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15253 echo $ECHO_N "(cached
) $ECHO_C" >&6
15255 cat >conftest.$ac_ext <<_ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15266 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15274 rm -f conftest.$ac_objext
15275 if { (ac_try="$ac_compile"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compile") 2>conftest.er1
15283 grep -v '^ *+' conftest.er1 >conftest.err
15285 cat conftest.err >&5
15286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15287 (exit $ac_status); } && {
15288 test -z "$ac_c_werror_flag" ||
15289 test ! -s conftest.err
15290 } && test -s conftest.$ac_objext; then
15291 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15293 echo "$as_me: failed program was
:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15304 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15305 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15306 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15322 ac_cpp='$CPP $CPPFLAGS'
15323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15327 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15328 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15329 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15330 echo $ECHO_N "(cached
) $ECHO_C" >&6
15332 cat >conftest.$ac_ext <<_ACEOF
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15343 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15360 grep -v '^ *+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15370 echo "$as_me: failed program was
:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15373 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15382 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15383 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15398 if test "x
$GCC" != "xyes
"; then
15399 if test "xCC
" = "xC
"; then
15400 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15401 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15402 if test "${bakefile_cv_c_exto+set}" = set; then
15403 echo $ECHO_N "(cached
) $ECHO_C" >&6
15405 cat >conftest.$ac_ext <<_ACEOF
15408 cat confdefs.h >>conftest.$ac_ext
15409 cat >>conftest.$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15420 rm -f conftest.$ac_objext conftest.$ac_ext.o
15421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15422 (eval $ac_compile) 2>&5
15424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15425 (exit $ac_status); }; then
15426 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15428 conftest.$ac_ext.o)
15429 bakefile_cv_c_exto="-ext o
"
15436 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15437 See \
`config.log' for more details." >&5
15438 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15439 See \`config.log
' for more details." >&2;}
15440 { (exit 1); exit 1; }; }
15444 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15447 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15448 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15449 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15450 if test "c" = "c"; then
15451 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15453 if test "c" = "cxx"; then
15454 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15458 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15459 unset ac_cv_prog_cc_g
15460 ac_test_CFLAGS=${CFLAGS+set}
15461 ac_save_CFLAGS=$CFLAGS
15462 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15463 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15464 if test "${ac_cv_prog_cc_g+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 ac_save_c_werror_flag=$ac_c_werror_flag
15468 ac_c_werror_flag=yes
15471 cat >conftest.$ac_ext <<_ACEOF
15474 cat confdefs.h >>conftest.$ac_ext
15475 cat >>conftest.$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15486 rm -f conftest.$ac_objext
15487 if { (ac_try="$ac_compile"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_compile") 2>conftest.er1
15495 grep -v '^
*+' conftest.er1 >conftest.err
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } && {
15500 test -z "$ac_c_werror_flag" ||
15501 test ! -s conftest.err
15502 } && test -s conftest.$ac_objext; then
15503 ac_cv_prog_cc_g=yes
15505 echo "$as_me: failed program was:" >&5
15506 sed 's
/^
/| /' conftest.$ac_ext >&5
15509 cat >conftest.$ac_ext <<_ACEOF
15512 cat confdefs.h >>conftest.$ac_ext
15513 cat >>conftest.$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15524 rm -f conftest.$ac_objext
15525 if { (ac_try="$ac_compile"
15526 case "(($ac_try" in
15527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15528 *) ac_try_echo=$ac_try;;
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_compile") 2>conftest.er1
15533 grep -v '^
*+' conftest.er1 >conftest.err
15535 cat conftest.err >&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && {
15538 test -z "$ac_c_werror_flag" ||
15539 test ! -s conftest.err
15540 } && test -s conftest.$ac_objext; then
15543 echo "$as_me: failed program was:" >&5
15544 sed 's
/^
/| /' conftest.$ac_ext >&5
15546 ac_c_werror_flag=$ac_save_c_werror_flag
15548 cat >conftest.$ac_ext <<_ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15563 rm -f conftest.$ac_objext
15564 if { (ac_try="$ac_compile"
15565 case "(($ac_try" in
15566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15567 *) ac_try_echo=$ac_try;;
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_compile") 2>conftest.er1
15572 grep -v '^
*+' conftest.er1 >conftest.err
15574 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } && {
15577 test -z "$ac_c_werror_flag" ||
15578 test ! -s conftest.err
15579 } && test -s conftest.$ac_objext; then
15580 ac_cv_prog_cc_g=yes
15582 echo "$as_me: failed program was:" >&5
15583 sed 's
/^
/| /' conftest.$ac_ext >&5
15588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 ac_c_werror_flag=$ac_save_c_werror_flag
15597 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15598 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15599 if test "$ac_test_CFLAGS" = set; then
15600 CFLAGS=$ac_save_CFLAGS
15601 elif test $ac_cv_prog_cc_g = yes; then
15602 if test "$GCC" = yes; then
15608 if test "$GCC" = yes; then
15622 ac_cpp='$CPP $CPPFLAGS'
15623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15624 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15627 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15628 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15629 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15632 cat >conftest.$ac_ext <<_ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15651 rm -f conftest.$ac_objext
15652 if { (ac_try="$ac_compile"
15653 case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15658 (eval "$ac_compile") 2>conftest.er1
15660 grep -v '^
*+' conftest.er1 >conftest.err
15662 cat conftest.err >&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } && {
15665 test -z "$ac_c_werror_flag" ||
15666 test ! -s conftest.err
15667 } && test -s conftest.$ac_objext; then
15668 bakefile_cv_c_compiler___xlC__=yes
15670 echo "$as_me: failed program was:" >&5
15671 sed 's
/^
/| /' conftest.$ac_ext >&5
15673 bakefile_cv_c_compiler___xlC__=no
15677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15681 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15682 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15683 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15691 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15704 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15707 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15708 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15709 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15712 cat >conftest.$ac_ext <<_ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15731 rm -f conftest.$ac_objext
15732 if { (ac_try="$ac_compile"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_compile") 2>conftest.er1
15740 grep -v '^
*+' conftest.er1 >conftest.err
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest.$ac_objext; then
15748 bakefile_cv_c_compiler___MWERKS__=yes
15750 echo "$as_me: failed program was:" >&5
15751 sed 's
/^
/| /' conftest.$ac_ext >&5
15753 bakefile_cv_c_compiler___MWERKS__=no
15757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15761 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15762 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15763 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15771 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15776 if test "$MWCC" != "yes"; then
15780 ac_cpp='$CPP $CPPFLAGS'
15781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15782 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15785 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15786 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15787 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15790 cat >conftest.$ac_ext <<_ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15809 rm -f conftest.$ac_objext
15810 if { (ac_try="$ac_compile"
15811 case "(($ac_try" in
15812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813 *) ac_try_echo=$ac_try;;
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_compile") 2>conftest.er1
15818 grep -v '^
*+' conftest.er1 >conftest.err
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest.$ac_objext; then
15826 bakefile_cv_c_compiler___xlC__=yes
15828 echo "$as_me: failed program was:" >&5
15829 sed 's
/^
/| /' conftest.$ac_ext >&5
15831 bakefile_cv_c_compiler___xlC__=no
15835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15839 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15840 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15841 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15849 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15861 ac_cpp='$CPP $CPPFLAGS'
15862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15863 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15866 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15867 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15868 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15869 echo $ECHO_N "(cached) $ECHO_C" >&6
15871 cat >conftest.$ac_ext <<_ACEOF
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15882 #ifndef _SGI_COMPILER_VERSION
15890 rm -f conftest.$ac_objext
15891 if { (ac_try="$ac_compile"
15892 case "(($ac_try" in
15893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15894 *) ac_try_echo=$ac_try;;
15896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15897 (eval "$ac_compile") 2>conftest.er1
15899 grep -v '^
*+' conftest.er1 >conftest.err
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && {
15904 test -z "$ac_c_werror_flag" ||
15905 test ! -s conftest.err
15906 } && test -s conftest.$ac_objext; then
15907 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15909 echo "$as_me: failed program was:" >&5
15910 sed 's
/^
/| /' conftest.$ac_ext >&5
15912 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15920 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15921 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15922 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15928 ac_cpp='$CPP $CPPFLAGS'
15929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15930 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15938 if test "$INTELCC" != "yes"; then
15942 ac_cpp='$CPP $CPPFLAGS'
15943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15944 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15947 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15948 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15949 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 cat >conftest.$ac_ext <<_ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15971 rm -f conftest.$ac_objext
15972 if { (ac_try="$ac_compile"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_compile") 2>conftest.er1
15980 grep -v '^
*+' conftest.er1 >conftest.err
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_c_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest.$ac_objext; then
15988 bakefile_cv_c_compiler___SUNPRO_C=yes
15990 echo "$as_me: failed program was:" >&5
15991 sed 's
/^
/| /' conftest.$ac_ext >&5
15993 bakefile_cv_c_compiler___SUNPRO_C=no
15997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16002 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16003 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16011 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16025 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16028 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16029 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16030 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 cat >conftest.$ac_ext <<_ACEOF
16036 cat confdefs.h >>conftest.$ac_ext
16037 cat >>conftest.$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16052 rm -f conftest.$ac_objext
16053 if { (ac_try="$ac_compile"
16054 case "(($ac_try" in
16055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_compile") 2>conftest.er1
16061 grep -v '^
*+' conftest.er1 >conftest.err
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest.$ac_objext; then
16069 bakefile_cv_c_compiler___HP_cc=yes
16071 echo "$as_me: failed program was:" >&5
16072 sed 's
/^
/| /' conftest.$ac_ext >&5
16074 bakefile_cv_c_compiler___HP_cc=no
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16082 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16083 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16084 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16092 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16103 ac_cpp='$CPP $CPPFLAGS'
16104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16105 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16108 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16109 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16110 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 cat >conftest.$ac_ext <<_ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16132 rm -f conftest.$ac_objext
16133 if { (ac_try="$ac_compile"
16134 case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;;
16138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16139 (eval "$ac_compile") 2>conftest.er1
16141 grep -v '^
*+' conftest.er1 >conftest.err
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } && {
16146 test -z "$ac_c_werror_flag" ||
16147 test ! -s conftest.err
16148 } && test -s conftest.$ac_objext; then
16149 bakefile_cv_c_compiler___DECC=yes
16151 echo "$as_me: failed program was:" >&5
16152 sed 's
/^
/| /' conftest.$ac_ext >&5
16154 bakefile_cv_c_compiler___DECC=no
16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16162 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16163 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16164 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16170 ac_cpp='$CPP $CPPFLAGS'
16171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16172 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16183 ac_cpp='$CPP $CPPFLAGS'
16184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16185 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16188 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16189 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16190 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 cat >conftest.$ac_ext <<_ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16212 rm -f conftest.$ac_objext
16213 if { (ac_try="$ac_compile"
16214 case "(($ac_try" in
16215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16216 *) ac_try_echo=$ac_try;;
16218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16219 (eval "$ac_compile") 2>conftest.er1
16221 grep -v '^
*+' conftest.er1 >conftest.err
16223 cat conftest.err >&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } && {
16226 test -z "$ac_c_werror_flag" ||
16227 test ! -s conftest.err
16228 } && test -s conftest.$ac_objext; then
16229 bakefile_cv_c_compiler___SUNPRO_C=yes
16231 echo "$as_me: failed program was:" >&5
16232 sed 's
/^
/| /' conftest.$ac_ext >&5
16234 bakefile_cv_c_compiler___SUNPRO_C=no
16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16242 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16243 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16244 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16252 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16264 ac_cpp='$CPP $CPPFLAGS'
16265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16266 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16268 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16269 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16270 # On Suns, sometimes $CPP names a directory.
16271 if test -n "$CPP" && test -d "$CPP"; then
16274 if test -z "$CPP"; then
16275 if test "${ac_cv_prog_CPP+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 # Double quotes because CPP needs to be expanded
16279 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16281 ac_preproc_ok=false
16282 for ac_c_preproc_warn_flag in '' yes
16284 # Use a header file that comes with gcc, so configuring glibc
16285 # with a fresh cross-compiler works.
16286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16287 # <limits.h> exists even on freestanding compilers.
16288 # On the NeXT, cc -E runs the code through the compiler's parser
,
16289 # not just through cpp. "Syntax error" is here to catch this case.
16290 cat >conftest.
$ac_ext <<_ACEOF
16293 cat confdefs.h
>>conftest.
$ac_ext
16294 cat >>conftest.
$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16297 # include <limits.h>
16299 # include <assert.h>
16303 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16304 case "(($ac_try" in
16305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16306 *) ac_try_echo=$ac_try;;
16308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16311 grep -v '^ *+' conftest.er1 >conftest.err
16313 cat conftest.err >&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } >/dev/null && {
16316 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16317 test ! -s conftest.err
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16324 # Broken: fails on valid input.
16328 rm -f conftest.err conftest.$ac_ext
16330 # OK, works on sane cases. Now check whether nonexistent headers
16331 # can be detected and how.
16332 cat >conftest.$ac_ext <<_ACEOF
16335 cat confdefs.h >>conftest.$ac_ext
16336 cat >>conftest.$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 #include <ac_nonexistent.h>
16340 if { (ac_try="$ac_cpp conftest.$ac_ext"
16341 case "(($ac_try" in
16342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16343 *) ac_try_echo
=$ac_try;;
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16348 grep -v '^ *+' conftest.er1
>conftest.err
16350 cat conftest.err
>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } >/dev
/null
&& {
16353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16354 test ! -s conftest.err
16356 # Broken: success on invalid input.
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.
$ac_ext >&5
16362 # Passes both tests.
16367 rm -f conftest.err conftest.
$ac_ext
16370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16371 rm -f conftest.err conftest.
$ac_ext
16372 if $ac_preproc_ok; then
16377 ac_cv_prog_CPP
=$CPP
16380 CPP
=$ac_cv_prog_CPP
16382 ac_cv_prog_CPP
=$CPP
16384 { echo "$as_me:$LINENO: result: $CPP" >&5
16385 echo "${ECHO_T}$CPP" >&6; }
16386 ac_preproc_ok
=false
16387 for ac_c_preproc_warn_flag
in '' yes
16389 # Use a header file that comes with gcc, so configuring glibc
16390 # with a fresh cross-compiler works.
16391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16392 # <limits.h> exists even on freestanding compilers.
16393 # On the NeXT, cc -E runs the code through the compiler's parser,
16394 # not just through cpp. "Syntax error" is here to catch this case.
16395 cat >conftest.
$ac_ext <<_ACEOF
16398 cat confdefs.h
>>conftest.
$ac_ext
16399 cat >>conftest.
$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16402 # include <limits.h>
16404 # include <assert.h>
16408 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16409 case "(($ac_try" in
16410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16416 grep -v '^ *+' conftest.er1 >conftest.err
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } >/dev/null && {
16421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16422 test ! -s conftest.err
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16429 # Broken: fails on valid input.
16433 rm -f conftest.err conftest.$ac_ext
16435 # OK, works on sane cases. Now check whether nonexistent headers
16436 # can be detected and how.
16437 cat >conftest.$ac_ext <<_ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 #include <ac_nonexistent.h>
16445 if { (ac_try="$ac_cpp conftest.$ac_ext"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16448 *) ac_try_echo
=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1
>conftest.err
16455 cat conftest.err
>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } >/dev
/null
&& {
16458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16461 # Broken: success on invalid input.
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.
$ac_ext >&5
16467 # Passes both tests.
16472 rm -f conftest.err conftest.
$ac_ext
16475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16476 rm -f conftest.err conftest.
$ac_ext
16477 if $ac_preproc_ok; then
16480 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16481 See \`config.log' for more details." >&5
16482 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16483 See \`config.log' for more details." >&2;}
16484 { (exit 1); exit 1; }; }
16488 ac_cpp
='$CPP $CPPFLAGS'
16489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16494 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16495 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16496 if test "${ac_cv_path_GREP+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 # Extract the first word of "grep ggrep" to use in msg output
16500 if test -z "$GREP"; then
16501 set dummy
grep ggrep
; ac_prog_name
=$2
16502 if test "${ac_cv_path_GREP+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 ac_path_GREP_found
=false
16506 # Loop through the user's path and test for each of PROGNAME-LIST
16507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16508 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16511 test -z "$as_dir" && as_dir
=.
16512 for ac_prog
in grep ggrep
; do
16513 for ac_exec_ext
in '' $ac_executable_extensions; do
16514 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16515 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16516 # Check for GNU ac_path_GREP and select it if it is found.
16517 # Check for GNU $ac_path_GREP
16518 case `"$ac_path_GREP" --version 2>&1` in
16520 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16523 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16526 cat "conftest.in" "conftest.in" >"conftest.tmp"
16527 mv "conftest.tmp" "conftest.in"
16528 cp "conftest.in" "conftest.nl"
16529 echo 'GREP' >> "conftest.nl"
16530 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16531 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16532 ac_count
=`expr $ac_count + 1`
16533 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16534 # Best one so far, save it but keep looking for a better one
16535 ac_cv_path_GREP
="$ac_path_GREP"
16536 ac_path_GREP_max
=$ac_count
16538 # 10*(2^10) chars as input seems more than enough
16539 test $ac_count -gt 10 && break
16541 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16545 $ac_path_GREP_found && break 3
16555 GREP
="$ac_cv_path_GREP"
16556 if test -z "$GREP"; then
16557 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16558 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16559 { (exit 1); exit 1; }; }
16563 ac_cv_path_GREP
=$GREP
16568 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16569 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16570 GREP
="$ac_cv_path_GREP"
16573 { echo "$as_me:$LINENO: checking for egrep" >&5
16574 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16575 if test "${ac_cv_path_EGREP+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16578 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16579 then ac_cv_path_EGREP
="$GREP -E"
16581 # Extract the first word of "egrep" to use in msg output
16582 if test -z "$EGREP"; then
16583 set dummy
egrep; ac_prog_name
=$2
16584 if test "${ac_cv_path_EGREP+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 ac_path_EGREP_found
=false
16588 # Loop through the user's path and test for each of PROGNAME-LIST
16589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16590 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16593 test -z "$as_dir" && as_dir
=.
16594 for ac_prog
in egrep; do
16595 for ac_exec_ext
in '' $ac_executable_extensions; do
16596 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16597 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16598 # Check for GNU ac_path_EGREP and select it if it is found.
16599 # Check for GNU $ac_path_EGREP
16600 case `"$ac_path_EGREP" --version 2>&1` in
16602 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16605 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16608 cat "conftest.in" "conftest.in" >"conftest.tmp"
16609 mv "conftest.tmp" "conftest.in"
16610 cp "conftest.in" "conftest.nl"
16611 echo 'EGREP' >> "conftest.nl"
16612 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16613 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16614 ac_count
=`expr $ac_count + 1`
16615 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16616 # Best one so far, save it but keep looking for a better one
16617 ac_cv_path_EGREP
="$ac_path_EGREP"
16618 ac_path_EGREP_max
=$ac_count
16620 # 10*(2^10) chars as input seems more than enough
16621 test $ac_count -gt 10 && break
16623 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16627 $ac_path_EGREP_found && break 3
16637 EGREP
="$ac_cv_path_EGREP"
16638 if test -z "$EGREP"; then
16639 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16640 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16641 { (exit 1); exit 1; }; }
16645 ac_cv_path_EGREP
=$EGREP
16651 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16652 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16653 EGREP
="$ac_cv_path_EGREP"
16656 if test $ac_cv_c_compiler_gnu = yes; then
16657 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16658 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16659 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 ac_pattern
="Autoconf.*'x'"
16663 cat >conftest.
$ac_ext <<_ACEOF
16666 cat confdefs.h
>>conftest.
$ac_ext
16667 cat >>conftest.
$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16673 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16674 ac_cv_prog_gcc_traditional
=yes
16676 ac_cv_prog_gcc_traditional
=no
16681 if test $ac_cv_prog_gcc_traditional = no
; then
16682 cat >conftest.
$ac_ext <<_ACEOF
16685 cat confdefs.h
>>conftest.
$ac_ext
16686 cat >>conftest.
$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 #include <termio.h>
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16693 ac_cv_prog_gcc_traditional
=yes
16699 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16700 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16701 if test $ac_cv_prog_gcc_traditional = yes; then
16702 CC
="$CC -traditional"
16707 CXXFLAGS
=${CXXFLAGS:=}
16712 ac_cpp
='$CXXCPP $CPPFLAGS'
16713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16716 if test -z "$CXX"; then
16717 if test -n "$CCC"; then
16720 if test -n "$ac_tool_prefix"; then
16721 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16724 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_CXX+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 if test -n "$CXX"; then
16731 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16734 for as_dir
in $PATH
16737 test -z "$as_dir" && as_dir
=.
16738 for ac_exec_ext
in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 CXX
=$ac_cv_prog_CXX
16751 if test -n "$CXX"; then
16752 { echo "$as_me:$LINENO: result: $CXX" >&5
16753 echo "${ECHO_T}$CXX" >&6; }
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16760 test -n "$CXX" && break
16763 if test -z "$CXX"; then
16765 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16767 # Extract the first word of "$ac_prog", so it can be a program name with args.
16768 set dummy
$ac_prog; ac_word
=$2
16769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16771 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16774 if test -n "$ac_ct_CXX"; then
16775 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16778 for as_dir
in $PATH
16781 test -z "$as_dir" && as_dir
=.
16782 for ac_exec_ext
in '' $ac_executable_extensions; do
16783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16784 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16794 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16795 if test -n "$ac_ct_CXX"; then
16796 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16797 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16799 { echo "$as_me:$LINENO: result: no" >&5
16800 echo "${ECHO_T}no" >&6; }
16804 test -n "$ac_ct_CXX" && break
16807 if test "x$ac_ct_CXX" = x
; then
16810 case $cross_compiling:$ac_tool_warned in
16812 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16813 whose name does not start with the host triplet. If you think this
16814 configuration is useful to you, please write to autoconf@gnu.org." >&5
16815 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16816 whose name does not start with the host triplet. If you think this
16817 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16818 ac_tool_warned
=yes ;;
16826 # Provide some information about the compiler.
16827 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16828 ac_compiler
=`set X $ac_compile; echo $2`
16829 { (ac_try
="$ac_compiler --version >&5"
16830 case "(($ac_try" in
16831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16835 (eval "$ac_compiler --version >&5") 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }
16839 { (ac_try="$ac_compiler -v >&5"
16840 case "(($ac_try" in
16841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16842 *) ac_try_echo
=$ac_try;;
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_compiler -v >&5") 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }
16849 { (ac_try
="$ac_compiler -V >&5"
16850 case "(($ac_try" in
16851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16852 *) ac_try_echo=$ac_try;;
16854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16855 (eval "$ac_compiler -V >&5") 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }
16860 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16861 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16862 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 cat >conftest.$ac_ext <<_ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16887 *) ac_try_echo
=$ac_try;;
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16892 grep -v '^ *+' conftest.er1
>conftest.err
16894 cat conftest.err
>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_cxx_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.
$ac_objext; then
16900 ac_compiler_gnu
=yes
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.
$ac_ext >&5
16908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16909 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16912 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16913 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16914 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16915 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16916 ac_save_CXXFLAGS
=$CXXFLAGS
16917 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16918 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16919 if test "${ac_cv_prog_cxx_g+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16923 ac_cxx_werror_flag
=yes
16924 ac_cv_prog_cxx_g
=no
16926 cat >conftest.
$ac_ext <<_ACEOF
16929 cat confdefs.h
>>conftest.
$ac_ext
16930 cat >>conftest.
$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16941 rm -f conftest.
$ac_objext
16942 if { (ac_try
="$ac_compile"
16943 case "(($ac_try" in
16944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compile") 2>conftest.er1
16950 grep -v '^ *+' conftest.er1 >conftest.err
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } && {
16955 test -z "$ac_cxx_werror_flag" ||
16956 test ! -s conftest.err
16957 } && test -s conftest.$ac_objext; then
16958 ac_cv_prog_cxx_g=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16964 cat >conftest.$ac_ext <<_ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16979 rm -f conftest.$ac_objext
16980 if { (ac_try="$ac_compile"
16981 case "(($ac_try" in
16982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16983 *) ac_try_echo
=$ac_try;;
16985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16986 (eval "$ac_compile") 2>conftest.er1
16988 grep -v '^ *+' conftest.er1
>conftest.err
16990 cat conftest.err
>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } && {
16993 test -z "$ac_cxx_werror_flag" ||
16994 test ! -s conftest.err
16995 } && test -s conftest.
$ac_objext; then
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.
$ac_ext >&5
17001 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17003 cat >conftest.
$ac_ext <<_ACEOF
17006 cat confdefs.h
>>conftest.
$ac_ext
17007 cat >>conftest.
$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17018 rm -f conftest.
$ac_objext
17019 if { (ac_try
="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17027 grep -v '^ *+' conftest.er1 >conftest.err
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_cxx_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17035 ac_cv_prog_cxx_g=yes
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17052 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17053 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17054 if test "$ac_test_CXXFLAGS" = set; then
17055 CXXFLAGS=$ac_save_CXXFLAGS
17056 elif test $ac_cv_prog_cxx_g = yes; then
17057 if test "$GXX" = yes; then
17063 if test "$GXX" = yes; then
17070 ac_cpp='$CPP $CPPFLAGS'
17071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17079 ac_cpp='$CXXCPP $CPPFLAGS'
17080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17084 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17085 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17086 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 cat >conftest.$ac_ext <<_ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17100 #ifndef __INTEL_COMPILER
17108 rm -f conftest.$ac_objext
17109 if { (ac_try="$ac_compile"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17112 *) ac_try_echo
=$ac_try;;
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_compile") 2>conftest.er1
17117 grep -v '^ *+' conftest.er1
>conftest.err
17119 cat conftest.err
>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } && {
17122 test -z "$ac_cxx_werror_flag" ||
17123 test ! -s conftest.err
17124 } && test -s conftest.
$ac_objext; then
17125 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.
$ac_ext >&5
17130 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17140 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17146 ac_cpp
='$CPP $CPPFLAGS'
17147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17154 if test "$INTELCXX" = "yes"; then
17158 ac_cpp
='$CXXCPP $CPPFLAGS'
17159 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17163 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17164 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17165 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 cat >conftest.
$ac_ext <<_ACEOF
17171 cat confdefs.h
>>conftest.
$ac_ext
17172 cat >>conftest.
$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17179 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17187 rm -f conftest.
$ac_objext
17188 if { (ac_try
="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17196 grep -v '^ *+' conftest.er1 >conftest.err
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_cxx_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17209 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17218 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17219 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17225 ac_cpp='$CPP $CPPFLAGS'
17226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17235 ac_cpp='$CXXCPP $CPPFLAGS'
17236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17240 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17241 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17242 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17245 cat >conftest.$ac_ext <<_ACEOF
17248 cat confdefs.h >>conftest.$ac_ext
17249 cat >>conftest.$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17256 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17264 rm -f conftest.$ac_objext
17265 if { (ac_try="$ac_compile"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17268 *) ac_try_echo
=$ac_try;;
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_compile") 2>conftest.er1
17273 grep -v '^ *+' conftest.er1
>conftest.err
17275 cat conftest.err
>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_cxx_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest.
$ac_objext; then
17281 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.
$ac_ext >&5
17286 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17294 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17295 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17296 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17302 ac_cpp
='$CPP $CPPFLAGS'
17303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17311 if test "x$GCXX" != "xyes"; then
17312 if test "xCXX" = "xC"; then
17313 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17314 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17315 if test "${bakefile_cv_c_exto+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 cat >conftest.
$ac_ext <<_ACEOF
17321 cat confdefs.h
>>conftest.
$ac_ext
17322 cat >>conftest.
$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17333 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17335 (eval $ac_compile) 2>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; then
17339 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17341 conftest.
$ac_ext.o
)
17342 bakefile_cv_c_exto
="-ext o"
17349 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17350 See \`config.log' for more details." >&5
17351 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17352 See \`config.log' for more details." >&2;}
17353 { (exit 1); exit 1; }; }
17357 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17360 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17361 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17362 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17363 if test "c" = "c"; then
17364 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17366 if test "c" = "cxx"; then
17367 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17371 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17372 unset ac_cv_prog_cc_g
17373 ac_test_CFLAGS
=${CFLAGS+set}
17374 ac_save_CFLAGS
=$CFLAGS
17375 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17376 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_cc_g+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17380 ac_save_c_werror_flag
=$ac_c_werror_flag
17381 ac_c_werror_flag
=yes
17384 cat >conftest.
$ac_ext <<_ACEOF
17387 cat confdefs.h
>>conftest.
$ac_ext
17388 cat >>conftest.
$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17399 rm -f conftest.
$ac_objext
17400 if { (ac_try
="$ac_compile"
17401 case "(($ac_try" in
17402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17403 *) ac_try_echo=$ac_try;;
17405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17406 (eval "$ac_compile") 2>conftest.er1
17408 grep -v '^ *+' conftest.er1 >conftest.err
17410 cat conftest.err >&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } && {
17413 test -z "$ac_c_werror_flag" ||
17414 test ! -s conftest.err
17415 } && test -s conftest.$ac_objext; then
17416 ac_cv_prog_cc_g=yes
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17422 cat >conftest.$ac_ext <<_ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17441 *) ac_try_echo
=$ac_try;;
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17446 grep -v '^ *+' conftest.er1
>conftest.err
17448 cat conftest.err
>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.
$ac_objext; then
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.
$ac_ext >&5
17459 ac_c_werror_flag
=$ac_save_c_werror_flag
17461 cat >conftest.
$ac_ext <<_ACEOF
17464 cat confdefs.h
>>conftest.
$ac_ext
17465 cat >>conftest.
$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17476 rm -f conftest.
$ac_objext
17477 if { (ac_try
="$ac_compile"
17478 case "(($ac_try" in
17479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17480 *) ac_try_echo=$ac_try;;
17482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17483 (eval "$ac_compile") 2>conftest.er1
17485 grep -v '^ *+' conftest.er1 >conftest.err
17487 cat conftest.err >&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } && {
17490 test -z "$ac_c_werror_flag" ||
17491 test ! -s conftest.err
17492 } && test -s conftest.$ac_objext; then
17493 ac_cv_prog_cc_g=yes
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508 ac_c_werror_flag=$ac_save_c_werror_flag
17510 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17511 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17512 if test "$ac_test_CFLAGS" = set; then
17513 CFLAGS=$ac_save_CFLAGS
17514 elif test $ac_cv_prog_cc_g = yes; then
17515 if test "$GCC" = yes; then
17521 if test "$GCC" = yes; then
17535 ac_cpp='$CXXCPP $CPPFLAGS'
17536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17540 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17541 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17542 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 cat >conftest.$ac_ext <<_ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17564 rm -f conftest.$ac_objext
17565 if { (ac_try="$ac_compile"
17566 case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17568 *) ac_try_echo
=$ac_try;;
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_compile") 2>conftest.er1
17573 grep -v '^ *+' conftest.er1
>conftest.err
17575 cat conftest.err
>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_cxx_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest.
$ac_objext; then
17581 bakefile_cv_cxx_compiler___xlC__
=yes
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.
$ac_ext >&5
17586 bakefile_cv_cxx_compiler___xlC__
=no
17590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17594 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17595 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17596 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17602 ac_cpp
='$CPP $CPPFLAGS'
17603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17615 ac_cpp
='$CXXCPP $CPPFLAGS'
17616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17620 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17621 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17622 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 cat >conftest.
$ac_ext <<_ACEOF
17628 cat confdefs.h
>>conftest.
$ac_ext
17629 cat >>conftest.
$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17644 rm -f conftest.
$ac_objext
17645 if { (ac_try
="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17653 grep -v '^ *+' conftest.er1 >conftest.err
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_cxx_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.$ac_objext; then
17661 bakefile_cv_cxx_compiler___MWERKS__=yes
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 bakefile_cv_cxx_compiler___MWERKS__=no
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17675 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17676 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17682 ac_cpp='$CPP $CPPFLAGS'
17683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17689 if test "$MWCXX" != "yes"; then
17693 ac_cpp='$CXXCPP $CPPFLAGS'
17694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17698 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17700 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.$ac_ext <<_ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17722 rm -f conftest.$ac_objext
17723 if { (ac_try="$ac_compile"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17726 *) ac_try_echo
=$ac_try;;
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compile") 2>conftest.er1
17731 grep -v '^ *+' conftest.er1
>conftest.err
17733 cat conftest.err
>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } && {
17736 test -z "$ac_cxx_werror_flag" ||
17737 test ! -s conftest.err
17738 } && test -s conftest.
$ac_objext; then
17739 bakefile_cv_cxx_compiler___xlC__
=yes
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.
$ac_ext >&5
17744 bakefile_cv_cxx_compiler___xlC__
=no
17748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17752 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17753 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17754 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17760 ac_cpp
='$CPP $CPPFLAGS'
17761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17774 ac_cpp
='$CXXCPP $CPPFLAGS'
17775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17779 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17780 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17781 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 cat >conftest.
$ac_ext <<_ACEOF
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17795 #ifndef _SGI_COMPILER_VERSION
17803 rm -f conftest.
$ac_objext
17804 if { (ac_try
="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17812 grep -v '^ *+' conftest.er1 >conftest.err
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest.$ac_objext; then
17820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17834 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17835 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17841 ac_cpp='$CPP $CPPFLAGS'
17842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17851 if test "$INTELCXX" != "yes"; then
17855 ac_cpp='$CXXCPP $CPPFLAGS'
17856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17860 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17861 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17862 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 cat >conftest.$ac_ext <<_ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17876 #ifndef __SUNPRO_CC
17884 rm -f conftest.$ac_objext
17885 if { (ac_try="$ac_compile"
17886 case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17888 *) ac_try_echo
=$ac_try;;
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_compile") 2>conftest.er1
17893 grep -v '^ *+' conftest.er1
>conftest.err
17895 cat conftest.err
>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_cxx_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest.
$ac_objext; then
17901 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.
$ac_ext >&5
17906 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17914 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17915 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17916 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17922 ac_cpp
='$CPP $CPPFLAGS'
17923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17936 ac_cpp
='$CXXCPP $CPPFLAGS'
17937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17941 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17942 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17943 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 cat >conftest.
$ac_ext <<_ACEOF
17949 cat confdefs.h
>>conftest.
$ac_ext
17950 cat >>conftest.
$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17965 rm -f conftest.
$ac_objext
17966 if { (ac_try
="$ac_compile"
17967 case "(($ac_try" in
17968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_compile") 2>conftest.er1
17974 grep -v '^ *+' conftest.er1 >conftest.err
17976 cat conftest.err >&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } && {
17979 test -z "$ac_cxx_werror_flag" ||
17980 test ! -s conftest.err
17981 } && test -s conftest.$ac_objext; then
17982 bakefile_cv_cxx_compiler___HP_aCC=yes
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.$ac_ext >&5
17987 bakefile_cv_cxx_compiler___HP_aCC=no
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17996 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17997 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18003 ac_cpp='$CPP $CPPFLAGS'
18004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18016 ac_cpp='$CXXCPP $CPPFLAGS'
18017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18021 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18022 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18023 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 cat >conftest.$ac_ext <<_ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18045 rm -f conftest.$ac_objext
18046 if { (ac_try="$ac_compile"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18049 *) ac_try_echo
=$ac_try;;
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_compile") 2>conftest.er1
18054 grep -v '^ *+' conftest.er1
>conftest.err
18056 cat conftest.err
>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } && {
18059 test -z "$ac_cxx_werror_flag" ||
18060 test ! -s conftest.err
18061 } && test -s conftest.
$ac_objext; then
18062 bakefile_cv_cxx_compiler___DECCXX
=yes
18064 echo "$as_me: failed program was:" >&5
18065 sed 's/^/| /' conftest.
$ac_ext >&5
18067 bakefile_cv_cxx_compiler___DECCXX
=no
18071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18075 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18076 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18077 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18083 ac_cpp
='$CPP $CPPFLAGS'
18084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18096 ac_cpp
='$CXXCPP $CPPFLAGS'
18097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18101 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18102 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18103 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 cat >conftest.
$ac_ext <<_ACEOF
18109 cat confdefs.h
>>conftest.
$ac_ext
18110 cat >>conftest.
$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18117 #ifndef __SUNPRO_CC
18125 rm -f conftest.
$ac_objext
18126 if { (ac_try
="$ac_compile"
18127 case "(($ac_try" in
18128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_compile") 2>conftest.er1
18134 grep -v '^ *+' conftest.er1 >conftest.err
18136 cat conftest.err >&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } && {
18139 test -z "$ac_cxx_werror_flag" ||
18140 test ! -s conftest.err
18141 } && test -s conftest.$ac_objext; then
18142 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18147 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18156 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18157 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18163 ac_cpp='$CPP $CPPFLAGS'
18164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18176 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18177 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18178 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18179 { (exit 1); exit 1; }; }
18182 if test "x$SUNCXX" != xyes; then
18183 if test -n "$ac_tool_prefix"; then
18184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18185 set dummy ${ac_tool_prefix}ar; ac_word=$2
18186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18188 if test "${ac_cv_prog_AR+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18191 if test -n "$AR"; then
18192 ac_cv_prog_AR="$AR" # Let the user override the test.
18194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18195 for as_dir in $PATH
18198 test -z "$as_dir" && as_dir=.
18199 for ac_exec_ext in '' $ac_executable_extensions; do
18200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18201 ac_cv_prog_AR="${ac_tool_prefix}ar"
18202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18212 if test -n "$AR"; then
18213 { echo "$as_me:$LINENO: result: $AR" >&5
18214 echo "${ECHO_T}$AR" >&6; }
18216 { echo "$as_me:$LINENO: result: no" >&5
18217 echo "${ECHO_T}no" >&6; }
18222 if test -z "$ac_cv_prog_AR"; then
18224 # Extract the first word of "ar", so it can be a program name with args.
18225 set dummy ar; ac_word=$2
18226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18228 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 if test -n "$ac_ct_AR"; then
18232 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18235 for as_dir in $PATH
18238 test -z "$as_dir" && as_dir=.
18239 for ac_exec_ext in '' $ac_executable_extensions; do
18240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18241 ac_cv_prog_ac_ct_AR="ar"
18242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18251 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18252 if test -n "$ac_ct_AR"; then
18253 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18254 echo "${ECHO_T}$ac_ct_AR" >&6; }
18256 { echo "$as_me:$LINENO: result: no" >&5
18257 echo "${ECHO_T}no" >&6; }
18260 if test "x$ac_ct_AR" = x; then
18263 case $cross_compiling:$ac_tool_warned in
18265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18266 whose name does not start with the host triplet. If you think this
18267 configuration is useful to you, please write to autoconf@gnu.org." >&5
18268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18269 whose name does not start with the host triplet. If you think this
18270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18271 ac_tool_warned=yes ;;
18276 AR="$ac_cv_prog_AR"
18279 if test "x$AR" = "x" ; then
18280 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18281 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18282 { (exit 1); exit 1; }; }
18287 if test "$wxUSE_MAC" = 1; then
18289 retest_macosx_linking=no
18291 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18292 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18293 # Implicitly turn on the new --with-macosx-sdk using the default
18294 # SDK which provides the behavior this option has always had.
18295 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18296 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18297 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18298 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18299 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18300 wxUSE_MACOSX_SDK=yes
18303 # Complain to user if he specified an argument to --enable-universal_binary
18304 # and also 1) specified --with-macosx-sdk using the default (yes) or
18305 # 2) specified --with-macosx-sdk using a path or 3) specified
18306 # --without-macosx-sdk (no).
18307 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18308 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18309 See \`config.log
' for more details." >&5
18310 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18311 See \`config.log' for more details.
" >&2;}
18312 { (exit 1); exit 1; }; }
18314 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18315 # special-case the empty string because the below test simply
18316 # converts "no
" to the empty string anyway.
18317 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18318 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18319 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18322 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18323 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18324 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18325 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18326 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18327 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18328 retest_macosx_linking=yes
18330 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18331 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18335 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18337 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18338 # TODO: Search for most recent SDK and use it.
18339 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18343 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18344 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18345 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18346 if ! test -d "$wxUSE_MACOSX_SDK"; then
18347 { { echo "$as_me:$LINENO: error
: not found
18348 See \
`config.log' for more details." >&5
18349 echo "$as_me: error: not found
18350 See \`config.log
' for more details." >&2;}
18351 { (exit 1); exit 1; }; }
18353 { echo "$as_me:$LINENO: result: exists" >&5
18354 echo "${ECHO_T}exists" >&6; }
18356 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18357 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18358 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18359 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18360 retest_macosx_linking=yes
18363 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18364 wxUSE_MACOSX_VERSION_MIN=
18365 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18366 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18367 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18368 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18370 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/'`
18372 # If that failed, try again with the new key
18373 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18375 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/'`
18379 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18380 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18381 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18382 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18384 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18385 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18386 wxUSE_MACOSX_VERSION_MIN=
18389 wxUSE_MACOSX_VERSION_MIN=
18391 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18392 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18393 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18394 # otherwise configure stops on leopard for universal_binary
18395 wxUSE_MACOSX_VERSION_MIN=10.4
18397 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18398 wxUSE_MACOSX_VERSION_MIN=10.5
18403 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18407 if test "$wxUSE_OSX_CARBON" = 1; then
18411 if test "x$NEEDS_GCC40" == "xyes"; then
18412 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18413 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18414 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18415 if test "x$CC" = "xgcc"; then
18416 CCVERSION=`$CC --version | grep 4.[2-9].`
18417 if test "x$CCVERSION" != "x"; then
18418 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18419 CC="/usr/bin/gcc-4.0"
18423 if test "x$CXX" = "xg++"; then
18424 CCVERSION=`$CXX --version | grep 4.[2-9].`
18425 if test "x$CCVERSION" != "x"; then
18426 CXX="/usr/bin/g++-4.0"
18431 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18432 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18433 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18434 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18435 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18436 retest_macosx_linking=yes
18439 if test "x$retest_macosx_linking" = "xyes"; then
18441 ac_cpp='$CPP $CPPFLAGS'
18442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18443 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18446 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18447 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18448 cat >conftest.$ac_ext <<_ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18463 rm -f conftest.$ac_objext conftest$ac_exeext
18464 if { (ac_try="$ac_link"
18465 case "(($ac_try" in
18466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18467 *) ac_try_echo=$ac_try;;
18469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18470 (eval "$ac_link") 2>conftest.er1
18472 grep -v '^
*+' conftest.er1 >conftest.err
18474 cat conftest.err >&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && {
18477 test -z "$ac_c_werror_flag" ||
18478 test ! -s conftest.err
18479 } && test -s conftest$ac_exeext &&
18480 $as_test_x conftest$ac_exeext; then
18481 { echo "$as_me:$LINENO: result: yes" >&5
18482 echo "${ECHO_T}yes" >&6; }
18484 echo "$as_me: failed program was:" >&5
18485 sed 's
/^
/| /' conftest.$ac_ext >&5
18487 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18488 See \`config.log' for more details.
" >&5
18489 echo "$as_me: error
: no. Try a different SDK
18490 See \
`config.log' for more details." >&2;}
18491 { (exit 1); exit 1; }; }; exit 1
18494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18495 conftest$ac_exeext conftest.$ac_ext
18497 ac_cpp='$CPP $CPPFLAGS'
18498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18509 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18510 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18511 cat >conftest.$ac_ext <<_ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18526 rm -f conftest.$ac_objext conftest$ac_exeext
18527 if { (ac_try="$ac_link"
18528 case "(($ac_try" in
18529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18530 *) ac_try_echo
=$ac_try;;
18532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18533 (eval "$ac_link") 2>conftest.er1
18535 grep -v '^ *+' conftest.er1
>conftest.err
18537 cat conftest.err
>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } && {
18540 test -z "$ac_cxx_werror_flag" ||
18541 test ! -s conftest.err
18542 } && test -s conftest
$ac_exeext &&
18543 $as_test_x conftest
$ac_exeext; then
18544 { echo "$as_me:$LINENO: result: yes" >&5
18545 echo "${ECHO_T}yes" >&6; }
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18550 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18551 See \`config.log' for more details." >&5
18552 echo "$as_me: error: no. Try a different SDK
18553 See \`config.log' for more details." >&2;}
18554 { (exit 1); exit 1; }; }; exit 1
18557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18558 conftest
$ac_exeext conftest.
$ac_ext
18560 ac_cpp
='$CPP $CPPFLAGS'
18561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18571 INSTALL_PROGRAM
="cp -fp"
18572 INSTALL_DATA
="cp -fp"
18579 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18580 CXXFLAGS
="-qunique $CXXFLAGS"
18584 powerpc
-*-darwin* )
18585 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18586 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18587 cat >conftest.
$ac_ext <<_ACEOF
18590 cat confdefs.h
>>conftest.
$ac_ext
18591 cat >>conftest.
$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18597 #ifndef __POWERPC__
18598 choke me for lack of PowerPC
18605 rm -f conftest.
$ac_objext
18606 if { (ac_try
="$ac_compile"
18607 case "(($ac_try" in
18608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18609 *) ac_try_echo=$ac_try;;
18611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 (eval "$ac_compile") 2>conftest.er1
18614 grep -v '^ *+' conftest.er1 >conftest.err
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } && {
18619 test -z "$ac_c_werror_flag" ||
18620 test ! -s conftest.err
18621 } && test -s conftest.$ac_objext; then
18622 { echo "$as_me:$LINENO: result: yes" >&5
18623 echo "${ECHO_T}yes" >&6; }
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18628 { echo "$as_me:$LINENO: result: no" >&5
18629 echo "${ECHO_T}no" >&6; }
18630 cat >>confdefs.h <<\_ACEOF
18631 #define __POWERPC__ 1
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18643 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18644 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18645 cat >conftest.$ac_ext <<_ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <CoreFoundation/CFBase.h>
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18665 *) ac_try_echo
=$ac_try;;
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18670 grep -v '^ *+' conftest.er1
>conftest.err
18672 cat conftest.err
>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.
$ac_objext; then
18678 { echo "$as_me:$LINENO: result: yes" >&5
18679 echo "${ECHO_T}yes" >&6; }
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.
$ac_ext >&5
18684 { echo "$as_me:$LINENO: result: no" >&5
18685 echo "${ECHO_T}no" >&6; }
18686 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18687 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18688 cat >conftest.
$ac_ext <<_ACEOF
18691 cat confdefs.h
>>conftest.
$ac_ext
18692 cat >>conftest.
$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #define __CF_USE_FRAMEWORK_INCLUDES__
18695 #include <CoreFoundation/CFBase.h>
18705 rm -f conftest.
$ac_objext
18706 if { (ac_try
="$ac_compile"
18707 case "(($ac_try" in
18708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_compile") 2>conftest.er1
18714 grep -v '^ *+' conftest.er1 >conftest.err
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } && {
18719 test -z "$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18721 } && test -s conftest.$ac_objext; then
18722 { echo "$as_me:$LINENO: result: yes" >&5
18723 echo "${ECHO_T}yes" >&6; }
18724 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18729 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18730 See \`config.log
' for more details." >&5
18731 echo "$as_me: error: no. CoreFoundation not available.
18732 See \`config.log' for more details.
" >&2;}
18733 { (exit 1); exit 1; }; }
18737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 doesnt_want_win32=0
18750 if test "$wxUSE_MSW" = 1 ; then
18753 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18754 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18755 if test "${wx_cv_nocygwin+set}" = set; then
18756 echo $ECHO_N "(cached
) $ECHO_C" >&6
18759 cat >conftest.$ac_ext <<_ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18787 grep -v '^ *+' conftest.er1 >conftest.err
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18797 echo "$as_me: failed program was
:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18811 if test "$wx_cv_nocygwin" = "yes"; then
18814 doesnt_want_win32=1
18817 if test "$wants_win32" = 1 ; then
18818 BAKEFILE_FORCE_PLATFORM=win32
18826 if test "$wxUSE_WINE" = "yes"; then
18828 LDFLAGS_GUI="-mwindows"
18831 if test "$wants_win32" = 1 ; then
18834 cat >>confdefs.h <<\_ACEOF
18835 #define __WIN32__ 1
18838 cat >>confdefs.h <<\_ACEOF
18839 #define __WIN95__ 1
18842 cat >>confdefs.h <<\_ACEOF
18843 #define __WINDOWS__ 1
18846 cat >>confdefs.h <<\_ACEOF
18847 #define __GNUWIN32__ 1
18850 cat >>confdefs.h <<\_ACEOF
18855 if test "$doesnt_want_win32" = 1 ; then
18860 if test "$USE_UNIX" = 1 ; then
18862 cat >>confdefs.h <<\_ACEOF
18869 *-pc-os2_emx | *-pc-os2-emx )
18870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18871 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18872 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18874 echo $ECHO_N "(cached
) $ECHO_C" >&6
18876 ac_check_lib_save_LIBS=$LIBS
18877 LIBS="-lcExt $LIBS"
18878 cat >conftest.$ac_ext <<_ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18885 /* Override any GCC internal prototype to avoid an error.
18886 Use char because int might match the return type of a GCC
18887 builtin and then its argument prototype would still apply. */
18900 rm -f conftest.$ac_objext conftest$ac_exeext
18901 if { (ac_try="$ac_link"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_link") 2>conftest.er1
18909 grep -v '^ *+' conftest.er1 >conftest.err
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest$ac_exeext &&
18917 $as_test_x conftest$ac_exeext; then
18918 ac_cv_lib_cExt_drand48=yes
18920 echo "$as_me: failed program was
:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18923 ac_cv_lib_cExt_drand48=no
18926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18927 conftest$ac_exeext conftest.$ac_ext
18928 LIBS=$ac_check_lib_save_LIBS
18930 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18931 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18932 if test $ac_cv_lib_cExt_drand48 = yes; then
18933 LIBS="$LIBS -lcExt"
18937 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18939 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18940 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18941 if test "${wx_cv_gccversion+set}" = set; then
18942 echo $ECHO_N "(cached
) $ECHO_C" >&6
18945 if test "$cross_compiling" = yes; then
18946 wx_cv_gccversion="EMX2
"
18949 cat >conftest.$ac_ext <<_ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18960 FILE *f=fopen("conftestval
", "w
");
18965 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18967 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18977 rm -f conftest$ac_exeext
18978 if { (ac_try="$ac_link"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_link") 2>&5
18986 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18988 { (case "(($ac_try" in
18989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18990 *) ac_try_echo=$ac_try;;
18992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18993 (eval "$ac_try") 2>&5
18995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18996 (exit $ac_status); }; }; then
18997 wx_cv_gccversion=`cat conftestval`
18999 echo "$as_me: program exited with status
$ac_status" >&5
19000 echo "$as_me: failed program was
:" >&5
19001 sed 's/^/| /' conftest.$ac_ext >&5
19003 ( exit $ac_status )
19004 wx_cv_gccversion="EMX2
"
19006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19012 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19013 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19014 if test "$wx_cv_gccversion" = "EMX2
"; then
19015 LIBS="$LIBS -lstdcpp"
19016 LDFLAGS="$LDFLAGS -Zsysv-signals"
19018 if test "$wx_cv_gccversion" = "EMX3
"; then
19019 LIBS="$LIBS -lstdcxx -lgcc"
19020 LDFLAGS="$LDFLAGS -Zsysv-signals"
19022 LIBS="$LIBS -lstdc++"
19025 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19026 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19027 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19034 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19035 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19036 if test "${ac_cv_string_strcasecmp+set}" = set; then
19037 echo $ECHO_N "(cached
) $ECHO_C" >&6
19040 cat >conftest.$ac_ext <<_ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19047 #include <string.h>
19053 strcasecmp("foo
", "bar
");
19059 rm -f conftest.$ac_objext conftest$ac_exeext
19060 if { (ac_try="$ac_link"
19061 case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_link") 2>conftest.er1
19068 grep -v '^ *+' conftest.er1 >conftest.err
19070 cat conftest.err >&5
19071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19072 (exit $ac_status); } && {
19073 test -z "$ac_c_werror_flag" ||
19074 test ! -s conftest.err
19075 } && test -s conftest$ac_exeext &&
19076 $as_test_x conftest$ac_exeext; then
19077 ac_cv_string_strcasecmp=yes
19079 echo "$as_me: failed program was
:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19082 ac_cv_string_strcasecmp=no
19086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19087 conftest$ac_exeext conftest.$ac_ext
19090 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19091 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19093 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19094 cat >>confdefs.h <<\_ACEOF
19095 #define HAVE_STRCASECMP_IN_STRING_H 1
19099 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19100 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19101 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19102 echo $ECHO_N "(cached
) $ECHO_C" >&6
19105 cat >conftest.$ac_ext <<_ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19112 #include <strings.h>
19118 strcasecmp("foo
", "bar
");
19124 rm -f conftest.$ac_objext conftest$ac_exeext
19125 if { (ac_try="$ac_link"
19126 case "(($ac_try" in
19127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19128 *) ac_try_echo=$ac_try;;
19130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19131 (eval "$ac_link") 2>conftest.er1
19133 grep -v '^ *+' conftest.er1 >conftest.err
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19137 (exit $ac_status); } && {
19138 test -z "$ac_c_werror_flag" ||
19139 test ! -s conftest.err
19140 } && test -s conftest$ac_exeext &&
19141 $as_test_x conftest$ac_exeext; then
19142 ac_cv_strings_strcasecmp=yes
19144 echo "$as_me: failed program was
:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19147 ac_cv_strings_strcasecmp=no
19151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19152 conftest$ac_exeext conftest.$ac_ext
19155 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19156 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19158 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19159 cat >>confdefs.h <<\_ACEOF
19160 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19164 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19165 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19166 { (exit 1); exit 1; }; }
19174 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19175 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19176 if test "${ac_cv_header_stdc+set}" = set; then
19177 echo $ECHO_N "(cached
) $ECHO_C" >&6
19179 cat >conftest.$ac_ext <<_ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185 #include <stdlib.h>
19186 #include <stdarg.h>
19187 #include <string.h>
19198 rm -f conftest.$ac_objext
19199 if { (ac_try="$ac_compile"
19200 case "(($ac_try" in
19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_compile") 2>conftest.er1
19207 grep -v '^ *+' conftest.er1 >conftest.err
19209 cat conftest.err >&5
19210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19211 (exit $ac_status); } && {
19212 test -z "$ac_c_werror_flag" ||
19213 test ! -s conftest.err
19214 } && test -s conftest.$ac_objext; then
19215 ac_cv_header_stdc=yes
19217 echo "$as_me: failed program was
:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19220 ac_cv_header_stdc=no
19223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 if test $ac_cv_header_stdc = yes; then
19226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19227 cat >conftest.$ac_ext <<_ACEOF
19230 cat confdefs.h >>conftest.$ac_ext
19231 cat >>conftest.$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19233 #include <string.h>
19236 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19237 $EGREP "memchr
" >/dev/null 2>&1; then
19240 ac_cv_header_stdc=no
19246 if test $ac_cv_header_stdc = yes; then
19247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19248 cat >conftest.$ac_ext <<_ACEOF
19251 cat confdefs.h >>conftest.$ac_ext
19252 cat >>conftest.$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19254 #include <stdlib.h>
19257 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19258 $EGREP "free
" >/dev/null 2>&1; then
19261 ac_cv_header_stdc=no
19267 if test $ac_cv_header_stdc = yes; then
19268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19269 if test "$cross_compiling" = yes; then
19272 cat >conftest.$ac_ext <<_ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19279 #include <stdlib.h>
19280 #if ((' ' & 0x0FF) == 0x020)
19281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19284 # define ISLOWER(c) \
19285 (('a' <= (c) && (c) <= 'i') \
19286 || ('j' <= (c) && (c) <= 'r') \
19287 || ('s' <= (c) && (c) <= 'z'))
19288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19296 for (i = 0; i < 256; i++)
19297 if (XOR (islower (i), ISLOWER (i))
19298 || toupper (i) != TOUPPER (i))
19303 rm -f conftest$ac_exeext
19304 if { (ac_try="$ac_link"
19305 case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_link") 2>&5
19312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19314 { (case "(($ac_try" in
19315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316 *) ac_try_echo=$ac_try;;
19318 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19319 (eval "$ac_try") 2>&5
19321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19322 (exit $ac_status); }; }; then
19325 echo "$as_me: program exited with status
$ac_status" >&5
19326 echo "$as_me: failed program was
:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19329 ( exit $ac_status )
19330 ac_cv_header_stdc=no
19332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19338 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19339 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19340 if test $ac_cv_header_stdc = yes; then
19342 cat >>confdefs.h <<\_ACEOF
19343 #define STDC_HEADERS 1
19348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19358 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19359 inttypes.h stdint.h unistd.h
19361 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19362 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19363 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19364 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19365 echo $ECHO_N "(cached
) $ECHO_C" >&6
19367 cat >conftest.$ac_ext <<_ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19373 $ac_includes_default
19375 #include <$ac_header>
19377 rm -f conftest.$ac_objext
19378 if { (ac_try="$ac_compile"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_compile") 2>conftest.er1
19386 grep -v '^ *+' conftest.er1 >conftest.err
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19390 (exit $ac_status); } && {
19391 test -z "$ac_c_werror_flag" ||
19392 test ! -s conftest.err
19393 } && test -s conftest.$ac_objext; then
19394 eval "$as_ac_Header=yes"
19396 echo "$as_me: failed program was
:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 eval "$as_ac_Header=no
"
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19404 ac_res=`eval echo '${'$as_ac_Header'}'`
19405 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19406 echo "${ECHO_T}$ac_res" >&6; }
19407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19419 for ac_header in langinfo.h wchar.h
19421 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19422 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19423 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19424 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19425 echo $ECHO_N "(cached
) $ECHO_C" >&6
19427 cat >conftest.$ac_ext <<_ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19435 #include <$ac_header>
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19446 grep -v '^ *+' conftest.er1 >conftest.err
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19450 (exit $ac_status); } && {
19451 test -z "$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19453 } && test -s conftest.$ac_objext; then
19454 eval "$as_ac_Header=yes"
19456 echo "$as_me: failed program was
:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19459 eval "$as_ac_Header=no
"
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19464 ac_res=`eval echo '${'$as_ac_Header'}'`
19465 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19466 echo "${ECHO_T}$ac_res" >&6; }
19467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19468 cat >>confdefs.h <<_ACEOF
19469 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19477 if test "$ac_cv_header_wchar_h" != "yes"; then
19479 for ac_header in wcstr.h
19481 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19482 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19483 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19484 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19485 echo $ECHO_N "(cached
) $ECHO_C" >&6
19487 cat >conftest.$ac_ext <<_ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19495 #include <$ac_header>
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19503 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19506 grep -v '^ *+' conftest.er1 >conftest.err
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 eval "$as_ac_Header=yes"
19516 echo "$as_me: failed program was
:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 eval "$as_ac_Header=no
"
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 ac_res=`eval echo '${'$as_ac_Header'}'`
19525 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19526 echo "${ECHO_T}$ac_res" >&6; }
19527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19528 cat >>confdefs.h <<_ACEOF
19529 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19539 *-pc-os2_emx | *-pc-os2-emx )
19540 if test $ac_cv_header_langinfo_h = "yes" \
19541 -a \( "$wx_cv_gccversion" = "EMX2
" \
19542 -o "$wx_cv_gccversion" = "EMX3
" \
19543 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19544 LIBS="$LIBS -lintl"
19549 if test "$USE_UNIX" = 1 ; then
19551 for ac_header in sys/select.h
19553 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19554 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19555 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19556 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19557 echo $ECHO_N "(cached
) $ECHO_C" >&6
19559 cat >conftest.$ac_ext <<_ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19567 #include <$ac_header>
19569 rm -f conftest.$ac_objext
19570 if { (ac_try="$ac_compile"
19571 case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19575 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_compile") 2>conftest.er1
19578 grep -v '^ *+' conftest.er1 >conftest.err
19580 cat conftest.err >&5
19581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19582 (exit $ac_status); } && {
19583 test -z "$ac_c_werror_flag" ||
19584 test ! -s conftest.err
19585 } && test -s conftest.$ac_objext; then
19586 eval "$as_ac_Header=yes"
19588 echo "$as_me: failed program was
:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19591 eval "$as_ac_Header=no
"
19594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19596 ac_res=`eval echo '${'$as_ac_Header'}'`
19597 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19598 echo "${ECHO_T}$ac_res" >&6; }
19599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19600 cat >>confdefs.h <<_ACEOF
19601 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19611 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19612 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19613 if test "${ac_cv_c_const+set}" = set; then
19614 echo $ECHO_N "(cached
) $ECHO_C" >&6
19616 cat >conftest.$ac_ext <<_ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19626 /* FIXME: Include the comments suggested by Paul. */
19627 #ifndef __cplusplus
19628 /* Ultrix mips cc rejects this. */
19629 typedef int charset[2];
19631 /* SunOS 4.1.1 cc rejects this. */
19632 char const *const *pcpcc;
19634 /* NEC SVR4.0.2 mips cc rejects this. */
19635 struct point {int x, y;};
19636 static struct point const zero = {0,0};
19637 /* AIX XL C 1.02.0.0 rejects this.
19638 It does not let you subtract one const X* pointer from another in
19639 an arm of an if-expression whose if-part is not a constant
19641 const char *g = "string
";
19642 pcpcc = &g + (g ? g-g : 0);
19643 /* HPUX 7.0 cc rejects these. */
19645 ppc = (char**) pcpcc;
19646 pcpcc = (char const *const *) ppc;
19647 { /* SCO 3.2v4 cc rejects this. */
19649 char const *s = 0 ? (char *) 0 : (char const *) 0;
19654 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19655 int x[] = {25, 17};
19656 const int *foo = &x[0];
19659 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19660 typedef const int *iptr;
19664 { /* AIX XL C 1.02.0.0 rejects this saying
19665 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19666 struct s { int j; const int *ap[3]; };
19667 struct s *b; b->j = 5;
19669 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19670 const int foo = 10;
19671 if (!foo) return 0;
19673 return !cs[0] && !zero.x;
19680 rm -f conftest.$ac_objext
19681 if { (ac_try="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19686 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19689 grep -v '^ *+' conftest.er1 >conftest.err
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest.$ac_objext; then
19699 echo "$as_me: failed program was
:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19707 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19708 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19709 if test $ac_cv_c_const = no; then
19711 cat >>confdefs.h <<\_ACEOF
19717 { echo "$as_me:$LINENO: checking
for inline
" >&5
19718 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19719 if test "${ac_cv_c_inline+set}" = set; then
19720 echo $ECHO_N "(cached
) $ECHO_C" >&6
19723 for ac_kw in inline __inline__ __inline; do
19724 cat >conftest.$ac_ext <<_ACEOF
19727 cat confdefs.h >>conftest.$ac_ext
19728 cat >>conftest.$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 #ifndef __cplusplus
19732 static $ac_kw foo_t static_foo () {return 0; }
19733 $ac_kw foo_t foo () {return 0; }
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19746 grep -v '^ *+' conftest.er1 >conftest.err
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_c_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.$ac_objext; then
19754 ac_cv_c_inline=$ac_kw
19756 echo "$as_me: failed program was
:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763 test "$ac_cv_c_inline" != no && break
19767 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19768 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19771 case $ac_cv_c_inline in
19774 case $ac_cv_c_inline in
19776 *) ac_val=$ac_cv_c_inline;;
19778 cat >>confdefs.h <<_ACEOF
19779 #ifndef __cplusplus
19780 #define inline $ac_val
19787 { echo "$as_me:$LINENO: checking
for short
" >&5
19788 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19789 if test "${ac_cv_type_short+set}" = set; then
19790 echo $ECHO_N "(cached
) $ECHO_C" >&6
19792 cat >conftest.$ac_ext <<_ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 $ac_includes_default
19799 typedef short ac__type_new_;
19803 if ((ac__type_new_ *) 0)
19805 if (sizeof (ac__type_new_))
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19820 grep -v '^ *+' conftest.er1 >conftest.err
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19828 ac_cv_type_short=yes
19830 echo "$as_me: failed program was
:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 ac_cv_type_short=no
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19839 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19841 # The cast to long int works around a bug in the HP C Compiler
19842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19844 # This bug is HP SR number 8606223364.
19845 { echo "$as_me:$LINENO: checking size of short
" >&5
19846 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19847 if test "${ac_cv_sizeof_short+set}" = set; then
19848 echo $ECHO_N "(cached
) $ECHO_C" >&6
19850 if test "$cross_compiling" = yes; then
19851 # Depending upon the size, compute the lo and hi bounds.
19852 cat >conftest.$ac_ext <<_ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 $ac_includes_default
19859 typedef short ac__type_sizeof_;
19863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19879 grep -v '^ *+' conftest.er1 >conftest.err
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19889 cat >conftest.$ac_ext <<_ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19896 typedef short ac__type_sizeof_;
19900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19916 grep -v '^ *+' conftest.er1 >conftest.err
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19924 ac_hi=$ac_mid; break
19926 echo "$as_me: failed program was
:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19929 ac_lo=`expr $ac_mid + 1`
19930 if test $ac_lo -le $ac_mid; then
19934 ac_mid=`expr 2 '*' $ac_mid + 1`
19937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 echo "$as_me: failed program was
:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19943 cat >conftest.$ac_ext <<_ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef short ac__type_sizeof_;
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19970 grep -v '^ *+' conftest.er1 >conftest.err
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19980 cat >conftest.$ac_ext <<_ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef short ac__type_sizeof_;
19991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19998 rm -f conftest.$ac_objext
19999 if { (ac_try="$ac_compile"
20000 case "(($ac_try" in
20001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_compile") 2>conftest.er1
20007 grep -v '^ *+' conftest.er1 >conftest.err
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20011 (exit $ac_status); } && {
20012 test -z "$ac_c_werror_flag" ||
20013 test ! -s conftest.err
20014 } && test -s conftest.$ac_objext; then
20015 ac_lo=$ac_mid; break
20017 echo "$as_me: failed program was
:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20020 ac_hi=`expr '(' $ac_mid ')' - 1`
20021 if test $ac_mid -le $ac_hi; then
20025 ac_mid=`expr 2 '*' $ac_mid`
20028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031 echo "$as_me: failed program was
:" >&5
20032 sed 's/^/| /' conftest.$ac_ext >&5
20037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 # Binary search between lo and hi bounds.
20042 while test "x
$ac_lo" != "x
$ac_hi"; do
20043 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20044 cat >conftest.$ac_ext <<_ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20050 $ac_includes_default
20051 typedef short ac__type_sizeof_;
20055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20066 *) ac_try_echo=$ac_try;;
20068 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20071 grep -v '^ *+' conftest.er1 >conftest.err
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20075 (exit $ac_status); } && {
20076 test -z "$ac_c_werror_flag" ||
20077 test ! -s conftest.err
20078 } && test -s conftest.$ac_objext; then
20081 echo "$as_me: failed program was
:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20084 ac_lo=`expr '(' $ac_mid ')' + 1`
20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20090 ?*) ac_cv_sizeof_short=$ac_lo;;
20091 '') if test "$ac_cv_type_short" = yes; then
20092 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20093 See \
`config.log' for more details." >&5
20094 echo "$as_me: error: cannot compute sizeof (short)
20095 See \`config.log
' for more details." >&2;}
20096 { (exit 77); exit 77; }; }
20098 ac_cv_sizeof_short=0
20102 cat >conftest.$ac_ext <<_ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 $ac_includes_default
20109 typedef short ac__type_sizeof_;
20110 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20111 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20113 #include <stdlib.h>
20118 FILE *f = fopen ("conftest.val", "w");
20121 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20123 long int i = longval ();
20124 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20126 fprintf (f, "%ld\n", i);
20130 unsigned long int i = ulongval ();
20131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20133 fprintf (f, "%lu\n", i);
20135 return ferror (f) || fclose (f) != 0;
20141 rm -f conftest$ac_exeext
20142 if { (ac_try="$ac_link"
20143 case "(($ac_try" in
20144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145 *) ac_try_echo=$ac_try;;
20147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20148 (eval "$ac_link") 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20152 { (case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_try") 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 ac_cv_sizeof_short=`cat conftest.val`
20163 echo "$as_me: program exited with status $ac_status" >&5
20164 echo "$as_me: failed program was:" >&5
20165 sed 's
/^
/| /' conftest.$ac_ext >&5
20167 ( exit $ac_status )
20168 if test "$ac_cv_type_short" = yes; then
20169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20170 See \`config.log' for more details.
" >&5
20171 echo "$as_me: error
: cannot compute sizeof
(short
)
20172 See \
`config.log' for more details." >&2;}
20173 { (exit 77); exit 77; }; }
20175 ac_cv_sizeof_short=0
20178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20182 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20183 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20187 cat >>confdefs.h <<_ACEOF
20188 #define SIZEOF_SHORT $ac_cv_sizeof_short
20192 { echo "$as_me:$LINENO: checking for void *" >&5
20193 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20194 if test "${ac_cv_type_void_p+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 cat >conftest.$ac_ext <<_ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 typedef void * ac__type_new_;
20208 if ((ac__type_new_ *) 0)
20210 if (sizeof (ac__type_new_))
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20220 *) ac_try_echo
=$ac_try;;
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20225 grep -v '^ *+' conftest.er1
>conftest.err
20227 cat conftest.err
>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.
$ac_objext; then
20233 ac_cv_type_void_p
=yes
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.
$ac_ext >&5
20238 ac_cv_type_void_p
=no
20241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20243 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20244 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20246 # The cast to long int works around a bug in the HP C Compiler
20247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20249 # This bug is HP SR number 8606223364.
20250 { echo "$as_me:$LINENO: checking size of void *" >&5
20251 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20252 if test "${ac_cv_sizeof_void_p+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 if test "$cross_compiling" = yes; then
20256 # Depending upon the size, compute the lo and hi bounds.
20257 cat >conftest.
$ac_ext <<_ACEOF
20260 cat confdefs.h
>>conftest.
$ac_ext
20261 cat >>conftest.
$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 $ac_includes_default
20264 typedef void * ac__type_sizeof_;
20268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20275 rm -f conftest.
$ac_objext
20276 if { (ac_try
="$ac_compile"
20277 case "(($ac_try" in
20278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20279 *) ac_try_echo=$ac_try;;
20281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20282 (eval "$ac_compile") 2>conftest.er1
20284 grep -v '^ *+' conftest.er1 >conftest.err
20286 cat conftest.err >&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } && {
20289 test -z "$ac_c_werror_flag" ||
20290 test ! -s conftest.err
20291 } && test -s conftest.$ac_objext; then
20294 cat >conftest.$ac_ext <<_ACEOF
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20301 typedef void * ac__type_sizeof_;
20305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20312 rm -f conftest.$ac_objext
20313 if { (ac_try="$ac_compile"
20314 case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20316 *) ac_try_echo
=$ac_try;;
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_compile") 2>conftest.er1
20321 grep -v '^ *+' conftest.er1
>conftest.err
20323 cat conftest.err
>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } && {
20326 test -z "$ac_c_werror_flag" ||
20327 test ! -s conftest.err
20328 } && test -s conftest.
$ac_objext; then
20329 ac_hi
=$ac_mid; break
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.
$ac_ext >&5
20334 ac_lo
=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20339 ac_mid
=`expr 2 '*' $ac_mid + 1`
20342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.
$ac_ext >&5
20348 cat >conftest.
$ac_ext <<_ACEOF
20351 cat confdefs.h
>>conftest.
$ac_ext
20352 cat >>conftest.
$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef void * ac__type_sizeof_;
20359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20366 rm -f conftest.
$ac_objext
20367 if { (ac_try
="$ac_compile"
20368 case "(($ac_try" in
20369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_compile") 2>conftest.er1
20375 grep -v '^ *+' conftest.er1 >conftest.err
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } && {
20380 test -z "$ac_c_werror_flag" ||
20381 test ! -s conftest.err
20382 } && test -s conftest.$ac_objext; then
20385 cat >conftest.$ac_ext <<_ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef void * ac__type_sizeof_;
20396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20403 rm -f conftest.$ac_objext
20404 if { (ac_try="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20407 *) ac_try_echo
=$ac_try;;
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20412 grep -v '^ *+' conftest.er1
>conftest.err
20414 cat conftest.err
>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.
$ac_objext; then
20420 ac_lo
=$ac_mid; break
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.
$ac_ext >&5
20425 ac_hi
=`expr '(' $ac_mid ')' - 1`
20426 if test $ac_mid -le $ac_hi; then
20430 ac_mid
=`expr 2 '*' $ac_mid`
20433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.
$ac_ext >&5
20442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20446 # Binary search between lo and hi bounds.
20447 while test "x$ac_lo" != "x$ac_hi"; do
20448 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20449 cat >conftest.
$ac_ext <<_ACEOF
20452 cat confdefs.h
>>conftest.
$ac_ext
20453 cat >>conftest.
$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20455 $ac_includes_default
20456 typedef void * ac__type_sizeof_;
20460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20467 rm -f conftest.
$ac_objext
20468 if { (ac_try
="$ac_compile"
20469 case "(($ac_try" in
20470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20471 *) ac_try_echo=$ac_try;;
20473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20474 (eval "$ac_compile") 2>conftest.er1
20476 grep -v '^ *+' conftest.er1 >conftest.err
20478 cat conftest.err >&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); } && {
20481 test -z "$ac_c_werror_flag" ||
20482 test ! -s conftest.err
20483 } && test -s conftest.$ac_objext; then
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20489 ac_lo=`expr '(' $ac_mid ')' + 1`
20492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20495 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20496 '') if test "$ac_cv_type_void_p" = yes; then
20497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20498 See \`config.log
' for more details." >&5
20499 echo "$as_me: error: cannot compute sizeof (void *)
20500 See \`config.log' for more details.
" >&2;}
20501 { (exit 77); exit 77; }; }
20503 ac_cv_sizeof_void_p=0
20507 cat >conftest.$ac_ext <<_ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 $ac_includes_default
20514 typedef void * ac__type_sizeof_;
20515 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20516 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20518 #include <stdlib.h>
20523 FILE *f = fopen ("conftest.val
", "w
");
20526 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20528 long int i = longval ();
20529 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20531 fprintf (f, "%ld
\n", i);
20535 unsigned long int i = ulongval ();
20536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20538 fprintf (f, "%lu
\n", i);
20540 return ferror (f) || fclose (f) != 0;
20546 rm -f conftest$ac_exeext
20547 if { (ac_try="$ac_link"
20548 case "(($ac_try" in
20549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20550 *) ac_try_echo=$ac_try;;
20552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_link") 2>&5
20555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20557 { (case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20559 *) ac_try_echo=$ac_try;;
20561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_try") 2>&5
20564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 ac_cv_sizeof_void_p=`cat conftest.val`
20568 echo "$as_me: program exited with status
$ac_status" >&5
20569 echo "$as_me: failed program was
:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20572 ( exit $ac_status )
20573 if test "$ac_cv_type_void_p" = yes; then
20574 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20575 See \
`config.log' for more details." >&5
20576 echo "$as_me: error: cannot compute sizeof (void *)
20577 See \`config.log
' for more details." >&2;}
20578 { (exit 77); exit 77; }; }
20580 ac_cv_sizeof_void_p=0
20583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20587 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20588 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20592 cat >>confdefs.h <<_ACEOF
20593 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20597 { echo "$as_me:$LINENO: checking for int" >&5
20598 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20599 if test "${ac_cv_type_int+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 cat >conftest.$ac_ext <<_ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef int ac__type_new_;
20613 if ((ac__type_new_ *) 0)
20615 if (sizeof (ac__type_new_))
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20630 grep -v '^
*+' conftest.er1 >conftest.err
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20640 echo "$as_me: failed program was:" >&5
20641 sed 's
/^
/| /' conftest.$ac_ext >&5
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20648 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20649 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20651 # The cast to long int works around a bug in the HP C Compiler
20652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20654 # This bug is HP SR number 8606223364.
20655 { echo "$as_me:$LINENO: checking size of int" >&5
20656 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20657 if test "${ac_cv_sizeof_int+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 if test "$cross_compiling" = yes; then
20661 # Depending upon the size, compute the lo and hi bounds.
20662 cat >conftest.
$ac_ext <<_ACEOF
20665 cat confdefs.h
>>conftest.
$ac_ext
20666 cat >>conftest.
$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 $ac_includes_default
20669 typedef int ac__type_sizeof_;
20673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20680 rm -f conftest.
$ac_objext
20681 if { (ac_try
="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20689 grep -v '^ *+' conftest.er1 >conftest.err
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20699 cat >conftest.$ac_ext <<_ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef int ac__type_sizeof_;
20710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20717 rm -f conftest.$ac_objext
20718 if { (ac_try="$ac_compile"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20721 *) ac_try_echo
=$ac_try;;
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_compile") 2>conftest.er1
20726 grep -v '^ *+' conftest.er1
>conftest.err
20728 cat conftest.err
>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest.
$ac_objext; then
20734 ac_hi
=$ac_mid; break
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.
$ac_ext >&5
20739 ac_lo
=`expr $ac_mid + 1`
20740 if test $ac_lo -le $ac_mid; then
20744 ac_mid
=`expr 2 '*' $ac_mid + 1`
20747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.
$ac_ext >&5
20753 cat >conftest.
$ac_ext <<_ACEOF
20756 cat confdefs.h
>>conftest.
$ac_ext
20757 cat >>conftest.
$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef int ac__type_sizeof_;
20764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20771 rm -f conftest.
$ac_objext
20772 if { (ac_try
="$ac_compile"
20773 case "(($ac_try" in
20774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_compile") 2>conftest.er1
20780 grep -v '^ *+' conftest.er1 >conftest.err
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } && {
20785 test -z "$ac_c_werror_flag" ||
20786 test ! -s conftest.err
20787 } && test -s conftest.$ac_objext; then
20790 cat >conftest.$ac_ext <<_ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef int ac__type_sizeof_;
20801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20812 *) ac_try_echo
=$ac_try;;
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20817 grep -v '^ *+' conftest.er1
>conftest.err
20819 cat conftest.err
>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.
$ac_objext; then
20825 ac_lo
=$ac_mid; break
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.
$ac_ext >&5
20830 ac_hi
=`expr '(' $ac_mid ')' - 1`
20831 if test $ac_mid -le $ac_hi; then
20835 ac_mid
=`expr 2 '*' $ac_mid`
20838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.
$ac_ext >&5
20847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20851 # Binary search between lo and hi bounds.
20852 while test "x$ac_lo" != "x$ac_hi"; do
20853 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20854 cat >conftest.
$ac_ext <<_ACEOF
20857 cat confdefs.h
>>conftest.
$ac_ext
20858 cat >>conftest.
$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20861 typedef int ac__type_sizeof_;
20865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20872 rm -f conftest.
$ac_objext
20873 if { (ac_try
="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20879 (eval "$ac_compile") 2>conftest.er1
20881 grep -v '^ *+' conftest.er1 >conftest.err
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } && {
20886 test -z "$ac_c_werror_flag" ||
20887 test ! -s conftest.err
20888 } && test -s conftest.$ac_objext; then
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 ac_lo=`expr '(' $ac_mid ')' + 1`
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20900 ?*) ac_cv_sizeof_int=$ac_lo;;
20901 '') if test "$ac_cv_type_int" = yes; then
20902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20903 See \`config.log
' for more details." >&5
20904 echo "$as_me: error: cannot compute sizeof (int)
20905 See \`config.log' for more details.
" >&2;}
20906 { (exit 77); exit 77; }; }
20912 cat >conftest.$ac_ext <<_ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef int ac__type_sizeof_;
20920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20923 #include <stdlib.h>
20928 FILE *f = fopen ("conftest.val
", "w
");
20931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20933 long int i = longval ();
20934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20936 fprintf (f, "%ld
\n", i);
20940 unsigned long int i = ulongval ();
20941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20943 fprintf (f, "%lu
\n", i);
20945 return ferror (f) || fclose (f) != 0;
20951 rm -f conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>&5
20960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20962 { (case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_try") 2>&5
20969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 ac_cv_sizeof_int=`cat conftest.val`
20973 echo "$as_me: program exited with status
$ac_status" >&5
20974 echo "$as_me: failed program was
:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20977 ( exit $ac_status )
20978 if test "$ac_cv_type_int" = yes; then
20979 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20980 See \
`config.log' for more details." >&5
20981 echo "$as_me: error: cannot compute sizeof (int)
20982 See \`config.log
' for more details." >&2;}
20983 { (exit 77); exit 77; }; }
20988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20993 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20997 cat >>confdefs.h <<_ACEOF
20998 #define SIZEOF_INT $ac_cv_sizeof_int
21002 { echo "$as_me:$LINENO: checking for long" >&5
21003 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21004 if test "${ac_cv_type_long+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 cat >conftest.$ac_ext <<_ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef long ac__type_new_;
21018 if ((ac__type_new_ *) 0)
21020 if (sizeof (ac__type_new_))
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21035 grep -v '^
*+' conftest.er1 >conftest.err
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_type_long=yes
21045 echo "$as_me: failed program was:" >&5
21046 sed 's
/^
/| /' conftest.$ac_ext >&5
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21056 # The cast to long int works around a bug in the HP C Compiler
21057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21059 # This bug is HP SR number 8606223364.
21060 { echo "$as_me:$LINENO: checking size of long" >&5
21061 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21062 if test "${ac_cv_sizeof_long+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 typedef long ac__type_sizeof_;
21078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21085 rm -f conftest.
$ac_objext
21086 if { (ac_try
="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_compile") 2>conftest.er1
21094 grep -v '^ *+' conftest.er1 >conftest.err
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && {
21099 test -z "$ac_c_werror_flag" ||
21100 test ! -s conftest.err
21101 } && test -s conftest.$ac_objext; then
21104 cat >conftest.$ac_ext <<_ACEOF
21107 cat confdefs.h >>conftest.$ac_ext
21108 cat >>conftest.$ac_ext <<_ACEOF
21109 /* end confdefs.h. */
21110 $ac_includes_default
21111 typedef long ac__type_sizeof_;
21115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21122 rm -f conftest.$ac_objext
21123 if { (ac_try="$ac_compile"
21124 case "(($ac_try" in
21125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21126 *) ac_try_echo
=$ac_try;;
21128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21129 (eval "$ac_compile") 2>conftest.er1
21131 grep -v '^ *+' conftest.er1
>conftest.err
21133 cat conftest.err
>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } && {
21136 test -z "$ac_c_werror_flag" ||
21137 test ! -s conftest.err
21138 } && test -s conftest.
$ac_objext; then
21139 ac_hi
=$ac_mid; break
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.
$ac_ext >&5
21144 ac_lo
=`expr $ac_mid + 1`
21145 if test $ac_lo -le $ac_mid; then
21149 ac_mid
=`expr 2 '*' $ac_mid + 1`
21152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.
$ac_ext >&5
21158 cat >conftest.
$ac_ext <<_ACEOF
21161 cat confdefs.h
>>conftest.
$ac_ext
21162 cat >>conftest.
$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef long ac__type_sizeof_;
21169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21176 rm -f conftest.
$ac_objext
21177 if { (ac_try
="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21185 grep -v '^ *+' conftest.er1 >conftest.err
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && {
21190 test -z "$ac_c_werror_flag" ||
21191 test ! -s conftest.err
21192 } && test -s conftest.$ac_objext; then
21195 cat >conftest.$ac_ext <<_ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 typedef long ac__type_sizeof_;
21206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21213 rm -f conftest.$ac_objext
21214 if { (ac_try="$ac_compile"
21215 case "(($ac_try" in
21216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21217 *) ac_try_echo
=$ac_try;;
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_compile") 2>conftest.er1
21222 grep -v '^ *+' conftest.er1
>conftest.err
21224 cat conftest.err
>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } && {
21227 test -z "$ac_c_werror_flag" ||
21228 test ! -s conftest.err
21229 } && test -s conftest.
$ac_objext; then
21230 ac_lo
=$ac_mid; break
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.
$ac_ext >&5
21235 ac_hi
=`expr '(' $ac_mid ')' - 1`
21236 if test $ac_mid -le $ac_hi; then
21240 ac_mid
=`expr 2 '*' $ac_mid`
21243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.
$ac_ext >&5
21252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.
$ac_ext <<_ACEOF
21262 cat confdefs.h
>>conftest.
$ac_ext
21263 cat >>conftest.
$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 typedef long ac__type_sizeof_;
21270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21277 rm -f conftest.
$ac_objext
21278 if { (ac_try
="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21286 grep -v '^ *+' conftest.er1 >conftest.err
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21299 ac_lo=`expr '(' $ac_mid ')' + 1`
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ?*) ac_cv_sizeof_long=$ac_lo;;
21306 '') if test "$ac_cv_type_long" = yes; then
21307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21308 See \`config.log
' for more details." >&5
21309 echo "$as_me: error: cannot compute sizeof (long)
21310 See \`config.log' for more details.
" >&2;}
21311 { (exit 77); exit 77; }; }
21313 ac_cv_sizeof_long=0
21317 cat >conftest.$ac_ext <<_ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef long ac__type_sizeof_;
21325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21328 #include <stdlib.h>
21333 FILE *f = fopen ("conftest.val
", "w
");
21336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21338 long int i = longval ();
21339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21341 fprintf (f, "%ld
\n", i);
21345 unsigned long int i = ulongval ();
21346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21348 fprintf (f, "%lu
\n", i);
21350 return ferror (f) || fclose (f) != 0;
21356 rm -f conftest$ac_exeext
21357 if { (ac_try="$ac_link"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21362 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_link") 2>&5
21365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21367 { (case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_try") 2>&5
21374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_sizeof_long=`cat conftest.val`
21378 echo "$as_me: program exited with status
$ac_status" >&5
21379 echo "$as_me: failed program was
:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21382 ( exit $ac_status )
21383 if test "$ac_cv_type_long" = yes; then
21384 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21385 See \
`config.log' for more details." >&5
21386 echo "$as_me: error: cannot compute sizeof (long)
21387 See \`config.log
' for more details." >&2;}
21388 { (exit 77); exit 77; }; }
21390 ac_cv_sizeof_long=0
21393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21402 cat >>confdefs.h <<_ACEOF
21403 #define SIZEOF_LONG $ac_cv_sizeof_long
21407 { echo "$as_me:$LINENO: checking for size_t" >&5
21408 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21409 if test "${ac_cv_type_size_t+set}" = set; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21412 cat >conftest.$ac_ext <<_ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef size_t ac__type_new_;
21423 if ((ac__type_new_ *) 0)
21425 if (sizeof (ac__type_new_))
21431 rm -f conftest.$ac_objext
21432 if { (ac_try="$ac_compile"
21433 case "(($ac_try" in
21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_compile") 2>conftest.er1
21440 grep -v '^
*+' conftest.er1 >conftest.err
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } && {
21445 test -z "$ac_c_werror_flag" ||
21446 test ! -s conftest.err
21447 } && test -s conftest.$ac_objext; then
21448 ac_cv_type_size_t=yes
21450 echo "$as_me: failed program was:" >&5
21451 sed 's
/^
/| /' conftest.$ac_ext >&5
21453 ac_cv_type_size_t=no
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21458 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21459 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21461 # The cast to long int works around a bug in the HP C Compiler
21462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21464 # This bug is HP SR number 8606223364.
21465 { echo "$as_me:$LINENO: checking size of size_t" >&5
21466 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21467 if test "${ac_cv_sizeof_size_t+set}" = set; then
21468 echo $ECHO_N "(cached) $ECHO_C" >&6
21470 if test "$cross_compiling" = yes; then
21471 # Depending upon the size, compute the lo and hi bounds.
21472 cat >conftest.
$ac_ext <<_ACEOF
21475 cat confdefs.h
>>conftest.
$ac_ext
21476 cat >>conftest.
$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21478 $ac_includes_default
21479 typedef size_t ac__type_sizeof_;
21483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21490 rm -f conftest.
$ac_objext
21491 if { (ac_try
="$ac_compile"
21492 case "(($ac_try" in
21493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21494 *) ac_try_echo=$ac_try;;
21496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21497 (eval "$ac_compile") 2>conftest.er1
21499 grep -v '^ *+' conftest.er1 >conftest.err
21501 cat conftest.err >&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } && {
21504 test -z "$ac_c_werror_flag" ||
21505 test ! -s conftest.err
21506 } && test -s conftest.$ac_objext; then
21509 cat >conftest.$ac_ext <<_ACEOF
21512 cat confdefs.h >>conftest.$ac_ext
21513 cat >>conftest.$ac_ext <<_ACEOF
21514 /* end confdefs.h. */
21515 $ac_includes_default
21516 typedef size_t ac__type_sizeof_;
21520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21527 rm -f conftest.$ac_objext
21528 if { (ac_try="$ac_compile"
21529 case "(($ac_try" in
21530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21531 *) ac_try_echo
=$ac_try;;
21533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21534 (eval "$ac_compile") 2>conftest.er1
21536 grep -v '^ *+' conftest.er1
>conftest.err
21538 cat conftest.err
>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); } && {
21541 test -z "$ac_c_werror_flag" ||
21542 test ! -s conftest.err
21543 } && test -s conftest.
$ac_objext; then
21544 ac_hi
=$ac_mid; break
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.
$ac_ext >&5
21549 ac_lo
=`expr $ac_mid + 1`
21550 if test $ac_lo -le $ac_mid; then
21554 ac_mid
=`expr 2 '*' $ac_mid + 1`
21557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.
$ac_ext >&5
21563 cat >conftest.
$ac_ext <<_ACEOF
21566 cat confdefs.h
>>conftest.
$ac_ext
21567 cat >>conftest.
$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 typedef size_t ac__type_sizeof_;
21574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21581 rm -f conftest.
$ac_objext
21582 if { (ac_try
="$ac_compile"
21583 case "(($ac_try" in
21584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21585 *) ac_try_echo=$ac_try;;
21587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21588 (eval "$ac_compile") 2>conftest.er1
21590 grep -v '^ *+' conftest.er1 >conftest.err
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } && {
21595 test -z "$ac_c_werror_flag" ||
21596 test ! -s conftest.err
21597 } && test -s conftest.$ac_objext; then
21600 cat >conftest.$ac_ext <<_ACEOF
21603 cat confdefs.h >>conftest.$ac_ext
21604 cat >>conftest.$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21606 $ac_includes_default
21607 typedef size_t ac__type_sizeof_;
21611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21618 rm -f conftest.$ac_objext
21619 if { (ac_try="$ac_compile"
21620 case "(($ac_try" in
21621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21622 *) ac_try_echo
=$ac_try;;
21624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21625 (eval "$ac_compile") 2>conftest.er1
21627 grep -v '^ *+' conftest.er1
>conftest.err
21629 cat conftest.err
>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } && {
21632 test -z "$ac_c_werror_flag" ||
21633 test ! -s conftest.err
21634 } && test -s conftest.
$ac_objext; then
21635 ac_lo
=$ac_mid; break
21637 echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.
$ac_ext >&5
21640 ac_hi
=`expr '(' $ac_mid ')' - 1`
21641 if test $ac_mid -le $ac_hi; then
21645 ac_mid
=`expr 2 '*' $ac_mid`
21648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.
$ac_ext >&5
21657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21661 # Binary search between lo and hi bounds.
21662 while test "x$ac_lo" != "x$ac_hi"; do
21663 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21664 cat >conftest.
$ac_ext <<_ACEOF
21667 cat confdefs.h
>>conftest.
$ac_ext
21668 cat >>conftest.
$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef size_t ac__type_sizeof_;
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21682 rm -f conftest.
$ac_objext
21683 if { (ac_try
="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21686 *) ac_try_echo=$ac_try;;
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21691 grep -v '^ *+' conftest.er1 >conftest.err
21693 cat conftest.err >&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.$ac_objext; then
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.$ac_ext >&5
21704 ac_lo=`expr '(' $ac_mid ')' + 1`
21707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21710 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21711 '') if test "$ac_cv_type_size_t" = yes; then
21712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21713 See \`config.log
' for more details." >&5
21714 echo "$as_me: error: cannot compute sizeof (size_t)
21715 See \`config.log' for more details.
" >&2;}
21716 { (exit 77); exit 77; }; }
21718 ac_cv_sizeof_size_t=0
21722 cat >conftest.$ac_ext <<_ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 $ac_includes_default
21729 typedef size_t ac__type_sizeof_;
21730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21733 #include <stdlib.h>
21738 FILE *f = fopen ("conftest.val
", "w
");
21741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21743 long int i = longval ();
21744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21746 fprintf (f, "%ld
\n", i);
21750 unsigned long int i = ulongval ();
21751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21753 fprintf (f, "%lu
\n", i);
21755 return ferror (f) || fclose (f) != 0;
21761 rm -f conftest$ac_exeext
21762 if { (ac_try="$ac_link"
21763 case "(($ac_try" in
21764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_link") 2>&5
21770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21772 { (case "(($ac_try" in
21773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21774 *) ac_try_echo=$ac_try;;
21776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21777 (eval "$ac_try") 2>&5
21779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21780 (exit $ac_status); }; }; then
21781 ac_cv_sizeof_size_t=`cat conftest.val`
21783 echo "$as_me: program exited with status
$ac_status" >&5
21784 echo "$as_me: failed program was
:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21787 ( exit $ac_status )
21788 if test "$ac_cv_type_size_t" = yes; then
21789 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21790 See \
`config.log' for more details." >&5
21791 echo "$as_me: error: cannot compute sizeof (size_t)
21792 See \`config.log
' for more details." >&2;}
21793 { (exit 77); exit 77; }; }
21795 ac_cv_sizeof_size_t=0
21798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21803 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21807 cat >>confdefs.h <<_ACEOF
21808 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21815 { echo "$as_me:$LINENO: checking for long long" >&5
21816 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21817 if test "${ac_cv_type_long_long+set}" = set; then
21818 echo $ECHO_N "(cached) $ECHO_C" >&6
21820 cat >conftest.$ac_ext <<_ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 $ac_includes_default
21827 typedef long long ac__type_new_;
21831 if ((ac__type_new_ *) 0)
21833 if (sizeof (ac__type_new_))
21839 rm -f conftest.$ac_objext
21840 if { (ac_try="$ac_compile"
21841 case "(($ac_try" in
21842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21843 *) ac_try_echo=$ac_try;;
21845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 (eval "$ac_compile") 2>conftest.er1
21848 grep -v '^
*+' conftest.er1 >conftest.err
21850 cat conftest.err >&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); } && {
21853 test -z "$ac_c_werror_flag" ||
21854 test ! -s conftest.err
21855 } && test -s conftest.$ac_objext; then
21856 ac_cv_type_long_long=yes
21858 echo "$as_me: failed program was:" >&5
21859 sed 's
/^
/| /' conftest.$ac_ext >&5
21861 ac_cv_type_long_long=no
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21866 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21867 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21869 # The cast to long int works around a bug in the HP C Compiler
21870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21872 # This bug is HP SR number 8606223364.
21873 { echo "$as_me:$LINENO: checking size of long long" >&5
21874 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21875 if test "${ac_cv_sizeof_long_long+set}" = set; then
21876 echo $ECHO_N "(cached) $ECHO_C" >&6
21878 if test "$cross_compiling" = yes; then
21879 # Depending upon the size, compute the lo and hi bounds.
21880 cat >conftest.
$ac_ext <<_ACEOF
21883 cat confdefs.h
>>conftest.
$ac_ext
21884 cat >>conftest.
$ac_ext <<_ACEOF
21885 /* end confdefs.h. */
21886 $ac_includes_default
21887 typedef long long ac__type_sizeof_;
21891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21898 rm -f conftest.
$ac_objext
21899 if { (ac_try
="$ac_compile"
21900 case "(($ac_try" in
21901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21902 *) ac_try_echo=$ac_try;;
21904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21905 (eval "$ac_compile") 2>conftest.er1
21907 grep -v '^ *+' conftest.er1 >conftest.err
21909 cat conftest.err >&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); } && {
21912 test -z "$ac_c_werror_flag" ||
21913 test ! -s conftest.err
21914 } && test -s conftest.$ac_objext; then
21917 cat >conftest.$ac_ext <<_ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21935 rm -f conftest.$ac_objext
21936 if { (ac_try="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21939 *) ac_try_echo
=$ac_try;;
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21944 grep -v '^ *+' conftest.er1
>conftest.err
21946 cat conftest.err
>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.
$ac_objext; then
21952 ac_hi
=$ac_mid; break
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.
$ac_ext >&5
21957 ac_lo
=`expr $ac_mid + 1`
21958 if test $ac_lo -le $ac_mid; then
21962 ac_mid
=`expr 2 '*' $ac_mid + 1`
21965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.
$ac_ext >&5
21971 cat >conftest.
$ac_ext <<_ACEOF
21974 cat confdefs.h
>>conftest.
$ac_ext
21975 cat >>conftest.
$ac_ext <<_ACEOF
21976 /* end confdefs.h. */
21977 $ac_includes_default
21978 typedef long long ac__type_sizeof_;
21982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21989 rm -f conftest.
$ac_objext
21990 if { (ac_try
="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21998 grep -v '^ *+' conftest.er1 >conftest.err
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22008 cat >conftest.$ac_ext <<_ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22030 *) ac_try_echo
=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22035 grep -v '^ *+' conftest.er1
>conftest.err
22037 cat conftest.err
>&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.
$ac_objext; then
22043 ac_lo
=$ac_mid; break
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.
$ac_ext >&5
22048 ac_hi
=`expr '(' $ac_mid ')' - 1`
22049 if test $ac_mid -le $ac_hi; then
22053 ac_mid
=`expr 2 '*' $ac_mid`
22056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.
$ac_ext >&5
22065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22069 # Binary search between lo and hi bounds.
22070 while test "x$ac_lo" != "x$ac_hi"; do
22071 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22072 cat >conftest.
$ac_ext <<_ACEOF
22075 cat confdefs.h
>>conftest.
$ac_ext
22076 cat >>conftest.
$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 $ac_includes_default
22079 typedef long long ac__type_sizeof_;
22083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22090 rm -f conftest.
$ac_objext
22091 if { (ac_try
="$ac_compile"
22092 case "(($ac_try" in
22093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22094 *) ac_try_echo=$ac_try;;
22096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22097 (eval "$ac_compile") 2>conftest.er1
22099 grep -v '^ *+' conftest.er1 >conftest.err
22101 cat conftest.err >&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } && {
22104 test -z "$ac_c_werror_flag" ||
22105 test ! -s conftest.err
22106 } && test -s conftest.$ac_objext; then
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.$ac_ext >&5
22112 ac_lo=`expr '(' $ac_mid ')' + 1`
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22118 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22119 '') if test "$ac_cv_type_long_long" = yes; then
22120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22121 See \`config.log
' for more details." >&5
22122 echo "$as_me: error: cannot compute sizeof (long long)
22123 See \`config.log' for more details.
" >&2;}
22124 { (exit 77); exit 77; }; }
22126 ac_cv_sizeof_long_long=0
22130 cat >conftest.$ac_ext <<_ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 $ac_includes_default
22137 typedef long long ac__type_sizeof_;
22138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22141 #include <stdlib.h>
22146 FILE *f = fopen ("conftest.val
", "w
");
22149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22151 long int i = longval ();
22152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22154 fprintf (f, "%ld
\n", i);
22158 unsigned long int i = ulongval ();
22159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22161 fprintf (f, "%lu
\n", i);
22163 return ferror (f) || fclose (f) != 0;
22169 rm -f conftest$ac_exeext
22170 if { (ac_try="$ac_link"
22171 case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_link") 2>&5
22178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22180 { (case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_try") 2>&5
22187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_sizeof_long_long=`cat conftest.val`
22191 echo "$as_me: program exited with status
$ac_status" >&5
22192 echo "$as_me: failed program was
:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22195 ( exit $ac_status )
22196 if test "$ac_cv_type_long_long" = yes; then
22197 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22198 See \
`config.log' for more details." >&5
22199 echo "$as_me: error: cannot compute sizeof (long long)
22200 See \`config.log
' for more details." >&2;}
22201 { (exit 77); exit 77; }; }
22203 ac_cv_sizeof_long_long=0
22206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22211 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22215 cat >>confdefs.h <<_ACEOF
22216 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22222 { echo "$as_me:$LINENO: checking for long long" >&5
22223 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22224 if test "${ac_cv_type_long_long+set}" = set; then
22225 echo $ECHO_N "(cached) $ECHO_C" >&6
22227 cat >conftest.$ac_ext <<_ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22233 $ac_includes_default
22234 typedef long long ac__type_new_;
22238 if ((ac__type_new_ *) 0)
22240 if (sizeof (ac__type_new_))
22246 rm -f conftest.$ac_objext
22247 if { (ac_try="$ac_compile"
22248 case "(($ac_try" in
22249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_compile") 2>conftest.er1
22255 grep -v '^
*+' conftest.er1 >conftest.err
22257 cat conftest.err >&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } && {
22260 test -z "$ac_c_werror_flag" ||
22261 test ! -s conftest.err
22262 } && test -s conftest.$ac_objext; then
22263 ac_cv_type_long_long=yes
22265 echo "$as_me: failed program was:" >&5
22266 sed 's
/^
/| /' conftest.$ac_ext >&5
22268 ac_cv_type_long_long=no
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22273 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22274 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22276 # The cast to long int works around a bug in the HP C Compiler
22277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22279 # This bug is HP SR number 8606223364.
22280 { echo "$as_me:$LINENO: checking size of long long" >&5
22281 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22282 if test "${ac_cv_sizeof_long_long+set}" = set; then
22283 echo $ECHO_N "(cached) $ECHO_C" >&6
22285 if test "$cross_compiling" = yes; then
22286 # Depending upon the size, compute the lo and hi bounds.
22287 cat >conftest.
$ac_ext <<_ACEOF
22290 cat confdefs.h
>>conftest.
$ac_ext
22291 cat >>conftest.
$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 $ac_includes_default
22294 typedef long long ac__type_sizeof_;
22298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22305 rm -f conftest.
$ac_objext
22306 if { (ac_try
="$ac_compile"
22307 case "(($ac_try" in
22308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22309 *) ac_try_echo=$ac_try;;
22311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22312 (eval "$ac_compile") 2>conftest.er1
22314 grep -v '^ *+' conftest.er1 >conftest.err
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && {
22319 test -z "$ac_c_werror_flag" ||
22320 test ! -s conftest.err
22321 } && test -s conftest.$ac_objext; then
22324 cat >conftest.$ac_ext <<_ACEOF
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22330 $ac_includes_default
22331 typedef long long ac__type_sizeof_;
22335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22342 rm -f conftest.$ac_objext
22343 if { (ac_try="$ac_compile"
22344 case "(($ac_try" in
22345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22346 *) ac_try_echo
=$ac_try;;
22348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22349 (eval "$ac_compile") 2>conftest.er1
22351 grep -v '^ *+' conftest.er1
>conftest.err
22353 cat conftest.err
>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } && {
22356 test -z "$ac_c_werror_flag" ||
22357 test ! -s conftest.err
22358 } && test -s conftest.
$ac_objext; then
22359 ac_hi
=$ac_mid; break
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.
$ac_ext >&5
22364 ac_lo
=`expr $ac_mid + 1`
22365 if test $ac_lo -le $ac_mid; then
22369 ac_mid
=`expr 2 '*' $ac_mid + 1`
22372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.
$ac_ext >&5
22378 cat >conftest.
$ac_ext <<_ACEOF
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef long long ac__type_sizeof_;
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22396 rm -f conftest.
$ac_objext
22397 if { (ac_try
="$ac_compile"
22398 case "(($ac_try" in
22399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403 (eval "$ac_compile") 2>conftest.er1
22405 grep -v '^ *+' conftest.er1 >conftest.err
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && {
22410 test -z "$ac_c_werror_flag" ||
22411 test ! -s conftest.err
22412 } && test -s conftest.$ac_objext; then
22415 cat >conftest.$ac_ext <<_ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef long long ac__type_sizeof_;
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22437 *) ac_try_echo
=$ac_try;;
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22442 grep -v '^ *+' conftest.er1
>conftest.err
22444 cat conftest.err
>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.
$ac_objext; then
22450 ac_lo
=$ac_mid; break
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.
$ac_ext >&5
22455 ac_hi
=`expr '(' $ac_mid ')' - 1`
22456 if test $ac_mid -le $ac_hi; then
22460 ac_mid
=`expr 2 '*' $ac_mid`
22463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.
$ac_ext >&5
22472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22476 # Binary search between lo and hi bounds.
22477 while test "x$ac_lo" != "x$ac_hi"; do
22478 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22479 cat >conftest.
$ac_ext <<_ACEOF
22482 cat confdefs.h
>>conftest.
$ac_ext
22483 cat >>conftest.
$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 $ac_includes_default
22486 typedef long long ac__type_sizeof_;
22490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22497 rm -f conftest.
$ac_objext
22498 if { (ac_try
="$ac_compile"
22499 case "(($ac_try" in
22500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_compile") 2>conftest.er1
22506 grep -v '^ *+' conftest.er1 >conftest.err
22508 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } && {
22511 test -z "$ac_c_werror_flag" ||
22512 test ! -s conftest.err
22513 } && test -s conftest.$ac_objext; then
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22519 ac_lo=`expr '(' $ac_mid ')' + 1`
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22525 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22526 '') if test "$ac_cv_type_long_long" = yes; then
22527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22528 See \`config.log
' for more details." >&5
22529 echo "$as_me: error: cannot compute sizeof (long long)
22530 See \`config.log' for more details.
" >&2;}
22531 { (exit 77); exit 77; }; }
22533 ac_cv_sizeof_long_long=0
22537 cat >conftest.$ac_ext <<_ACEOF
22540 cat confdefs.h >>conftest.$ac_ext
22541 cat >>conftest.$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22543 $ac_includes_default
22544 typedef long long ac__type_sizeof_;
22545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22548 #include <stdlib.h>
22553 FILE *f = fopen ("conftest.val
", "w
");
22556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22558 long int i = longval ();
22559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22561 fprintf (f, "%ld
\n", i);
22565 unsigned long int i = ulongval ();
22566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22568 fprintf (f, "%lu
\n", i);
22570 return ferror (f) || fclose (f) != 0;
22576 rm -f conftest$ac_exeext
22577 if { (ac_try="$ac_link"
22578 case "(($ac_try" in
22579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22580 *) ac_try_echo=$ac_try;;
22582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_link") 2>&5
22585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22587 { (case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_try") 2>&5
22594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_cv_sizeof_long_long=`cat conftest.val`
22598 echo "$as_me: program exited with status
$ac_status" >&5
22599 echo "$as_me: failed program was
:" >&5
22600 sed 's/^/| /' conftest.$ac_ext >&5
22602 ( exit $ac_status )
22603 if test "$ac_cv_type_long_long" = yes; then
22604 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22605 See \
`config.log' for more details." >&5
22606 echo "$as_me: error: cannot compute sizeof (long long)
22607 See \`config.log
' for more details." >&2;}
22608 { (exit 77); exit 77; }; }
22610 ac_cv_sizeof_long_long=0
22613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22622 cat >>confdefs.h <<_ACEOF
22623 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22627 if test "$ac_cv_sizeof_long_long" != 0; then
22628 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22632 { echo "$as_me:$LINENO: checking for long long" >&5
22633 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22634 if test "${ac_cv_type_long_long+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22637 cat >conftest.$ac_ext <<_ACEOF
22640 cat confdefs.h >>conftest.$ac_ext
22641 cat >>conftest.$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 $ac_includes_default
22644 typedef long long ac__type_new_;
22648 if ((ac__type_new_ *) 0)
22650 if (sizeof (ac__type_new_))
22656 rm -f conftest.$ac_objext
22657 if { (ac_try="$ac_compile"
22658 case "(($ac_try" in
22659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_compile") 2>conftest.er1
22665 grep -v '^
*+' conftest.er1 >conftest.err
22667 cat conftest.err >&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); } && {
22670 test -z "$ac_c_werror_flag" ||
22671 test ! -s conftest.err
22672 } && test -s conftest.$ac_objext; then
22673 ac_cv_type_long_long=yes
22675 echo "$as_me: failed program was:" >&5
22676 sed 's
/^
/| /' conftest.$ac_ext >&5
22678 ac_cv_type_long_long=no
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22684 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22686 # The cast to long int works around a bug in the HP C Compiler
22687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22689 # This bug is HP SR number 8606223364.
22690 { echo "$as_me:$LINENO: checking size of long long" >&5
22691 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22692 if test "${ac_cv_sizeof_long_long+set}" = set; then
22693 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 if test "$cross_compiling" = yes; then
22696 # Depending upon the size, compute the lo and hi bounds.
22697 cat >conftest.
$ac_ext <<_ACEOF
22700 cat confdefs.h
>>conftest.
$ac_ext
22701 cat >>conftest.
$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 $ac_includes_default
22704 typedef long long ac__type_sizeof_;
22708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22715 rm -f conftest.
$ac_objext
22716 if { (ac_try
="$ac_compile"
22717 case "(($ac_try" in
22718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_compile") 2>conftest.er1
22724 grep -v '^ *+' conftest.er1 >conftest.err
22726 cat conftest.err >&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && {
22729 test -z "$ac_c_werror_flag" ||
22730 test ! -s conftest.err
22731 } && test -s conftest.$ac_objext; then
22734 cat >conftest.$ac_ext <<_ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 $ac_includes_default
22741 typedef long long ac__type_sizeof_;
22745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22752 rm -f conftest.$ac_objext
22753 if { (ac_try="$ac_compile"
22754 case "(($ac_try" in
22755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22756 *) ac_try_echo
=$ac_try;;
22758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22759 (eval "$ac_compile") 2>conftest.er1
22761 grep -v '^ *+' conftest.er1
>conftest.err
22763 cat conftest.err
>&5
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); } && {
22766 test -z "$ac_c_werror_flag" ||
22767 test ! -s conftest.err
22768 } && test -s conftest.
$ac_objext; then
22769 ac_hi
=$ac_mid; break
22771 echo "$as_me: failed program was:" >&5
22772 sed 's/^/| /' conftest.
$ac_ext >&5
22774 ac_lo
=`expr $ac_mid + 1`
22775 if test $ac_lo -le $ac_mid; then
22779 ac_mid
=`expr 2 '*' $ac_mid + 1`
22782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.
$ac_ext >&5
22788 cat >conftest.
$ac_ext <<_ACEOF
22791 cat confdefs.h
>>conftest.
$ac_ext
22792 cat >>conftest.
$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 typedef long long ac__type_sizeof_;
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22806 rm -f conftest.
$ac_objext
22807 if { (ac_try
="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22815 grep -v '^ *+' conftest.er1 >conftest.err
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22825 cat >conftest.$ac_ext <<_ACEOF
22828 cat confdefs.h >>conftest.$ac_ext
22829 cat >>conftest.$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 $ac_includes_default
22832 typedef long long ac__type_sizeof_;
22836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22843 rm -f conftest.$ac_objext
22844 if { (ac_try="$ac_compile"
22845 case "(($ac_try" in
22846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22847 *) ac_try_echo
=$ac_try;;
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_compile") 2>conftest.er1
22852 grep -v '^ *+' conftest.er1
>conftest.err
22854 cat conftest.err
>&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } && {
22857 test -z "$ac_c_werror_flag" ||
22858 test ! -s conftest.err
22859 } && test -s conftest.
$ac_objext; then
22860 ac_lo
=$ac_mid; break
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.
$ac_ext >&5
22865 ac_hi
=`expr '(' $ac_mid ')' - 1`
22866 if test $ac_mid -le $ac_hi; then
22870 ac_mid
=`expr 2 '*' $ac_mid`
22873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.
$ac_ext >&5
22882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22886 # Binary search between lo and hi bounds.
22887 while test "x$ac_lo" != "x$ac_hi"; do
22888 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22889 cat >conftest.
$ac_ext <<_ACEOF
22892 cat confdefs.h
>>conftest.
$ac_ext
22893 cat >>conftest.
$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895 $ac_includes_default
22896 typedef long long ac__type_sizeof_;
22900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22907 rm -f conftest.
$ac_objext
22908 if { (ac_try
="$ac_compile"
22909 case "(($ac_try" in
22910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_compile") 2>conftest.er1
22916 grep -v '^ *+' conftest.er1 >conftest.err
22918 cat conftest.err >&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } && {
22921 test -z "$ac_c_werror_flag" ||
22922 test ! -s conftest.err
22923 } && test -s conftest.$ac_objext; then
22926 echo "$as_me: failed program was:" >&5
22927 sed 's/^/| /' conftest.$ac_ext >&5
22929 ac_lo=`expr '(' $ac_mid ')' + 1`
22932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22936 '') if test "$ac_cv_type_long_long" = yes; then
22937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22938 See \`config.log
' for more details." >&5
22939 echo "$as_me: error: cannot compute sizeof (long long)
22940 See \`config.log' for more details.
" >&2;}
22941 { (exit 77); exit 77; }; }
22943 ac_cv_sizeof_long_long=0
22947 cat >conftest.$ac_ext <<_ACEOF
22950 cat confdefs.h >>conftest.$ac_ext
22951 cat >>conftest.$ac_ext <<_ACEOF
22952 /* end confdefs.h. */
22953 $ac_includes_default
22954 typedef long long ac__type_sizeof_;
22955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22958 #include <stdlib.h>
22963 FILE *f = fopen ("conftest.val
", "w
");
22966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22968 long int i = longval ();
22969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22971 fprintf (f, "%ld
\n", i);
22975 unsigned long int i = ulongval ();
22976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22978 fprintf (f, "%lu
\n", i);
22980 return ferror (f) || fclose (f) != 0;
22986 rm -f conftest$ac_exeext
22987 if { (ac_try="$ac_link"
22988 case "(($ac_try" in
22989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22990 *) ac_try_echo=$ac_try;;
22992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22993 (eval "$ac_link") 2>&5
22995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22997 { (case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_try") 2>&5
23004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23005 (exit $ac_status); }; }; then
23006 ac_cv_sizeof_long_long=`cat conftest.val`
23008 echo "$as_me: program exited with status
$ac_status" >&5
23009 echo "$as_me: failed program was
:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23012 ( exit $ac_status )
23013 if test "$ac_cv_type_long_long" = yes; then
23014 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23015 See \
`config.log' for more details." >&5
23016 echo "$as_me: error: cannot compute sizeof (long long)
23017 See \`config.log
' for more details." >&2;}
23018 { (exit 77); exit 77; }; }
23020 ac_cv_sizeof_long_long=0
23023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23028 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23032 cat >>confdefs.h <<_ACEOF
23033 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23039 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23040 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23041 if test "${ac_cv_type_wchar_t+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23044 cat >conftest.$ac_ext <<_ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23051 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23052 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23053 # error "fake wchar_t"
23055 #ifdef HAVE_WCHAR_H
23057 # include <stddef.h>
23059 # include <wchar.h>
23061 #ifdef HAVE_STDLIB_H
23062 # include <stdlib.h>
23068 typedef wchar_t ac__type_new_
;
23072 if ((ac__type_new_
*) 0)
23074 if (sizeof
(ac__type_new_
))
23080 rm -f conftest.
$ac_objext
23081 if { (ac_try
="$ac_compile"
23082 case "(($ac_try" in
23083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23084 *) ac_try_echo=$ac_try;;
23086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23087 (eval "$ac_compile") 2>conftest.er1
23089 grep -v '^ *+' conftest.er1 >conftest.err
23091 cat conftest.err >&5
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } && {
23094 test -z "$ac_c_werror_flag" ||
23095 test ! -s conftest.err
23096 } && test -s conftest.$ac_objext; then
23097 ac_cv_type_wchar_t=yes
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23102 ac_cv_type_wchar_t=no
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23107 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23108 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23110 # The cast to long int works around a bug in the HP C Compiler
23111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23112 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23113 # This bug is HP SR number 8606223364.
23114 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23115 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23116 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23119 if test "$cross_compiling" = yes; then
23120 # Depending upon the size, compute the lo and hi bounds.
23121 cat >conftest.$ac_ext <<_ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23128 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23129 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23130 # error "fake wchar_t"
23132 #ifdef HAVE_WCHAR_H
23134 # include <stddef.h>
23136 # include <wchar.h>
23138 #ifdef HAVE_STDLIB_H
23139 # include <stdlib.h>
23145 typedef wchar_t ac__type_sizeof_
;
23149 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23156 rm -f conftest.
$ac_objext
23157 if { (ac_try
="$ac_compile"
23158 case "(($ac_try" in
23159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23160 *) ac_try_echo=$ac_try;;
23162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23163 (eval "$ac_compile") 2>conftest.er1
23165 grep -v '^ *+' conftest.er1 >conftest.err
23167 cat conftest.err >&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } && {
23170 test -z "$ac_c_werror_flag" ||
23171 test ! -s conftest.err
23172 } && test -s conftest.$ac_objext; then
23175 cat >conftest.$ac_ext <<_ACEOF
23178 cat confdefs.h >>conftest.$ac_ext
23179 cat >>conftest.$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23182 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23183 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23184 # error "fake wchar_t"
23186 #ifdef HAVE_WCHAR_H
23188 # include <stddef.h>
23190 # include <wchar.h>
23192 #ifdef HAVE_STDLIB_H
23193 # include <stdlib.h>
23199 typedef wchar_t ac__type_sizeof_;
23203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23210 rm -f conftest.$ac_objext
23211 if { (ac_try="$ac_compile"
23212 case "(($ac_try" in
23213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23214 *) ac_try_echo
=$ac_try;;
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_compile") 2>conftest.er1
23219 grep -v '^ *+' conftest.er1
>conftest.err
23221 cat conftest.err
>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } && {
23224 test -z "$ac_c_werror_flag" ||
23225 test ! -s conftest.err
23226 } && test -s conftest.
$ac_objext; then
23227 ac_hi
=$ac_mid; break
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.
$ac_ext >&5
23232 ac_lo
=`expr $ac_mid + 1`
23233 if test $ac_lo -le $ac_mid; then
23237 ac_mid
=`expr 2 '*' $ac_mid + 1`
23240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.
$ac_ext >&5
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_;
23274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23281 rm -f conftest.
$ac_objext
23282 if { (ac_try
="$ac_compile"
23283 case "(($ac_try" in
23284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23285 *) ac_try_echo=$ac_try;;
23287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23288 (eval "$ac_compile") 2>conftest.er1
23290 grep -v '^ *+' conftest.er1 >conftest.err
23292 cat conftest.err >&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } && {
23295 test -z "$ac_c_werror_flag" ||
23296 test ! -s conftest.err
23297 } && test -s conftest.$ac_objext; then
23300 cat >conftest.$ac_ext <<_ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23307 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23308 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23309 # error "fake wchar_t"
23311 #ifdef HAVE_WCHAR_H
23313 # include <stddef.h>
23315 # include <wchar.h>
23317 #ifdef HAVE_STDLIB_H
23318 # include <stdlib.h>
23324 typedef wchar_t ac__type_sizeof_;
23328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23335 rm -f conftest.$ac_objext
23336 if { (ac_try="$ac_compile"
23337 case "(($ac_try" in
23338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23339 *) ac_try_echo
=$ac_try;;
23341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23342 (eval "$ac_compile") 2>conftest.er1
23344 grep -v '^ *+' conftest.er1
>conftest.err
23346 cat conftest.err
>&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); } && {
23349 test -z "$ac_c_werror_flag" ||
23350 test ! -s conftest.err
23351 } && test -s conftest.
$ac_objext; then
23352 ac_lo
=$ac_mid; break
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.
$ac_ext >&5
23357 ac_hi
=`expr '(' $ac_mid ')' - 1`
23358 if test $ac_mid -le $ac_hi; then
23362 ac_mid
=`expr 2 '*' $ac_mid`
23365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.
$ac_ext >&5
23374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23378 # Binary search between lo and hi bounds.
23379 while test "x$ac_lo" != "x$ac_hi"; do
23380 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23381 cat >conftest.
$ac_ext <<_ACEOF
23384 cat confdefs.h
>>conftest.
$ac_ext
23385 cat >>conftest.
$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23388 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23389 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23390 # error "fake wchar_t"
23392 #ifdef HAVE_WCHAR_H
23394 # include <stddef.h>
23396 # include <wchar.h>
23398 #ifdef HAVE_STDLIB_H
23399 # include <stdlib.h>
23405 typedef wchar_t ac__type_sizeof_;
23409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23416 rm -f conftest.
$ac_objext
23417 if { (ac_try
="$ac_compile"
23418 case "(($ac_try" in
23419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_compile") 2>conftest.er1
23425 grep -v '^ *+' conftest.er1 >conftest.err
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } && {
23430 test -z "$ac_c_werror_flag" ||
23431 test ! -s conftest.err
23432 } && test -s conftest.$ac_objext; then
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.$ac_ext >&5
23438 ac_lo=`expr '(' $ac_mid ')' + 1`
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23444 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23445 '') if test "$ac_cv_type_wchar_t" = yes; then
23446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23447 See \`config.log
' for more details." >&5
23448 echo "$as_me: error: cannot compute sizeof (wchar_t)
23449 See \`config.log' for more details.
" >&2;}
23450 { (exit 77); exit 77; }; }
23452 ac_cv_sizeof_wchar_t=0
23456 cat >conftest.$ac_ext <<_ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23463 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23464 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23465 # error "fake wchar_t
"
23467 #ifdef HAVE_WCHAR_H
23469 # include <stddef.h>
23471 # include <wchar.h>
23473 #ifdef HAVE_STDLIB_H
23474 # include <stdlib.h>
23480 typedef wchar_t ac__type_sizeof_;
23481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23484 #include <stdlib.h>
23489 FILE *f = fopen ("conftest.val
", "w
");
23492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23494 long int i = longval ();
23495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23497 fprintf (f, "%ld
\n", i);
23501 unsigned long int i = ulongval ();
23502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23504 fprintf (f, "%lu
\n", i);
23506 return ferror (f) || fclose (f) != 0;
23512 rm -f conftest$ac_exeext
23513 if { (ac_try="$ac_link"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_link") 2>&5
23521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23523 { (case "(($ac_try" in
23524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_try") 2>&5
23530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23531 (exit $ac_status); }; }; then
23532 ac_cv_sizeof_wchar_t=`cat conftest.val`
23534 echo "$as_me: program exited with status
$ac_status" >&5
23535 echo "$as_me: failed program was
:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23538 ( exit $ac_status )
23539 if test "$ac_cv_type_wchar_t" = yes; then
23540 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23541 See \
`config.log' for more details." >&5
23542 echo "$as_me: error: cannot compute sizeof (wchar_t)
23543 See \`config.log
' for more details." >&2;}
23544 { (exit 77); exit 77; }; }
23546 ac_cv_sizeof_wchar_t=0
23549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23554 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23558 cat >>confdefs.h <<_ACEOF
23559 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23563 if test "$ac_cv_sizeof_wchar_t" != 0; then
23569 { echo "$as_me:$LINENO: checking for va_copy" >&5
23570 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23571 if test "${wx_cv_func_va_copy+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23578 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23581 cat >conftest.$ac_ext <<_ACEOF
23583 #include <stdarg.h>
23584 void foo(char *f, ...)
23598 rm -f conftest.$ac_objext conftest$ac_exeext
23599 if { (ac_try="$ac_link"
23600 case "(($ac_try" in
23601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23602 *) ac_try_echo=$ac_try;;
23604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23605 (eval "$ac_link") 2>conftest.er1
23607 grep -v '^
*+' conftest.er1 >conftest.err
23609 cat conftest.err >&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); } && {
23612 test -z "$ac_cxx_werror_flag" ||
23613 test ! -s conftest.err
23614 } && test -s conftest$ac_exeext &&
23615 $as_test_x conftest$ac_exeext; then
23616 wx_cv_func_va_copy=yes
23618 echo "$as_me: failed program was:" >&5
23619 sed 's
/^
/| /' conftest.$ac_ext >&5
23621 wx_cv_func_va_copy=no
23625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23626 conftest$ac_exeext conftest.$ac_ext
23628 ac_cpp='$CPP $CPPFLAGS'
23629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23630 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23636 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23637 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23639 if test $wx_cv_func_va_copy = "yes"; then
23640 cat >>confdefs.h <<\_ACEOF
23641 #define HAVE_VA_COPY 1
23645 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23646 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23647 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23651 if test "$cross_compiling" = yes; then
23652 wx_cv_type_va_list_lvalue=yes
23655 cat >conftest.$ac_ext <<_ACEOF
23657 #include <stdarg.h>
23658 int foo(char *f, ...)
23663 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23671 return foo("hi", 17);
23674 rm -f conftest$ac_exeext
23675 if { (ac_try="$ac_link"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_link") 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23685 { (case "(($ac_try" in
23686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23687 *) ac_try_echo=$ac_try;;
23689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23690 (eval "$ac_try") 2>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 wx_cv_type_va_list_lvalue=yes
23696 echo "$as_me: program exited with status $ac_status" >&5
23697 echo "$as_me: failed program was:" >&5
23698 sed 's
/^
/| /' conftest.$ac_ext >&5
23700 ( exit $ac_status )
23701 wx_cv_type_va_list_lvalue=no
23703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23710 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23711 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23713 if test $wx_cv_type_va_list_lvalue != "yes"; then
23714 cat >>confdefs.h <<\_ACEOF
23715 #define VA_LIST_IS_ARRAY 1
23721 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23723 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23724 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23725 if test "${wx_cv_have_variadic_macros+set}" = set; then
23726 echo $ECHO_N "(cached) $ECHO_C" >&6
23730 ac_cpp='$CXXCPP $CPPFLAGS'
23731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23732 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23735 cat >conftest.$ac_ext <<_ACEOF
23738 cat confdefs.h >>conftest.$ac_ext
23739 cat >>conftest.$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23743 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23749 test("%s %d %p", "test", 1, 0);
23756 rm -f conftest.$ac_objext
23757 if { (ac_try="$ac_compile"
23758 case "(($ac_try" in
23759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23760 *) ac_try_echo=$ac_try;;
23762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23763 (eval "$ac_compile") 2>conftest.er1
23765 grep -v '^
*+' conftest.er1 >conftest.err
23767 cat conftest.err >&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } && {
23770 test -z "$ac_cxx_werror_flag" ||
23771 test ! -s conftest.err
23772 } && test -s conftest.$ac_objext; then
23773 wx_cv_have_variadic_macros=yes
23775 echo "$as_me: failed program was:" >&5
23776 sed 's
/^
/| /' conftest.$ac_ext >&5
23778 wx_cv_have_variadic_macros=no
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23786 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23792 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23793 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23795 if test $wx_cv_have_variadic_macros = "yes"; then
23796 cat >>confdefs.h <<\_ACEOF
23797 #define HAVE_VARIADIC_MACROS 1
23804 LARGEFILE_CPPFLAGS=
23805 # Check whether --enable-largefile was given.
23806 if test "${enable_largefile+set}" = set; then
23807 enableval=$enable_largefile;
23810 if test "$enable_largefile" != no; then
23813 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23814 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23815 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23816 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 cat >conftest.$ac_ext <<_ACEOF
23822 cat confdefs.h >>conftest.$ac_ext
23823 cat >>conftest.$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23825 #define _FILE_OFFSET_BITS 64
23826 #include <sys/types.h>
23831 unsigned int field: sizeof(off_t) == 8;
23838 rm -f conftest.$ac_objext
23839 if { (ac_try="$ac_compile"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_compile") 2>conftest.er1
23847 grep -v '^
*+' conftest.er1 >conftest.err
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } && {
23852 test -z "$ac_c_werror_flag" ||
23853 test ! -s conftest.err
23854 } && test -s conftest.$ac_objext; then
23855 ac_cv_sys_file_offset_bits=64
23857 echo "$as_me: failed program was:" >&5
23858 sed 's
/^
/| /' conftest.$ac_ext >&5
23860 ac_cv_sys_file_offset_bits=no
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23867 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23868 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23870 if test "$ac_cv_sys_file_offset_bits" != no; then
23872 cat >>confdefs.h <<_ACEOF
23873 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23878 if test "x$wx_largefile" != "xyes"; then
23880 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23881 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23882 if test "${ac_cv_sys_large_files+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23886 cat >conftest.$ac_ext <<_ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23892 #define _LARGE_FILES 1
23893 #include <sys/types.h>
23898 unsigned int field: sizeof(off_t) == 8;
23905 rm -f conftest.$ac_objext
23906 if { (ac_try="$ac_compile"
23907 case "(($ac_try" in
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23909 *) ac_try_echo=$ac_try;;
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23912 (eval "$ac_compile") 2>conftest.er1
23914 grep -v '^
*+' conftest.er1 >conftest.err
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } && {
23919 test -z "$ac_c_werror_flag" ||
23920 test ! -s conftest.err
23921 } && test -s conftest.$ac_objext; then
23922 ac_cv_sys_large_files=1
23924 echo "$as_me: failed program was:" >&5
23925 sed 's
/^
/| /' conftest.$ac_ext >&5
23927 ac_cv_sys_large_files=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23935 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23937 if test "$ac_cv_sys_large_files" != no; then
23939 cat >>confdefs.h <<_ACEOF
23940 #define _LARGE_FILES $ac_cv_sys_large_files
23947 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23948 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23949 if test "x$wx_largefile" = "xyes"; then
23950 cat >>confdefs.h <<\_ACEOF
23951 #define HAVE_LARGEFILE_SUPPORT 1
23955 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23956 echo "${ECHO_T}$wx_largefile" >&6; }
23959 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23960 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23961 elif test "$ac_cv_sys_large_files" = 1; then
23962 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23965 if test -n "$LARGEFILE_CPPFLAGS"; then
23966 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23968 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23969 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23970 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23971 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23976 ac_cpp='$CXXCPP $CPPFLAGS'
23977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23978 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23981 cat >conftest.$ac_ext <<_ACEOF
23984 cat confdefs.h >>conftest.$ac_ext
23985 cat >>conftest.$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23992 #ifndef __STDC_EXT__
24000 rm -f conftest.$ac_objext
24001 if { (ac_try="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24004 *) ac_try_echo=$ac_try;;
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24009 grep -v '^
*+' conftest.er1 >conftest.err
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } && {
24014 test -z "$ac_cxx_werror_flag" ||
24015 test ! -s conftest.err
24016 } && test -s conftest.$ac_objext; then
24017 wx_cv_STDC_EXT_required=no
24019 echo "$as_me: failed program was:" >&5
24020 sed 's
/^
/| /' conftest.$ac_ext >&5
24022 wx_cv_STDC_EXT_required=yes
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24028 ac_cpp='$CPP $CPPFLAGS'
24029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24030 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24036 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24037 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24038 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24039 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24045 ac_cpp='$CXXCPP $CPPFLAGS'
24046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24047 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24050 old_CPPFLAGS="$CPPFLAGS"
24051 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24052 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24053 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24054 if test "${ac_cv_sys_largefile_source+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 cat >conftest.$ac_ext <<_ACEOF
24061 cat confdefs.h >>conftest.$ac_ext
24062 cat >>conftest.$ac_ext <<_ACEOF
24063 /* end confdefs.h. */
24064 #include <sys/types.h> /* for off_t */
24069 int (*fp) (FILE *, off_t, int) = fseeko;
24070 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24075 rm -f conftest.$ac_objext conftest$ac_exeext
24076 if { (ac_try="$ac_link"
24077 case "(($ac_try" in
24078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24079 *) ac_try_echo=$ac_try;;
24081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24082 (eval "$ac_link") 2>conftest.er1
24084 grep -v '^
*+' conftest.er1 >conftest.err
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } && {
24089 test -z "$ac_cxx_werror_flag" ||
24090 test ! -s conftest.err
24091 } && test -s conftest$ac_exeext &&
24092 $as_test_x conftest$ac_exeext; then
24093 ac_cv_sys_largefile_source=no; break
24095 echo "$as_me: failed program was:" >&5
24096 sed 's
/^
/| /' conftest.$ac_ext >&5
24101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24102 conftest$ac_exeext conftest.$ac_ext
24103 cat >conftest.$ac_ext <<_ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #define _LARGEFILE_SOURCE 1
24110 #include <sys/types.h> /* for off_t */
24115 int (*fp) (FILE *, off_t, int) = fseeko;
24116 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24121 rm -f conftest.$ac_objext conftest$ac_exeext
24122 if { (ac_try="$ac_link"
24123 case "(($ac_try" in
24124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125 *) ac_try_echo=$ac_try;;
24127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24128 (eval "$ac_link") 2>conftest.er1
24130 grep -v '^
*+' conftest.er1 >conftest.err
24132 cat conftest.err >&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } && {
24135 test -z "$ac_cxx_werror_flag" ||
24136 test ! -s conftest.err
24137 } && test -s conftest$ac_exeext &&
24138 $as_test_x conftest$ac_exeext; then
24139 ac_cv_sys_largefile_source=1; break
24141 echo "$as_me: failed program was:" >&5
24142 sed 's
/^
/| /' conftest.$ac_ext >&5
24147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24148 conftest$ac_exeext conftest.$ac_ext
24149 ac_cv_sys_largefile_source=unknown
24153 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24154 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24155 case $ac_cv_sys_largefile_source in #(
24158 cat >>confdefs.h <<_ACEOF
24159 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24165 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24166 # in glibc 2.1.3, but that breaks too many other things.
24167 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24168 if test $ac_cv_sys_largefile_source != unknown; then
24170 cat >>confdefs.h <<\_ACEOF
24171 #define HAVE_FSEEKO 1
24176 CPPFLAGS="$old_CPPFLAGS"
24178 ac_cpp='$CPP $CPPFLAGS'
24179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24180 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 if test "$ac_cv_sys_largefile_source" != no; then
24184 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24187 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24188 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24189 if test "${ac_cv_c_bigendian+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24192 ac_cv_c_bigendian=unknown
24193 # See if sys/param.h defines the BYTE_ORDER macro.
24194 cat >conftest.$ac_ext <<_ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 #include <sys/types.h>
24201 #include <sys/param.h>
24206 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24207 bogus endian macros
24213 rm -f conftest.$ac_objext
24214 if { (ac_try="$ac_compile"
24215 case "(($ac_try" in
24216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217 *) ac_try_echo=$ac_try;;
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220 (eval "$ac_compile") 2>conftest.er1
24222 grep -v '^
*+' conftest.er1 >conftest.err
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } && {
24227 test -z "$ac_c_werror_flag" ||
24228 test ! -s conftest.err
24229 } && test -s conftest.$ac_objext; then
24230 # It does; now see whether it defined to BIG_ENDIAN or not.
24231 cat >conftest.$ac_ext <<_ACEOF
24234 cat confdefs.h >>conftest.$ac_ext
24235 cat >>conftest.$ac_ext <<_ACEOF
24236 /* end confdefs.h. */
24237 #include <sys/types.h>
24238 #include <sys/param.h>
24243 #if BYTE_ORDER != BIG_ENDIAN
24250 rm -f conftest.$ac_objext
24251 if { (ac_try="$ac_compile"
24252 case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_compile") 2>conftest.er1
24259 grep -v '^
*+' conftest.er1 >conftest.err
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && {
24264 test -z "$ac_c_werror_flag" ||
24265 test ! -s conftest.err
24266 } && test -s conftest.$ac_objext; then
24267 ac_cv_c_bigendian=yes
24269 echo "$as_me: failed program was:" >&5
24270 sed 's
/^
/| /' conftest.$ac_ext >&5
24272 ac_cv_c_bigendian=no
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277 echo "$as_me: failed program was:" >&5
24278 sed 's
/^
/| /' conftest.$ac_ext >&5
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 if test $ac_cv_c_bigendian = unknown; then
24285 if test "$cross_compiling" = yes; then
24286 ac_cv_c_bigendian=unknown
24288 cat >conftest.$ac_ext <<_ACEOF
24291 cat confdefs.h >>conftest.$ac_ext
24292 cat >>conftest.$ac_ext <<_ACEOF
24293 /* end confdefs.h. */
24295 /* Are we little or big endian? From Harbison&Steele. */
24299 char c[sizeof (long)];
24302 exit (u.c[sizeof (long) - 1] == 1);
24305 rm -f conftest$ac_exeext
24306 if { (ac_try="$ac_link"
24307 case "(($ac_try" in
24308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309 *) ac_try_echo=$ac_try;;
24311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24312 (eval "$ac_link") 2>&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24316 { (case "(($ac_try" in
24317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24318 *) ac_try_echo=$ac_try;;
24320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24321 (eval "$ac_try") 2>&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24325 ac_cv_c_bigendian=no
24327 echo "$as_me: program exited with status $ac_status" >&5
24328 echo "$as_me: failed program was:" >&5
24329 sed 's
/^
/| /' conftest.$ac_ext >&5
24331 ( exit $ac_status )
24332 ac_cv_c_bigendian=yes
24334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24340 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24341 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24342 if test $ac_cv_c_bigendian = unknown; then
24343 { 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
24344 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;}
24346 if test $ac_cv_c_bigendian = yes; then
24347 cat >>confdefs.h <<\_ACEOF
24348 #define WORDS_BIGENDIAN 1
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24359 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24364 for ac_header in iostream
24366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 cat >conftest.$ac_ext <<_ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24380 #include <$ac_header>
24382 rm -f conftest.$ac_objext
24383 if { (ac_try="$ac_compile"
24384 case "(($ac_try" in
24385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24386 *) ac_try_echo=$ac_try;;
24388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24389 (eval "$ac_compile") 2>conftest.er1
24391 grep -v '^
*+' conftest.er1 >conftest.err
24393 cat conftest.err >&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } && {
24396 test -z "$ac_cxx_werror_flag" ||
24397 test ! -s conftest.err
24398 } && test -s conftest.$ac_objext; then
24399 eval "$as_ac_Header=yes"
24401 echo "$as_me: failed program was:" >&5
24402 sed 's
/^
/| /' conftest.$ac_ext >&5
24404 eval "$as_ac_Header=no"
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409 ac_res=`eval echo '${'$as_ac_Header'}'`
24410 { echo "$as_me:$LINENO: result: $ac_res" >&5
24411 echo "${ECHO_T}$ac_res" >&6; }
24412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24413 cat >>confdefs.h <<_ACEOF
24414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24422 if test "$ac_cv_header_iostream" = "yes" ; then
24425 cat >>confdefs.h <<\_ACEOF
24426 #define wxUSE_IOSTREAMH 1
24432 ac_cpp='$CPP $CPPFLAGS'
24433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24440 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24441 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24442 if test "${wx_cv_explicit+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24448 ac_cpp='$CXXCPP $CPPFLAGS'
24449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24450 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24454 cat >conftest.$ac_ext <<_ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24461 class Foo { public: explicit Foo(int) {} };
24473 rm -f conftest.$ac_objext
24474 if { (ac_try="$ac_compile"
24475 case "(($ac_try" in
24476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24477 *) ac_try_echo=$ac_try;;
24479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24480 (eval "$ac_compile") 2>conftest.er1
24482 grep -v '^
*+' conftest.er1 >conftest.err
24484 cat conftest.err >&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); } && {
24487 test -z "$ac_cxx_werror_flag" ||
24488 test ! -s conftest.err
24489 } && test -s conftest.$ac_objext; then
24491 cat >conftest.$ac_ext <<_ACEOF
24494 cat confdefs.h >>conftest.$ac_ext
24495 cat >>conftest.$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24498 class Foo { public: explicit Foo(int) {} };
24499 static void TakeFoo(const Foo& foo) { }
24512 rm -f conftest.$ac_objext
24513 if { (ac_try="$ac_compile"
24514 case "(($ac_try" in
24515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24516 *) ac_try_echo=$ac_try;;
24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_compile") 2>conftest.er1
24521 grep -v '^
*+' conftest.er1 >conftest.err
24523 cat conftest.err >&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } && {
24526 test -z "$ac_cxx_werror_flag" ||
24527 test ! -s conftest.err
24528 } && test -s conftest.$ac_objext; then
24531 echo "$as_me: failed program was:" >&5
24532 sed 's
/^
/| /' conftest.$ac_ext >&5
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24541 echo "$as_me: failed program was:" >&5
24542 sed 's
/^
/| /' conftest.$ac_ext >&5
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24553 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24559 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24561 if test "$wx_cv_explicit" = "yes"; then
24562 cat >>confdefs.h <<\_ACEOF
24563 #define HAVE_EXPLICIT 1
24569 if test "x$SUNCXX" = xyes; then
24570 CXXFLAGS="-features=tmplife $CXXFLAGS"
24573 if test "x$SUNCC" = xyes; then
24574 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24577 if test "x$SGICC" = "xyes"; then
24578 CFLAGS="-woff 3970 $CFLAGS"
24580 if test "x$SGICXX" = "xyes"; then
24581 CXXFLAGS="-woff 3970 $CXXFLAGS"
24584 if test "x$HPCC" = "xyes"; then
24585 CFLAGS="+W 2011,2450 $CFLAGS"
24587 if test "x$HPCXX" = "xyes"; then
24588 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24591 if test "x$COMPAQCXX" = "xyes"; then
24592 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24596 ac_cpp='$CXXCPP $CPPFLAGS'
24597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24598 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24602 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24603 if test "$wxUSE_UNICODE" = "yes"; then
24604 std_string="std::wstring"
24605 char_type="wchar_t"
24607 std_string="std::string"
24611 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24612 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24613 if test "${wx_cv_class_stdstring+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 cat >conftest.$ac_ext <<_ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24632 rm -f conftest.$ac_objext
24633 if { (ac_try="$ac_compile"
24634 case "(($ac_try" in
24635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24636 *) ac_try_echo=$ac_try;;
24638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24639 (eval "$ac_compile") 2>conftest.er1
24641 grep -v '^
*+' conftest.er1 >conftest.err
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } && {
24646 test -z "$ac_cxx_werror_flag" ||
24647 test ! -s conftest.err
24648 } && test -s conftest.$ac_objext; then
24649 wx_cv_class_stdstring=yes
24651 echo "$as_me: failed program was:" >&5
24652 sed 's
/^
/| /' conftest.$ac_ext >&5
24654 wx_cv_class_stdstring=no
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24662 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24663 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24665 if test "$wx_cv_class_stdstring" = yes; then
24666 if test "$wxUSE_UNICODE" = "yes"; then
24667 cat >>confdefs.h <<\_ACEOF
24668 #define HAVE_STD_WSTRING 1
24673 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24674 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24675 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24676 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 cat >conftest.$ac_ext <<_ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24686 #ifdef HAVE_WCHAR_H
24688 # include <stddef.h>
24690 # include <wchar.h>
24692 #ifdef HAVE_STDLIB_H
24693 # include <stdlib.h>
24701 std::basic_string<$char_type> foo;
24702 const $char_type* dummy = foo.c_str();
24707 rm -f conftest.$ac_objext
24708 if { (ac_try="$ac_compile"
24709 case "(($ac_try" in
24710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24711 *) ac_try_echo=$ac_try;;
24713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24714 (eval "$ac_compile") 2>conftest.er1
24716 grep -v '^
*+' conftest.er1 >conftest.err
24718 cat conftest.err >&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); } && {
24721 test -z "$ac_cxx_werror_flag" ||
24722 test ! -s conftest.err
24723 } && test -s conftest.$ac_objext; then
24724 wx_cv_class_stdbasicstring=yes
24726 echo "$as_me: failed program was:" >&5
24727 sed 's
/^
/| /' conftest.$ac_ext >&5
24729 wx_cv_class_stdbasicstring=no
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24737 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24738 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24740 if test "$wx_cv_class_stdbasicstring" != yes; then
24741 if test "$wxUSE_STL" = "yes"; then
24742 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24743 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24744 { (exit 1); exit 1; }; }
24745 elif test "$wxUSE_STD_STRING" = "yes"; then
24746 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24747 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24748 { (exit 1); exit 1; }; }
24750 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24751 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24752 wxUSE_STD_STRING=no
24758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24759 { echo "$as_me:$LINENO: checking for std::istream" >&5
24760 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24761 if test "${ac_cv_type_std__istream+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 cat >conftest.$ac_ext <<_ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #include <iostream>
24772 typedef std::istream ac__type_new_;
24776 if ((ac__type_new_ *) 0)
24778 if (sizeof (ac__type_new_))
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 ac_cv_type_std__istream=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's
/^
/| /' conftest.$ac_ext >&5
24806 ac_cv_type_std__istream=no
24809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24812 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24813 if test $ac_cv_type_std__istream = yes; then
24815 cat >>confdefs.h <<_ACEOF
24816 #define HAVE_STD__ISTREAM 1
24821 wxUSE_STD_IOSTREAM=no
24823 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24824 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24825 if test "${ac_cv_type_std__ostream+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 cat >conftest.$ac_ext <<_ACEOF
24831 cat confdefs.h >>conftest.$ac_ext
24832 cat >>conftest.$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24834 #include <iostream>
24836 typedef std::ostream ac__type_new_;
24840 if ((ac__type_new_ *) 0)
24842 if (sizeof (ac__type_new_))
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24857 grep -v '^
*+' conftest.er1 >conftest.err
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_cxx_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 ac_cv_type_std__ostream=yes
24867 echo "$as_me: failed program was:" >&5
24868 sed 's
/^
/| /' conftest.$ac_ext >&5
24870 ac_cv_type_std__ostream=no
24873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24875 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24876 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24877 if test $ac_cv_type_std__ostream = yes; then
24879 cat >>confdefs.h <<_ACEOF
24880 #define HAVE_STD__OSTREAM 1
24885 wxUSE_STD_IOSTREAM=no
24889 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24890 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24891 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24892 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24893 { (exit 1); exit 1; }; }
24895 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24896 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24901 if test "$wxUSE_STL" = "yes"; then
24902 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24903 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24904 if test "${wx_cv_lib_stl+set}" = set; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24907 cat >conftest.$ac_ext <<_ACEOF
24910 cat confdefs.h >>conftest.$ac_ext
24911 cat >>conftest.$ac_ext <<_ACEOF
24912 /* end confdefs.h. */
24914 #include <functional>
24915 #include <algorithm>
24921 std::vector<int> moo;
24922 std::list<int> foo;
24923 std::vector<int>::iterator it =
24924 std::find_if(moo.begin(), moo.end(),
24925 std::bind2nd(std::less<int>(), 3));
24930 rm -f conftest.$ac_objext
24931 if { (ac_try="$ac_compile"
24932 case "(($ac_try" in
24933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24934 *) ac_try_echo=$ac_try;;
24936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24937 (eval "$ac_compile") 2>conftest.er1
24939 grep -v '^
*+' conftest.er1 >conftest.err
24941 cat conftest.err >&5
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); } && {
24944 test -z "$ac_cxx_werror_flag" ||
24945 test ! -s conftest.err
24946 } && test -s conftest.$ac_objext; then
24949 echo "$as_me: failed program was:" >&5
24950 sed 's
/^
/| /' conftest.$ac_ext >&5
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24959 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24960 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24962 if test "$wx_cv_lib_stl" != yes; then
24963 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24964 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24965 { (exit 1); exit 1; }; }
24968 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24969 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24970 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6
24973 cat >conftest.$ac_ext <<_ACEOF
24976 cat confdefs.h >>conftest.$ac_ext
24977 cat >>conftest.$ac_ext <<_ACEOF
24978 /* end confdefs.h. */
24983 std::string foo, bar;
24985 foo.compare(1, 1, bar);
24986 foo.compare(1, 1, bar, 1, 1);
24988 foo.compare(1, 1, "");
24989 foo.compare(1, 1, "", 2);
24994 rm -f conftest.$ac_objext
24995 if { (ac_try="$ac_compile"
24996 case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_compile") 2>conftest.er1
25003 grep -v '^
*+' conftest.er1 >conftest.err
25005 cat conftest.err >&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && {
25008 test -z "$ac_cxx_werror_flag" ||
25009 test ! -s conftest.err
25010 } && test -s conftest.$ac_objext; then
25011 wx_cv_func_stdstring_compare=yes
25013 echo "$as_me: failed program was:" >&5
25014 sed 's
/^
/| /' conftest.$ac_ext >&5
25016 wx_cv_func_stdstring_compare=no
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25023 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25024 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25026 if test "$wx_cv_func_stdstring_compare" = yes; then
25027 cat >>confdefs.h <<\_ACEOF
25028 #define HAVE_STD_STRING_COMPARE 1
25033 if test "$wx_cv_class_gnuhashmapset" = yes; then
25034 cat >>confdefs.h <<\_ACEOF
25035 #define HAVE_EXT_HASH_MAP 1
25038 cat >>confdefs.h <<\_ACEOF
25039 #define HAVE_GNU_CXX_HASH_MAP 1
25044 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25045 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25046 if test "${ac_cv_header_unordered_map+set}" = set; then
25047 echo $ECHO_N "(cached) $ECHO_C" >&6
25049 cat >conftest.$ac_ext <<_ACEOF
25052 cat confdefs.h >>conftest.$ac_ext
25053 cat >>conftest.$ac_ext <<_ACEOF
25054 /* end confdefs.h. */
25058 #include <unordered_map>
25060 rm -f conftest.$ac_objext
25061 if { (ac_try="$ac_compile"
25062 case "(($ac_try" in
25063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25064 *) ac_try_echo=$ac_try;;
25066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25067 (eval "$ac_compile") 2>conftest.er1
25069 grep -v '^
*+' conftest.er1 >conftest.err
25071 cat conftest.err >&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } && {
25074 test -z "$ac_cxx_werror_flag" ||
25075 test ! -s conftest.err
25076 } && test -s conftest.$ac_objext; then
25077 ac_cv_header_unordered_map=yes
25079 echo "$as_me: failed program was:" >&5
25080 sed 's
/^
/| /' conftest.$ac_ext >&5
25082 ac_cv_header_unordered_map=no
25085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25087 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25088 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25089 if test $ac_cv_header_unordered_map = yes; then
25090 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25091 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25092 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25093 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 cat >conftest.$ac_ext <<_ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 #include <unordered_map>
25102 #include <unordered_set>
25106 std::unordered_map<double*, char*> test1;
25107 std::unordered_set<char*> test2;
25112 rm -f conftest.$ac_objext
25113 if { (ac_try="$ac_compile"
25114 case "(($ac_try" in
25115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25116 *) ac_try_echo=$ac_try;;
25118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25119 (eval "$ac_compile") 2>conftest.er1
25121 grep -v '^
*+' conftest.er1 >conftest.err
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } && {
25126 test -z "$ac_cxx_werror_flag" ||
25127 test ! -s conftest.err
25128 } && test -s conftest.$ac_objext; then
25129 wx_cv_class_stdunorderedmapset=yes
25131 echo "$as_me: failed program was:" >&5
25132 sed 's
/^
/| /' conftest.$ac_ext >&5
25134 wx_cv_class_stdunorderedmapset=no
25137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25141 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25142 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25147 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25148 cat >>confdefs.h <<\_ACEOF
25149 #define HAVE_STD_UNORDERED_MAP 1
25152 cat >>confdefs.h <<\_ACEOF
25153 #define HAVE_STD_UNORDERED_SET 1
25157 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25158 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25159 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 cat >conftest.$ac_ext <<_ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25171 #include <tr1/unordered_map>
25173 rm -f conftest.$ac_objext
25174 if { (ac_try="$ac_compile"
25175 case "(($ac_try" in
25176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25177 *) ac_try_echo=$ac_try;;
25179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25180 (eval "$ac_compile") 2>conftest.er1
25182 grep -v '^
*+' conftest.er1 >conftest.err
25184 cat conftest.err >&5
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); } && {
25187 test -z "$ac_cxx_werror_flag" ||
25188 test ! -s conftest.err
25189 } && test -s conftest.$ac_objext; then
25190 ac_cv_header_tr1_unordered_map=yes
25192 echo "$as_me: failed program was:" >&5
25193 sed 's
/^
/| /' conftest.$ac_ext >&5
25195 ac_cv_header_tr1_unordered_map=no
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25200 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25201 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25202 if test $ac_cv_header_tr1_unordered_map = yes; then
25203 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25204 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25205 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25206 echo $ECHO_N "(cached) $ECHO_C" >&6
25208 cat >conftest.$ac_ext <<_ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214 #include <tr1/unordered_map>
25215 #include <tr1/unordered_set>
25219 std::tr1::unordered_map<double*, char*> test1;
25220 std::tr1::unordered_set<char*> test2;
25221 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25222 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25228 rm -f conftest.
$ac_objext
25229 if { (ac_try
="$ac_compile"
25230 case "(($ac_try" in
25231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25232 *) ac_try_echo=$ac_try;;
25234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25235 (eval "$ac_compile") 2>conftest.er1
25237 grep -v '^ *+' conftest.er1 >conftest.err
25239 cat conftest.err >&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } && {
25242 test -z "$ac_cxx_werror_flag" ||
25243 test ! -s conftest.err
25244 } && test -s conftest.$ac_objext; then
25245 wx_cv_class_tr1unorderedmapset=yes
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25250 wx_cv_class_tr1unorderedmapset=no
25253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25258 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25263 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25264 cat >>confdefs.h <<\_ACEOF
25265 #define HAVE_TR1_UNORDERED_MAP 1
25268 cat >>confdefs.h <<\_ACEOF
25269 #define HAVE_TR1_UNORDERED_SET 1
25273 { echo "$as_me:$LINENO: checking for hash_map" >&5
25274 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25275 if test "${ac_cv_header_hash_map+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 cat >conftest.$ac_ext <<_ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25287 #include <hash_map>
25289 rm -f conftest.$ac_objext
25290 if { (ac_try="$ac_compile"
25291 case "(($ac_try" in
25292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25293 *) ac_try_echo
=$ac_try;;
25295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25296 (eval "$ac_compile") 2>conftest.er1
25298 grep -v '^ *+' conftest.er1
>conftest.err
25300 cat conftest.err
>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && {
25303 test -z "$ac_cxx_werror_flag" ||
25304 test ! -s conftest.err
25305 } && test -s conftest.
$ac_objext; then
25306 ac_cv_header_hash_map
=yes
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.
$ac_ext >&5
25311 ac_cv_header_hash_map
=no
25314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25316 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25317 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25318 if test $ac_cv_header_hash_map = yes; then
25319 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25320 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25321 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25322 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 cat >conftest.
$ac_ext <<_ACEOF
25327 cat confdefs.h
>>conftest.
$ac_ext
25328 cat >>conftest.
$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25330 #include <hash_map>
25331 #include <hash_set>
25335 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25336 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25341 rm -f conftest.
$ac_objext
25342 if { (ac_try
="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25350 grep -v '^ *+' conftest.er1 >conftest.err
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_class_stdhashmapset=yes
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25363 wx_cv_class_stdhashmapset=no
25366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25370 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25371 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25376 if test "$wx_cv_class_stdhashmapset" = yes; then
25377 cat >>confdefs.h <<\_ACEOF
25378 #define HAVE_HASH_MAP 1
25381 cat >>confdefs.h <<\_ACEOF
25382 #define HAVE_STD_HASH_MAP 1
25387 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25388 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25389 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25392 cat >conftest.$ac_ext <<_ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25401 #include <ext/hash_map>
25403 rm -f conftest.$ac_objext
25404 if { (ac_try="$ac_compile"
25405 case "(($ac_try" in
25406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25407 *) ac_try_echo
=$ac_try;;
25409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25410 (eval "$ac_compile") 2>conftest.er1
25412 grep -v '^ *+' conftest.er1
>conftest.err
25414 cat conftest.err
>&5
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); } && {
25417 test -z "$ac_cxx_werror_flag" ||
25418 test ! -s conftest.err
25419 } && test -s conftest.
$ac_objext; then
25420 ac_cv_header_ext_hash_map
=yes
25422 echo "$as_me: failed program was:" >&5
25423 sed 's/^/| /' conftest.
$ac_ext >&5
25425 ac_cv_header_ext_hash_map
=no
25428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25430 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25431 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25432 if test $ac_cv_header_ext_hash_map = yes; then
25433 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25434 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25435 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25436 echo $ECHO_N "(cached) $ECHO_C" >&6
25438 cat >conftest.
$ac_ext <<_ACEOF
25441 cat confdefs.h
>>conftest.
$ac_ext
25442 cat >>conftest.
$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25444 #include <ext/hash_map>
25445 #include <ext/hash_set>
25449 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25450 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25455 rm -f conftest.
$ac_objext
25456 if { (ac_try
="$ac_compile"
25457 case "(($ac_try" in
25458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25459 *) ac_try_echo=$ac_try;;
25461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25462 (eval "$ac_compile") 2>conftest.er1
25464 grep -v '^ *+' conftest.er1 >conftest.err
25466 cat conftest.err >&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); } && {
25469 test -z "$ac_cxx_werror_flag" ||
25470 test ! -s conftest.err
25471 } && test -s conftest.$ac_objext; then
25472 wx_cv_class_gnuhashmapset=yes
25474 echo "$as_me: failed program was:" >&5
25475 sed 's/^/| /' conftest.$ac_ext >&5
25477 wx_cv_class_gnuhashmapset=no
25480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25484 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25485 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25496 if test -n "$GCC"; then
25497 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25498 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25499 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 cat >conftest.$ac_ext <<_ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25514 unsigned int value=0;
25515 /* wxAtomicInc doesn't use return value here */
25516 __sync_fetch_and_add(&value, 2);
25517 __sync_sub_and_fetch(&value, 1);
25518 /* but wxAtomicDec does, so mimic that: */
25519 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25525 rm -f conftest.$ac_objext conftest$ac_exeext
25526 if { (ac_try="$ac_link"
25527 case "(($ac_try" in
25528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25529 *) ac_try_echo
=$ac_try;;
25531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25532 (eval "$ac_link") 2>conftest.er1
25534 grep -v '^ *+' conftest.er1
>conftest.err
25536 cat conftest.err
>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } && {
25539 test -z "$ac_cxx_werror_flag" ||
25540 test ! -s conftest.err
25541 } && test -s conftest
$ac_exeext &&
25542 $as_test_x conftest
$ac_exeext; then
25543 wx_cv_cc_gcc_atomic_builtins
=yes
25545 echo "$as_me: failed program was:" >&5
25546 sed 's/^/| /' conftest.
$ac_ext >&5
25548 wx_cv_cc_gcc_atomic_builtins
=no
25551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25552 conftest
$ac_exeext conftest.
$ac_ext
25556 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25557 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25558 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25559 cat >>confdefs.h
<<\_ACEOF
25560 #define HAVE_GCC_ATOMIC_BUILTINS 1
25568 ac_cpp
='$CPP $CPPFLAGS'
25569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25576 /usr/local/include \
25577 /usr/local/X11/include \
25578 /usr/local/include/X11 \
25579 /usr/local/X11R7/include \
25580 /usr/local/X11R6/include \
25581 /usr/local/include/X11R7 \
25582 /usr/local/include/X11R6 \
25584 /usr/Motif-2.1/include \
25585 /usr/Motif-1.2/include \
25586 /usr/include/Motif1.2 \
25589 /usr/openwin/include \
25593 /usr/X11R7/include \
25594 /usr/X11R6/include \
25595 /usr/X11R6.4/include \
25597 /usr/include/X11R7 \
25598 /usr/include/X11R6 \
25603 /usr/XFree86/include/X11 \
25606 /usr/local/X1R5/include \
25607 /usr/local/include/X11R5 \
25608 /usr/X11R5/include \
25609 /usr/include/X11R5 \
25611 /usr/local/X11R4/include \
25612 /usr/local/include/X11R4 \
25613 /usr/X11R4/include \
25614 /usr/include/X11R4 \
25616 /usr/openwin/share/include"
25618 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25619 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25623 if test "${wx_cv_std_libpath+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25628 for e
in a so sl dylib dll.a
; do
25630 if test -f $libc; then
25633 cat >conftest.
$ac_ext <<_ACEOF
25634 int main() { return 0; }
25636 rm -f conftest.
$ac_objext conftest
$ac_exeext
25637 if { (ac_try
="$ac_link"
25638 case "(($ac_try" in
25639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25640 *) ac_try_echo=$ac_try;;
25642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25643 (eval "$ac_link") 2>conftest.er1
25645 grep -v '^ *+' conftest.er1 >conftest.err
25647 cat conftest.err >&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); } && {
25650 test -z "$ac_c_werror_flag" ||
25651 test ! -s conftest.err
25652 } && test -s conftest$ac_exeext &&
25653 $as_test_x conftest$ac_exeext; then
25654 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25663 conftest$ac_exeext conftest.$ac_ext
25665 if test "x$wx_cv_std_libpath" != "x"; then
25671 if test "x$wx_cv_std_libpath" = "x"; then
25672 wx_cv_std_libpath="lib"
25681 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25682 wx_cv_std_libpath="lib/64"
25684 wx_cv_std_libpath="lib"
25689 if test "$ac_cv_sizeof_void_p" = 8 -a \
25690 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25691 wx_cv_std_libpath="lib64"
25693 wx_cv_std_libpath="lib"
25698 wx_cv_std_libpath="lib";
25702 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25703 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25705 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25707 if test "$build" != "$host" -a "$GCC" = yes; then
25708 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25709 cross_root=`dirname $cross_root`
25710 cross_root=`dirname $cross_root`
25712 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25713 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25714 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25716 if test -z "$PKG_CONFIG_PATH"; then
25717 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25718 export PKG_CONFIG_PATH
25721 if test -z "$x_includes" -o "$x_includes" = NONE; then
25724 for ac_dir in $SEARCH_INCLUDE /usr/include;
25726 if test -f "$ac_dir/X11/Intrinsic.h"; then
25727 ac_find_includes=$ac_dir
25732 x_includes=$ac_find_includes
25734 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25737 for ac_dir in $SEARCH_LIB;
25739 for ac_extension in a so sl dylib dll.a; do
25740 if test -f "$ac_dir/libXt.$ac_extension"; then
25741 ac_find_libraries=$ac_dir
25747 x_libraries=$ac_find_libraries
25753 cat >confcache <<\_ACEOF
25754 # This file is a shell script that caches the results of configure
25755 # tests run on this system so they can be shared between configure
25756 # scripts and configure runs, see configure's option --config-cache.
25757 # It is not useful on other systems. If it contains results you don't
25758 # want to keep, you may remove or edit it.
25760 # config.status only pays attention to the cache file if you give it
25761 # the --recheck option to rerun configure.
25763 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25764 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25765 # following values.
25769 # The following way of writing the cache mishandles newlines in values,
25770 # but we know of no workaround that is simple, portable, and efficient.
25771 # So, we kill variables containing newlines.
25772 # Ultrix sh set writes to stderr and can't be redirected directly,
25773 # and sets the high bit in the cache file unless we assign to the vars.
25775 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25776 eval ac_val
=\$
$ac_var
25780 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25781 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25784 _
| IFS
| as_nl
) ;; #(
25785 *) $as_unset $ac_var ;;
25791 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25792 *${as_nl}ac_space
=\
*)
25793 # `set' does not quote correctly, so add quotes (double-quote
25794 # substitution turns \\\\ into \\, and sed turns \\ into \).
25797 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25800 # `set' quotes correctly as required by POSIX, so do not add quotes.
25801 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25810 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25812 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25814 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25815 if test -w "$cache_file"; then
25816 test "x$cache_file" != "x/dev/null" &&
25817 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25818 echo "$as_me: updating cache $cache_file" >&6;}
25819 cat confcache
>$cache_file
25821 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25822 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25827 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25828 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25829 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25830 if test "${wx_cv_lib_glibc21+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25834 cat >conftest.
$ac_ext <<_ACEOF
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 #include <features.h>
25845 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25853 rm -f conftest.
$ac_objext
25854 if { (ac_try
="$ac_compile"
25855 case "(($ac_try" in
25856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25857 *) ac_try_echo=$ac_try;;
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_compile") 2>conftest.er1
25862 grep -v '^ *+' conftest.er1 >conftest.err
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_c_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest.$ac_objext; then
25871 wx_cv_lib_glibc21=yes
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.$ac_ext >&5
25878 wx_cv_lib_glibc21=no
25883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25886 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25887 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25888 if test "$wx_cv_lib_glibc21" = "yes"; then
25889 cat >>confdefs.h <<\_ACEOF
25890 #define wxHAVE_GLIBC2 1
25896 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25897 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25898 cat >>confdefs.h <<\_ACEOF
25899 #define _GNU_SOURCE 1
25910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 cat >conftest.$ac_ext <<_ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25924 #define $ac_func innocuous_$ac_func
25926 /* System header to define __stub macros and hopefully few prototypes,
25927 which can conflict with char $ac_func (); below.
25928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25929 <limits.h> exists even on freestanding compilers. */
25932 # include <limits.h>
25934 # include <assert.h>
25939 /* Override any GCC internal prototype to avoid an error.
25940 Use char because int might match the return type of a GCC
25941 builtin and then its argument prototype would still apply. */
25946 /* The GNU C library defines this for functions which it implements
25947 to always fail with ENOSYS. Some functions are actually named
25948 something starting with __ and the normal name is an alias. */
25949 #if defined __stub_$ac_func || defined __stub___$ac_func
25956 return $ac_func ();
25961 rm -f conftest.$ac_objext conftest$ac_exeext
25962 if { (ac_try="$ac_link"
25963 case "(($ac_try" in
25964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25965 *) ac_try_echo
=$ac_try;;
25967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968 (eval "$ac_link") 2>conftest.er1
25970 grep -v '^ *+' conftest.er1
>conftest.err
25972 cat conftest.err
>&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } && {
25975 test -z "$ac_c_werror_flag" ||
25976 test ! -s conftest.err
25977 } && test -s conftest
$ac_exeext &&
25978 $as_test_x conftest
$ac_exeext; then
25979 eval "$as_ac_var=yes"
25981 echo "$as_me: failed program was:" >&5
25982 sed 's/^/| /' conftest.
$ac_ext >&5
25984 eval "$as_ac_var=no"
25987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25988 conftest
$ac_exeext conftest.
$ac_ext
25990 ac_res
=`eval echo '${'$as_ac_var'}'`
25991 { echo "$as_me:$LINENO: result: $ac_res" >&5
25992 echo "${ECHO_T}$ac_res" >&6; }
25993 if test `eval echo '${'$as_ac_var'}'` = yes; then
25994 cat >>confdefs.h
<<_ACEOF
25995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26002 for ac_func
in floor
26004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26007 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 cat >conftest.
$ac_ext <<_ACEOF
26013 cat confdefs.h
>>conftest.
$ac_ext
26014 cat >>conftest.
$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26018 #define $ac_func innocuous_$ac_func
26020 /* System header to define __stub macros and hopefully few prototypes,
26021 which can conflict with char $ac_func (); below.
26022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26023 <limits.h> exists even on freestanding compilers. */
26026 # include <limits.h>
26028 # include <assert.h>
26033 /* Override any GCC internal prototype to avoid an error.
26034 Use char because int might match the return type of a GCC
26035 builtin and then its argument prototype would still apply. */
26040 /* The GNU C library defines this for functions which it implements
26041 to always fail with ENOSYS. Some functions are actually named
26042 something starting with __ and the normal name is an alias. */
26043 #if defined __stub_$ac_func || defined __stub___$ac_func
26050 return $ac_func ();
26055 rm -f conftest.
$ac_objext conftest
$ac_exeext
26056 if { (ac_try
="$ac_link"
26057 case "(($ac_try" in
26058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26059 *) ac_try_echo=$ac_try;;
26061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26062 (eval "$ac_link") 2>conftest.er1
26064 grep -v '^ *+' conftest.er1 >conftest.err
26066 cat conftest.err >&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); } && {
26069 test -z "$ac_c_werror_flag" ||
26070 test ! -s conftest.err
26071 } && test -s conftest$ac_exeext &&
26072 $as_test_x conftest$ac_exeext; then
26073 eval "$as_ac_var=yes"
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.$ac_ext >&5
26078 eval "$as_ac_var=no"
26081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26082 conftest$ac_exeext conftest.$ac_ext
26084 ac_res=`eval echo '${'$as_ac_var'}'`
26085 { echo "$as_me:$LINENO: result: $ac_res" >&5
26086 echo "${ECHO_T}$ac_res" >&6; }
26087 if test `eval echo '${'$as_ac_var'}'` = yes; then
26088 cat >>confdefs.h <<_ACEOF
26089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26095 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26096 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26097 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26098 { echo "$as_me:$LINENO: result: yes" >&5
26099 echo "${ECHO_T}yes" >&6; }
26101 { echo "$as_me:$LINENO: result: no" >&5
26102 echo "${ECHO_T}no" >&6; }
26104 # use different functions to avoid configure caching
26110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26114 echo $ECHO_N "(cached) $ECHO_C" >&6
26116 cat >conftest.$ac_ext <<_ACEOF
26119 cat confdefs.h >>conftest.$ac_ext
26120 cat >>conftest.$ac_ext <<_ACEOF
26121 /* end confdefs.h. */
26122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26124 #define $ac_func innocuous_$ac_func
26126 /* System header to define __stub macros and hopefully few prototypes,
26127 which can conflict with char $ac_func (); below.
26128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26129 <limits.h> exists even on freestanding compilers. */
26132 # include <limits.h>
26134 # include <assert.h>
26139 /* Override any GCC internal prototype to avoid an error.
26140 Use char because int might match the return type of a GCC
26141 builtin and then its argument prototype would still apply. */
26146 /* The GNU C library defines this for functions which it implements
26147 to always fail with ENOSYS. Some functions are actually named
26148 something starting with __ and the normal name is an alias. */
26149 #if defined __stub_$ac_func || defined __stub___$ac_func
26156 return $ac_func ();
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (ac_try="$ac_link"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26165 *) ac_try_echo
=$ac_try;;
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_link") 2>conftest.er1
26170 grep -v '^ *+' conftest.er1
>conftest.err
26172 cat conftest.err
>&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest
$ac_exeext &&
26178 $as_test_x conftest
$ac_exeext; then
26179 eval "$as_ac_var=yes"
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.
$ac_ext >&5
26184 eval "$as_ac_var=no"
26187 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26188 conftest
$ac_exeext conftest.
$ac_ext
26190 ac_res
=`eval echo '${'$as_ac_var'}'`
26191 { echo "$as_me:$LINENO: result: $ac_res" >&5
26192 echo "${ECHO_T}$ac_res" >&6; }
26193 if test `eval echo '${'$as_ac_var'}'` = yes; then
26194 cat >>confdefs.h
<<_ACEOF
26195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26202 for ac_func
in ceil
26204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26207 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26210 cat >conftest.
$ac_ext <<_ACEOF
26213 cat confdefs.h
>>conftest.
$ac_ext
26214 cat >>conftest.
$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26218 #define $ac_func innocuous_$ac_func
26220 /* System header to define __stub macros and hopefully few prototypes,
26221 which can conflict with char $ac_func (); below.
26222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26223 <limits.h> exists even on freestanding compilers. */
26226 # include <limits.h>
26228 # include <assert.h>
26233 /* Override any GCC internal prototype to avoid an error.
26234 Use char because int might match the return type of a GCC
26235 builtin and then its argument prototype would still apply. */
26240 /* The GNU C library defines this for functions which it implements
26241 to always fail with ENOSYS. Some functions are actually named
26242 something starting with __ and the normal name is an alias. */
26243 #if defined __stub_$ac_func || defined __stub___$ac_func
26250 return $ac_func ();
26255 rm -f conftest.
$ac_objext conftest
$ac_exeext
26256 if { (ac_try
="$ac_link"
26257 case "(($ac_try" in
26258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26259 *) ac_try_echo=$ac_try;;
26261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26262 (eval "$ac_link") 2>conftest.er1
26264 grep -v '^ *+' conftest.er1 >conftest.err
26266 cat conftest.err >&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } && {
26269 test -z "$ac_c_werror_flag" ||
26270 test ! -s conftest.err
26271 } && test -s conftest$ac_exeext &&
26272 $as_test_x conftest$ac_exeext; then
26273 eval "$as_ac_var=yes"
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26278 eval "$as_ac_var=no"
26281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26282 conftest$ac_exeext conftest.$ac_ext
26284 ac_res=`eval echo '${'$as_ac_var'}'`
26285 { echo "$as_me:$LINENO: result: $ac_res" >&5
26286 echo "${ECHO_T}$ac_res" >&6; }
26287 if test `eval echo '${'$as_ac_var'}'` = yes; then
26288 cat >>confdefs.h <<_ACEOF
26289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26295 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26296 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26297 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26298 { echo "$as_me:$LINENO: result: yes" >&5
26299 echo "${ECHO_T}yes" >&6; }
26301 { echo "$as_me:$LINENO: result: no" >&5
26302 echo "${ECHO_T}no" >&6; }
26303 # not sure we should warn the user, crash, etc.
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26313 if test "wxUSE_UNICODE" = "yes"; then
26315 for wx_func in wcstoull
26317 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26318 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26319 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26323 cat >conftest.$ac_ext <<_ACEOF
26327 cat confdefs.h >>conftest.$ac_ext
26328 cat >>conftest.$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26332 $ac_includes_default
26348 rm -f conftest.$ac_objext conftest$ac_exeext
26349 if { (ac_try="$ac_link"
26350 case "(($ac_try" in
26351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26352 *) ac_try_echo
=$ac_try;;
26354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26355 (eval "$ac_link") 2>conftest.er1
26357 grep -v '^ *+' conftest.er1
>conftest.err
26359 cat conftest.err
>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } && {
26362 test -z "$ac_cxx_werror_flag" ||
26363 test ! -s conftest.err
26364 } && test -s conftest
$ac_exeext &&
26365 $as_test_x conftest
$ac_exeext; then
26366 eval wx_cv_func_
$wx_func=yes
26368 echo "$as_me: failed program was:" >&5
26369 sed 's/^/| /' conftest.
$ac_ext >&5
26371 eval wx_cv_func_
$wx_func=no
26374 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26375 conftest
$ac_exeext conftest.
$ac_ext
26378 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26379 { echo "$as_me:$LINENO: result: $ac_res" >&5
26380 echo "${ECHO_T}$ac_res" >&6; }
26382 if eval test \
$wx_cv_func_$wx_func = yes
26384 cat >>confdefs.h
<<_ACEOF
26385 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26397 for wx_func
in strtoull
26399 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26400 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26401 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26405 cat >conftest.
$ac_ext <<_ACEOF
26409 cat confdefs.h
>>conftest.
$ac_ext
26410 cat >>conftest.
$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26414 $ac_includes_default
26430 rm -f conftest.
$ac_objext conftest
$ac_exeext
26431 if { (ac_try
="$ac_link"
26432 case "(($ac_try" in
26433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_link") 2>conftest.er1
26439 grep -v '^ *+' conftest.er1 >conftest.err
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_cxx_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest$ac_exeext &&
26447 $as_test_x conftest$ac_exeext; then
26448 eval wx_cv_func_$wx_func=yes
26450 echo "$as_me: failed program was:" >&5
26451 sed 's/^/| /' conftest.$ac_ext >&5
26453 eval wx_cv_func_$wx_func=no
26456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26457 conftest$ac_exeext conftest.$ac_ext
26460 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26461 { echo "$as_me:$LINENO: result: $ac_res" >&5
26462 echo "${ECHO_T}$ac_res" >&6; }
26464 if eval test \$wx_cv_func_$wx_func = yes
26466 cat >>confdefs.h <<_ACEOF
26467 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26479 ac_cpp='$CPP $CPPFLAGS'
26480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26487 if test "$wxUSE_REGEX" != "no"; then
26488 cat >>confdefs.h <<\_ACEOF
26489 #define wxUSE_REGEX 1
26493 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26494 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26495 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26496 wxUSE_REGEX=builtin
26499 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26500 { echo "$as_me:$LINENO: checking for regex.h" >&5
26501 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26502 if test "${ac_cv_header_regex_h+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26505 cat >conftest.$ac_ext <<_ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26515 rm -f conftest.$ac_objext
26516 if { (ac_try="$ac_compile"
26517 case "(($ac_try" in
26518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26519 *) ac_try_echo
=$ac_try;;
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_compile") 2>conftest.er1
26524 grep -v '^ *+' conftest.er1
>conftest.err
26526 cat conftest.err
>&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } && {
26529 test -z "$ac_c_werror_flag" ||
26530 test ! -s conftest.err
26531 } && test -s conftest.
$ac_objext; then
26532 ac_cv_header_regex_h
=yes
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.
$ac_ext >&5
26537 ac_cv_header_regex_h
=no
26540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26542 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26543 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26544 if test $ac_cv_header_regex_h = yes; then
26547 for ac_func
in regcomp re_search
26549 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26550 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26552 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 cat >conftest.
$ac_ext <<_ACEOF
26558 cat confdefs.h
>>conftest.
$ac_ext
26559 cat >>conftest.
$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26563 #define $ac_func innocuous_$ac_func
26565 /* System header to define __stub macros and hopefully few prototypes,
26566 which can conflict with char $ac_func (); below.
26567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26568 <limits.h> exists even on freestanding compilers. */
26571 # include <limits.h>
26573 # include <assert.h>
26578 /* Override any GCC internal prototype to avoid an error.
26579 Use char because int might match the return type of a GCC
26580 builtin and then its argument prototype would still apply. */
26585 /* The GNU C library defines this for functions which it implements
26586 to always fail with ENOSYS. Some functions are actually named
26587 something starting with __ and the normal name is an alias. */
26588 #if defined __stub_$ac_func || defined __stub___$ac_func
26595 return $ac_func ();
26600 rm -f conftest.
$ac_objext conftest
$ac_exeext
26601 if { (ac_try
="$ac_link"
26602 case "(($ac_try" in
26603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26604 *) ac_try_echo=$ac_try;;
26606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26607 (eval "$ac_link") 2>conftest.er1
26609 grep -v '^ *+' conftest.er1 >conftest.err
26611 cat conftest.err >&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } && {
26614 test -z "$ac_c_werror_flag" ||
26615 test ! -s conftest.err
26616 } && test -s conftest$ac_exeext &&
26617 $as_test_x conftest$ac_exeext; then
26618 eval "$as_ac_var=yes"
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.$ac_ext >&5
26623 eval "$as_ac_var=no"
26626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26627 conftest$ac_exeext conftest.$ac_ext
26629 ac_res=`eval echo '${'$as_ac_var'}'`
26630 { echo "$as_me:$LINENO: result: $ac_res" >&5
26631 echo "${ECHO_T}$ac_res" >&6; }
26632 if test `eval echo '${'$as_ac_var'}'` = yes; then
26633 cat >>confdefs.h <<_ACEOF
26634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26644 if test "x$ac_cv_func_regcomp" != "xyes"; then
26645 if test "$wxUSE_REGEX" = "sys" ; then
26646 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26647 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26648 { (exit 1); exit 1; }; }
26650 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26651 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26652 wxUSE_REGEX=builtin
26656 cat >>confdefs.h <<\_ACEOF
26657 #define WX_NO_REGEX_ADVANCED 1
26666 if test "$wxUSE_ZLIB" != "no" ; then
26667 cat >>confdefs.h <<\_ACEOF
26668 #define wxUSE_ZLIB 1
26672 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26673 if test "$USE_DARWIN" = 1; then
26674 system_zlib_h_ok="yes"
26676 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26677 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26678 if test "${ac_cv_header_zlib_h+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26681 if test "$cross_compiling" = yes; then
26682 unset ac_cv_header_zlib_h
26685 cat >conftest.$ac_ext <<_ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26697 FILE *f=fopen("conftestval", "w");
26700 ZLIB_VERSION[0] == '1' &&
26701 (ZLIB_VERSION[2] > '1' ||
26702 (ZLIB_VERSION[2] == '1' &&
26703 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26708 rm -f conftest$ac_exeext
26709 if { (ac_try="$ac_link"
26710 case "(($ac_try" in
26711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26712 *) ac_try_echo
=$ac_try;;
26714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26715 (eval "$ac_link") 2>&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26719 { (case "(($ac_try" in
26720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26721 *) ac_try_echo=$ac_try;;
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724 (eval "$ac_try") 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; }; then
26728 ac_cv_header_zlib_h=`cat conftestval
`
26730 echo "$as_me: program exited with status $ac_status" >&5
26731 echo "$as_me: failed program was:" >&5
26732 sed 's/^/| /' conftest.$ac_ext >&5
26734 ( exit $ac_status )
26735 ac_cv_header_zlib_h=no
26737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26743 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26744 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26745 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26746 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26747 if test "${ac_cv_header_zlib_h+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 cat >conftest.$ac_ext <<_ACEOF
26753 cat confdefs.h >>conftest.$ac_ext
26754 cat >>conftest.$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26760 rm -f conftest.$ac_objext
26761 if { (ac_try="$ac_compile"
26762 case "(($ac_try" in
26763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26764 *) ac_try_echo
=$ac_try;;
26766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767 (eval "$ac_compile") 2>conftest.er1
26769 grep -v '^ *+' conftest.er1
>conftest.err
26771 cat conftest.err
>&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } && {
26774 test -z "$ac_c_werror_flag" ||
26775 test ! -s conftest.err
26776 } && test -s conftest.
$ac_objext; then
26777 ac_cv_header_zlib_h
=yes
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.
$ac_ext >&5
26782 ac_cv_header_zlib_h
=no
26785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26787 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26788 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26792 system_zlib_h_ok
=$ac_cv_header_zlib_h
26795 if test "$system_zlib_h_ok" = "yes"; then
26796 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26797 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26798 if test "${ac_cv_lib_z_deflate+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26801 ac_check_lib_save_LIBS
=$LIBS
26803 cat >conftest.
$ac_ext <<_ACEOF
26806 cat confdefs.h
>>conftest.
$ac_ext
26807 cat >>conftest.
$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26810 /* Override any GCC internal prototype to avoid an error.
26811 Use char because int might match the return type of a GCC
26812 builtin and then its argument prototype would still apply. */
26825 rm -f conftest.
$ac_objext conftest
$ac_exeext
26826 if { (ac_try
="$ac_link"
26827 case "(($ac_try" in
26828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26829 *) ac_try_echo=$ac_try;;
26831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26832 (eval "$ac_link") 2>conftest.er1
26834 grep -v '^ *+' conftest.er1 >conftest.err
26836 cat conftest.err >&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } && {
26839 test -z "$ac_c_werror_flag" ||
26840 test ! -s conftest.err
26841 } && test -s conftest$ac_exeext &&
26842 $as_test_x conftest$ac_exeext; then
26843 ac_cv_lib_z_deflate=yes
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26848 ac_cv_lib_z_deflate=no
26851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26852 conftest$ac_exeext conftest.$ac_ext
26853 LIBS=$ac_check_lib_save_LIBS
26855 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26856 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26857 if test $ac_cv_lib_z_deflate = yes; then
26863 if test "x$ZLIB_LINK" = "x" ; then
26864 if test "$wxUSE_ZLIB" = "sys" ; then
26865 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26866 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26867 { (exit 1); exit 1; }; }
26869 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26870 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26881 if test "$wxUSE_LIBPNG" != "no" ; then
26882 cat >>confdefs.h <<\_ACEOF
26883 #define wxUSE_LIBPNG 1
26887 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26888 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26889 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26893 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26894 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26895 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26896 wxUSE_LIBPNG=builtin
26899 if test "$wxUSE_MGL" != 1 ; then
26900 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26901 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26902 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26903 if test "${ac_cv_header_png_h+set}" = set; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26906 if test "$cross_compiling" = yes; then
26907 unset ac_cv_header_png_h
26910 cat >conftest.$ac_ext <<_ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26922 FILE *f=fopen("conftestval", "w");
26925 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26930 rm -f conftest$ac_exeext
26931 if { (ac_try="$ac_link"
26932 case "(($ac_try" in
26933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26934 *) ac_try_echo
=$ac_try;;
26936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26937 (eval "$ac_link") 2>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26941 { (case "(($ac_try" in
26942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26943 *) ac_try_echo=$ac_try;;
26945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26946 (eval "$ac_try") 2>&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; }; then
26950 ac_cv_header_png_h=`cat conftestval
`
26952 echo "$as_me: program exited with status $ac_status" >&5
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26956 ( exit $ac_status )
26957 ac_cv_header_png_h=no
26959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26965 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26966 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26967 { echo "$as_me:$LINENO: checking for png.h" >&5
26968 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26969 if test "${ac_cv_header_png_h+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26972 cat >conftest.$ac_ext <<_ACEOF
26975 cat confdefs.h >>conftest.$ac_ext
26976 cat >>conftest.$ac_ext <<_ACEOF
26977 /* end confdefs.h. */
26982 rm -f conftest.$ac_objext
26983 if { (ac_try="$ac_compile"
26984 case "(($ac_try" in
26985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26986 *) ac_try_echo
=$ac_try;;
26988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26989 (eval "$ac_compile") 2>conftest.er1
26991 grep -v '^ *+' conftest.er1
>conftest.err
26993 cat conftest.err
>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } && {
26996 test -z "$ac_c_werror_flag" ||
26997 test ! -s conftest.err
26998 } && test -s conftest.
$ac_objext; then
26999 ac_cv_header_png_h
=yes
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.
$ac_ext >&5
27004 ac_cv_header_png_h
=no
27007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27009 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27010 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27014 if test "$ac_cv_header_png_h" = "yes"; then
27015 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27016 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27017 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 ac_check_lib_save_LIBS
=$LIBS
27021 LIBS
="-lpng -lz -lm $LIBS"
27022 cat >conftest.
$ac_ext <<_ACEOF
27025 cat confdefs.h
>>conftest.
$ac_ext
27026 cat >>conftest.
$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27029 /* Override any GCC internal prototype to avoid an error.
27030 Use char because int might match the return type of a GCC
27031 builtin and then its argument prototype would still apply. */
27035 char png_check_sig ();
27039 return png_check_sig ();
27044 rm -f conftest.
$ac_objext conftest
$ac_exeext
27045 if { (ac_try
="$ac_link"
27046 case "(($ac_try" in
27047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27048 *) ac_try_echo=$ac_try;;
27050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27051 (eval "$ac_link") 2>conftest.er1
27053 grep -v '^ *+' conftest.er1 >conftest.err
27055 cat conftest.err >&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } && {
27058 test -z "$ac_c_werror_flag" ||
27059 test ! -s conftest.err
27060 } && test -s conftest$ac_exeext &&
27061 $as_test_x conftest$ac_exeext; then
27062 ac_cv_lib_png_png_check_sig=yes
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27067 ac_cv_lib_png_png_check_sig=no
27070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27071 conftest$ac_exeext conftest.$ac_ext
27072 LIBS=$ac_check_lib_save_LIBS
27074 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27075 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27076 if test $ac_cv_lib_png_png_check_sig = yes; then
27077 PNG_LINK=" -lpng -lz"
27082 if test "x$PNG_LINK" = "x" ; then
27083 if test "$wxUSE_LIBPNG" = "sys" ; then
27084 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27085 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27086 { (exit 1); exit 1; }; }
27088 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27089 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27090 wxUSE_LIBPNG=builtin
27101 if test "$wxUSE_LIBJPEG" != "no" ; then
27102 cat >>confdefs.h <<\_ACEOF
27103 #define wxUSE_LIBJPEG 1
27107 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27108 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27109 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27113 if test "$wxUSE_MGL" != 1 ; then
27114 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27115 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27116 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27117 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27118 echo $ECHO_N "(cached) $ECHO_C" >&6
27120 cat >conftest.$ac_ext <<_ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 #undef HAVE_STDLIB_H
27129 #include <jpeglib.h>
27140 rm -f conftest.$ac_objext
27141 if { (ac_try="$ac_compile"
27142 case "(($ac_try" in
27143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27144 *) ac_try_echo
=$ac_try;;
27146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27147 (eval "$ac_compile") 2>conftest.er1
27149 grep -v '^ *+' conftest.er1
>conftest.err
27151 cat conftest.err
>&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); } && {
27154 test -z "$ac_c_werror_flag" ||
27155 test ! -s conftest.err
27156 } && test -s conftest.
$ac_objext; then
27157 ac_cv_header_jpeglib_h
=yes
27159 echo "$as_me: failed program was:" >&5
27160 sed 's/^/| /' conftest.
$ac_ext >&5
27162 ac_cv_header_jpeglib_h
=no
27166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27170 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27171 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27173 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27174 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27175 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27176 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 ac_check_lib_save_LIBS
=$LIBS
27180 LIBS
="-ljpeg $LIBS"
27181 cat >conftest.
$ac_ext <<_ACEOF
27184 cat confdefs.h
>>conftest.
$ac_ext
27185 cat >>conftest.
$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27188 /* Override any GCC internal prototype to avoid an error.
27189 Use char because int might match the return type of a GCC
27190 builtin and then its argument prototype would still apply. */
27194 char jpeg_read_header ();
27198 return jpeg_read_header ();
27203 rm -f conftest.
$ac_objext conftest
$ac_exeext
27204 if { (ac_try
="$ac_link"
27205 case "(($ac_try" in
27206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_link") 2>conftest.er1
27212 grep -v '^ *+' conftest.er1 >conftest.err
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && {
27217 test -z "$ac_c_werror_flag" ||
27218 test ! -s conftest.err
27219 } && test -s conftest$ac_exeext &&
27220 $as_test_x conftest$ac_exeext; then
27221 ac_cv_lib_jpeg_jpeg_read_header=yes
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27226 ac_cv_lib_jpeg_jpeg_read_header=no
27229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27230 conftest$ac_exeext conftest.$ac_ext
27231 LIBS=$ac_check_lib_save_LIBS
27233 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27234 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27235 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27236 JPEG_LINK=" -ljpeg"
27241 if test "x$JPEG_LINK" = "x" ; then
27242 if test "$wxUSE_LIBJPEG" = "sys" ; then
27243 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27244 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27245 { (exit 1); exit 1; }; }
27247 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27248 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27249 wxUSE_LIBJPEG=builtin
27254 if test "$wxUSE_MSW" = 1; then
27255 { echo "$as_me:$LINENO: checking for boolean" >&5
27256 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27257 if test "${ac_cv_type_boolean+set}" = set; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 cat >conftest.$ac_ext <<_ACEOF
27263 cat confdefs.h >>conftest.$ac_ext
27264 cat >>conftest.$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 #include <windows.h>
27268 typedef boolean ac__type_new_;
27272 if ((ac__type_new_ *) 0)
27274 if (sizeof (ac__type_new_))
27280 rm -f conftest.$ac_objext
27281 if { (ac_try="$ac_compile"
27282 case "(($ac_try" in
27283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27284 *) ac_try_echo
=$ac_try;;
27286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27287 (eval "$ac_compile") 2>conftest.er1
27289 grep -v '^ *+' conftest.er1
>conftest.err
27291 cat conftest.err
>&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } && {
27294 test -z "$ac_c_werror_flag" ||
27295 test ! -s conftest.err
27296 } && test -s conftest.
$ac_objext; then
27297 ac_cv_type_boolean
=yes
27299 echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.
$ac_ext >&5
27302 ac_cv_type_boolean
=no
27305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27307 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27308 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27309 if test $ac_cv_type_boolean = yes; then
27311 cat >>confdefs.h
<<_ACEOF
27312 #define HAVE_BOOLEAN 1
27316 { echo "$as_me:$LINENO: checking for boolean" >&5
27317 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27318 if test "${ac_cv_type_boolean+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27321 cat >conftest.
$ac_ext <<_ACEOF
27324 cat confdefs.h
>>conftest.
$ac_ext
27325 cat >>conftest.
$ac_ext <<_ACEOF
27326 /* end confdefs.h. */
27328 #undef HAVE_BOOLEAN
27330 #include <jpeglib.h>
27333 typedef boolean ac__type_new_;
27337 if ((ac__type_new_ *) 0)
27339 if (sizeof (ac__type_new_))
27345 rm -f conftest.
$ac_objext
27346 if { (ac_try
="$ac_compile"
27347 case "(($ac_try" in
27348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_compile") 2>conftest.er1
27354 grep -v '^ *+' conftest.er1 >conftest.err
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest.$ac_objext; then
27362 ac_cv_type_boolean=yes
27364 echo "$as_me: failed program was:" >&5
27365 sed 's/^/| /' conftest.$ac_ext >&5
27367 ac_cv_type_boolean=no
27370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27372 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27373 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27375 # The cast to long int works around a bug in the HP C Compiler
27376 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27377 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27378 # This bug is HP SR number 8606223364.
27379 { echo "$as_me:$LINENO: checking size of boolean" >&5
27380 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27381 if test "${ac_cv_sizeof_boolean+set}" = set; then
27382 echo $ECHO_N "(cached) $ECHO_C" >&6
27384 if test "$cross_compiling" = yes; then
27385 # Depending upon the size, compute the lo and hi bounds.
27386 cat >conftest.$ac_ext <<_ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27393 #undef HAVE_BOOLEAN
27395 #include <jpeglib.h>
27398 typedef boolean ac__type_sizeof_;
27402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27409 rm -f conftest.$ac_objext
27410 if { (ac_try="$ac_compile"
27411 case "(($ac_try" in
27412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413 *) ac_try_echo=$ac_try;;
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416 (eval "$ac_compile") 2>conftest.er1
27418 grep -v '^
*+' conftest.er1 >conftest.err
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } && {
27423 test -z "$ac_c_werror_flag" ||
27424 test ! -s conftest.err
27425 } && test -s conftest.$ac_objext; then
27428 cat >conftest.$ac_ext <<_ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h. */
27435 #undef HAVE_BOOLEAN
27437 #include <jpeglib.h>
27440 typedef boolean ac__type_sizeof_;
27444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27451 rm -f conftest.$ac_objext
27452 if { (ac_try="$ac_compile"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_compile") 2>conftest.er1
27460 grep -v '^
*+' conftest.er1 >conftest.err
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest.$ac_objext; then
27468 ac_hi=$ac_mid; break
27470 echo "$as_me: failed program was:" >&5
27471 sed 's
/^
/| /' conftest.$ac_ext >&5
27473 ac_lo=`expr $ac_mid + 1`
27474 if test $ac_lo -le $ac_mid; then
27478 ac_mid=`expr 2 '*' $ac_mid + 1`
27481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27484 echo "$as_me: failed program was:" >&5
27485 sed 's
/^
/| /' conftest.$ac_ext >&5
27487 cat >conftest.$ac_ext <<_ACEOF
27490 cat confdefs.h >>conftest.$ac_ext
27491 cat >>conftest.$ac_ext <<_ACEOF
27492 /* end confdefs.h. */
27494 #undef HAVE_BOOLEAN
27496 #include <jpeglib.h>
27499 typedef boolean ac__type_sizeof_;
27503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27510 rm -f conftest.$ac_objext
27511 if { (ac_try="$ac_compile"
27512 case "(($ac_try" in
27513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27514 *) ac_try_echo=$ac_try;;
27516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27517 (eval "$ac_compile") 2>conftest.er1
27519 grep -v '^
*+' conftest.er1 >conftest.err
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } && {
27524 test -z "$ac_c_werror_flag" ||
27525 test ! -s conftest.err
27526 } && test -s conftest.$ac_objext; then
27529 cat >conftest.$ac_ext <<_ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27536 #undef HAVE_BOOLEAN
27538 #include <jpeglib.h>
27541 typedef boolean ac__type_sizeof_;
27545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27552 rm -f conftest.$ac_objext
27553 if { (ac_try="$ac_compile"
27554 case "(($ac_try" in
27555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27556 *) ac_try_echo=$ac_try;;
27558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27559 (eval "$ac_compile") 2>conftest.er1
27561 grep -v '^
*+' conftest.er1 >conftest.err
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } && {
27566 test -z "$ac_c_werror_flag" ||
27567 test ! -s conftest.err
27568 } && test -s conftest.$ac_objext; then
27569 ac_lo=$ac_mid; break
27571 echo "$as_me: failed program was:" >&5
27572 sed 's
/^
/| /' conftest.$ac_ext >&5
27574 ac_hi=`expr '(' $ac_mid ')' - 1`
27575 if test $ac_mid -le $ac_hi; then
27579 ac_mid=`expr 2 '*' $ac_mid`
27582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27585 echo "$as_me: failed program was:" >&5
27586 sed 's
/^
/| /' conftest.$ac_ext >&5
27591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27595 # Binary search between lo and hi bounds.
27596 while test "x$ac_lo" != "x$ac_hi"; do
27597 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27598 cat >conftest.$ac_ext <<_ACEOF
27601 cat confdefs.h >>conftest.$ac_ext
27602 cat >>conftest.$ac_ext <<_ACEOF
27603 /* end confdefs.h. */
27605 #undef HAVE_BOOLEAN
27607 #include <jpeglib.h>
27610 typedef boolean ac__type_sizeof_;
27614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27621 rm -f conftest.$ac_objext
27622 if { (ac_try="$ac_compile"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_compile") 2>conftest.er1
27630 grep -v '^
*+' conftest.er1 >conftest.err
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } && {
27635 test -z "$ac_c_werror_flag" ||
27636 test ! -s conftest.err
27637 } && test -s conftest.$ac_objext; then
27640 echo "$as_me: failed program was:" >&5
27641 sed 's
/^
/| /' conftest.$ac_ext >&5
27643 ac_lo=`expr '(' $ac_mid ')' + 1`
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27649 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27650 '') if test "$ac_cv_type_boolean" = yes; then
27651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27652 See \`config.log' for more details.
" >&5
27653 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27654 See \
`config.log' for more details." >&2;}
27655 { (exit 77); exit 77; }; }
27657 ac_cv_sizeof_boolean=0
27661 cat >conftest.$ac_ext <<_ACEOF
27664 cat confdefs.h >>conftest.$ac_ext
27665 cat >>conftest.$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27668 #undef HAVE_BOOLEAN
27670 #include <jpeglib.h>
27673 typedef boolean ac__type_sizeof_;
27674 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27675 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27677 #include <stdlib.h>
27682 FILE *f = fopen ("conftest.val", "w");
27685 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27687 long int i = longval ();
27688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27690 fprintf (f, "%ld\n", i);
27694 unsigned long int i = ulongval ();
27695 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27697 fprintf (f, "%lu\n", i);
27699 return ferror (f) || fclose (f) != 0;
27705 rm -f conftest$ac_exeext
27706 if { (ac_try="$ac_link"
27707 case "(($ac_try" in
27708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27709 *) ac_try_echo
=$ac_try;;
27711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712 (eval "$ac_link") 2>&5
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27716 { (case "(($ac_try" in
27717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27718 *) ac_try_echo=$ac_try;;
27720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27721 (eval "$ac_try") 2>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; }; then
27725 ac_cv_sizeof_boolean=`cat conftest.val
`
27727 echo "$as_me: program exited with status $ac_status" >&5
27728 echo "$as_me: failed program was:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27731 ( exit $ac_status )
27732 if test "$ac_cv_type_boolean" = yes; then
27733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27734 See \`config.log
' for more details." >&5
27735 echo "$as_me: error: cannot compute sizeof (boolean)
27736 See \`config.log' for more details.
" >&2;}
27737 { (exit 77); exit 77; }; }
27739 ac_cv_sizeof_boolean=0
27742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27746 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27747 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27751 cat >>confdefs.h <<_ACEOF
27752 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27756 cat >>confdefs.h <<_ACEOF
27757 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27771 TIFF_PREREQ_LINKS=-lm
27772 if test "$wxUSE_LIBTIFF" != "no
" ; then
27773 cat >>confdefs.h <<\_ACEOF
27774 #define wxUSE_LIBTIFF 1
27778 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27779 if test "$wxUSE_LIBJPEG" = "sys
"; then
27780 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27782 if test "$wxUSE_ZLIB" = "sys
"; then
27783 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27785 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27786 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27787 if test "${ac_cv_header_tiffio_h+set}" = set; then
27788 echo $ECHO_N "(cached
) $ECHO_C" >&6
27790 cat >conftest.$ac_ext <<_ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27799 #include <tiffio.h>
27801 rm -f conftest.$ac_objext
27802 if { (ac_try="$ac_compile"
27803 case "(($ac_try" in
27804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27805 *) ac_try_echo=$ac_try;;
27807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27808 (eval "$ac_compile") 2>conftest.er1
27810 grep -v '^ *+' conftest.er1 >conftest.err
27812 cat conftest.err >&5
27813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27814 (exit $ac_status); } && {
27815 test -z "$ac_c_werror_flag" ||
27816 test ! -s conftest.err
27817 } && test -s conftest.$ac_objext; then
27818 ac_cv_header_tiffio_h=yes
27820 echo "$as_me: failed program was
:" >&5
27821 sed 's/^/| /' conftest.$ac_ext >&5
27823 ac_cv_header_tiffio_h=no
27826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27828 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27829 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27830 if test $ac_cv_header_tiffio_h = yes; then
27832 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27833 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27834 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27835 echo $ECHO_N "(cached
) $ECHO_C" >&6
27837 ac_check_lib_save_LIBS=$LIBS
27838 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27839 cat >conftest.$ac_ext <<_ACEOF
27842 cat confdefs.h >>conftest.$ac_ext
27843 cat >>conftest.$ac_ext <<_ACEOF
27844 /* end confdefs.h. */
27846 /* Override any GCC internal prototype to avoid an error.
27847 Use char because int might match the return type of a GCC
27848 builtin and then its argument prototype would still apply. */
27856 return TIFFError ();
27861 rm -f conftest.$ac_objext conftest$ac_exeext
27862 if { (ac_try="$ac_link"
27863 case "(($ac_try" in
27864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27865 *) ac_try_echo=$ac_try;;
27867 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27868 (eval "$ac_link") 2>conftest.er1
27870 grep -v '^ *+' conftest.er1 >conftest.err
27872 cat conftest.err >&5
27873 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27874 (exit $ac_status); } && {
27875 test -z "$ac_c_werror_flag" ||
27876 test ! -s conftest.err
27877 } && test -s conftest$ac_exeext &&
27878 $as_test_x conftest$ac_exeext; then
27879 ac_cv_lib_tiff_TIFFError=yes
27881 echo "$as_me: failed program was
:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27884 ac_cv_lib_tiff_TIFFError=no
27887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27888 conftest$ac_exeext conftest.$ac_ext
27889 LIBS=$ac_check_lib_save_LIBS
27891 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27892 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27893 if test $ac_cv_lib_tiff_TIFFError = yes; then
27894 TIFF_LINK=" -ltiff"
27902 if test "x
$TIFF_LINK" = "x
" ; then
27903 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27904 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27905 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27906 { (exit 1); exit 1; }; }
27908 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27909 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27910 wxUSE_LIBTIFF=builtin
27916 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27917 if test "$wxUSE_LIBJPEG" = "no
"; then
27918 ac_configure_args="$ac_configure_args --disable-jpeg"
27920 subdirs="$subdirs src
/tiff
"
27926 if test "$wxUSE_WCHAR_T" != "yes"; then
27927 if test "$wxUSE_EXPAT" != "no
"; then
27928 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27929 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27932 if test "$wxUSE_XML" != "no
"; then
27933 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27934 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27939 if test "$wxUSE_EXPAT" != "no
"; then
27941 cat >>confdefs.h <<\_ACEOF
27942 #define wxUSE_EXPAT 1
27945 cat >>confdefs.h <<\_ACEOF
27946 #define wxUSE_XML 1
27950 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27951 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27952 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27953 if test "${ac_cv_header_expat_h+set}" = set; then
27954 echo $ECHO_N "(cached
) $ECHO_C" >&6
27956 cat >conftest.$ac_ext <<_ACEOF
27959 cat confdefs.h >>conftest.$ac_ext
27960 cat >>conftest.$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27966 rm -f conftest.$ac_objext
27967 if { (ac_try="$ac_compile"
27968 case "(($ac_try" in
27969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27970 *) ac_try_echo=$ac_try;;
27972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27973 (eval "$ac_compile") 2>conftest.er1
27975 grep -v '^ *+' conftest.er1 >conftest.err
27977 cat conftest.err >&5
27978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27979 (exit $ac_status); } && {
27980 test -z "$ac_c_werror_flag" ||
27981 test ! -s conftest.err
27982 } && test -s conftest.$ac_objext; then
27983 ac_cv_header_expat_h=yes
27985 echo "$as_me: failed program was
:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27988 ac_cv_header_expat_h=no
27991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27993 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27994 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27995 if test $ac_cv_header_expat_h = yes; then
28000 if test "x
$found_expat_h" = "x1
"; then
28001 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28002 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28003 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28004 echo $ECHO_N "(cached
) $ECHO_C" >&6
28008 ac_cpp='$CXXCPP $CPPFLAGS'
28009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28013 cat >conftest.$ac_ext <<_ACEOF
28016 cat confdefs.h >>conftest.$ac_ext
28017 cat >>conftest.$ac_ext <<_ACEOF
28018 /* end confdefs.h. */
28028 rm -f conftest.$ac_objext
28029 if { (ac_try="$ac_compile"
28030 case "(($ac_try" in
28031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28032 *) ac_try_echo=$ac_try;;
28034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28035 (eval "$ac_compile") 2>conftest.er1
28037 grep -v '^ *+' conftest.er1 >conftest.err
28039 cat conftest.err >&5
28040 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28041 (exit $ac_status); } && {
28042 test -z "$ac_cxx_werror_flag" ||
28043 test ! -s conftest.err
28044 } && test -s conftest.$ac_objext; then
28045 wx_cv_expat_is_not_broken=yes
28047 echo "$as_me: failed program was
:" >&5
28048 sed 's/^/| /' conftest.$ac_ext >&5
28050 wx_cv_expat_is_not_broken=no
28054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28056 ac_cpp='$CPP $CPPFLAGS'
28057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28064 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28065 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28066 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28067 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28068 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28069 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28070 echo $ECHO_N "(cached
) $ECHO_C" >&6
28072 ac_check_lib_save_LIBS=$LIBS
28073 LIBS="-lexpat $LIBS"
28074 cat >conftest.$ac_ext <<_ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28081 /* Override any GCC internal prototype to avoid an error.
28082 Use char because int might match the return type of a GCC
28083 builtin and then its argument prototype would still apply. */
28087 char XML_ParserCreate ();
28091 return XML_ParserCreate ();
28096 rm -f conftest.$ac_objext conftest$ac_exeext
28097 if { (ac_try="$ac_link"
28098 case "(($ac_try" in
28099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28100 *) ac_try_echo=$ac_try;;
28102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28103 (eval "$ac_link") 2>conftest.er1
28105 grep -v '^ *+' conftest.er1 >conftest.err
28107 cat conftest.err >&5
28108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28109 (exit $ac_status); } && {
28110 test -z "$ac_c_werror_flag" ||
28111 test ! -s conftest.err
28112 } && test -s conftest$ac_exeext &&
28113 $as_test_x conftest$ac_exeext; then
28114 ac_cv_lib_expat_XML_ParserCreate=yes
28116 echo "$as_me: failed program was
:" >&5
28117 sed 's/^/| /' conftest.$ac_ext >&5
28119 ac_cv_lib_expat_XML_ParserCreate=no
28122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28123 conftest$ac_exeext conftest.$ac_ext
28124 LIBS=$ac_check_lib_save_LIBS
28126 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28127 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28128 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28129 EXPAT_LINK=" -lexpat"
28134 if test "x
$EXPAT_LINK" = "x
" ; then
28135 if test "$wxUSE_EXPAT" = "sys
" ; then
28136 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28137 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28138 { (exit 1); exit 1; }; }
28140 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28141 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28142 wxUSE_EXPAT=builtin
28148 if test "$wxUSE_EXPAT" = "builtin" ; then
28149 subdirs="$subdirs src
/expat
"
28156 if test "$wxUSE_LIBMSPACK" != "no
"; then
28157 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28158 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28159 if test "${ac_cv_header_mspack_h+set}" = set; then
28160 echo $ECHO_N "(cached
) $ECHO_C" >&6
28162 cat >conftest.$ac_ext <<_ACEOF
28165 cat confdefs.h >>conftest.$ac_ext
28166 cat >>conftest.$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28170 #include <mspack.h>
28172 rm -f conftest.$ac_objext
28173 if { (ac_try="$ac_compile"
28174 case "(($ac_try" in
28175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_compile") 2>conftest.er1
28181 grep -v '^ *+' conftest.er1 >conftest.err
28183 cat conftest.err >&5
28184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28185 (exit $ac_status); } && {
28186 test -z "$ac_c_werror_flag" ||
28187 test ! -s conftest.err
28188 } && test -s conftest.$ac_objext; then
28189 ac_cv_header_mspack_h=yes
28191 echo "$as_me: failed program was
:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28194 ac_cv_header_mspack_h=no
28197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28199 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28200 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28201 if test $ac_cv_header_mspack_h = yes; then
28206 if test "x
$found_mspack_h" = "x1
"; then
28207 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28208 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28209 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28210 echo $ECHO_N "(cached
) $ECHO_C" >&6
28212 ac_check_lib_save_LIBS=$LIBS
28213 LIBS="-lmspack $LIBS"
28214 cat >conftest.$ac_ext <<_ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28221 /* Override any GCC internal prototype to avoid an error.
28222 Use char because int might match the return type of a GCC
28223 builtin and then its argument prototype would still apply. */
28227 char mspack_create_chm_decompressor ();
28231 return mspack_create_chm_decompressor ();
28236 rm -f conftest.$ac_objext conftest$ac_exeext
28237 if { (ac_try="$ac_link"
28238 case "(($ac_try" in
28239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28240 *) ac_try_echo=$ac_try;;
28242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_link") 2>conftest.er1
28245 grep -v '^ *+' conftest.er1 >conftest.err
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28249 (exit $ac_status); } && {
28250 test -z "$ac_c_werror_flag" ||
28251 test ! -s conftest.err
28252 } && test -s conftest$ac_exeext &&
28253 $as_test_x conftest$ac_exeext; then
28254 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28256 echo "$as_me: failed program was
:" >&5
28257 sed 's/^/| /' conftest.$ac_ext >&5
28259 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28263 conftest$ac_exeext conftest.$ac_ext
28264 LIBS=$ac_check_lib_save_LIBS
28266 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28267 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28268 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28269 MSPACK_LINK=" -lmspack"
28273 if test "x
$MSPACK_LINK" = "x
" ; then
28278 if test "$wxUSE_LIBMSPACK" != "no
"; then
28279 cat >>confdefs.h <<\_ACEOF
28280 #define wxUSE_LIBMSPACK 1
28294 if test "$USE_WIN32" = 1 ; then
28296 for ac_header in w32api.h
28298 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28299 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28300 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28301 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28302 echo $ECHO_N "(cached
) $ECHO_C" >&6
28304 cat >conftest.$ac_ext <<_ACEOF
28307 cat confdefs.h >>conftest.$ac_ext
28308 cat >>conftest.$ac_ext <<_ACEOF
28309 /* end confdefs.h. */
28312 #include <$ac_header>
28314 rm -f conftest.$ac_objext
28315 if { (ac_try="$ac_compile"
28316 case "(($ac_try" in
28317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28318 *) ac_try_echo=$ac_try;;
28320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28321 (eval "$ac_compile") 2>conftest.er1
28323 grep -v '^ *+' conftest.er1 >conftest.err
28325 cat conftest.err >&5
28326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28327 (exit $ac_status); } && {
28328 test -z "$ac_c_werror_flag" ||
28329 test ! -s conftest.err
28330 } && test -s conftest.$ac_objext; then
28331 eval "$as_ac_Header=yes"
28333 echo "$as_me: failed program was
:" >&5
28334 sed 's/^/| /' conftest.$ac_ext >&5
28336 eval "$as_ac_Header=no
"
28339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28341 ac_res=`eval echo '${'$as_ac_Header'}'`
28342 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28343 echo "${ECHO_T}$ac_res" >&6; }
28344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28345 cat >>confdefs.h <<_ACEOF
28346 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28353 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28354 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28355 if test "${ac_cv_header_windows_h+set}" = set; then
28356 echo $ECHO_N "(cached
) $ECHO_C" >&6
28358 cat >conftest.$ac_ext <<_ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28366 #include <windows.h>
28368 rm -f conftest.$ac_objext
28369 if { (ac_try="$ac_compile"
28370 case "(($ac_try" in
28371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28372 *) ac_try_echo=$ac_try;;
28374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28375 (eval "$ac_compile") 2>conftest.er1
28377 grep -v '^ *+' conftest.er1 >conftest.err
28379 cat conftest.err >&5
28380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28381 (exit $ac_status); } && {
28382 test -z "$ac_c_werror_flag" ||
28383 test ! -s conftest.err
28384 } && test -s conftest.$ac_objext; then
28385 ac_cv_header_windows_h=yes
28387 echo "$as_me: failed program was
:" >&5
28388 sed 's/^/| /' conftest.$ac_ext >&5
28390 ac_cv_header_windows_h=no
28393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28395 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28396 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28397 if test $ac_cv_header_windows_h = yes; then
28401 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28402 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28403 { (exit 1); exit 1; }; }
28410 x86_64-*-mingw32* )
28411 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28413 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28416 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28419 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28420 LIBS="$LIBS -loleacc"
28425 LIBS="$LIBS -lkernel32 -luser32"
28428 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28429 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28431 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28433 WIN32INSTALL=win32install
28435 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28436 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28437 if test "${ac_cv_header_pbt_h+set}" = set; then
28438 echo $ECHO_N "(cached
) $ECHO_C" >&6
28440 cat >conftest.$ac_ext <<_ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28450 rm -f conftest.$ac_objext
28451 if { (ac_try="$ac_compile"
28452 case "(($ac_try" in
28453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_compile") 2>conftest.er1
28459 grep -v '^ *+' conftest.er1 >conftest.err
28461 cat conftest.err >&5
28462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28463 (exit $ac_status); } && {
28464 test -z "$ac_c_werror_flag" ||
28465 test ! -s conftest.err
28466 } && test -s conftest.$ac_objext; then
28467 ac_cv_header_pbt_h=yes
28469 echo "$as_me: failed program was
:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28472 ac_cv_header_pbt_h=no
28475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28477 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28478 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28479 if test $ac_cv_header_pbt_h = yes; then
28482 cat >>confdefs.h <<\_ACEOF
28483 #define NEED_PBT_H 1
28491 if test "$wxUSE_GUI" = "yes"; then
28501 if test "$wxUSE_COCOA" = 1 ; then
28502 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28503 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28504 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28505 wxUSE_PRINTING_ARCHITECTURE=no
28507 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28508 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28509 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28510 wxUSE_DRAG_AND_DROP=no
28512 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28513 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28514 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28519 if test "$wxUSE_MSW" = 1 ; then
28525 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28529 if test "$wxUSE_GTK" = 1; then
28530 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28531 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28533 gtk_version_cached=1
28534 if test "${wx_cv_lib_gtk+set}" = set; then
28535 echo $ECHO_N "(cached
) $ECHO_C" >&6
28538 gtk_version_cached=0
28539 { echo "$as_me:$LINENO: result
: " >&5
28540 echo "${ECHO_T}" >&6; }
28543 if test "$wxUSE_THREADS" = "yes"; then
28544 GTK_MODULES=gthread
28548 if test "x
$wxGTK_VERSION" != "x1
"
28552 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28557 # Check whether --enable-gtktest was given.
28558 if test "${enable_gtktest+set}" = set; then
28559 enableval=$enable_gtktest;
28565 pkg_config_args=gtk+-2.0
28566 for module in . $GTK_MODULES
28570 pkg_config_args="$pkg_config_args gthread
-2.0
"
28577 # Extract the first word of "pkg
-config", so it can be a program name with args.
28578 set dummy pkg-config; ac_word=$2
28579 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28580 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28581 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28582 echo $ECHO_N "(cached
) $ECHO_C" >&6
28584 case $PKG_CONFIG in
28586 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28590 for as_dir in $PATH
28593 test -z "$as_dir" && as_dir=.
28594 for ac_exec_ext in '' $ac_executable_extensions; do
28595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28596 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28597 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28604 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28608 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28609 if test -n "$PKG_CONFIG"; then
28610 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28611 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28613 { echo "$as_me:$LINENO: result
: no
" >&5
28614 echo "${ECHO_T}no
" >&6; }
28619 if test x$PKG_CONFIG != xno ; then
28620 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28623 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28631 min_gtk_version=2.4.0
28632 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28633 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28635 if test x$PKG_CONFIG != xno ; then
28636 ## don't try to run the test against uninstalled libtool libs
28637 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28638 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28642 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28649 if test x"$no_gtk" = x ; then
28650 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28651 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28652 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28654 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28656 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28658 if test "x
$enable_gtktest" = "xyes
" ; then
28659 ac_save_CFLAGS="$CFLAGS"
28660 ac_save_LIBS="$LIBS"
28661 CFLAGS="$CFLAGS $GTK_CFLAGS"
28662 LIBS="$GTK_LIBS $LIBS"
28664 if test "$cross_compiling" = yes; then
28665 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28667 cat >conftest.$ac_ext <<_ACEOF
28670 cat confdefs.h >>conftest.$ac_ext
28671 cat >>conftest.$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28674 #include <gtk/gtk.h>
28676 #include <stdlib.h>
28681 int major, minor, micro;
28684 system ("touch conf.gtktest
");
28686 /* HP/UX 9 (%@#!) writes to sscanf strings */
28687 tmp_version = g_strdup("$min_gtk_version");
28688 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28689 printf("%s
, bad version string
\n", "$min_gtk_version");
28693 if ((gtk_major_version != $gtk_config_major_version) ||
28694 (gtk_minor_version != $gtk_config_minor_version) ||
28695 (gtk_micro_version != $gtk_config_micro_version))
28697 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28698 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28699 gtk_major_version, gtk_minor_version, gtk_micro_version);
28700 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28701 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28702 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28703 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28704 printf("*** required on your system.
\n");
28705 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28706 printf("*** to point to the correct configuration files
\n");
28708 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28709 (gtk_minor_version != GTK_MINOR_VERSION) ||
28710 (gtk_micro_version != GTK_MICRO_VERSION))
28712 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28713 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28714 printf("*** library
(version
%d.
%d.
%d
)\n",
28715 gtk_major_version, gtk_minor_version, gtk_micro_version);
28719 if ((gtk_major_version > major) ||
28720 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28721 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28727 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28728 gtk_major_version, gtk_minor_version, gtk_micro_version);
28729 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28730 major, minor, micro);
28731 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28733 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28734 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28735 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28736 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28737 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28738 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28739 printf("*** so that the correct libraries are found
at run
-time))\n");
28746 rm -f conftest$ac_exeext
28747 if { (ac_try="$ac_link"
28748 case "(($ac_try" in
28749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28750 *) ac_try_echo=$ac_try;;
28752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28753 (eval "$ac_link") 2>&5
28755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28757 { (case "(($ac_try" in
28758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28759 *) ac_try_echo=$ac_try;;
28761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28762 (eval "$ac_try") 2>&5
28764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28765 (exit $ac_status); }; }; then
28768 echo "$as_me: program exited with status
$ac_status" >&5
28769 echo "$as_me: failed program was
:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28772 ( exit $ac_status )
28775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28779 CFLAGS="$ac_save_CFLAGS"
28780 LIBS="$ac_save_LIBS"
28783 if test "x
$no_gtk" = x ; then
28784 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28785 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28788 { echo "$as_me:$LINENO: result
: no
" >&5
28789 echo "${ECHO_T}no
" >&6; }
28790 if test "$PKG_CONFIG" = "no
" ; then
28791 echo "*** A new enough version of pkg
-config was not found.
"
28792 echo "*** See http
://pkgconfig.sourceforge.net
"
28794 if test -f conf.gtktest ; then
28797 echo "*** Could not run GTK
+ test program
, checking why...
"
28798 ac_save_CFLAGS="$CFLAGS"
28799 ac_save_LIBS="$LIBS"
28800 CFLAGS="$CFLAGS $GTK_CFLAGS"
28801 LIBS="$LIBS $GTK_LIBS"
28802 cat >conftest.$ac_ext <<_ACEOF
28805 cat confdefs.h >>conftest.$ac_ext
28806 cat >>conftest.$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28809 #include <gtk/gtk.h>
28815 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28820 rm -f conftest.$ac_objext conftest$ac_exeext
28821 if { (ac_try="$ac_link"
28822 case "(($ac_try" in
28823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28824 *) ac_try_echo=$ac_try;;
28826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28827 (eval "$ac_link") 2>conftest.er1
28829 grep -v '^ *+' conftest.er1 >conftest.err
28831 cat conftest.err >&5
28832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28833 (exit $ac_status); } && {
28834 test -z "$ac_c_werror_flag" ||
28835 test ! -s conftest.err
28836 } && test -s conftest$ac_exeext &&
28837 $as_test_x conftest$ac_exeext; then
28838 echo "*** The
test program compiled
, but did not run. This usually means
"
28839 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28840 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28841 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28842 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28843 echo "*** is required on your system"
28845 echo "*** If you have an old version installed, it is best to remove it, although"
28846 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28848 echo "$as_me: failed program was:" >&5
28849 sed 's
/^
/| /' conftest.$ac_ext >&5
28851 echo "*** The test program failed to compile or link. See the file config.log for the"
28852 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28856 conftest$ac_exeext conftest.$ac_ext
28857 CFLAGS="$ac_save_CFLAGS"
28858 LIBS="$ac_save_LIBS"
28872 if test "$wxUSE_SHARED" != "yes"; then
28873 GTK_LIBS="$GTK_LIBS -lX11"
28878 if test -z "$wx_cv_lib_gtk"; then
28879 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28881 # Check whether --with-gtk-prefix was given.
28882 if test "${with_gtk_prefix+set}" = set; then
28883 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28885 gtk_config_prefix=""
28889 # Check whether --with-gtk-exec-prefix was given.
28890 if test "${with_gtk_exec_prefix+set}" = set; then
28891 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28893 gtk_config_exec_prefix=""
28896 # Check whether --enable-gtktest was given.
28897 if test "${enable_gtktest+set}" = set; then
28898 enableval=$enable_gtktest;
28904 for module in . $GTK_MODULES
28908 gtk_config_args="$gtk_config_args gthread"
28913 if test x$gtk_config_exec_prefix != x ; then
28914 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28915 if test x${GTK_CONFIG+set} != xset ; then
28916 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28919 if test x$gtk_config_prefix != x ; then
28920 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28921 if test x${GTK_CONFIG+set} != xset ; then
28922 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28926 # Extract the first word of "gtk-config", so it can be a program name with args.
28927 set dummy gtk-config; ac_word=$2
28928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28930 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 case $GTK_CONFIG in
28935 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28939 for as_dir in $PATH
28942 test -z "$as_dir" && as_dir=.
28943 for ac_exec_ext in '' $ac_executable_extensions; do
28944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28945 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28953 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28957 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28958 if test -n "$GTK_CONFIG"; then
28959 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28960 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28962 { echo "$as_me:$LINENO: result: no" >&5
28963 echo "${ECHO_T}no" >&6; }
28967 min_gtk_version=1.2.7
28968 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28969 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28971 if test "$GTK_CONFIG" = "no" ; then
28974 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28975 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28976 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28977 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28978 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28979 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28980 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28981 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28982 if test "x$enable_gtktest" = "xyes" ; then
28983 ac_save_CFLAGS="$CFLAGS"
28984 ac_save_LIBS="$LIBS"
28985 CFLAGS="$CFLAGS $GTK_CFLAGS"
28986 LIBS="$GTK_LIBS $LIBS"
28988 if test "$cross_compiling" = yes; then
28989 echo $ac_n "cross compiling; assumed OK... $ac_c"
28991 cat >conftest.$ac_ext <<_ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28998 #include <gtk/gtk.h>
29000 #include <stdlib.h>
29005 int major, minor, micro;
29008 system ("touch conf.gtktest");
29010 /* HP/UX 9 (%@#!) writes to sscanf strings */
29011 tmp_version = g_strdup("$min_gtk_version");
29012 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29013 printf("%s, bad version string\n", "$min_gtk_version");
29017 if ((gtk_major_version != $gtk_config_major_version) ||
29018 (gtk_minor_version != $gtk_config_minor_version) ||
29019 (gtk_micro_version != $gtk_config_micro_version))
29021 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29022 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29023 gtk_major_version, gtk_minor_version, gtk_micro_version);
29024 printf ("*** was found! If gtk-config was correct, then it is best\n");
29025 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29026 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29027 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29028 printf("*** required on your system.\n");
29029 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29030 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29031 printf("*** before re-running configure\n");
29033 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29034 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29035 (gtk_minor_version != GTK_MINOR_VERSION) ||
29036 (gtk_micro_version != GTK_MICRO_VERSION))
29038 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29039 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29040 printf("*** library (version %d.%d.%d)\n",
29041 gtk_major_version, gtk_minor_version, gtk_micro_version);
29043 #endif /* defined (GTK_MAJOR_VERSION) ... */
29046 if ((gtk_major_version > major) ||
29047 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29048 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29054 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29055 gtk_major_version, gtk_minor_version, gtk_micro_version);
29056 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29057 major, minor, micro);
29058 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29060 printf("*** If you have already installed a sufficiently new version, this error\n");
29061 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29062 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29063 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29064 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29065 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29066 printf("*** so that the correct libraries are found at run-time))\n");
29073 rm -f conftest$ac_exeext
29074 if { (ac_try="$ac_link"
29075 case "(($ac_try" in
29076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29077 *) ac_try_echo=$ac_try;;
29079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29080 (eval "$ac_link") 2>&5
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29084 { (case "(($ac_try" in
29085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29086 *) ac_try_echo=$ac_try;;
29088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29089 (eval "$ac_try") 2>&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29095 echo "$as_me: program exited with status $ac_status" >&5
29096 echo "$as_me: failed program was:" >&5
29097 sed 's
/^
/| /' conftest.$ac_ext >&5
29099 ( exit $ac_status )
29102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29106 CFLAGS="$ac_save_CFLAGS"
29107 LIBS="$ac_save_LIBS"
29110 if test "x$no_gtk" = x ; then
29111 { echo "$as_me:$LINENO: result: yes" >&5
29112 echo "${ECHO_T}yes" >&6; }
29113 wx_cv_lib_gtk=1.2.7
29115 { echo "$as_me:$LINENO: result: no" >&5
29116 echo "${ECHO_T}no" >&6; }
29117 if test "$GTK_CONFIG" = "no" ; then
29118 echo "*** The gtk-config script installed by GTK could not be found"
29119 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29120 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29121 echo "*** full path to gtk-config."
29123 if test -f conf.gtktest ; then
29126 echo "*** Could not run GTK test program, checking why..."
29127 CFLAGS="$CFLAGS $GTK_CFLAGS"
29128 LIBS="$LIBS $GTK_LIBS"
29129 cat >conftest.$ac_ext <<_ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29136 #include <gtk/gtk.h>
29142 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29147 rm -f conftest.$ac_objext conftest$ac_exeext
29148 if { (ac_try="$ac_link"
29149 case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_link") 2>conftest.er1
29156 grep -v '^
*+' conftest.er1 >conftest.err
29158 cat conftest.err >&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); } && {
29161 test -z "$ac_c_werror_flag" ||
29162 test ! -s conftest.err
29163 } && test -s conftest$ac_exeext &&
29164 $as_test_x conftest$ac_exeext; then
29165 echo "*** The test program compiled, but did not run. This usually means"
29166 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29167 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29168 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29169 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29170 echo "*** is required on your system
"
29172 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29175 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29176 echo "*** came with the system with the
command"
29178 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29180 echo "$as_me: failed program was
:" >&5
29181 sed 's/^/| /' conftest.$ac_ext >&5
29183 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29184 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29185 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29186 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29190 conftest$ac_exeext conftest.$ac_ext
29191 CFLAGS="$ac_save_CFLAGS"
29192 LIBS="$ac_save_LIBS"
29204 if test -z "$wx_cv_lib_gtk"; then
29206 # Check whether --with-gtk-prefix was given.
29207 if test "${with_gtk_prefix+set}" = set; then
29208 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29210 gtk_config_prefix=""
29214 # Check whether --with-gtk-exec-prefix was given.
29215 if test "${with_gtk_exec_prefix+set}" = set; then
29216 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29218 gtk_config_exec_prefix=""
29221 # Check whether --enable-gtktest was given.
29222 if test "${enable_gtktest+set}" = set; then
29223 enableval=$enable_gtktest;
29229 for module in . $GTK_MODULES
29233 gtk_config_args="$gtk_config_args gthread
"
29238 if test x$gtk_config_exec_prefix != x ; then
29239 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29240 if test x${GTK_CONFIG+set} != xset ; then
29241 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29244 if test x$gtk_config_prefix != x ; then
29245 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29246 if test x${GTK_CONFIG+set} != xset ; then
29247 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29251 # Extract the first word of "gtk
-config", so it can be a program name with args.
29252 set dummy gtk-config; ac_word=$2
29253 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29254 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29255 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29256 echo $ECHO_N "(cached
) $ECHO_C" >&6
29258 case $GTK_CONFIG in
29260 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29264 for as_dir in $PATH
29267 test -z "$as_dir" && as_dir=.
29268 for ac_exec_ext in '' $ac_executable_extensions; do
29269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29270 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29278 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29282 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29283 if test -n "$GTK_CONFIG"; then
29284 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29285 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29287 { echo "$as_me:$LINENO: result
: no
" >&5
29288 echo "${ECHO_T}no
" >&6; }
29292 min_gtk_version=1.2.3
29293 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29294 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29296 if test "$GTK_CONFIG" = "no
" ; then
29299 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29300 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29301 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29303 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29305 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29307 if test "x
$enable_gtktest" = "xyes
" ; then
29308 ac_save_CFLAGS="$CFLAGS"
29309 ac_save_LIBS="$LIBS"
29310 CFLAGS="$CFLAGS $GTK_CFLAGS"
29311 LIBS="$GTK_LIBS $LIBS"
29313 if test "$cross_compiling" = yes; then
29314 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29316 cat >conftest.$ac_ext <<_ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29323 #include <gtk/gtk.h>
29325 #include <stdlib.h>
29330 int major, minor, micro;
29333 system ("touch conf.gtktest
");
29335 /* HP/UX 9 (%@#!) writes to sscanf strings */
29336 tmp_version = g_strdup("$min_gtk_version");
29337 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29338 printf("%s
, bad version string
\n", "$min_gtk_version");
29342 if ((gtk_major_version != $gtk_config_major_version) ||
29343 (gtk_minor_version != $gtk_config_minor_version) ||
29344 (gtk_micro_version != $gtk_config_micro_version))
29346 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29347 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29348 gtk_major_version, gtk_minor_version, gtk_micro_version);
29349 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29350 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29351 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29352 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29353 printf("*** required on your system.
\n");
29354 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29355 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29356 printf("*** before re
-running configure
\n");
29358 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29359 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29360 (gtk_minor_version != GTK_MINOR_VERSION) ||
29361 (gtk_micro_version != GTK_MICRO_VERSION))
29363 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29364 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29365 printf("*** library
(version
%d.
%d.
%d
)\n",
29366 gtk_major_version, gtk_minor_version, gtk_micro_version);
29368 #endif /* defined (GTK_MAJOR_VERSION) ... */
29371 if ((gtk_major_version > major) ||
29372 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29373 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29379 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29380 gtk_major_version, gtk_minor_version, gtk_micro_version);
29381 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29382 major, minor, micro);
29383 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29385 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29386 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29387 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29388 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29389 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29390 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29391 printf("*** so that the correct libraries are found
at run
-time))\n");
29398 rm -f conftest$ac_exeext
29399 if { (ac_try="$ac_link"
29400 case "(($ac_try" in
29401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29402 *) ac_try_echo=$ac_try;;
29404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29405 (eval "$ac_link") 2>&5
29407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29409 { (case "(($ac_try" in
29410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29411 *) ac_try_echo=$ac_try;;
29413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29414 (eval "$ac_try") 2>&5
29416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29417 (exit $ac_status); }; }; then
29420 echo "$as_me: program exited with status
$ac_status" >&5
29421 echo "$as_me: failed program was
:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29424 ( exit $ac_status )
29427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29431 CFLAGS="$ac_save_CFLAGS"
29432 LIBS="$ac_save_LIBS"
29435 if test "x
$no_gtk" = x ; then
29436 { echo "$as_me:$LINENO: result
: yes" >&5
29437 echo "${ECHO_T}yes" >&6; }
29438 wx_cv_lib_gtk=1.2.3
29440 { echo "$as_me:$LINENO: result
: no
" >&5
29441 echo "${ECHO_T}no
" >&6; }
29442 if test "$GTK_CONFIG" = "no
" ; then
29443 echo "*** The gtk
-config script installed by GTK could not be found
"
29444 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29445 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29446 echo "*** full path to gtk
-config.
"
29448 if test -f conf.gtktest ; then
29451 echo "*** Could not run GTK
test program
, checking why...
"
29452 CFLAGS="$CFLAGS $GTK_CFLAGS"
29453 LIBS="$LIBS $GTK_LIBS"
29454 cat >conftest.$ac_ext <<_ACEOF
29457 cat confdefs.h >>conftest.$ac_ext
29458 cat >>conftest.$ac_ext <<_ACEOF
29459 /* end confdefs.h. */
29461 #include <gtk/gtk.h>
29467 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29472 rm -f conftest.$ac_objext conftest$ac_exeext
29473 if { (ac_try="$ac_link"
29474 case "(($ac_try" in
29475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29476 *) ac_try_echo=$ac_try;;
29478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29479 (eval "$ac_link") 2>conftest.er1
29481 grep -v '^ *+' conftest.er1 >conftest.err
29483 cat conftest.err >&5
29484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29485 (exit $ac_status); } && {
29486 test -z "$ac_c_werror_flag" ||
29487 test ! -s conftest.err
29488 } && test -s conftest$ac_exeext &&
29489 $as_test_x conftest$ac_exeext; then
29490 echo "*** The
test program compiled
, but did not run. This usually means
"
29491 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29492 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29493 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29494 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29495 echo "*** is required on your system"
29497 echo "*** If you have an old version installed, it is best to remove it, although"
29498 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29500 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29501 echo "*** came with the system with the command"
29503 echo "*** rpm --erase --nodeps gtk gtk-devel"
29505 echo "$as_me: failed program was:" >&5
29506 sed 's
/^
/| /' conftest.$ac_ext >&5
29508 echo "*** The test program failed to compile or link. See the file config.log for the"
29509 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29510 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29511 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29515 conftest$ac_exeext conftest.$ac_ext
29516 CFLAGS="$ac_save_CFLAGS"
29517 LIBS="$ac_save_LIBS"
29532 if test -z "$wx_cv_lib_gtk"; then
29535 wx_cv_cflags_gtk=$GTK_CFLAGS
29536 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29543 if test "$gtk_version_cached" = 1; then
29544 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29545 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29548 case "$wx_cv_lib_gtk" in
29557 *) { { echo "$as_me:$LINENO: error:
29558 The development files for GTK+ were not found. For GTK+ 2, please
29559 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29560 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29561 and that the version is 1.2.3 or above. Also check that the
29562 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29563 --libs' are in the LD_LIBRARY_PATH or equivalent.
29565 echo "$as_me: error:
29566 The development files for GTK+ were not found. For GTK+ 2, please
29567 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29568 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29569 and that the version is 1.2.3 or above. Also check that the
29570 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29571 --libs' are in the LD_LIBRARY_PATH or equivalent.
29573 { (exit 1); exit 1; }; }
29577 if test "$WXGTK2" = 1; then
29578 save_CFLAGS="$CFLAGS"
29580 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29581 LIBS="$LIBS $wx_cv_libs_gtk"
29583 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29584 echo $ECHO_N "checking if GTK+ is version >= 2.18... $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. */
29592 #include <gtk/gtk.h>
29598 #if !GTK_CHECK_VERSION(2,18,0)
29606 rm -f conftest.$ac_objext
29607 if { (ac_try="$ac_compile"
29608 case "(($ac_try" in
29609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29610 *) ac_try_echo=$ac_try;;
29612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29613 (eval "$ac_compile") 2>conftest.er1
29615 grep -v '^
*+' conftest.er1 >conftest.err
29617 cat conftest.err >&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); } && {
29620 test -z "$ac_c_werror_flag" ||
29621 test ! -s conftest.err
29622 } && test -s conftest.$ac_objext; then
29624 cat >>confdefs.h <<\_ACEOF
29625 #define __WXGTK218__ 1
29628 cat >>confdefs.h <<\_ACEOF
29629 #define __WXGTK210__ 1
29632 cat >>confdefs.h <<\_ACEOF
29633 #define __WXGTK26__ 1
29636 { echo "$as_me:$LINENO: result: yes" >&5
29637 echo "${ECHO_T}yes" >&6; }
29641 echo "$as_me: failed program was:" >&5
29642 sed 's
/^
/| /' conftest.$ac_ext >&5
29645 { echo "$as_me:$LINENO: result: no" >&5
29646 echo "${ECHO_T}no" >&6; }
29651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653 if test "$ac_wxgtk218" = 0; then
29654 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29655 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29656 cat >conftest.$ac_ext <<_ACEOF
29659 cat confdefs.h >>conftest.$ac_ext
29660 cat >>conftest.$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29663 #include <gtk/gtk.h>
29669 #if !GTK_CHECK_VERSION(2,10,0)
29677 rm -f conftest.$ac_objext
29678 if { (ac_try="$ac_compile"
29679 case "(($ac_try" in
29680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29681 *) ac_try_echo=$ac_try;;
29683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29684 (eval "$ac_compile") 2>conftest.er1
29686 grep -v '^
*+' conftest.er1 >conftest.err
29688 cat conftest.err >&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); } && {
29691 test -z "$ac_c_werror_flag" ||
29692 test ! -s conftest.err
29693 } && test -s conftest.$ac_objext; then
29695 cat >>confdefs.h <<\_ACEOF
29696 #define __WXGTK210__ 1
29699 cat >>confdefs.h <<\_ACEOF
29700 #define __WXGTK26__ 1
29703 { echo "$as_me:$LINENO: result: yes" >&5
29704 echo "${ECHO_T}yes" >&6; }
29708 echo "$as_me: failed program was:" >&5
29709 sed 's
/^
/| /' conftest.$ac_ext >&5
29712 { echo "$as_me:$LINENO: result: no" >&5
29713 echo "${ECHO_T}no" >&6; }
29718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29720 if test "$ac_wxgtk210" = 0; then
29721 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29722 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29723 cat >conftest.$ac_ext <<_ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29730 #include <gtk/gtk.h>
29736 #if !GTK_CHECK_VERSION(2,6,0)
29744 rm -f conftest.$ac_objext
29745 if { (ac_try="$ac_compile"
29746 case "(($ac_try" in
29747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29748 *) ac_try_echo=$ac_try;;
29750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751 (eval "$ac_compile") 2>conftest.er1
29753 grep -v '^
*+' conftest.er1 >conftest.err
29755 cat conftest.err >&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } && {
29758 test -z "$ac_c_werror_flag" ||
29759 test ! -s conftest.err
29760 } && test -s conftest.$ac_objext; then
29762 cat >>confdefs.h <<\_ACEOF
29763 #define __WXGTK26__ 1
29766 { echo "$as_me:$LINENO: result: yes" >&5
29767 echo "${ECHO_T}yes" >&6; }
29771 echo "$as_me: failed program was:" >&5
29772 sed 's
/^
/| /' conftest.$ac_ext >&5
29775 { echo "$as_me:$LINENO: result: no" >&5
29776 echo "${ECHO_T}no" >&6; }
29781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29785 CFLAGS="$save_CFLAGS"
29788 if test "$wxUSE_UNICODE" = "yes"; then
29789 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29790 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29794 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29795 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29796 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 ac_check_lib_save_LIBS=$LIBS
29801 cat >conftest.$ac_ext <<_ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29808 /* Override any GCC internal prototype to avoid an error.
29809 Use char because int might match the return type of a GCC
29810 builtin and then its argument prototype would still apply. */
29814 char gdk_im_open ();
29818 return gdk_im_open ();
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29832 grep -v '^
*+' conftest.er1 >conftest.err
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 ac_cv_lib_gdk_gdk_im_open=yes
29843 echo "$as_me: failed program was:" >&5
29844 sed 's
/^
/| /' conftest.$ac_ext >&5
29846 ac_cv_lib_gdk_gdk_im_open=no
29849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29850 conftest$ac_exeext conftest.$ac_ext
29851 LIBS=$ac_check_lib_save_LIBS
29853 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29854 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29855 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29856 cat >>confdefs.h <<\_ACEOF
29863 if test "$USE_DARWIN" != 1; then
29865 for ac_func in poll
29867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29871 echo $ECHO_N "(cached) $ECHO_C" >&6
29873 cat >conftest.$ac_ext <<_ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29881 #define $ac_func innocuous_$ac_func
29883 /* System header to define __stub macros and hopefully few prototypes,
29884 which can conflict with char $ac_func (); below.
29885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29886 <limits.h> exists even on freestanding compilers. */
29889 # include <limits.h>
29891 # include <assert.h>
29896 /* Override any GCC internal prototype to avoid an error.
29897 Use char because int might match the return type of a GCC
29898 builtin and then its argument prototype would still apply. */
29903 /* The GNU C library defines this for functions which it implements
29904 to always fail with ENOSYS. Some functions are actually named
29905 something starting with __ and the normal name is an alias. */
29906 #if defined __stub_$ac_func || defined __stub___$ac_func
29913 return $ac_func ();
29918 rm -f conftest.$ac_objext conftest$ac_exeext
29919 if { (ac_try="$ac_link"
29920 case "(($ac_try" in
29921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29922 *) ac_try_echo=$ac_try;;
29924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29925 (eval "$ac_link") 2>conftest.er1
29927 grep -v '^
*+' conftest.er1 >conftest.err
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } && {
29932 test -z "$ac_c_werror_flag" ||
29933 test ! -s conftest.err
29934 } && test -s conftest$ac_exeext &&
29935 $as_test_x conftest$ac_exeext; then
29936 eval "$as_ac_var=yes"
29938 echo "$as_me: failed program was:" >&5
29939 sed 's
/^
/| /' conftest.$ac_ext >&5
29941 eval "$as_ac_var=no"
29944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29945 conftest$ac_exeext conftest.$ac_ext
29947 ac_res=`eval echo '${'$as_ac_var'}'`
29948 { echo "$as_me:$LINENO: result: $ac_res" >&5
29949 echo "${ECHO_T}$ac_res" >&6; }
29950 if test `eval echo '${'$as_ac_var'}'` = yes; then
29951 cat >>confdefs.h <<_ACEOF
29952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29961 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29962 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29964 AFMINSTALL=afminstall
29968 if test "$wxUSE_GPE" = "yes"; then
29969 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29970 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29973 for ac_dir in $SEARCH_LIB;
29975 for ac_extension in a so sl dylib dll.a; do
29976 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29977 ac_find_libraries=$ac_dir
29983 if test "$ac_find_libraries" != "" ; then
29985 if test "$ac_find_libraries" = "default location"; then
29988 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29990 if test $result = 0; then
29993 ac_path_to_link=" -L$ac_find_libraries"
29997 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29999 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30000 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30002 { echo "$as_me:$LINENO: result: not found" >&5
30003 echo "${ECHO_T}not found" >&6; }
30009 if test "$wxUSE_MGL" = 1; then
30010 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30011 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30012 if test "x$MGL_ROOT" = x ; then
30013 { echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6; }
30015 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30016 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30017 { (exit 1); exit 1; }; }
30019 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30020 echo "${ECHO_T}$MGL_ROOT" >&6; }
30023 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30024 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30027 if test "x$wxUSE_SHARED" = xyes ; then
30028 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30030 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30034 mgl_os_candidates="dos32/dj2"
30037 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30038 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30039 { (exit 1); exit 1; }; }
30045 for mgl_os_i in $mgl_os_candidates ; do
30046 if test "x$mgl_os" = x ; then
30047 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30048 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30049 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30054 if test "x$mgl_lib_type" = x ; then
30055 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30056 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30057 mgl_lib_type=release
30064 if test "x$mgl_os" = x ; then
30065 { echo "$as_me:$LINENO: result: not found" >&5
30066 echo "${ECHO_T}not found" >&6; }
30067 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30068 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30069 { (exit 1); exit 1; }; }
30071 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30072 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30074 wxUSE_UNIVERSAL="yes"
30076 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30077 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30079 AFMINSTALL=afminstall
30084 if test "$wxUSE_DFB" = 1; then
30087 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30088 if test -n "$ac_tool_prefix"; then
30089 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30090 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30093 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30094 echo $ECHO_N "(cached) $ECHO_C" >&6
30096 case $PKG_CONFIG in
30098 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30102 for as_dir in $PATH
30105 test -z "$as_dir" && as_dir=.
30106 for ac_exec_ext in '' $ac_executable_extensions; do
30107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30108 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30119 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30120 if test -n "$PKG_CONFIG"; then
30121 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30122 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30124 { echo "$as_me:$LINENO: result: no" >&5
30125 echo "${ECHO_T}no" >&6; }
30130 if test -z "$ac_cv_path_PKG_CONFIG"; then
30131 ac_pt_PKG_CONFIG=$PKG_CONFIG
30132 # Extract the first word of "pkg-config", so it can be a program name with args.
30133 set dummy pkg-config; ac_word=$2
30134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30136 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30137 echo $ECHO_N "(cached) $ECHO_C" >&6
30139 case $ac_pt_PKG_CONFIG in
30141 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30145 for as_dir in $PATH
30148 test -z "$as_dir" && as_dir=.
30149 for ac_exec_ext in '' $ac_executable_extensions; do
30150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30151 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30162 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30163 if test -n "$ac_pt_PKG_CONFIG"; then
30164 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30165 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30167 { echo "$as_me:$LINENO: result: no" >&5
30168 echo "${ECHO_T}no" >&6; }
30171 if test "x$ac_pt_PKG_CONFIG" = x; then
30174 case $cross_compiling:$ac_tool_warned in
30176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30177 whose name does not start with the host triplet. If you think this
30178 configuration is useful to you, please write to autoconf@gnu.org." >&5
30179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30180 whose name does not start with the host triplet. If you think this
30181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30182 ac_tool_warned=yes ;;
30184 PKG_CONFIG=$ac_pt_PKG_CONFIG
30187 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30191 if test -n "$PKG_CONFIG"; then
30192 _pkg_min_version=0.9.0
30193 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30194 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30195 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30196 { echo "$as_me:$LINENO: result: yes" >&5
30197 echo "${ECHO_T}yes" >&6; }
30199 { echo "$as_me:$LINENO: result: no" >&5
30200 echo "${ECHO_T}no" >&6; }
30208 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30209 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30211 if test -n "$PKG_CONFIG"; then
30212 if test -n "$DIRECTFB_CFLAGS"; then
30213 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30215 if test -n "$PKG_CONFIG" && \
30216 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30217 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; then
30221 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30229 if test -n "$PKG_CONFIG"; then
30230 if test -n "$DIRECTFB_LIBS"; then
30231 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30233 if test -n "$PKG_CONFIG" && \
30234 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30235 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); }; then
30239 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30250 if test $pkg_failed = yes; then
30252 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30253 _pkg_short_errors_supported=yes
30255 _pkg_short_errors_supported=no
30257 if test $_pkg_short_errors_supported = yes; then
30258 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30260 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30262 # Put the nasty error message in config.log where it belongs
30263 echo "$DIRECTFB_PKG_ERRORS" >&5
30266 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30267 echo "$as_me: error: DirectFB not found." >&2;}
30268 { (exit 1); exit 1; }; }
30271 elif test $pkg_failed = untried; then
30273 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30274 echo "$as_me: error: DirectFB not found." >&2;}
30275 { (exit 1); exit 1; }; }
30279 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30280 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30281 { echo "$as_me:$LINENO: result: yes" >&5
30282 echo "${ECHO_T}yes" >&6; }
30284 wxUSE_UNIVERSAL="yes"
30285 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30286 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30293 if test "$wxUSE_MICROWIN" = 1; then
30294 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30295 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30296 if test "x$MICROWINDOWS" = x ; then
30297 { echo "$as_me:$LINENO: result: not found" >&5
30298 echo "${ECHO_T}not found" >&6; }
30299 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30300 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30301 { (exit 1); exit 1; }; }
30303 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30304 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30307 if test -f $MICROWINDOWS/lib/libmwin.a; then
30308 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30309 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30311 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30312 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30313 { (exit 1); exit 1; }; }
30316 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30317 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30319 wxUSE_UNIVERSAL="yes"
30321 AFMINSTALL=afminstall
30323 GUIDIST=MICROWIN_DIST
30325 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30328 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30329 { echo "$as_me:$LINENO: checking for X" >&5
30330 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30333 # Check whether --with-x was given.
30334 if test "${with_x+set}" = set; then
30338 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30339 if test "x$with_x" = xno; then
30340 # The user explicitly disabled X.
30343 case $x_includes,$x_libraries in #(
30344 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30345 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30346 { (exit 1); exit 1; }; };; #(
30347 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30350 # One or both of the vars are not set, and there is no cached value.
30351 ac_x_includes=no ac_x_libraries=no
30352 rm -f -r conftest.dir
30353 if mkdir conftest.dir; then
30355 cat >Imakefile <<'_ACEOF'
30357 @echo incroot='${INCROOT}'
30359 @echo usrlibdir='${USRLIBDIR}'
30361 @echo libdir='${LIBDIR}'
30363 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30364 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30365 for ac_var in incroot usrlibdir libdir; do
30366 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30368 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30369 for ac_extension in a so sl; do
30370 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30371 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30372 ac_im_usrlibdir=$ac_im_libdir; break
30375 # Screen out bogus values from the imake configuration. They are
30376 # bogus both because they are the default anyway, and because
30377 # using them would break gcc on systems where it needs fixed includes.
30378 case $ac_im_incroot in
30379 /usr/include) ac_x_includes= ;;
30380 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30382 case $ac_im_usrlibdir in
30383 /usr/lib | /lib) ;;
30384 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30388 rm -f -r conftest.dir
30391 # Standard set of common directories for X headers.
30392 # Check X11 before X11Rn because it is often a symlink to the current release.
30404 /usr
/local
/X
11/include
30405 /usr
/local
/X
11R
6/include
30406 /usr
/local
/X
11R
5/include
30407 /usr
/local
/X
11R
4/include
30409 /usr
/local
/include
/X11
30410 /usr
/local
/include
/X11R6
30411 /usr
/local
/include
/X11R5
30412 /usr
/local
/include
/X11R4
30416 /usr
/XFree
86/include
/X11
30420 /usr
/unsupported
/include
30421 /usr
/athena
/include
30422 /usr
/local
/x
11r
5/include
30423 /usr
/lpp
/Xamples
/include
30425 /usr
/openwin
/include
30426 /usr
/openwin
/share
/include
'
30428 if test "$ac_x_includes" = no; then
30429 # Guess where to find include files, by looking for Xlib.h.
30430 # First, try using that file with no special directory specified.
30431 cat >conftest.$ac_ext <<_ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30437 #include <X11/Xlib.h>
30439 if { (ac_try="$ac_cpp conftest.$ac_ext"
30440 case "(($ac_try" in
30441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30447 grep -v '^
*+' conftest.er1 >conftest.err
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } >/dev/null && {
30452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30455 # We can compile using X headers with no special include directory.
30458 echo "$as_me: failed program was:" >&5
30459 sed 's
/^
/| /' conftest.$ac_ext >&5
30461 for ac_dir in $ac_x_header_dirs; do
30462 if test -r "$ac_dir/X11/Xlib.h"; then
30463 ac_x_includes=$ac_dir
30469 rm -f conftest.err conftest.$ac_ext
30470 fi # $ac_x_includes = no
30472 if test "$ac_x_libraries" = no; then
30473 # Check for the libraries.
30474 # See if we find them without any special options.
30475 # Don't add to
$LIBS permanently.
30478 cat >conftest.
$ac_ext <<_ACEOF
30481 cat confdefs.h
>>conftest.
$ac_ext
30482 cat >>conftest.
$ac_ext <<_ACEOF
30483 /* end confdefs.h. */
30484 #include <X11/Xlib.h>
30493 rm -f conftest.
$ac_objext conftest
$ac_exeext
30494 if { (ac_try
="$ac_link"
30495 case "(($ac_try" in
30496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30497 *) ac_try_echo=$ac_try;;
30499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30500 (eval "$ac_link") 2>conftest.er1
30502 grep -v '^ *+' conftest.er1 >conftest.err
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } && {
30507 test -z "$ac_c_werror_flag" ||
30508 test ! -s conftest.err
30509 } && test -s conftest$ac_exeext &&
30510 $as_test_x conftest$ac_exeext; then
30512 # We can link X programs with no special library path.
30515 echo "$as_me: failed program was:" >&5
30516 sed 's/^/| /' conftest.$ac_ext >&5
30519 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30521 # Don't even attempt the hair of trying to link an X program!
30522 for ac_extension in a so sl; do
30523 if test -r "$ac_dir/libX11.$ac_extension"; then
30524 ac_x_libraries=$ac_dir
30531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30532 conftest$ac_exeext conftest.$ac_ext
30533 fi # $ac_x_libraries = no
30535 case $ac_x_includes,$ac_x_libraries in #(
30536 no,* | *,no | *\'*)
30537 # Didn't find X, or a directory has "'" in its name.
30538 ac_cv_have_x="have_x=no";; #(
30540 # Record where we found X for the cache.
30541 ac_cv_have_x="have_x=yes\
30542 ac_x_includes='$ac_x_includes'\
30543 ac_x_libraries='$ac_x_libraries'"
30549 eval "$ac_cv_have_x"
30552 if test "$have_x" != yes; then
30553 { echo "$as_me:$LINENO: result: $have_x" >&5
30554 echo "${ECHO_T}$have_x" >&6; }
30557 # If each of the values was on the command line, it overrides each guess.
30558 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30559 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30560 # Update the cache value to reflect the command line values.
30561 ac_cv_have_x="have_x=yes\
30562 ac_x_includes='$x_includes'\
30563 ac_x_libraries='$x_libraries'"
30564 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30565 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30568 if test "$no_x" = yes; then
30569 # Not all programs may use this symbol, but it does not hurt to define it.
30571 cat >>confdefs.h <<\_ACEOF
30572 #define X_DISPLAY_MISSING 1
30575 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30577 if test -n "$x_includes"; then
30578 X_CFLAGS="$X_CFLAGS -I$x_includes"
30581 # It would also be nice to do this for all -L options, not just this one.
30582 if test -n "$x_libraries"; then
30583 X_LIBS="$X_LIBS -L$x_libraries"
30584 # For Solaris; some versions of Sun CC require a space after -R and
30585 # others require no space. Words are not sufficient . . . .
30586 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30587 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30588 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30589 ac_xsave_c_werror_flag=$ac_c_werror_flag
30590 ac_c_werror_flag=yes
30591 cat >conftest.$ac_ext <<_ACEOF
30594 cat confdefs.h >>conftest.$ac_ext
30595 cat >>conftest.$ac_ext <<_ACEOF
30596 /* end confdefs.h. */
30606 rm -f conftest.$ac_objext conftest$ac_exeext
30607 if { (ac_try="$ac_link"
30608 case "(($ac_try" in
30609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30610 *) ac_try_echo
=$ac_try;;
30612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30613 (eval "$ac_link") 2>conftest.er1
30615 grep -v '^ *+' conftest.er1
>conftest.err
30617 cat conftest.err
>&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } && {
30620 test -z "$ac_c_werror_flag" ||
30621 test ! -s conftest.err
30622 } && test -s conftest
$ac_exeext &&
30623 $as_test_x conftest
$ac_exeext; then
30624 { echo "$as_me:$LINENO: result: no" >&5
30625 echo "${ECHO_T}no" >&6; }
30626 X_LIBS
="$X_LIBS -R$x_libraries"
30628 echo "$as_me: failed program was:" >&5
30629 sed 's/^/| /' conftest.
$ac_ext >&5
30631 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30632 cat >conftest.
$ac_ext <<_ACEOF
30635 cat confdefs.h
>>conftest.
$ac_ext
30636 cat >>conftest.
$ac_ext <<_ACEOF
30637 /* end confdefs.h. */
30647 rm -f conftest.
$ac_objext conftest
$ac_exeext
30648 if { (ac_try
="$ac_link"
30649 case "(($ac_try" in
30650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30651 *) ac_try_echo=$ac_try;;
30653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30654 (eval "$ac_link") 2>conftest.er1
30656 grep -v '^ *+' conftest.er1 >conftest.err
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } && {
30661 test -z "$ac_c_werror_flag" ||
30662 test ! -s conftest.err
30663 } && test -s conftest$ac_exeext &&
30664 $as_test_x conftest$ac_exeext; then
30665 { echo "$as_me:$LINENO: result: yes" >&5
30666 echo "${ECHO_T}yes" >&6; }
30667 X_LIBS="$X_LIBS -R $x_libraries"
30669 echo "$as_me: failed program was:" >&5
30670 sed 's/^/| /' conftest.$ac_ext >&5
30672 { echo "$as_me:$LINENO: result: neither works" >&5
30673 echo "${ECHO_T}neither works" >&6; }
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30682 ac_c_werror_flag=$ac_xsave_c_werror_flag
30683 LIBS=$ac_xsave_LIBS
30686 # Check for system-dependent libraries X programs must link with.
30687 # Do this before checking for the system-independent R6 libraries
30688 # (-lICE), since we may need -lsocket or whatever for X linking.
30690 if test "$ISC" = yes; then
30691 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30693 # Martyn Johnson says this is needed for Ultrix, if the X
30694 # libraries were built with DECnet support. And Karl Berry says
30695 # the Alpha needs dnet_stub (dnet does not exist).
30696 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30697 cat >conftest.$ac_ext <<_ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30704 /* Override any GCC internal prototype to avoid an error.
30705 Use char because int might match the return type of a GCC
30706 builtin and then its argument prototype would still apply. */
30710 char XOpenDisplay ();
30714 return XOpenDisplay ();
30719 rm -f conftest.$ac_objext conftest$ac_exeext
30720 if { (ac_try="$ac_link"
30721 case "(($ac_try" in
30722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30723 *) ac_try_echo
=$ac_try;;
30725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30726 (eval "$ac_link") 2>conftest.er1
30728 grep -v '^ *+' conftest.er1
>conftest.err
30730 cat conftest.err
>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); } && {
30733 test -z "$ac_c_werror_flag" ||
30734 test ! -s conftest.err
30735 } && test -s conftest
$ac_exeext &&
30736 $as_test_x conftest
$ac_exeext; then
30739 echo "$as_me: failed program was:" >&5
30740 sed 's/^/| /' conftest.
$ac_ext >&5
30742 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30743 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30744 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30745 echo $ECHO_N "(cached) $ECHO_C" >&6
30747 ac_check_lib_save_LIBS
=$LIBS
30748 LIBS
="-ldnet $LIBS"
30749 cat >conftest.
$ac_ext <<_ACEOF
30752 cat confdefs.h
>>conftest.
$ac_ext
30753 cat >>conftest.
$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30756 /* Override any GCC internal prototype to avoid an error.
30757 Use char because int might match the return type of a GCC
30758 builtin and then its argument prototype would still apply. */
30766 return dnet_ntoa ();
30771 rm -f conftest.
$ac_objext conftest
$ac_exeext
30772 if { (ac_try
="$ac_link"
30773 case "(($ac_try" in
30774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30775 *) ac_try_echo=$ac_try;;
30777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30778 (eval "$ac_link") 2>conftest.er1
30780 grep -v '^ *+' conftest.er1 >conftest.err
30782 cat conftest.err >&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } && {
30785 test -z "$ac_c_werror_flag" ||
30786 test ! -s conftest.err
30787 } && test -s conftest$ac_exeext &&
30788 $as_test_x conftest$ac_exeext; then
30789 ac_cv_lib_dnet_dnet_ntoa=yes
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30794 ac_cv_lib_dnet_dnet_ntoa=no
30797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30798 conftest$ac_exeext conftest.$ac_ext
30799 LIBS=$ac_check_lib_save_LIBS
30801 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30802 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30803 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30804 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30807 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30808 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30809 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30810 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30811 echo $ECHO_N "(cached) $ECHO_C" >&6
30813 ac_check_lib_save_LIBS=$LIBS
30814 LIBS="-ldnet_stub $LIBS"
30815 cat >conftest.$ac_ext <<_ACEOF
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h. */
30822 /* Override any GCC internal prototype to avoid an error.
30823 Use char because int might match the return type of a GCC
30824 builtin and then its argument prototype would still apply. */
30832 return dnet_ntoa ();
30837 rm -f conftest.$ac_objext conftest$ac_exeext
30838 if { (ac_try="$ac_link"
30839 case "(($ac_try" in
30840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30841 *) ac_try_echo
=$ac_try;;
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_link") 2>conftest.er1
30846 grep -v '^ *+' conftest.er1
>conftest.err
30848 cat conftest.err
>&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); } && {
30851 test -z "$ac_c_werror_flag" ||
30852 test ! -s conftest.err
30853 } && test -s conftest
$ac_exeext &&
30854 $as_test_x conftest
$ac_exeext; then
30855 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30857 echo "$as_me: failed program was:" >&5
30858 sed 's/^/| /' conftest.
$ac_ext >&5
30860 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30863 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30864 conftest
$ac_exeext conftest.
$ac_ext
30865 LIBS
=$ac_check_lib_save_LIBS
30867 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30868 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30869 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30877 conftest
$ac_exeext conftest.
$ac_ext
30878 LIBS
="$ac_xsave_LIBS"
30880 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30881 # to get the SysV transport functions.
30882 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30884 # The nsl library prevents programs from opening the X display
30885 # on Irix 5.2, according to T.E. Dickey.
30886 # The functions gethostbyname, getservbyname, and inet_addr are
30887 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30888 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30889 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30890 if test "${ac_cv_func_gethostbyname+set}" = set; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30893 cat >conftest.
$ac_ext <<_ACEOF
30896 cat confdefs.h
>>conftest.
$ac_ext
30897 cat >>conftest.
$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30901 #define gethostbyname innocuous_gethostbyname
30903 /* System header to define __stub macros and hopefully few prototypes,
30904 which can conflict with char gethostbyname (); below.
30905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30906 <limits.h> exists even on freestanding compilers. */
30909 # include <limits.h>
30911 # include <assert.h>
30914 #undef gethostbyname
30916 /* Override any GCC internal prototype to avoid an error.
30917 Use char because int might match the return type of a GCC
30918 builtin and then its argument prototype would still apply. */
30922 char gethostbyname ();
30923 /* The GNU C library defines this for functions which it implements
30924 to always fail with ENOSYS. Some functions are actually named
30925 something starting with __ and the normal name is an alias. */
30926 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30933 return gethostbyname ();
30938 rm -f conftest.
$ac_objext conftest
$ac_exeext
30939 if { (ac_try
="$ac_link"
30940 case "(($ac_try" in
30941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30942 *) ac_try_echo=$ac_try;;
30944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30945 (eval "$ac_link") 2>conftest.er1
30947 grep -v '^ *+' conftest.er1 >conftest.err
30949 cat conftest.err >&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } && {
30952 test -z "$ac_c_werror_flag" ||
30953 test ! -s conftest.err
30954 } && test -s conftest$ac_exeext &&
30955 $as_test_x conftest$ac_exeext; then
30956 ac_cv_func_gethostbyname=yes
30958 echo "$as_me: failed program was:" >&5
30959 sed 's/^/| /' conftest.$ac_ext >&5
30961 ac_cv_func_gethostbyname=no
30964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30965 conftest$ac_exeext conftest.$ac_ext
30967 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30968 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30970 if test $ac_cv_func_gethostbyname = no; then
30971 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30972 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30973 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30976 ac_check_lib_save_LIBS=$LIBS
30978 cat >conftest.$ac_ext <<_ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30985 /* Override any GCC internal prototype to avoid an error.
30986 Use char because int might match the return type of a GCC
30987 builtin and then its argument prototype would still apply. */
30991 char gethostbyname ();
30995 return gethostbyname ();
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (ac_try="$ac_link"
31002 case "(($ac_try" in
31003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31004 *) ac_try_echo
=$ac_try;;
31006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31007 (eval "$ac_link") 2>conftest.er1
31009 grep -v '^ *+' conftest.er1
>conftest.err
31011 cat conftest.err
>&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); } && {
31014 test -z "$ac_c_werror_flag" ||
31015 test ! -s conftest.err
31016 } && test -s conftest
$ac_exeext &&
31017 $as_test_x conftest
$ac_exeext; then
31018 ac_cv_lib_nsl_gethostbyname
=yes
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.
$ac_ext >&5
31023 ac_cv_lib_nsl_gethostbyname
=no
31026 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31027 conftest
$ac_exeext conftest.
$ac_ext
31028 LIBS
=$ac_check_lib_save_LIBS
31030 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31031 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31032 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31036 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31037 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31038 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31039 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31040 echo $ECHO_N "(cached) $ECHO_C" >&6
31042 ac_check_lib_save_LIBS
=$LIBS
31044 cat >conftest.
$ac_ext <<_ACEOF
31047 cat confdefs.h
>>conftest.
$ac_ext
31048 cat >>conftest.
$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31051 /* Override any GCC internal prototype to avoid an error.
31052 Use char because int might match the return type of a GCC
31053 builtin and then its argument prototype would still apply. */
31057 char gethostbyname ();
31061 return gethostbyname ();
31066 rm -f conftest.
$ac_objext conftest
$ac_exeext
31067 if { (ac_try
="$ac_link"
31068 case "(($ac_try" in
31069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31070 *) ac_try_echo=$ac_try;;
31072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31073 (eval "$ac_link") 2>conftest.er1
31075 grep -v '^ *+' conftest.er1 >conftest.err
31077 cat conftest.err >&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } && {
31080 test -z "$ac_c_werror_flag" ||
31081 test ! -s conftest.err
31082 } && test -s conftest$ac_exeext &&
31083 $as_test_x conftest$ac_exeext; then
31084 ac_cv_lib_bsd_gethostbyname=yes
31086 echo "$as_me: failed program was:" >&5
31087 sed 's/^/| /' conftest.$ac_ext >&5
31089 ac_cv_lib_bsd_gethostbyname=no
31092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31093 conftest$ac_exeext conftest.$ac_ext
31094 LIBS=$ac_check_lib_save_LIBS
31096 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31097 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31098 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31106 # socket/setsockopt and other routines are undefined under SCO ODT
31107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31108 # on later versions), says Simon Leinen: it contains gethostby*
31109 # variants that don't use the name server (or something). -lsocket
31110 # must be given before -lnsl if both are needed. We assume that
31111 # if connect needs -lnsl, so does gethostbyname.
31112 { echo "$as_me:$LINENO: checking for connect" >&5
31113 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31114 if test "${ac_cv_func_connect+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31117 cat >conftest.$ac_ext <<_ACEOF
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31123 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31125 #define connect innocuous_connect
31127 /* System header to define __stub macros and hopefully few prototypes,
31128 which can conflict with char connect (); below.
31129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31130 <limits.h> exists even on freestanding compilers. */
31133 # include <limits.h>
31135 # include <assert.h>
31140 /* Override any GCC internal prototype to avoid an error.
31141 Use char because int might match the return type of a GCC
31142 builtin and then its argument prototype would still apply. */
31147 /* The GNU C library defines this for functions which it implements
31148 to always fail with ENOSYS. Some functions are actually named
31149 something starting with __ and the normal name is an alias. */
31150 #if defined __stub_connect || defined __stub___connect
31162 rm -f conftest.$ac_objext conftest$ac_exeext
31163 if { (ac_try="$ac_link"
31164 case "(($ac_try" in
31165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31166 *) ac_try_echo
=$ac_try;;
31168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31169 (eval "$ac_link") 2>conftest.er1
31171 grep -v '^ *+' conftest.er1
>conftest.err
31173 cat conftest.err
>&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } && {
31176 test -z "$ac_c_werror_flag" ||
31177 test ! -s conftest.err
31178 } && test -s conftest
$ac_exeext &&
31179 $as_test_x conftest
$ac_exeext; then
31180 ac_cv_func_connect
=yes
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.
$ac_ext >&5
31185 ac_cv_func_connect
=no
31188 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31189 conftest
$ac_exeext conftest.
$ac_ext
31191 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31192 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31194 if test $ac_cv_func_connect = no
; then
31195 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31196 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31197 if test "${ac_cv_lib_socket_connect+set}" = set; then
31198 echo $ECHO_N "(cached) $ECHO_C" >&6
31200 ac_check_lib_save_LIBS
=$LIBS
31201 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31202 cat >conftest.
$ac_ext <<_ACEOF
31205 cat confdefs.h
>>conftest.
$ac_ext
31206 cat >>conftest.
$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31209 /* Override any GCC internal prototype to avoid an error.
31210 Use char because int might match the return type of a GCC
31211 builtin and then its argument prototype would still apply. */
31224 rm -f conftest.
$ac_objext conftest
$ac_exeext
31225 if { (ac_try
="$ac_link"
31226 case "(($ac_try" in
31227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31228 *) ac_try_echo=$ac_try;;
31230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31231 (eval "$ac_link") 2>conftest.er1
31233 grep -v '^ *+' conftest.er1 >conftest.err
31235 cat conftest.err >&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } && {
31238 test -z "$ac_c_werror_flag" ||
31239 test ! -s conftest.err
31240 } && test -s conftest$ac_exeext &&
31241 $as_test_x conftest$ac_exeext; then
31242 ac_cv_lib_socket_connect=yes
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.$ac_ext >&5
31247 ac_cv_lib_socket_connect=no
31250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31251 conftest$ac_exeext conftest.$ac_ext
31252 LIBS=$ac_check_lib_save_LIBS
31254 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31255 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31256 if test $ac_cv_lib_socket_connect = yes; then
31257 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31262 # Guillermo Gomez says -lposix is necessary on A/UX.
31263 { echo "$as_me:$LINENO: checking for remove" >&5
31264 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31265 if test "${ac_cv_func_remove+set}" = set; then
31266 echo $ECHO_N "(cached) $ECHO_C" >&6
31268 cat >conftest.$ac_ext <<_ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31276 #define remove innocuous_remove
31278 /* System header to define __stub macros and hopefully few prototypes,
31279 which can conflict with char remove (); below.
31280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31281 <limits.h> exists even on freestanding compilers. */
31284 # include <limits.h>
31286 # include <assert.h>
31291 /* Override any GCC internal prototype to avoid an error.
31292 Use char because int might match the return type of a GCC
31293 builtin and then its argument prototype would still apply. */
31298 /* The GNU C library defines this for functions which it implements
31299 to always fail with ENOSYS. Some functions are actually named
31300 something starting with __ and the normal name is an alias. */
31301 #if defined __stub_remove || defined __stub___remove
31313 rm -f conftest.$ac_objext conftest$ac_exeext
31314 if { (ac_try="$ac_link"
31315 case "(($ac_try" in
31316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31317 *) ac_try_echo
=$ac_try;;
31319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31320 (eval "$ac_link") 2>conftest.er1
31322 grep -v '^ *+' conftest.er1
>conftest.err
31324 cat conftest.err
>&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); } && {
31327 test -z "$ac_c_werror_flag" ||
31328 test ! -s conftest.err
31329 } && test -s conftest
$ac_exeext &&
31330 $as_test_x conftest
$ac_exeext; then
31331 ac_cv_func_remove
=yes
31333 echo "$as_me: failed program was:" >&5
31334 sed 's/^/| /' conftest.
$ac_ext >&5
31336 ac_cv_func_remove
=no
31339 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31340 conftest
$ac_exeext conftest.
$ac_ext
31342 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31343 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31345 if test $ac_cv_func_remove = no
; then
31346 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31347 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31348 if test "${ac_cv_lib_posix_remove+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 ac_check_lib_save_LIBS
=$LIBS
31352 LIBS
="-lposix $LIBS"
31353 cat >conftest.
$ac_ext <<_ACEOF
31356 cat confdefs.h
>>conftest.
$ac_ext
31357 cat >>conftest.
$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31360 /* Override any GCC internal prototype to avoid an error.
31361 Use char because int might match the return type of a GCC
31362 builtin and then its argument prototype would still apply. */
31375 rm -f conftest.
$ac_objext conftest
$ac_exeext
31376 if { (ac_try
="$ac_link"
31377 case "(($ac_try" in
31378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31379 *) ac_try_echo=$ac_try;;
31381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_link") 2>conftest.er1
31384 grep -v '^ *+' conftest.er1 >conftest.err
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } && {
31389 test -z "$ac_c_werror_flag" ||
31390 test ! -s conftest.err
31391 } && test -s conftest$ac_exeext &&
31392 $as_test_x conftest$ac_exeext; then
31393 ac_cv_lib_posix_remove=yes
31395 echo "$as_me: failed program was:" >&5
31396 sed 's/^/| /' conftest.$ac_ext >&5
31398 ac_cv_lib_posix_remove=no
31401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31402 conftest$ac_exeext conftest.$ac_ext
31403 LIBS=$ac_check_lib_save_LIBS
31405 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31406 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31407 if test $ac_cv_lib_posix_remove = yes; then
31408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31413 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31414 { echo "$as_me:$LINENO: checking for shmat" >&5
31415 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31416 if test "${ac_cv_func_shmat+set}" = set; then
31417 echo $ECHO_N "(cached) $ECHO_C" >&6
31419 cat >conftest.$ac_ext <<_ACEOF
31422 cat confdefs.h >>conftest.$ac_ext
31423 cat >>conftest.$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31425 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31427 #define shmat innocuous_shmat
31429 /* System header to define __stub macros and hopefully few prototypes,
31430 which can conflict with char shmat (); below.
31431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31432 <limits.h> exists even on freestanding compilers. */
31435 # include <limits.h>
31437 # include <assert.h>
31442 /* Override any GCC internal prototype to avoid an error.
31443 Use char because int might match the return type of a GCC
31444 builtin and then its argument prototype would still apply. */
31449 /* The GNU C library defines this for functions which it implements
31450 to always fail with ENOSYS. Some functions are actually named
31451 something starting with __ and the normal name is an alias. */
31452 #if defined __stub_shmat || defined __stub___shmat
31464 rm -f conftest.$ac_objext conftest$ac_exeext
31465 if { (ac_try="$ac_link"
31466 case "(($ac_try" in
31467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31468 *) ac_try_echo
=$ac_try;;
31470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31471 (eval "$ac_link") 2>conftest.er1
31473 grep -v '^ *+' conftest.er1
>conftest.err
31475 cat conftest.err
>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } && {
31478 test -z "$ac_c_werror_flag" ||
31479 test ! -s conftest.err
31480 } && test -s conftest
$ac_exeext &&
31481 $as_test_x conftest
$ac_exeext; then
31482 ac_cv_func_shmat
=yes
31484 echo "$as_me: failed program was:" >&5
31485 sed 's/^/| /' conftest.
$ac_ext >&5
31487 ac_cv_func_shmat
=no
31490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31491 conftest
$ac_exeext conftest.
$ac_ext
31493 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31494 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31496 if test $ac_cv_func_shmat = no
; then
31497 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31498 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31499 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31502 ac_check_lib_save_LIBS
=$LIBS
31504 cat >conftest.
$ac_ext <<_ACEOF
31507 cat confdefs.h
>>conftest.
$ac_ext
31508 cat >>conftest.
$ac_ext <<_ACEOF
31509 /* end confdefs.h. */
31511 /* Override any GCC internal prototype to avoid an error.
31512 Use char because int might match the return type of a GCC
31513 builtin and then its argument prototype would still apply. */
31526 rm -f conftest.
$ac_objext conftest
$ac_exeext
31527 if { (ac_try
="$ac_link"
31528 case "(($ac_try" in
31529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31530 *) ac_try_echo=$ac_try;;
31532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31533 (eval "$ac_link") 2>conftest.er1
31535 grep -v '^ *+' conftest.er1 >conftest.err
31537 cat conftest.err >&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } && {
31540 test -z "$ac_c_werror_flag" ||
31541 test ! -s conftest.err
31542 } && test -s conftest$ac_exeext &&
31543 $as_test_x conftest$ac_exeext; then
31544 ac_cv_lib_ipc_shmat=yes
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.$ac_ext >&5
31549 ac_cv_lib_ipc_shmat=no
31552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31553 conftest$ac_exeext conftest.$ac_ext
31554 LIBS=$ac_check_lib_save_LIBS
31556 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31557 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31558 if test $ac_cv_lib_ipc_shmat = yes; then
31559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31565 # Check for libraries that X11R6 Xt/Xaw programs need.
31566 ac_save_LDFLAGS=$LDFLAGS
31567 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31568 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31569 # check for ICE first), but we must link in the order -lSM -lICE or
31570 # we get undefined symbols. So assume we have SM if we have ICE.
31571 # These have to be linked with before -lX11, unlike the other
31572 # libraries we check for below, so use a different variable.
31573 # John Interrante, Karl Berry
31574 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31575 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31576 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31577 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 ac_check_lib_save_LIBS=$LIBS
31580 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31581 cat >conftest.$ac_ext <<_ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31588 /* Override any GCC internal prototype to avoid an error.
31589 Use char because int might match the return type of a GCC
31590 builtin and then its argument prototype would still apply. */
31594 char IceConnectionNumber ();
31598 return IceConnectionNumber ();
31603 rm -f conftest.$ac_objext conftest$ac_exeext
31604 if { (ac_try="$ac_link"
31605 case "(($ac_try" in
31606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31607 *) ac_try_echo
=$ac_try;;
31609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31610 (eval "$ac_link") 2>conftest.er1
31612 grep -v '^ *+' conftest.er1
>conftest.err
31614 cat conftest.err
>&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } && {
31617 test -z "$ac_c_werror_flag" ||
31618 test ! -s conftest.err
31619 } && test -s conftest
$ac_exeext &&
31620 $as_test_x conftest
$ac_exeext; then
31621 ac_cv_lib_ICE_IceConnectionNumber
=yes
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.
$ac_ext >&5
31626 ac_cv_lib_ICE_IceConnectionNumber
=no
31629 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31630 conftest
$ac_exeext conftest.
$ac_ext
31631 LIBS
=$ac_check_lib_save_LIBS
31633 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31634 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31635 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31636 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31639 LDFLAGS
=$ac_save_LDFLAGS
31644 if test "$no_x" = "yes"; then
31645 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31646 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31647 { (exit 1); exit 1; }; }
31650 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31651 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31652 AFMINSTALL
=afminstall
31653 COMPILED_X_PROGRAM
=0
31657 if test "$wxUSE_X11" = 1; then
31658 if test "$wxUSE_NANOX" = "yes"; then
31659 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31660 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31661 if test "x$MICROWIN" = x
; then
31662 { echo "$as_me:$LINENO: result: not found" >&5
31663 echo "${ECHO_T}not found" >&6; }
31664 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31665 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31666 { (exit 1); exit 1; }; }
31668 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31669 echo "${ECHO_T}$MICROWIN" >&6; }
31670 cat >>confdefs.h
<<\_ACEOF
31671 #define wxUSE_NANOX 1
31677 if test "$wxUSE_UNICODE" = "yes"; then
31680 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31681 if test -n "$ac_tool_prefix"; then
31682 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31683 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31686 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31687 echo $ECHO_N "(cached) $ECHO_C" >&6
31689 case $PKG_CONFIG in
31691 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31695 for as_dir
in $PATH
31698 test -z "$as_dir" && as_dir
=.
31699 for ac_exec_ext
in '' $ac_executable_extensions; do
31700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31701 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31712 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31713 if test -n "$PKG_CONFIG"; then
31714 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31715 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31717 { echo "$as_me:$LINENO: result: no" >&5
31718 echo "${ECHO_T}no" >&6; }
31723 if test -z "$ac_cv_path_PKG_CONFIG"; then
31724 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31725 # Extract the first word of "pkg-config", so it can be a program name with args.
31726 set dummy pkg
-config; ac_word
=$2
31727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31729 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 case $ac_pt_PKG_CONFIG in
31734 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31738 for as_dir
in $PATH
31741 test -z "$as_dir" && as_dir
=.
31742 for ac_exec_ext
in '' $ac_executable_extensions; do
31743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31744 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31755 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31756 if test -n "$ac_pt_PKG_CONFIG"; then
31757 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31758 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31760 { echo "$as_me:$LINENO: result: no" >&5
31761 echo "${ECHO_T}no" >&6; }
31764 if test "x$ac_pt_PKG_CONFIG" = x
; then
31767 case $cross_compiling:$ac_tool_warned in
31769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31770 whose name does not start with the host triplet. If you think this
31771 configuration is useful to you, please write to autoconf@gnu.org." >&5
31772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31773 whose name does not start with the host triplet. If you think this
31774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31775 ac_tool_warned
=yes ;;
31777 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31780 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31784 if test -n "$PKG_CONFIG"; then
31785 _pkg_min_version
=0.9.0
31786 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31787 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31788 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31789 { echo "$as_me:$LINENO: result: yes" >&5
31790 echo "${ECHO_T}yes" >&6; }
31792 { echo "$as_me:$LINENO: result: no" >&5
31793 echo "${ECHO_T}no" >&6; }
31801 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31802 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31804 if test -n "$PKG_CONFIG"; then
31805 if test -n "$PANGOX_CFLAGS"; then
31806 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31808 if test -n "$PKG_CONFIG" && \
31809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31810 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); }; then
31814 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31822 if test -n "$PKG_CONFIG"; then
31823 if test -n "$PANGOX_LIBS"; then
31824 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31826 if test -n "$PKG_CONFIG" && \
31827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31828 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; then
31832 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31843 if test $pkg_failed = yes; then
31845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31846 _pkg_short_errors_supported
=yes
31848 _pkg_short_errors_supported
=no
31850 if test $_pkg_short_errors_supported = yes; then
31851 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31853 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31855 # Put the nasty error message in config.log where it belongs
31856 echo "$PANGOX_PKG_ERRORS" >&5
31859 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31860 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31861 { (exit 1); exit 1; }; }
31864 elif test $pkg_failed = untried
; then
31866 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31867 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31868 { (exit 1); exit 1; }; }
31872 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31873 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31874 { echo "$as_me:$LINENO: result: yes" >&5
31875 echo "${ECHO_T}yes" >&6; }
31877 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31878 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31879 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31884 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31885 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31887 if test -n "$PKG_CONFIG"; then
31888 if test -n "$PANGOFT2_CFLAGS"; then
31889 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31891 if test -n "$PKG_CONFIG" && \
31892 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31893 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; then
31897 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31905 if test -n "$PKG_CONFIG"; then
31906 if test -n "$PANGOFT2_LIBS"; then
31907 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31909 if test -n "$PKG_CONFIG" && \
31910 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31911 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; then
31915 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31926 if test $pkg_failed = yes; then
31928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31929 _pkg_short_errors_supported
=yes
31931 _pkg_short_errors_supported
=no
31933 if test $_pkg_short_errors_supported = yes; then
31934 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31936 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31938 # Put the nasty error message in config.log where it belongs
31939 echo "$PANGOFT2_PKG_ERRORS" >&5
31942 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31943 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31944 wxUSE_PRINTING_ARCHITECTURE
="no"
31947 elif test $pkg_failed = untried
; then
31949 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31950 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31951 wxUSE_PRINTING_ARCHITECTURE
="no"
31955 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31956 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31957 { echo "$as_me:$LINENO: result: yes" >&5
31958 echo "${ECHO_T}yes" >&6; }
31960 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31961 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31962 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31967 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31968 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31970 if test -n "$PKG_CONFIG"; then
31971 if test -n "$PANGOXFT_CFLAGS"; then
31972 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31974 if test -n "$PKG_CONFIG" && \
31975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31976 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; then
31980 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31988 if test -n "$PKG_CONFIG"; then
31989 if test -n "$PANGOXFT_LIBS"; then
31990 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31992 if test -n "$PKG_CONFIG" && \
31993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31994 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; then
31998 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32009 if test $pkg_failed = yes; then
32011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32012 _pkg_short_errors_supported
=yes
32014 _pkg_short_errors_supported
=no
32016 if test $_pkg_short_errors_supported = yes; then
32017 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32019 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32021 # Put the nasty error message in config.log where it belongs
32022 echo "$PANGOXFT_PKG_ERRORS" >&5
32025 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32026 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32029 elif test $pkg_failed = untried
; then
32031 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32032 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32036 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32037 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32038 { echo "$as_me:$LINENO: result: yes" >&5
32039 echo "${ECHO_T}yes" >&6; }
32041 cat >>confdefs.h
<<\_ACEOF
32042 #define HAVE_PANGO_XFT 1
32045 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32046 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32047 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32051 LIBS
="$LIBS $PANGOX_LIBS"
32053 for ac_func
in pango_font_family_is_monospace
32055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32058 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32059 echo $ECHO_N "(cached) $ECHO_C" >&6
32061 cat >conftest.
$ac_ext <<_ACEOF
32064 cat confdefs.h
>>conftest.
$ac_ext
32065 cat >>conftest.
$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32069 #define $ac_func innocuous_$ac_func
32071 /* System header to define __stub macros and hopefully few prototypes,
32072 which can conflict with char $ac_func (); below.
32073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32074 <limits.h> exists even on freestanding compilers. */
32077 # include <limits.h>
32079 # include <assert.h>
32084 /* Override any GCC internal prototype to avoid an error.
32085 Use char because int might match the return type of a GCC
32086 builtin and then its argument prototype would still apply. */
32091 /* The GNU C library defines this for functions which it implements
32092 to always fail with ENOSYS. Some functions are actually named
32093 something starting with __ and the normal name is an alias. */
32094 #if defined __stub_$ac_func || defined __stub___$ac_func
32101 return $ac_func ();
32106 rm -f conftest.
$ac_objext conftest
$ac_exeext
32107 if { (ac_try
="$ac_link"
32108 case "(($ac_try" in
32109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32110 *) ac_try_echo=$ac_try;;
32112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32113 (eval "$ac_link") 2>conftest.er1
32115 grep -v '^ *+' conftest.er1 >conftest.err
32117 cat conftest.err >&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } && {
32120 test -z "$ac_c_werror_flag" ||
32121 test ! -s conftest.err
32122 } && test -s conftest$ac_exeext &&
32123 $as_test_x conftest$ac_exeext; then
32124 eval "$as_ac_var=yes"
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32129 eval "$as_ac_var=no"
32132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32133 conftest$ac_exeext conftest.$ac_ext
32135 ac_res=`eval echo '${'$as_ac_var'}'`
32136 { echo "$as_me:$LINENO: result: $ac_res" >&5
32137 echo "${ECHO_T}$ac_res" >&6; }
32138 if test `eval echo '${'$as_ac_var'}'` = yes; then
32139 cat >>confdefs.h <<_ACEOF
32140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32149 wxUSE_UNIVERSAL="yes"
32151 if test "$wxUSE_NANOX" = "yes"; then
32152 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32153 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"
32154 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32163 if test "$wxUSE_MOTIF" = 1; then
32164 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32165 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32168 for ac_dir in $SEARCH_INCLUDE /usr/include;
32170 if test -f "$ac_dir/Xm/Xm.h"; then
32171 ac_find_includes=$ac_dir
32176 if test "$ac_find_includes" != "" ; then
32177 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32178 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32180 if test "x$ac_find_includes" = "x/usr/include"; then
32181 ac_path_to_include=""
32183 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32185 if test $result = 0; then
32186 ac_path_to_include=""
32188 ac_path_to_include=" -I$ac_find_includes"
32192 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32194 save_CFLAGS=$CFLAGS
32195 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32197 cat >conftest.$ac_ext <<_ACEOF
32200 cat confdefs.h >>conftest.$ac_ext
32201 cat >>conftest.$ac_ext <<_ACEOF
32202 /* end confdefs.h. */
32211 version = xmUseVersion;
32217 rm -f conftest.$ac_objext
32218 if { (ac_try="$ac_compile"
32219 case "(($ac_try" in
32220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32221 *) ac_try_echo
=$ac_try;;
32223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32224 (eval "$ac_compile") 2>conftest.er1
32226 grep -v '^ *+' conftest.er1
>conftest.err
32228 cat conftest.err
>&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } && {
32231 test -z "$ac_c_werror_flag" ||
32232 test ! -s conftest.err
32233 } && test -s conftest.
$ac_objext; then
32235 { echo "$as_me:$LINENO: result: found in default search path" >&5
32236 echo "${ECHO_T}found in default search path" >&6; }
32237 COMPILED_X_PROGRAM
=1
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.
$ac_ext >&5
32244 { echo "$as_me:$LINENO: result: no" >&5
32245 echo "${ECHO_T}no" >&6; }
32246 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32247 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32248 { (exit 1); exit 1; }; }
32253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32255 CFLAGS
=$save_CFLAGS
32259 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32260 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32263 for ac_dir
in $SEARCH_LIB;
32265 for ac_extension
in a so sl dylib dll.a
; do
32266 if test -f "$ac_dir/libXm.$ac_extension"; then
32267 ac_find_libraries
=$ac_dir
32274 if test "x$ac_find_libraries" != "x" ; then
32275 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32276 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32279 if test "$ac_find_libraries" = "default location"; then
32282 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32284 if test $result = 0; then
32287 ac_path_to_link
=" -L$ac_find_libraries"
32291 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32293 save_CFLAGS
=$CFLAGS
32294 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32296 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32298 cat >conftest.
$ac_ext <<_ACEOF
32301 cat confdefs.h
>>conftest.
$ac_ext
32302 cat >>conftest.
$ac_ext <<_ACEOF
32303 /* end confdefs.h. */
32312 version = xmUseVersion;
32318 rm -f conftest.
$ac_objext conftest
$ac_exeext
32319 if { (ac_try
="$ac_link"
32320 case "(($ac_try" in
32321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32322 *) ac_try_echo=$ac_try;;
32324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32325 (eval "$ac_link") 2>conftest.er1
32327 grep -v '^ *+' conftest.er1 >conftest.err
32329 cat conftest.err >&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); } && {
32332 test -z "$ac_c_werror_flag" ||
32333 test ! -s conftest.err
32334 } && test -s conftest$ac_exeext &&
32335 $as_test_x conftest$ac_exeext; then
32337 { echo "$as_me:$LINENO: result: found in default search path" >&5
32338 echo "${ECHO_T}found in default search path" >&6; }
32339 COMPILED_X_PROGRAM=1
32342 echo "$as_me: failed program was:" >&5
32343 sed 's/^/| /' conftest.$ac_ext >&5
32346 { echo "$as_me:$LINENO: result: no" >&5
32347 echo "${ECHO_T}no" >&6; }
32348 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32349 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32350 { (exit 1); exit 1; }; }
32355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32356 conftest$ac_exeext conftest.$ac_ext
32358 CFLAGS=$save_CFLAGS
32362 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32363 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32367 for libp in "" " -lXp"; do
32368 if test "$libs_found" = 0; then
32369 for libsm_ice in "" " -lSM -lICE"; do
32370 if test "$libs_found" = 0; then
32372 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32373 save_CFLAGS=$CFLAGS
32374 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32376 cat >conftest.$ac_ext <<_ACEOF
32379 cat confdefs.h >>conftest.$ac_ext
32380 cat >>conftest.$ac_ext <<_ACEOF
32381 /* end confdefs.h. */
32384 #include <Xm/List.h>
32390 XmString string = NULL;
32393 XmListAddItem(w, string, position);
32399 rm -f conftest.$ac_objext conftest$ac_exeext
32400 if { (ac_try="$ac_link"
32401 case "(($ac_try" in
32402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32403 *) ac_try_echo
=$ac_try;;
32405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32406 (eval "$ac_link") 2>conftest.er1
32408 grep -v '^ *+' conftest.er1
>conftest.err
32410 cat conftest.err
>&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); } && {
32413 test -z "$ac_c_werror_flag" ||
32414 test ! -s conftest.err
32415 } && test -s conftest
$ac_exeext &&
32416 $as_test_x conftest
$ac_exeext; then
32419 libsm_ice_link
="$libsm_ice"
32420 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32421 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.
$ac_ext >&5
32432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32433 conftest
$ac_exeext conftest.
$ac_ext
32436 CFLAGS
=$save_CFLAGS
32442 if test "$libs_found" = 0; then
32443 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32444 echo "${ECHO_T}can't find the right libraries" >&6; }
32445 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32446 echo "$as_me: error: can't link a simple motif program" >&2;}
32447 { (exit 1); exit 1; }; }
32450 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32451 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32452 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32455 ac_check_lib_save_LIBS
=$LIBS
32457 cat >conftest.
$ac_ext <<_ACEOF
32460 cat confdefs.h
>>conftest.
$ac_ext
32461 cat >>conftest.
$ac_ext <<_ACEOF
32462 /* end confdefs.h. */
32464 /* Override any GCC internal prototype to avoid an error.
32465 Use char because int might match the return type of a GCC
32466 builtin and then its argument prototype would still apply. */
32470 char SgCreateList ();
32474 return SgCreateList ();
32479 rm -f conftest.
$ac_objext conftest
$ac_exeext
32480 if { (ac_try
="$ac_link"
32481 case "(($ac_try" in
32482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32483 *) ac_try_echo=$ac_try;;
32485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32486 (eval "$ac_link") 2>conftest.er1
32488 grep -v '^ *+' conftest.er1 >conftest.err
32490 cat conftest.err >&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); } && {
32493 test -z "$ac_c_werror_flag" ||
32494 test ! -s conftest.err
32495 } && test -s conftest$ac_exeext &&
32496 $as_test_x conftest$ac_exeext; then
32497 ac_cv_lib_Sgm_SgCreateList=yes
32499 echo "$as_me: failed program was:" >&5
32500 sed 's/^/| /' conftest.$ac_ext >&5
32502 ac_cv_lib_Sgm_SgCreateList=no
32505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32506 conftest$ac_exeext conftest.$ac_ext
32507 LIBS=$ac_check_lib_save_LIBS
32509 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32510 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32511 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32512 libsgm_link=" -lSgm"
32516 save_CFLAGS=$CFLAGS
32517 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32519 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32520 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32521 if test "${wx_cv_lib_motif2+set}" = set; then
32522 echo $ECHO_N "(cached) $ECHO_C" >&6
32524 cat >conftest.$ac_ext <<_ACEOF
32527 cat confdefs.h >>conftest.$ac_ext
32528 cat >>conftest.$ac_ext <<_ACEOF
32529 /* end confdefs.h. */
32537 #if XmVersion < 2000
32545 rm -f conftest.$ac_objext
32546 if { (ac_try="$ac_compile"
32547 case "(($ac_try" in
32548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32549 *) ac_try_echo
=$ac_try;;
32551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32552 (eval "$ac_compile") 2>conftest.er1
32554 grep -v '^ *+' conftest.er1
>conftest.err
32556 cat conftest.err
>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); } && {
32559 test -z "$ac_c_werror_flag" ||
32560 test ! -s conftest.err
32561 } && test -s conftest.
$ac_objext; then
32562 wx_cv_lib_motif2
="yes"
32564 echo "$as_me: failed program was:" >&5
32565 sed 's/^/| /' conftest.
$ac_ext >&5
32567 wx_cv_lib_motif2
="no"
32570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32572 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32573 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32574 if test "$wx_cv_lib_motif2" = "yes"; then
32575 cat >>confdefs.h
<<\_ACEOF
32576 #define __WXMOTIF20__ 1
32580 cat >>confdefs.h
<<\_ACEOF
32581 #define __WXMOTIF20__ 0
32586 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32587 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32588 if test "${wx_cv_lib_lesstif+set}" = set; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32591 cat >conftest.
$ac_ext <<_ACEOF
32594 cat confdefs.h
>>conftest.
$ac_ext
32595 cat >>conftest.
$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32604 #if !defined(LesstifVersion) || LesstifVersion <= 0
32612 rm -f conftest.
$ac_objext
32613 if { (ac_try
="$ac_compile"
32614 case "(($ac_try" in
32615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32616 *) ac_try_echo=$ac_try;;
32618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32619 (eval "$ac_compile") 2>conftest.er1
32621 grep -v '^ *+' conftest.er1 >conftest.err
32623 cat conftest.err >&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); } && {
32626 test -z "$ac_c_werror_flag" ||
32627 test ! -s conftest.err
32628 } && test -s conftest.$ac_objext; then
32629 wx_cv_lib_lesstif="yes"
32631 echo "$as_me: failed program was:" >&5
32632 sed 's/^/| /' conftest.$ac_ext >&5
32634 wx_cv_lib_lesstif="no"
32637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32640 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32641 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32642 if test "$wx_cv_lib_lesstif" = "yes"; then
32643 cat >>confdefs.h <<\_ACEOF
32644 #define __WXLESSTIF__ 1
32648 cat >>confdefs.h <<\_ACEOF
32649 #define __WXLESSTIF__ 0
32654 CFLAGS=$save_CFLAGS
32656 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32661 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32662 if test "$wxUSE_LIBXPM" = "sys"; then
32663 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32664 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32667 for ac_dir in $SEARCH_LIB;
32669 for ac_extension in a so sl dylib dll.a; do
32670 if test -f "$ac_dir/libXpm.$ac_extension"; then
32671 ac_find_libraries=$ac_dir
32677 if test "$ac_find_libraries" != "" ; then
32679 if test "$ac_find_libraries" = "default location"; then
32682 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32684 if test $result = 0; then
32687 ac_path_to_link=" -L$ac_find_libraries"
32691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32692 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32693 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32695 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32696 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32697 if test "${wx_cv_x11_xpm_h+set}" = set; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32701 save_CFLAGS=$CFLAGS
32702 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32704 cat >conftest.$ac_ext <<_ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32711 #include <X11/xpm.h>
32718 version = XpmLibraryVersion();
32724 rm -f conftest.$ac_objext
32725 if { (ac_try="$ac_compile"
32726 case "(($ac_try" in
32727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32728 *) ac_try_echo
=$ac_try;;
32730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32731 (eval "$ac_compile") 2>conftest.er1
32733 grep -v '^ *+' conftest.er1
>conftest.err
32735 cat conftest.err
>&5
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); } && {
32738 test -z "$ac_c_werror_flag" ||
32739 test ! -s conftest.err
32740 } && test -s conftest.
$ac_objext; then
32741 wx_cv_x11_xpm_h
=yes
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.
$ac_ext >&5
32750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32752 CFLAGS
=$save_CFLAGS
32756 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32757 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32759 if test $wx_cv_x11_xpm_h = "yes"; then
32760 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32761 cat >>confdefs.h
<<\_ACEOF
32762 #define wxHAVE_LIB_XPM 1
32766 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32767 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32773 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32774 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32775 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32776 echo $ECHO_N "(cached) $ECHO_C" >&6
32778 ac_check_lib_save_LIBS
=$LIBS
32779 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32780 cat >conftest.
$ac_ext <<_ACEOF
32783 cat confdefs.h
>>conftest.
$ac_ext
32784 cat >>conftest.
$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32787 /* Override any GCC internal prototype to avoid an error.
32788 Use char because int might match the return type of a GCC
32789 builtin and then its argument prototype would still apply. */
32793 char XShapeQueryExtension ();
32797 return XShapeQueryExtension ();
32802 rm -f conftest.
$ac_objext conftest
$ac_exeext
32803 if { (ac_try
="$ac_link"
32804 case "(($ac_try" in
32805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32806 *) ac_try_echo=$ac_try;;
32808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32809 (eval "$ac_link") 2>conftest.er1
32811 grep -v '^ *+' conftest.er1 >conftest.err
32813 cat conftest.err >&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); } && {
32816 test -z "$ac_c_werror_flag" ||
32817 test ! -s conftest.err
32818 } && test -s conftest$ac_exeext &&
32819 $as_test_x conftest$ac_exeext; then
32820 ac_cv_lib_Xext_XShapeQueryExtension=yes
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32825 ac_cv_lib_Xext_XShapeQueryExtension=no
32828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32829 conftest$ac_exeext conftest.$ac_ext
32830 LIBS=$ac_check_lib_save_LIBS
32832 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32833 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32834 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32836 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32842 if test "$wxHAVE_XEXT_LIB" = 1; then
32843 save_CFLAGS="$CFLAGS"
32844 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32846 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32847 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32848 cat >conftest.$ac_ext <<_ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32855 #include <X11/Xlib.h>
32856 #include <X11/extensions/shape.h>
32862 int dummy1, dummy2;
32863 XShapeQueryExtension((Display*)NULL,
32864 (int*)NULL, (int*)NULL);
32870 rm -f conftest.$ac_objext
32871 if { (ac_try="$ac_compile"
32872 case "(($ac_try" in
32873 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32874 *) ac_try_echo
=$ac_try;;
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_compile") 2>conftest.er1
32879 grep -v '^ *+' conftest.er1
>conftest.err
32881 cat conftest.err
>&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } && {
32884 test -z "$ac_c_werror_flag" ||
32885 test ! -s conftest.err
32886 } && test -s conftest.
$ac_objext; then
32888 cat >>confdefs.h
<<\_ACEOF
32889 #define HAVE_XSHAPE 1
32892 { echo "$as_me:$LINENO: result: found" >&5
32893 echo "${ECHO_T}found" >&6; }
32896 echo "$as_me: failed program was:" >&5
32897 sed 's/^/| /' conftest.
$ac_ext >&5
32900 { echo "$as_me:$LINENO: result: not found" >&5
32901 echo "${ECHO_T}not found" >&6; }
32905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32906 CFLAGS
="$save_CFLAGS"
32911 if test "$wxUSE_OSX_CARBON" = 1; then
32912 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32913 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32914 if test "$GCC" = yes; then
32915 { echo "$as_me:$LINENO: result: gcc" >&5
32916 echo "${ECHO_T}gcc" >&6; }
32917 CPPFLAGS_PASCAL
="-fpascal-strings"
32918 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32919 { echo "$as_me:$LINENO: result: xlc" >&5
32920 echo "${ECHO_T}xlc" >&6; }
32921 CPPFLAGS_PASCAL
="-qmacpstr"
32923 { echo "$as_me:$LINENO: result: none" >&5
32924 echo "${ECHO_T}none" >&6; }
32927 if test "x$wxUSE_UNIX" = "xyes"; then
32928 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32930 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32934 GUIDIST
=OSX_CARBON_DIST
32935 WXBASEPORT
="_carbon"
32937 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32940 if test "$wxUSE_OSX_COCOA" = 1; then
32942 GUIDIST
=OSX_COCOA_DIST
32944 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32947 if test "$wxUSE_COCOA" = 1; then
32952 if test "$wxUSE_PM" = 1; then
32955 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32956 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32957 if test "${wx_cv_spbcdata+set}" = set; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32961 cat >conftest.
$ac_ext <<_ACEOF
32964 cat confdefs.h
>>conftest.
$ac_ext
32965 cat >>conftest.
$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32981 rm -f conftest.
$ac_objext
32982 if { (ac_try
="$ac_compile"
32983 case "(($ac_try" in
32984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32985 *) ac_try_echo=$ac_try;;
32987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32988 (eval "$ac_compile") 2>conftest.er1
32990 grep -v '^ *+' conftest.er1 >conftest.err
32992 cat conftest.err >&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } && {
32995 test -z "$ac_c_werror_flag" ||
32996 test ! -s conftest.err
32997 } && test -s conftest.$ac_objext; then
33000 echo "$as_me: failed program was:" >&5
33001 sed 's/^/| /' conftest.$ac_ext >&5
33007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33011 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33012 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33014 if test $wx_cv_spbcdata = "yes"; then
33015 cat >>confdefs.h <<\_ACEOF
33016 #define HAVE_SPBCDATA 1
33022 if test "$TOOLKIT" = "PM" ; then
33025 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33028 if test "$wxUSE_UNIVERSAL" = "yes"; then
33029 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33033 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33034 DISTDIR="wx\$(TOOLKIT)"
33040 if test "$USE_WIN32" = 1 ; then
33044 GUIDIST="BASE_DIST"
33050 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33051 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33052 wxUSE_UNICODE_UTF8=yes
33053 elif test "$USE_OS2" = 1 ; then
33054 wxUSE_UNICODE_UTF8=yes
33056 wxUSE_UNICODE_UTF8=no
33061 if test "$wxUSE_GUI" = "yes"; then
33062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33064 for ac_header in X11/Xlib.h
33066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33070 echo $ECHO_N "(cached) $ECHO_C" >&6
33072 cat >conftest.$ac_ext <<_ACEOF
33075 cat confdefs.h >>conftest.$ac_ext
33076 cat >>conftest.$ac_ext <<_ACEOF
33077 /* end confdefs.h. */
33080 #include <$ac_header>
33082 rm -f conftest.$ac_objext
33083 if { (ac_try="$ac_compile"
33084 case "(($ac_try" in
33085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33086 *) ac_try_echo
=$ac_try;;
33088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33089 (eval "$ac_compile") 2>conftest.er1
33091 grep -v '^ *+' conftest.er1
>conftest.err
33093 cat conftest.err
>&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); } && {
33096 test -z "$ac_c_werror_flag" ||
33097 test ! -s conftest.err
33098 } && test -s conftest.
$ac_objext; then
33099 eval "$as_ac_Header=yes"
33101 echo "$as_me: failed program was:" >&5
33102 sed 's/^/| /' conftest.
$ac_ext >&5
33104 eval "$as_ac_Header=no"
33107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33109 ac_res
=`eval echo '${'$as_ac_Header'}'`
33110 { echo "$as_me:$LINENO: result: $ac_res" >&5
33111 echo "${ECHO_T}$ac_res" >&6; }
33112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33113 cat >>confdefs.h
<<_ACEOF
33114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33122 for ac_header
in X
11/XKBlib.h
33124 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33127 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33130 cat >conftest.
$ac_ext <<_ACEOF
33133 cat confdefs.h
>>conftest.
$ac_ext
33134 cat >>conftest.
$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33137 #if HAVE_X11_XLIB_H
33138 #include <X11/Xlib.h>
33142 #include <$ac_header>
33144 rm -f conftest.
$ac_objext
33145 if { (ac_try
="$ac_compile"
33146 case "(($ac_try" in
33147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33148 *) ac_try_echo=$ac_try;;
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_compile") 2>conftest.er1
33153 grep -v '^ *+' conftest.er1 >conftest.err
33155 cat conftest.err >&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); } && {
33158 test -z "$ac_c_werror_flag" ||
33159 test ! -s conftest.err
33160 } && test -s conftest.$ac_objext; then
33161 eval "$as_ac_Header=yes"
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.$ac_ext >&5
33166 eval "$as_ac_Header=no"
33169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171 ac_res=`eval echo '${'$as_ac_Header'}'`
33172 { echo "$as_me:$LINENO: result: $ac_res" >&5
33173 echo "${ECHO_T}$ac_res" >&6; }
33174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33175 cat >>confdefs.h <<_ACEOF
33176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33188 if test "$wxUSE_DISPLAY" = "yes"; then
33189 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33190 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33191 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33194 for ac_dir in $SEARCH_LIB;
33196 for ac_extension in a so sl dylib dll.a; do
33197 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33198 ac_find_libraries=$ac_dir
33204 if test "$ac_find_libraries" != "" ; then
33206 if test "$ac_find_libraries" = "default location"; then
33209 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33211 if test $result = 0; then
33214 ac_path_to_link=" -L$ac_find_libraries"
33218 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33219 LDFLAGS="$LDFLAGS $ac_path_to_link"
33221 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33222 { echo "$as_me:$LINENO: result: yes" >&5
33223 echo "${ECHO_T}yes" >&6; }
33225 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33226 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33229 for ac_dir in $SEARCH_LIB;
33231 for ac_extension in a so sl dylib dll.a; do
33232 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33233 ac_find_libraries=$ac_dir
33239 if test "$ac_find_libraries" != "" ; then
33240 { echo "$as_me:$LINENO: result: yes" >&5
33241 echo "${ECHO_T}yes" >&6; }
33243 for ac_header in X11/extensions/xf86vmode.h
33245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33251 cat >conftest.$ac_ext <<_ACEOF
33254 cat confdefs.h >>conftest.$ac_ext
33255 cat >>conftest.$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33258 #if HAVE_X11_XLIB_H
33259 #include <X11/Xlib.h>
33263 #include <$ac_header>
33265 rm -f conftest.$ac_objext
33266 if { (ac_try="$ac_compile"
33267 case "(($ac_try" in
33268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33269 *) ac_try_echo
=$ac_try;;
33271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33272 (eval "$ac_compile") 2>conftest.er1
33274 grep -v '^ *+' conftest.er1
>conftest.err
33276 cat conftest.err
>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); } && {
33279 test -z "$ac_c_werror_flag" ||
33280 test ! -s conftest.err
33281 } && test -s conftest.
$ac_objext; then
33282 eval "$as_ac_Header=yes"
33284 echo "$as_me: failed program was:" >&5
33285 sed 's/^/| /' conftest.
$ac_ext >&5
33287 eval "$as_ac_Header=no"
33290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33292 ac_res
=`eval echo '${'$as_ac_Header'}'`
33293 { echo "$as_me:$LINENO: result: $ac_res" >&5
33294 echo "${ECHO_T}$ac_res" >&6; }
33295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33296 cat >>confdefs.h
<<_ACEOF
33297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33300 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33307 { echo "$as_me:$LINENO: result: no" >&5
33308 echo "${ECHO_T}no" >&6; }
33312 { echo "$as_me:$LINENO: result: no" >&5
33313 echo "${ECHO_T}no" >&6; }
33314 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33315 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33318 elif test "$wxUSE_MSW" = 1; then
33319 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33320 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33321 if test "${ac_cv_header_ddraw_h+set}" = set; then
33322 echo $ECHO_N "(cached) $ECHO_C" >&6
33324 cat >conftest.
$ac_ext <<_ACEOF
33327 cat confdefs.h
>>conftest.
$ac_ext
33328 cat >>conftest.
$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33330 #include <windows.h>
33334 rm -f conftest.
$ac_objext
33335 if { (ac_try
="$ac_compile"
33336 case "(($ac_try" in
33337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33338 *) ac_try_echo=$ac_try;;
33340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33341 (eval "$ac_compile") 2>conftest.er1
33343 grep -v '^ *+' conftest.er1 >conftest.err
33345 cat conftest.err >&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } && {
33348 test -z "$ac_c_werror_flag" ||
33349 test ! -s conftest.err
33350 } && test -s conftest.$ac_objext; then
33351 ac_cv_header_ddraw_h=yes
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33356 ac_cv_header_ddraw_h=no
33359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33361 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33362 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33368 if test "$wxUSE_DETECT_SM" = "yes"; then
33369 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33370 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33371 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33374 for ac_dir in $SEARCH_LIB;
33376 for ac_extension in a so sl dylib dll.a; do
33377 if test -f "$ac_dir/libSM.$ac_extension"; then
33378 ac_find_libraries=$ac_dir
33384 if test "$ac_find_libraries" != "" ; then
33386 if test "$ac_find_libraries" = "default location"; then
33389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33391 if test $result = 0; then
33394 ac_path_to_link=" -L$ac_find_libraries"
33398 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33399 LDFLAGS="$LDFLAGS $ac_path_to_link"
33401 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33402 { echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6; }
33405 { echo "$as_me:$LINENO: result: no" >&5
33406 echo "${ECHO_T}no" >&6; }
33407 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33408 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33409 wxUSE_DETECT_SM="no"
33412 wxUSE_DETECT_SM="no"
33419 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33422 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33423 OPENGL_LIBS="-framework OpenGL -framework AGL"
33424 elif test "$wxUSE_MSW" = 1; then
33425 OPENGL_LIBS="-lopengl32 -lglu32"
33426 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33428 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33429 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33432 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33434 if test -f "$ac_dir/GL/gl.h"; then
33435 ac_find_includes=$ac_dir
33440 if test "$ac_find_includes" != "" ; then
33441 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33442 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33444 if test "x$ac_find_includes" = "x/usr/include"; then
33445 ac_path_to_include=""
33447 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33449 if test $result = 0; then
33450 ac_path_to_include=""
33452 ac_path_to_include=" -I$ac_find_includes"
33456 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33458 { echo "$as_me:$LINENO: result: not found" >&5
33459 echo "${ECHO_T}not found" >&6; }
33462 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33463 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33464 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 cat >conftest.$ac_ext <<_ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33477 rm -f conftest.$ac_objext
33478 if { (ac_try="$ac_compile"
33479 case "(($ac_try" in
33480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33481 *) ac_try_echo
=$ac_try;;
33483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33484 (eval "$ac_compile") 2>conftest.er1
33486 grep -v '^ *+' conftest.er1
>conftest.err
33488 cat conftest.err
>&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); } && {
33491 test -z "$ac_c_werror_flag" ||
33492 test ! -s conftest.err
33493 } && test -s conftest.
$ac_objext; then
33494 ac_cv_header_GL_gl_h
=yes
33496 echo "$as_me: failed program was:" >&5
33497 sed 's/^/| /' conftest.
$ac_ext >&5
33499 ac_cv_header_GL_gl_h
=no
33502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33504 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33505 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33506 if test $ac_cv_header_GL_gl_h = yes; then
33508 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33509 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33510 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 cat >conftest.
$ac_ext <<_ACEOF
33516 cat confdefs.h
>>conftest.
$ac_ext
33517 cat >>conftest.
$ac_ext <<_ACEOF
33518 /* end confdefs.h. */
33521 #include <GL/glu.h>
33523 rm -f conftest.
$ac_objext
33524 if { (ac_try
="$ac_compile"
33525 case "(($ac_try" in
33526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33527 *) ac_try_echo=$ac_try;;
33529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33530 (eval "$ac_compile") 2>conftest.er1
33532 grep -v '^ *+' conftest.er1 >conftest.err
33534 cat conftest.err >&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } && {
33537 test -z "$ac_c_werror_flag" ||
33538 test ! -s conftest.err
33539 } && test -s conftest.$ac_objext; then
33540 ac_cv_header_GL_glu_h=yes
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33545 ac_cv_header_GL_glu_h=no
33548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33550 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33551 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33552 if test $ac_cv_header_GL_glu_h = yes; then
33556 { echo "$as_me:$LINENO: checking for -lGL" >&5
33557 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33560 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33562 for ac_extension in a so sl dylib dll.a; do
33563 if test -f "$ac_dir/libGL.$ac_extension"; then
33564 ac_find_libraries=$ac_dir
33570 if test "$ac_find_libraries" != "" ; then
33571 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33572 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33575 if test "$ac_find_libraries" = "default location"; then
33578 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33580 if test $result = 0; then
33583 ac_path_to_link=" -L$ac_find_libraries"
33587 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33588 LDFLAGS_GL="$ac_path_to_link"
33591 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33592 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33595 for ac_dir in $SEARCH_LIB;
33597 for ac_extension in a so sl dylib dll.a; do
33598 if test -f "$ac_dir/libGLU.$ac_extension"; then
33599 ac_find_libraries=$ac_dir
33605 if test "$ac_find_libraries" != "" ; then
33607 if test "$ac_find_libraries" = "default location"; then
33610 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33612 if test $result = 0; then
33615 ac_path_to_link=" -L$ac_find_libraries"
33619 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33620 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33621 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33625 OPENGL_LIBS="-lGL -lGLU"
33626 { echo "$as_me:$LINENO: result: yes" >&5
33627 echo "${ECHO_T}yes" >&6; }
33629 { echo "$as_me:$LINENO: result: no" >&5
33630 echo "${ECHO_T}no" >&6; }
33633 { echo "$as_me:$LINENO: result: no" >&5
33634 echo "${ECHO_T}no" >&6; }
33637 if test "$found_gl" != 1; then
33638 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33639 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33642 for ac_dir in $SEARCH_LIB;
33644 for ac_extension in a so sl dylib dll.a; do
33645 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33646 ac_find_libraries=$ac_dir
33652 if test "$ac_find_libraries" != "" ; then
33654 if test "$ac_find_libraries" = "default location"; then
33657 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33659 if test $result = 0; then
33662 ac_path_to_link=" -L$ac_find_libraries"
33666 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33667 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33668 { echo "$as_me:$LINENO: result: yes" >&5
33669 echo "${ECHO_T}yes" >&6; }
33671 { echo "$as_me:$LINENO: result: no" >&5
33672 echo "${ECHO_T}no" >&6; }
33684 if test "x$OPENGL_LIBS" = "x"; then
33685 if test "$wxUSE_OPENGL" = "yes"; then
33686 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33687 echo "$as_me: error: OpenGL libraries not available" >&2;}
33688 { (exit 1); exit 1; }; }
33690 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33691 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33697 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33698 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33702 if test "$wxUSE_OPENGL" = "auto"; then
33706 if test "$wxUSE_OPENGL" = "yes"; then
33708 cat >>confdefs.h <<\_ACEOF
33709 #define wxUSE_OPENGL 1
33712 cat >>confdefs.h <<\_ACEOF
33713 #define wxUSE_GLCANVAS 1
33716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33721 if test -n "$TOOLKIT" ; then
33722 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33727 if test "$wxUSE_SHARED" = "yes"; then
33731 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33732 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33737 if test "$wxUSE_SHARED" = "yes"; then
33741 *-*-cygwin* | *-*-mingw* )
33742 wx_cv_version_script=no
33746 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33747 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33748 if test "${wx_cv_version_script+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33752 echo "VER_1 { *; };" >conftest.sym
33753 echo "int main() { return 0; }" >conftest.cpp
33756 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33757 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; } ; then
33763 if test -s conftest.stderr ; then
33764 wx_cv_version_script=no
33766 wx_cv_version_script=yes
33769 wx_cv_version_script=no
33772 if test $wx_cv_version_script = yes
33774 echo "struct B { virtual ~B() { } }; \
33775 struct D : public B { }; \
33776 void F() { D d; }" > conftest.cpp
33779 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33780 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; } &&
33787 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33788 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; }
33796 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33797 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }
33804 wx_cv_version_script=yes
33806 wx_cv_version_script=no
33811 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33812 rm -f conftest1.output conftest2.output conftest3.output
33815 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33816 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33818 if test $wx_cv_version_script = yes ; then
33819 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33825 if test "$wxUSE_VISIBILITY" != "no"; then
33828 if test -n "$GCC"; then
33829 CFLAGS_VISIBILITY="-fvisibility=hidden"
33830 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33831 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33832 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33833 if test "${wx_cv_cc_visibility+set}" = set; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33837 wx_save_CXXFLAGS="$CXXFLAGS"
33838 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33840 ac_cpp='$CXXCPP $CPPFLAGS'
33841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33845 cat >conftest.$ac_ext <<_ACEOF
33848 cat confdefs.h >>conftest.$ac_ext
33849 cat >>conftest.$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33852 /* we need gcc >= 4.0, older versions with visibility support
33853 didn't have class visibility: */
33854 #if defined(__GNUC__) && __GNUC__ < 4
33855 error this gcc is too old;
33858 /* visibility only makes sense for ELF shared libs: */
33859 #if !defined(__ELF__) && !defined(__APPLE__)
33860 error this platform has no visibility;
33863 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33864 extern __attribute__((__visibility__("default"))) int exportedvar;
33865 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33866 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33867 class __attribute__((__visibility__("default"))) Foo {
33879 rm -f conftest.$ac_objext
33880 if { (ac_try="$ac_compile"
33881 case "(($ac_try" in
33882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33883 *) ac_try_echo
=$ac_try;;
33885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33886 (eval "$ac_compile") 2>conftest.er1
33888 grep -v '^ *+' conftest.er1
>conftest.err
33890 cat conftest.err
>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } && {
33893 test -z "$ac_cxx_werror_flag" ||
33894 test ! -s conftest.err
33895 } && test -s conftest.
$ac_objext; then
33896 wx_cv_cc_visibility
=yes
33898 echo "$as_me: failed program was:" >&5
33899 sed 's/^/| /' conftest.
$ac_ext >&5
33901 wx_cv_cc_visibility
=no
33904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33906 ac_cpp
='$CPP $CPPFLAGS'
33907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33911 CXXFLAGS
="$wx_save_CXXFLAGS"
33914 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33915 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33916 if test $wx_cv_cc_visibility = yes; then
33917 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33918 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33919 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33923 wx_save_CXXFLAGS
="$CXXFLAGS"
33924 wx_save_LDFLAGS
="$LDFLAGS"
33925 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33926 LDFLAGS
="$LDFLAGS -shared -fPIC"
33928 ac_cpp
='$CXXCPP $CPPFLAGS'
33929 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33933 cat >conftest.
$ac_ext <<_ACEOF
33936 cat confdefs.h
>>conftest.
$ac_ext
33937 cat >>conftest.
$ac_ext <<_ACEOF
33938 /* end confdefs.h. */
33946 std::string s("hello");
33953 rm -f conftest.
$ac_objext conftest
$ac_exeext
33954 if { (ac_try
="$ac_link"
33955 case "(($ac_try" in
33956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33957 *) ac_try_echo=$ac_try;;
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_link") 2>conftest.er1
33962 grep -v '^ *+' conftest.er1 >conftest.err
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_cxx_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest$ac_exeext &&
33970 $as_test_x conftest$ac_exeext; then
33971 wx_cv_cc_broken_libstdcxx_visibility=no
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33976 wx_cv_cc_broken_libstdcxx_visibility=yes
33979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33980 conftest$ac_exeext conftest.$ac_ext
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987 CXXFLAGS="$wx_save_CXXFLAGS"
33988 LDFLAGS="$wx_save_LDFLAGS"
33991 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33992 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33994 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33995 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33996 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33997 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 ac_cpp='$CXXCPP $CPPFLAGS'
34003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34007 cat >conftest.$ac_ext <<_ACEOF
34010 cat confdefs.h >>conftest.$ac_ext
34011 cat >>conftest.$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34014 #pragma GCC visibility push(default)
34016 #pragma GCC visibility pop
34022 std::string s("hello");
34029 rm -f conftest.$ac_objext conftest$ac_exeext
34030 if { (ac_try="$ac_link"
34031 case "(($ac_try" in
34032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34033 *) ac_try_echo
=$ac_try;;
34035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34036 (eval "$ac_link") 2>conftest.er1
34038 grep -v '^ *+' conftest.er1
>conftest.err
34040 cat conftest.err
>&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } && {
34043 test -z "$ac_cxx_werror_flag" ||
34044 test ! -s conftest.err
34045 } && test -s conftest
$ac_exeext &&
34046 $as_test_x conftest
$ac_exeext; then
34047 wx_cv_cc_visibility_workaround
=no
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.
$ac_ext >&5
34052 wx_cv_cc_visibility_workaround
=yes
34055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34056 conftest
$ac_exeext conftest.
$ac_ext
34058 ac_cpp
='$CPP $CPPFLAGS'
34059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34066 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34067 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34069 if test $wx_cv_cc_visibility_workaround = no
; then
34070 wx_cv_cc_visibility
=no
34075 if test $wx_cv_cc_visibility = yes; then
34076 cat >>confdefs.h
<<\_ACEOF
34077 #define HAVE_VISIBILITY 1
34080 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34081 cat >>confdefs.h
<<\_ACEOF
34082 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34087 CFLAGS_VISIBILITY
=""
34088 CXXFLAGS_VISIBILITY
=""
34096 if test "x$SUNCXX" = xyes
; then
34097 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34098 WXCONFIG_RPATH
="-R\$libdir"
34101 *-*-linux* | *-*-gnu* )
34102 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34103 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34108 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34110 saveLdflags
="$LDFLAGS"
34111 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34112 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34113 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34114 cat >conftest.
$ac_ext <<_ACEOF
34117 cat confdefs.h
>>conftest.
$ac_ext
34118 cat >>conftest.
$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34129 rm -f conftest.
$ac_objext conftest
$ac_exeext
34130 if { (ac_try
="$ac_link"
34131 case "(($ac_try" in
34132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34133 *) ac_try_echo=$ac_try;;
34135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34136 (eval "$ac_link") 2>conftest.er1
34138 grep -v '^ *+' conftest.er1 >conftest.err
34140 cat conftest.err >&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); } && {
34143 test -z "$ac_c_werror_flag" ||
34144 test ! -s conftest.err
34145 } && test -s conftest$ac_exeext &&
34146 $as_test_x conftest$ac_exeext; then
34148 { echo "$as_me:$LINENO: result: yes" >&5
34149 echo "${ECHO_T}yes" >&6; }
34150 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34151 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34154 echo "$as_me: failed program was:" >&5
34155 sed 's/^/| /' conftest.$ac_ext >&5
34158 { echo "$as_me:$LINENO: result: no" >&5
34159 echo "${ECHO_T}no" >&6; }
34160 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34161 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34162 LDFLAGS="$saveLdflags -Wl,-R,/"
34163 cat >conftest.$ac_ext <<_ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34178 rm -f conftest.$ac_objext conftest$ac_exeext
34179 if { (ac_try="$ac_link"
34180 case "(($ac_try" in
34181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34182 *) ac_try_echo
=$ac_try;;
34184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34185 (eval "$ac_link") 2>conftest.er1
34187 grep -v '^ *+' conftest.er1
>conftest.err
34189 cat conftest.err
>&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); } && {
34192 test -z "$ac_c_werror_flag" ||
34193 test ! -s conftest.err
34194 } && test -s conftest
$ac_exeext &&
34195 $as_test_x conftest
$ac_exeext; then
34197 { echo "$as_me:$LINENO: result: yes" >&5
34198 echo "${ECHO_T}yes" >&6; }
34199 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34200 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.
$ac_ext >&5
34207 { echo "$as_me:$LINENO: result: no" >&5
34208 echo "${ECHO_T}no" >&6; }
34212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34213 conftest
$ac_exeext conftest.
$ac_ext
34217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34218 conftest
$ac_exeext conftest.
$ac_ext
34219 LDFLAGS
="$saveLdflags"
34223 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34224 if test "$install_name_tool" -a -x "$install_name_tool"; then
34225 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34226 cat <<EOF >change-install-names
34228 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34229 for i in \${libnames} ; do
34230 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34231 for dep in \${libnames} ; do
34232 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34236 chmod +x change
-install-names
34237 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34240 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34243 *-*-cygwin* | *-*-mingw32* )
34247 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34248 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34254 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34256 if test $wxUSE_RPATH = "no"; then
34257 SAMPLES_RPATH_FLAG
=''
34258 DYLIB_PATH_POSTLINK
=''
34266 config_linkage_component
="-static"
34273 lib_unicode_suffix
=
34275 if test "$wxUSE_UNICODE" = "yes"; then
34276 lib_unicode_suffix
=u
34277 WX_CHARTYPE
="unicode"
34281 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34282 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34285 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34289 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34291 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34293 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34296 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34297 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34299 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34301 if test "${TOOLKIT_DIR}" = "os2"; then
34302 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34304 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34309 if test "$wxUSE_COCOA" = 1; then
34312 ac_cpp
='$CPP $CPPFLAGS'
34313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34319 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34320 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34321 cat >conftest.
$ac_ext <<_ACEOF
34324 cat confdefs.h
>>conftest.
$ac_ext
34325 cat >>conftest.
$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327 #include <AppKit/NSEvent.h>
34328 #include <CoreFoundation/CoreFoundation.h>
34338 rm -f conftest.
$ac_objext
34339 if { (ac_try
="$ac_compile"
34340 case "(($ac_try" in
34341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34342 *) ac_try_echo=$ac_try;;
34344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34345 (eval "$ac_compile") 2>conftest.er1
34347 grep -v '^ *+' conftest.er1 >conftest.err
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } && {
34352 test -z "$ac_c_werror_flag" ||
34353 test ! -s conftest.err
34354 } && test -s conftest.$ac_objext; then
34355 { echo "$as_me:$LINENO: result: no" >&5
34356 echo "${ECHO_T}no" >&6; }
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34361 { echo "$as_me:$LINENO: result: yes" >&5
34362 echo "${ECHO_T}yes" >&6; }
34363 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34364 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34365 cat >conftest.$ac_ext <<_ACEOF
34368 cat confdefs.h >>conftest.$ac_ext
34369 cat >>conftest.$ac_ext <<_ACEOF
34370 /* end confdefs.h. */
34371 #define __Point__ 1
34372 #include <AppKit/NSEvent.h>
34373 #include <CoreFoundation/CoreFoundation.h>
34383 rm -f conftest.$ac_objext
34384 if { (ac_try="$ac_compile"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34387 *) ac_try_echo
=$ac_try;;
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_compile") 2>conftest.er1
34392 grep -v '^ *+' conftest.er1
>conftest.err
34394 cat conftest.err
>&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } && {
34397 test -z "$ac_c_werror_flag" ||
34398 test ! -s conftest.err
34399 } && test -s conftest.
$ac_objext; then
34400 { echo "$as_me:$LINENO: result: yes" >&5
34401 echo "${ECHO_T}yes" >&6; }
34402 cat >>confdefs.h
<<\_ACEOF
34403 #define __Point__ 1
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.
$ac_ext >&5
34411 { { echo "$as_me:$LINENO: error: no
34412 See \`config.log' for more details." >&5
34413 echo "$as_me: error: no
34414 See \`config.log' for more details." >&2;}
34415 { (exit 1); exit 1; }; }
34419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34425 ac_cpp
='$CPP $CPPFLAGS'
34426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34433 { echo "$as_me:$LINENO: checking for mode_t" >&5
34434 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34435 if test "${ac_cv_type_mode_t+set}" = set; then
34436 echo $ECHO_N "(cached) $ECHO_C" >&6
34438 cat >conftest.
$ac_ext <<_ACEOF
34441 cat confdefs.h
>>conftest.
$ac_ext
34442 cat >>conftest.
$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444 $ac_includes_default
34445 typedef mode_t ac__type_new_;
34449 if ((ac__type_new_ *) 0)
34451 if (sizeof (ac__type_new_))
34457 rm -f conftest.
$ac_objext
34458 if { (ac_try
="$ac_compile"
34459 case "(($ac_try" in
34460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34461 *) ac_try_echo=$ac_try;;
34463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34464 (eval "$ac_compile") 2>conftest.er1
34466 grep -v '^ *+' conftest.er1 >conftest.err
34468 cat conftest.err >&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } && {
34471 test -z "$ac_c_werror_flag" ||
34472 test ! -s conftest.err
34473 } && test -s conftest.$ac_objext; then
34474 ac_cv_type_mode_t=yes
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34479 ac_cv_type_mode_t=no
34482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34485 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34486 if test $ac_cv_type_mode_t = yes; then
34490 cat >>confdefs.h <<_ACEOF
34496 { echo "$as_me:$LINENO: checking for off_t" >&5
34497 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34498 if test "${ac_cv_type_off_t+set}" = set; then
34499 echo $ECHO_N "(cached) $ECHO_C" >&6
34501 cat >conftest.$ac_ext <<_ACEOF
34504 cat confdefs.h >>conftest.$ac_ext
34505 cat >>conftest.$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34507 $ac_includes_default
34508 typedef off_t ac__type_new_;
34512 if ((ac__type_new_ *) 0)
34514 if (sizeof (ac__type_new_))
34520 rm -f conftest.$ac_objext
34521 if { (ac_try="$ac_compile"
34522 case "(($ac_try" in
34523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34524 *) ac_try_echo
=$ac_try;;
34526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34527 (eval "$ac_compile") 2>conftest.er1
34529 grep -v '^ *+' conftest.er1
>conftest.err
34531 cat conftest.err
>&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); } && {
34534 test -z "$ac_c_werror_flag" ||
34535 test ! -s conftest.err
34536 } && test -s conftest.
$ac_objext; then
34537 ac_cv_type_off_t
=yes
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.
$ac_ext >&5
34542 ac_cv_type_off_t
=no
34545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34547 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34548 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34549 if test $ac_cv_type_off_t = yes; then
34553 cat >>confdefs.h
<<_ACEOF
34554 #define off_t long int
34559 { echo "$as_me:$LINENO: checking for pid_t" >&5
34560 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34561 if test "${ac_cv_type_pid_t+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 cat >conftest.
$ac_ext <<_ACEOF
34567 cat confdefs.h
>>conftest.
$ac_ext
34568 cat >>conftest.
$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 $ac_includes_default
34571 typedef pid_t ac__type_new_;
34575 if ((ac__type_new_ *) 0)
34577 if (sizeof (ac__type_new_))
34583 rm -f conftest.
$ac_objext
34584 if { (ac_try
="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34587 *) ac_try_echo=$ac_try;;
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34592 grep -v '^ *+' conftest.er1 >conftest.err
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_c_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.$ac_objext; then
34600 ac_cv_type_pid_t=yes
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34605 ac_cv_type_pid_t=no
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34610 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34611 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34612 if test $ac_cv_type_pid_t = yes; then
34616 cat >>confdefs.h <<_ACEOF
34622 { echo "$as_me:$LINENO: checking for size_t" >&5
34623 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34624 if test "${ac_cv_type_size_t+set}" = set; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 cat >conftest.$ac_ext <<_ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 $ac_includes_default
34634 typedef size_t ac__type_new_;
34638 if ((ac__type_new_ *) 0)
34640 if (sizeof (ac__type_new_))
34646 rm -f conftest.$ac_objext
34647 if { (ac_try="$ac_compile"
34648 case "(($ac_try" in
34649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34650 *) ac_try_echo
=$ac_try;;
34652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34653 (eval "$ac_compile") 2>conftest.er1
34655 grep -v '^ *+' conftest.er1
>conftest.err
34657 cat conftest.err
>&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } && {
34660 test -z "$ac_c_werror_flag" ||
34661 test ! -s conftest.err
34662 } && test -s conftest.
$ac_objext; then
34663 ac_cv_type_size_t
=yes
34665 echo "$as_me: failed program was:" >&5
34666 sed 's/^/| /' conftest.
$ac_ext >&5
34668 ac_cv_type_size_t
=no
34671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34673 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34674 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34675 if test $ac_cv_type_size_t = yes; then
34679 cat >>confdefs.h
<<_ACEOF
34680 #define size_t unsigned int
34686 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34687 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34688 if test "${ac_cv_type_ssize_t+set}" = set; then
34689 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 cat >conftest.
$ac_ext <<_ACEOF
34694 cat confdefs.h
>>conftest.
$ac_ext
34695 cat >>conftest.
$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697 $ac_includes_default
34698 typedef ssize_t ac__type_new_;
34702 if ((ac__type_new_ *) 0)
34704 if (sizeof (ac__type_new_))
34710 rm -f conftest.
$ac_objext
34711 if { (ac_try
="$ac_compile"
34712 case "(($ac_try" in
34713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34714 *) ac_try_echo=$ac_try;;
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_compile") 2>conftest.er1
34719 grep -v '^ *+' conftest.er1 >conftest.err
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest.$ac_objext; then
34727 ac_cv_type_ssize_t=yes
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34732 ac_cv_type_ssize_t=no
34735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34737 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34738 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34739 if test $ac_cv_type_ssize_t = yes; then
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE_SSIZE_T 1
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34755 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34756 if test "${wx_cv_size_t_is_uint+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 cat >conftest.$ac_ext <<_ACEOF
34763 cat confdefs.h >>conftest.$ac_ext
34764 cat >>conftest.$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34766 #include <stddef.h>
34773 struct Foo { void foo(size_t); void foo(unsigned int); };
34781 rm -f conftest.$ac_objext
34782 if { (ac_try="$ac_compile"
34783 case "(($ac_try" in
34784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34785 *) ac_try_echo
=$ac_try;;
34787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34788 (eval "$ac_compile") 2>conftest.er1
34790 grep -v '^ *+' conftest.er1
>conftest.err
34792 cat conftest.err
>&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); } && {
34795 test -z "$ac_cxx_werror_flag" ||
34796 test ! -s conftest.err
34797 } && test -s conftest.
$ac_objext; then
34798 wx_cv_size_t_is_uint
=no
34800 echo "$as_me: failed program was:" >&5
34801 sed 's/^/| /' conftest.
$ac_ext >&5
34803 wx_cv_size_t_is_uint
=yes
34807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34811 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34812 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34814 if test "$wx_cv_size_t_is_uint" = "yes"; then
34815 cat >>confdefs.h
<<\_ACEOF
34816 #define wxSIZE_T_IS_UINT 1
34820 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34821 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34822 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34823 echo $ECHO_N "(cached) $ECHO_C" >&6
34825 cat >conftest.
$ac_ext <<_ACEOF
34828 cat confdefs.h
>>conftest.
$ac_ext
34829 cat >>conftest.
$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831 #include <stddef.h>
34838 struct Foo { void foo(size_t); void foo(unsigned long); };
34846 rm -f conftest.
$ac_objext
34847 if { (ac_try
="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_compile") 2>conftest.er1
34855 grep -v '^ *+' conftest.er1 >conftest.err
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_cxx_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest.$ac_objext; then
34863 wx_cv_size_t_is_ulong=no
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.$ac_ext >&5
34868 wx_cv_size_t_is_ulong=yes
34872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34875 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34876 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34878 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34879 cat >>confdefs.h <<\_ACEOF
34880 #define wxSIZE_T_IS_ULONG 1
34886 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34887 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34888 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 cat >conftest.$ac_ext <<_ACEOF
34894 cat confdefs.h >>conftest.$ac_ext
34895 cat >>conftest.$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34904 struct Foo { void foo(wchar_t);
34905 void foo(unsigned short);
34906 void foo(unsigned int);
34907 void foo(unsigned long); };
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34919 *) ac_try_echo
=$ac_try;;
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34924 grep -v '^ *+' conftest.er1
>conftest.err
34926 cat conftest.err
>&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_cxx_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.
$ac_objext; then
34932 wx_cv_wchar_t_is_separate_type
=yes
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.
$ac_ext >&5
34937 wx_cv_wchar_t_is_separate_type
=no
34941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34944 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34945 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34947 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34948 cat >>confdefs.h
<<\_ACEOF
34949 #define wxWCHAR_T_IS_REAL_TYPE 1
34953 cat >>confdefs.h
<<\_ACEOF
34954 #define wxWCHAR_T_IS_REAL_TYPE 0
34960 ac_cpp
='$CPP $CPPFLAGS'
34961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34966 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34967 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34968 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34969 echo $ECHO_N "(cached) $ECHO_C" >&6
34972 cat >conftest.
$ac_ext <<_ACEOF
34975 cat confdefs.h
>>conftest.
$ac_ext
34976 cat >>conftest.
$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34991 rm -f conftest.
$ac_objext
34992 if { (ac_try
="$ac_compile"
34993 case "(($ac_try" in
34994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34995 *) ac_try_echo=$ac_try;;
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_compile") 2>conftest.er1
35000 grep -v '^ *+' conftest.er1 >conftest.err
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest.$ac_objext; then
35009 wx_cv_struct_pw_gecos=yes
35012 echo "$as_me: failed program was:" >&5
35013 sed 's/^/| /' conftest.$ac_ext >&5
35016 wx_cv_struct_pw_gecos=no
35021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35025 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35026 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35028 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35029 cat >>confdefs.h <<\_ACEOF
35030 #define HAVE_PW_GECOS 1
35036 if test "$wxUSE_WCHAR_T" = "yes"; then
35037 cat >>confdefs.h <<\_ACEOF
35038 #define wxUSE_WCHAR_T 1
35045 for ac_func in wcslen
35047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35051 echo $ECHO_N "(cached) $ECHO_C" >&6
35053 cat >conftest.$ac_ext <<_ACEOF
35056 cat confdefs.h >>conftest.$ac_ext
35057 cat >>conftest.$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35061 #define $ac_func innocuous_$ac_func
35063 /* System header to define __stub macros and hopefully few prototypes,
35064 which can conflict with char $ac_func (); below.
35065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35066 <limits.h> exists even on freestanding compilers. */
35069 # include <limits.h>
35071 # include <assert.h>
35076 /* Override any GCC internal prototype to avoid an error.
35077 Use char because int might match the return type of a GCC
35078 builtin and then its argument prototype would still apply. */
35083 /* The GNU C library defines this for functions which it implements
35084 to always fail with ENOSYS. Some functions are actually named
35085 something starting with __ and the normal name is an alias. */
35086 #if defined __stub_$ac_func || defined __stub___$ac_func
35093 return $ac_func ();
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (ac_try="$ac_link"
35100 case "(($ac_try" in
35101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35102 *) ac_try_echo
=$ac_try;;
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_link") 2>conftest.er1
35107 grep -v '^ *+' conftest.er1
>conftest.err
35109 cat conftest.err
>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); } && {
35112 test -z "$ac_c_werror_flag" ||
35113 test ! -s conftest.err
35114 } && test -s conftest
$ac_exeext &&
35115 $as_test_x conftest
$ac_exeext; then
35116 eval "$as_ac_var=yes"
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.
$ac_ext >&5
35121 eval "$as_ac_var=no"
35124 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35125 conftest
$ac_exeext conftest.
$ac_ext
35127 ac_res
=`eval echo '${'$as_ac_var'}'`
35128 { echo "$as_me:$LINENO: result: $ac_res" >&5
35129 echo "${ECHO_T}$ac_res" >&6; }
35130 if test `eval echo '${'$as_ac_var'}'` = yes; then
35131 cat >>confdefs.h
<<_ACEOF
35132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35139 if test "$WCSLEN_FOUND" = 0; then
35140 if test "$TOOLKIT" = "MSW"; then
35141 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35142 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35143 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 ac_check_lib_save_LIBS
=$LIBS
35147 LIBS
="-lmsvcrt $LIBS"
35148 cat >conftest.
$ac_ext <<_ACEOF
35151 cat confdefs.h
>>conftest.
$ac_ext
35152 cat >>conftest.
$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35155 /* Override any GCC internal prototype to avoid an error.
35156 Use char because int might match the return type of a GCC
35157 builtin and then its argument prototype would still apply. */
35170 rm -f conftest.
$ac_objext conftest
$ac_exeext
35171 if { (ac_try
="$ac_link"
35172 case "(($ac_try" in
35173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35174 *) ac_try_echo=$ac_try;;
35176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35177 (eval "$ac_link") 2>conftest.er1
35179 grep -v '^ *+' conftest.er1 >conftest.err
35181 cat conftest.err >&5
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); } && {
35184 test -z "$ac_c_werror_flag" ||
35185 test ! -s conftest.err
35186 } && test -s conftest$ac_exeext &&
35187 $as_test_x conftest$ac_exeext; then
35188 ac_cv_lib_msvcrt_wcslen=yes
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35193 ac_cv_lib_msvcrt_wcslen=no
35196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35197 conftest$ac_exeext conftest.$ac_ext
35198 LIBS=$ac_check_lib_save_LIBS
35200 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35201 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35202 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35207 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35208 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35209 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 ac_check_lib_save_LIBS=$LIBS
35214 cat >conftest.$ac_ext <<_ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35221 /* Override any GCC internal prototype to avoid an error.
35222 Use char because int might match the return type of a GCC
35223 builtin and then its argument prototype would still apply. */
35236 rm -f conftest.$ac_objext conftest$ac_exeext
35237 if { (ac_try="$ac_link"
35238 case "(($ac_try" in
35239 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35240 *) ac_try_echo
=$ac_try;;
35242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35243 (eval "$ac_link") 2>conftest.er1
35245 grep -v '^ *+' conftest.er1
>conftest.err
35247 cat conftest.err
>&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); } && {
35250 test -z "$ac_c_werror_flag" ||
35251 test ! -s conftest.err
35252 } && test -s conftest
$ac_exeext &&
35253 $as_test_x conftest
$ac_exeext; then
35254 ac_cv_lib_w_wcslen
=yes
35256 echo "$as_me: failed program was:" >&5
35257 sed 's/^/| /' conftest.
$ac_ext >&5
35259 ac_cv_lib_w_wcslen
=no
35262 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35263 conftest
$ac_exeext conftest.
$ac_ext
35264 LIBS
=$ac_check_lib_save_LIBS
35266 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35267 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35268 if test $ac_cv_lib_w_wcslen = yes; then
35278 if test "$WCSLEN_FOUND" = 1; then
35279 cat >>confdefs.h
<<\_ACEOF
35280 #define HAVE_WCSLEN 1
35290 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35295 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35296 echo $ECHO_N "(cached) $ECHO_C" >&6
35298 cat >conftest.
$ac_ext <<_ACEOF
35301 cat confdefs.h
>>conftest.
$ac_ext
35302 cat >>conftest.
$ac_ext <<_ACEOF
35303 /* end confdefs.h. */
35304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35306 #define $ac_func innocuous_$ac_func
35308 /* System header to define __stub macros and hopefully few prototypes,
35309 which can conflict with char $ac_func (); below.
35310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35311 <limits.h> exists even on freestanding compilers. */
35314 # include <limits.h>
35316 # include <assert.h>
35321 /* Override any GCC internal prototype to avoid an error.
35322 Use char because int might match the return type of a GCC
35323 builtin and then its argument prototype would still apply. */
35328 /* The GNU C library defines this for functions which it implements
35329 to always fail with ENOSYS. Some functions are actually named
35330 something starting with __ and the normal name is an alias. */
35331 #if defined __stub_$ac_func || defined __stub___$ac_func
35338 return $ac_func ();
35343 rm -f conftest.
$ac_objext conftest
$ac_exeext
35344 if { (ac_try
="$ac_link"
35345 case "(($ac_try" in
35346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35347 *) ac_try_echo=$ac_try;;
35349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35350 (eval "$ac_link") 2>conftest.er1
35352 grep -v '^ *+' conftest.er1 >conftest.err
35354 cat conftest.err >&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } && {
35357 test -z "$ac_c_werror_flag" ||
35358 test ! -s conftest.err
35359 } && test -s conftest$ac_exeext &&
35360 $as_test_x conftest$ac_exeext; then
35361 eval "$as_ac_var=yes"
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35366 eval "$as_ac_var=no"
35369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35370 conftest$ac_exeext conftest.$ac_ext
35372 ac_res=`eval echo '${'$as_ac_var'}'`
35373 { echo "$as_me:$LINENO: result: $ac_res" >&5
35374 echo "${ECHO_T}$ac_res" >&6; }
35375 if test `eval echo '${'$as_ac_var'}'` = yes; then
35376 cat >>confdefs.h <<_ACEOF
35377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35384 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35385 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35388 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35389 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35390 if test "${ac_cv_type_mbstate_t+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 cat >conftest.$ac_ext <<_ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35401 typedef mbstate_t ac__type_new_;
35405 if ((ac__type_new_ *) 0)
35407 if (sizeof (ac__type_new_))
35413 rm -f conftest.$ac_objext
35414 if { (ac_try="$ac_compile"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35417 *) ac_try_echo
=$ac_try;;
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_compile") 2>conftest.er1
35422 grep -v '^ *+' conftest.er1
>conftest.err
35424 cat conftest.err
>&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest.
$ac_objext; then
35430 ac_cv_type_mbstate_t
=yes
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.
$ac_ext >&5
35435 ac_cv_type_mbstate_t
=no
35438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35440 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35441 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35442 if test $ac_cv_type_mbstate_t = yes; then
35444 cat >>confdefs.h
<<_ACEOF
35445 #define HAVE_MBSTATE_T 1
35449 for ac_func
in wcsrtombs
35451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35454 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35455 echo $ECHO_N "(cached) $ECHO_C" >&6
35457 cat >conftest.
$ac_ext <<_ACEOF
35460 cat confdefs.h
>>conftest.
$ac_ext
35461 cat >>conftest.
$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35465 #define $ac_func innocuous_$ac_func
35467 /* System header to define __stub macros and hopefully few prototypes,
35468 which can conflict with char $ac_func (); below.
35469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35470 <limits.h> exists even on freestanding compilers. */
35473 # include <limits.h>
35475 # include <assert.h>
35480 /* Override any GCC internal prototype to avoid an error.
35481 Use char because int might match the return type of a GCC
35482 builtin and then its argument prototype would still apply. */
35487 /* The GNU C library defines this for functions which it implements
35488 to always fail with ENOSYS. Some functions are actually named
35489 something starting with __ and the normal name is an alias. */
35490 #if defined __stub_$ac_func || defined __stub___$ac_func
35497 return $ac_func ();
35502 rm -f conftest.
$ac_objext conftest
$ac_exeext
35503 if { (ac_try
="$ac_link"
35504 case "(($ac_try" in
35505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35506 *) ac_try_echo=$ac_try;;
35508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35509 (eval "$ac_link") 2>conftest.er1
35511 grep -v '^ *+' conftest.er1 >conftest.err
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } && {
35516 test -z "$ac_c_werror_flag" ||
35517 test ! -s conftest.err
35518 } && test -s conftest$ac_exeext &&
35519 $as_test_x conftest$ac_exeext; then
35520 eval "$as_ac_var=yes"
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35525 eval "$as_ac_var=no"
35528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35529 conftest$ac_exeext conftest.$ac_ext
35531 ac_res=`eval echo '${'$as_ac_var'}'`
35532 { echo "$as_me:$LINENO: result: $ac_res" >&5
35533 echo "${ECHO_T}$ac_res" >&6; }
35534 if test `eval echo '${'$as_ac_var'}'` = yes; then
35535 cat >>confdefs.h <<_ACEOF
35536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35545 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35546 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35552 for ac_func in snprintf vsnprintf vsscanf
35554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35557 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 cat >conftest.$ac_ext <<_ACEOF
35563 cat confdefs.h >>conftest.$ac_ext
35564 cat >>conftest.$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35568 #define $ac_func innocuous_$ac_func
35570 /* System header to define __stub macros and hopefully few prototypes,
35571 which can conflict with char $ac_func (); below.
35572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35573 <limits.h> exists even on freestanding compilers. */
35576 # include <limits.h>
35578 # include <assert.h>
35583 /* Override any GCC internal prototype to avoid an error.
35584 Use char because int might match the return type of a GCC
35585 builtin and then its argument prototype would still apply. */
35590 /* The GNU C library defines this for functions which it implements
35591 to always fail with ENOSYS. Some functions are actually named
35592 something starting with __ and the normal name is an alias. */
35593 #if defined __stub_$ac_func || defined __stub___$ac_func
35600 return $ac_func ();
35605 rm -f conftest.$ac_objext conftest$ac_exeext
35606 if { (ac_try="$ac_link"
35607 case "(($ac_try" in
35608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35609 *) ac_try_echo
=$ac_try;;
35611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35612 (eval "$ac_link") 2>conftest.er1
35614 grep -v '^ *+' conftest.er1
>conftest.err
35616 cat conftest.err
>&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } && {
35619 test -z "$ac_c_werror_flag" ||
35620 test ! -s conftest.err
35621 } && test -s conftest
$ac_exeext &&
35622 $as_test_x conftest
$ac_exeext; then
35623 eval "$as_ac_var=yes"
35625 echo "$as_me: failed program was:" >&5
35626 sed 's/^/| /' conftest.
$ac_ext >&5
35628 eval "$as_ac_var=no"
35631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35632 conftest
$ac_exeext conftest.
$ac_ext
35634 ac_res
=`eval echo '${'$as_ac_var'}'`
35635 { echo "$as_me:$LINENO: result: $ac_res" >&5
35636 echo "${ECHO_T}$ac_res" >&6; }
35637 if test `eval echo '${'$as_ac_var'}'` = yes; then
35638 cat >>confdefs.h
<<_ACEOF
35639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35647 ac_cpp
='$CXXCPP $CPPFLAGS'
35648 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35652 if test "$ac_cv_func_vsnprintf" = "yes"; then
35653 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35654 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35655 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35656 echo $ECHO_N "(cached) $ECHO_C" >&6
35659 cat >conftest.
$ac_ext <<_ACEOF
35662 cat confdefs.h
>>conftest.
$ac_ext
35663 cat >>conftest.
$ac_ext <<_ACEOF
35664 /* end confdefs.h. */
35667 #include <stdarg.h>
35669 #if __MSL__ >= 0x6000
35671 using namespace std;
35681 vsnprintf(buf, 10u, "%s", ap);
35687 rm -f conftest.
$ac_objext
35688 if { (ac_try
="$ac_compile"
35689 case "(($ac_try" in
35690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35691 *) ac_try_echo=$ac_try;;
35693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35694 (eval "$ac_compile") 2>conftest.er1
35696 grep -v '^ *+' conftest.er1 >conftest.err
35698 cat conftest.err >&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } && {
35701 test -z "$ac_cxx_werror_flag" ||
35702 test ! -s conftest.err
35703 } && test -s conftest.$ac_objext; then
35704 wx_cv_func_vsnprintf_decl=yes
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35709 wx_cv_func_vsnprintf_decl=no
35713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35717 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35718 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35720 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35721 cat >>confdefs.h <<\_ACEOF
35722 #define HAVE_VSNPRINTF_DECL 1
35726 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35727 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35728 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35732 cat >conftest.$ac_ext <<_ACEOF
35735 cat confdefs.h >>conftest.$ac_ext
35736 cat >>conftest.$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35740 #include <stdarg.h>
35742 #if __MSL__ >= 0x6000
35744 using namespace std;
35754 const char *fmt = "%s";
35755 vsnprintf(buf, 10u, fmt, ap);
35761 rm -f conftest.$ac_objext
35762 if { (ac_try="$ac_compile"
35763 case "(($ac_try" in
35764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35765 *) ac_try_echo
=$ac_try;;
35767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35768 (eval "$ac_compile") 2>conftest.er1
35770 grep -v '^ *+' conftest.er1
>conftest.err
35772 cat conftest.err
>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); } && {
35775 test -z "$ac_cxx_werror_flag" ||
35776 test ! -s conftest.err
35777 } && test -s conftest.
$ac_objext; then
35778 wx_cv_func_broken_vsnprintf_decl
=no
35780 echo "$as_me: failed program was:" >&5
35781 sed 's/^/| /' conftest.
$ac_ext >&5
35783 wx_cv_func_broken_vsnprintf_decl
=yes
35787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35791 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35792 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35794 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35795 cat >>confdefs.h
<<\_ACEOF
35796 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35803 if test "$ac_cv_func_snprintf" = "yes"; then
35804 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35805 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35806 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35810 cat >conftest.
$ac_ext <<_ACEOF
35813 cat confdefs.h
>>conftest.
$ac_ext
35814 cat >>conftest.
$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35818 #include <stdarg.h>
35820 #if __MSL__ >= 0x6000
35822 using namespace std;
35831 snprintf(buf, 10u, "%s", "wx");
35837 rm -f conftest.
$ac_objext
35838 if { (ac_try
="$ac_compile"
35839 case "(($ac_try" in
35840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35841 *) ac_try_echo=$ac_try;;
35843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35844 (eval "$ac_compile") 2>conftest.er1
35846 grep -v '^ *+' conftest.er1 >conftest.err
35848 cat conftest.err >&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } && {
35851 test -z "$ac_cxx_werror_flag" ||
35852 test ! -s conftest.err
35853 } && test -s conftest.$ac_objext; then
35854 wx_cv_func_snprintf_decl=yes
35856 echo "$as_me: failed program was:" >&5
35857 sed 's/^/| /' conftest.$ac_ext >&5
35859 wx_cv_func_snprintf_decl=no
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35867 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35868 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35870 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35871 cat >>confdefs.h <<\_ACEOF
35872 #define HAVE_SNPRINTF_DECL 1
35877 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35879 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35880 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35881 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35885 if test "$cross_compiling" = yes; then
35887 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35888 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35889 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35890 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35891 wx_cv_func_snprintf_pos_params=no
35895 cat >conftest.$ac_ext <<_ACEOF
35898 cat confdefs.h >>conftest.$ac_ext
35899 cat >>conftest.$ac_ext <<_ACEOF
35900 /* end confdefs.h. */
35907 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35908 if (strcmp ("2 3 1", buffer) == 0)
35914 rm -f conftest$ac_exeext
35915 if { (ac_try="$ac_link"
35916 case "(($ac_try" in
35917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35918 *) ac_try_echo
=$ac_try;;
35920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35921 (eval "$ac_link") 2>&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35925 { (case "(($ac_try" in
35926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35927 *) ac_try_echo=$ac_try;;
35929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35930 (eval "$ac_try") 2>&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35934 wx_cv_func_snprintf_pos_params=no
35936 echo "$as_me: program exited with status $ac_status" >&5
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35940 ( exit $ac_status )
35941 wx_cv_func_snprintf_pos_params=yes
35943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35950 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35951 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35953 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35954 cat >>confdefs.h <<\_ACEOF
35955 #define HAVE_UNIX98_PRINTF 1
35962 if test "$ac_cv_func_vsscanf" = "yes"; then
35963 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35964 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35965 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35969 cat >conftest.$ac_ext <<_ACEOF
35972 cat confdefs.h >>conftest.$ac_ext
35973 cat >>conftest.$ac_ext <<_ACEOF
35974 /* end confdefs.h. */
35977 #include <stdarg.h>
35979 #if __MSL__ >= 0x6000
35981 using namespace std;
35991 vsscanf(buf, "%s", args);
35997 rm -f conftest.$ac_objext
35998 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
36012 test ! -s conftest.err
36013 } && test -s conftest.
$ac_objext; then
36014 wx_cv_func_vsscanf_decl
=yes
36016 echo "$as_me: failed program was:" >&5
36017 sed 's/^/| /' conftest.
$ac_ext >&5
36019 wx_cv_func_vsscanf_decl
=no
36023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36027 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36028 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36030 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36031 cat >>confdefs.h
<<\_ACEOF
36032 #define HAVE_VSSCANF_DECL 1
36038 ac_cpp
='$CPP $CPPFLAGS'
36039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36044 if test "$wxUSE_UNICODE" = yes; then
36046 wchar_headers
="#include <stdio.h>
36047 #include <wchar.h>"
36051 for ac_header
in widec.h
36053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36056 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36057 echo $ECHO_N "(cached) $ECHO_C" >&6
36059 cat >conftest.
$ac_ext <<_ACEOF
36062 cat confdefs.h
>>conftest.
$ac_ext
36063 cat >>conftest.
$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065 $ac_includes_default
36067 #include <$ac_header>
36069 rm -f conftest.
$ac_objext
36070 if { (ac_try
="$ac_compile"
36071 case "(($ac_try" in
36072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36073 *) ac_try_echo=$ac_try;;
36075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36076 (eval "$ac_compile") 2>conftest.er1
36078 grep -v '^ *+' conftest.er1 >conftest.err
36080 cat conftest.err >&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } && {
36083 test -z "$ac_c_werror_flag" ||
36084 test ! -s conftest.err
36085 } && test -s conftest.$ac_objext; then
36086 eval "$as_ac_Header=yes"
36088 echo "$as_me: failed program was:" >&5
36089 sed 's/^/| /' conftest.$ac_ext >&5
36091 eval "$as_ac_Header=no"
36094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36096 ac_res=`eval echo '${'$as_ac_Header'}'`
36097 { echo "$as_me:$LINENO: result: $ac_res" >&5
36098 echo "${ECHO_T}$ac_res" >&6; }
36099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36100 cat >>confdefs.h <<_ACEOF
36101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36108 if test "$ac_cv_header_widec_h" = "yes"; then
36109 wchar_headers="$wchar_headers
36110 #include <widec.h>"
36115 for wx_func in putws fputws wprintf vswprintf vswscanf
36117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36119 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36120 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 cat >conftest.$ac_ext <<_ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36132 $ac_includes_default
36148 rm -f conftest.$ac_objext conftest$ac_exeext
36149 if { (ac_try="$ac_link"
36150 case "(($ac_try" in
36151 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36152 *) ac_try_echo
=$ac_try;;
36154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36155 (eval "$ac_link") 2>conftest.er1
36157 grep -v '^ *+' conftest.er1
>conftest.err
36159 cat conftest.err
>&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } && {
36162 test -z "$ac_c_werror_flag" ||
36163 test ! -s conftest.err
36164 } && test -s conftest
$ac_exeext &&
36165 $as_test_x conftest
$ac_exeext; then
36166 eval wx_cv_func_
$wx_func=yes
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.
$ac_ext >&5
36171 eval wx_cv_func_
$wx_func=no
36174 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36175 conftest
$ac_exeext conftest.
$ac_ext
36178 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36179 { echo "$as_me:$LINENO: result: $ac_res" >&5
36180 echo "${ECHO_T}$ac_res" >&6; }
36182 if eval test \
$wx_cv_func_$wx_func = yes
36184 cat >>confdefs.h
<<_ACEOF
36185 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36196 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36197 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36198 cat >conftest.
$ac_ext <<_ACEOF
36201 cat confdefs.h
>>conftest.
$ac_ext
36202 cat >>conftest.
$ac_ext <<_ACEOF
36203 /* end confdefs.h. */
36213 rm -f conftest.
$ac_objext
36214 if { (ac_try
="$ac_compile"
36215 case "(($ac_try" in
36216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36217 *) ac_try_echo=$ac_try;;
36219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36220 (eval "$ac_compile") 2>conftest.er1
36222 grep -v '^ *+' conftest.er1 >conftest.err
36224 cat conftest.err >&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); } && {
36227 test -z "$ac_c_werror_flag" ||
36228 test ! -s conftest.err
36229 } && test -s conftest.$ac_objext; then
36230 { echo "$as_me:$LINENO: result: yes" >&5
36231 echo "${ECHO_T}yes" >&6; }
36232 cat >>confdefs.h <<\_ACEOF
36233 #define HAVE__VSNWPRINTF 1
36237 echo "$as_me: failed program was:" >&5
36238 sed 's/^/| /' conftest.$ac_ext >&5
36240 { echo "$as_me:$LINENO: result: no" >&5
36241 echo "${ECHO_T}no" >&6; }
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36247 if test "$wxUSE_FILE" = "yes"; then
36249 for wx_func in fsync
36251 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36252 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36253 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36257 cat >conftest.$ac_ext <<_ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36266 $ac_includes_default
36282 rm -f conftest.$ac_objext conftest$ac_exeext
36283 if { (ac_try="$ac_link"
36284 case "(($ac_try" in
36285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36286 *) ac_try_echo
=$ac_try;;
36288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36289 (eval "$ac_link") 2>conftest.er1
36291 grep -v '^ *+' conftest.er1
>conftest.err
36293 cat conftest.err
>&5
36294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295 (exit $ac_status); } && {
36296 test -z "$ac_c_werror_flag" ||
36297 test ! -s conftest.err
36298 } && test -s conftest
$ac_exeext &&
36299 $as_test_x conftest
$ac_exeext; then
36300 eval wx_cv_func_
$wx_func=yes
36302 echo "$as_me: failed program was:" >&5
36303 sed 's/^/| /' conftest.
$ac_ext >&5
36305 eval wx_cv_func_
$wx_func=no
36308 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36309 conftest
$ac_exeext conftest.
$ac_ext
36312 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36313 { echo "$as_me:$LINENO: result: $ac_res" >&5
36314 echo "${ECHO_T}$ac_res" >&6; }
36316 if eval test \
$wx_cv_func_$wx_func = yes
36318 cat >>confdefs.h
<<_ACEOF
36319 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36332 ac_cpp
='$CXXCPP $CPPFLAGS'
36333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36338 for wx_func
in round
36340 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36341 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36342 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36343 echo $ECHO_N "(cached) $ECHO_C" >&6
36346 cat >conftest.
$ac_ext <<_ACEOF
36350 cat confdefs.h
>>conftest.
$ac_ext
36351 cat >>conftest.
$ac_ext <<_ACEOF
36352 /* end confdefs.h. */
36355 $ac_includes_default
36371 rm -f conftest.
$ac_objext conftest
$ac_exeext
36372 if { (ac_try
="$ac_link"
36373 case "(($ac_try" in
36374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36375 *) ac_try_echo=$ac_try;;
36377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36378 (eval "$ac_link") 2>conftest.er1
36380 grep -v '^ *+' conftest.er1 >conftest.err
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } && {
36385 test -z "$ac_cxx_werror_flag" ||
36386 test ! -s conftest.err
36387 } && test -s conftest$ac_exeext &&
36388 $as_test_x conftest$ac_exeext; then
36389 eval wx_cv_func_$wx_func=yes
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36394 eval wx_cv_func_$wx_func=no
36397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36398 conftest$ac_exeext conftest.$ac_ext
36401 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36402 { echo "$as_me:$LINENO: result: $ac_res" >&5
36403 echo "${ECHO_T}$ac_res" >&6; }
36405 if eval test \$wx_cv_func_$wx_func = yes
36407 cat >>confdefs.h <<_ACEOF
36408 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36419 ac_cpp='$CPP $CPPFLAGS'
36420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425 if test "$TOOLKIT" != "MSW"; then
36427 if test "$wxUSE_LIBICONV" != "no" ; then
36431 # Check whether --with-libiconv-prefix was given.
36432 if test "${with_libiconv_prefix+set}" = set; then
36433 withval=$with_libiconv_prefix;
36434 for dir in `echo "$withval" | tr : ' '`; do
36435 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36436 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36442 { echo "$as_me:$LINENO: checking for iconv" >&5
36443 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36444 if test "${am_cv_func_iconv+set}" = set; then
36445 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 am_cv_func_iconv="no, consider installing GNU libiconv"
36450 cat >conftest.$ac_ext <<_ACEOF
36453 cat confdefs.h >>conftest.$ac_ext
36454 cat >>conftest.$ac_ext <<_ACEOF
36455 /* end confdefs.h. */
36456 #include <stdlib.h>
36461 iconv_t cd = iconv_open("","");
36462 iconv(cd,NULL,NULL,NULL,NULL);
36468 rm -f conftest.$ac_objext conftest$ac_exeext
36469 if { (ac_try="$ac_link"
36470 case "(($ac_try" in
36471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36472 *) ac_try_echo
=$ac_try;;
36474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36475 (eval "$ac_link") 2>conftest.er1
36477 grep -v '^ *+' conftest.er1
>conftest.err
36479 cat conftest.err
>&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } && {
36482 test -z "$ac_c_werror_flag" ||
36483 test ! -s conftest.err
36484 } && test -s conftest
$ac_exeext &&
36485 $as_test_x conftest
$ac_exeext; then
36486 am_cv_func_iconv
=yes
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.
$ac_ext >&5
36494 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36495 conftest
$ac_exeext conftest.
$ac_ext
36496 if test "$am_cv_func_iconv" != yes; then
36497 am_save_LIBS
="$LIBS"
36498 LIBS
="$LIBS -liconv"
36499 cat >conftest.
$ac_ext <<_ACEOF
36502 cat confdefs.h
>>conftest.
$ac_ext
36503 cat >>conftest.
$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36505 #include <stdlib.h>
36510 iconv_t cd = iconv_open("","");
36511 iconv(cd,NULL,NULL,NULL,NULL);
36517 rm -f conftest.
$ac_objext conftest
$ac_exeext
36518 if { (ac_try
="$ac_link"
36519 case "(($ac_try" in
36520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36521 *) ac_try_echo=$ac_try;;
36523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36524 (eval "$ac_link") 2>conftest.er1
36526 grep -v '^ *+' conftest.er1 >conftest.err
36528 cat conftest.err >&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } && {
36531 test -z "$ac_c_werror_flag" ||
36532 test ! -s conftest.err
36533 } && test -s conftest$ac_exeext &&
36534 $as_test_x conftest$ac_exeext; then
36535 am_cv_lib_iconv=yes
36536 am_cv_func_iconv=yes
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36545 conftest$ac_exeext conftest.$ac_ext
36546 LIBS="$am_save_LIBS"
36550 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36551 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36552 if test "$am_cv_func_iconv" = yes; then
36554 cat >>confdefs.h <<\_ACEOF
36555 #define HAVE_ICONV 1
36558 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36559 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36560 if test "${wx_cv_func_iconv_const+set}" = set; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 cat >conftest.$ac_ext <<_ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36570 #include <stdlib.h>
36576 #if defined(__STDC__) || defined(__cplusplus)
36577 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36590 rm -f conftest.$ac_objext
36591 if { (ac_try="$ac_compile"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36594 *) ac_try_echo
=$ac_try;;
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_compile") 2>conftest.er1
36599 grep -v '^ *+' conftest.er1
>conftest.err
36601 cat conftest.err
>&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest.
$ac_objext; then
36607 wx_cv_func_iconv_const
="no"
36609 echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.
$ac_ext >&5
36612 wx_cv_func_iconv_const
="yes"
36616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36619 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36620 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36623 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36624 iconv_const
="const"
36628 cat >>confdefs.h
<<_ACEOF
36629 #define ICONV_CONST $iconv_const
36634 if test "$am_cv_lib_iconv" = yes; then
36639 LIBS
="$LIBICONV $LIBS"
36642 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36644 for ac_func
in sigaction
36646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36649 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36650 echo $ECHO_N "(cached) $ECHO_C" >&6
36652 cat >conftest.
$ac_ext <<_ACEOF
36655 cat confdefs.h
>>conftest.
$ac_ext
36656 cat >>conftest.
$ac_ext <<_ACEOF
36657 /* end confdefs.h. */
36658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36660 #define $ac_func innocuous_$ac_func
36662 /* System header to define __stub macros and hopefully few prototypes,
36663 which can conflict with char $ac_func (); below.
36664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36665 <limits.h> exists even on freestanding compilers. */
36668 # include <limits.h>
36670 # include <assert.h>
36675 /* Override any GCC internal prototype to avoid an error.
36676 Use char because int might match the return type of a GCC
36677 builtin and then its argument prototype would still apply. */
36682 /* The GNU C library defines this for functions which it implements
36683 to always fail with ENOSYS. Some functions are actually named
36684 something starting with __ and the normal name is an alias. */
36685 #if defined __stub_$ac_func || defined __stub___$ac_func
36692 return $ac_func ();
36697 rm -f conftest.
$ac_objext conftest
$ac_exeext
36698 if { (ac_try
="$ac_link"
36699 case "(($ac_try" in
36700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36701 *) ac_try_echo=$ac_try;;
36703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36704 (eval "$ac_link") 2>conftest.er1
36706 grep -v '^ *+' conftest.er1 >conftest.err
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } && {
36711 test -z "$ac_c_werror_flag" ||
36712 test ! -s conftest.err
36713 } && test -s conftest$ac_exeext &&
36714 $as_test_x conftest$ac_exeext; then
36715 eval "$as_ac_var=yes"
36717 echo "$as_me: failed program was:" >&5
36718 sed 's/^/| /' conftest.$ac_ext >&5
36720 eval "$as_ac_var=no"
36723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36724 conftest$ac_exeext conftest.$ac_ext
36726 ac_res=`eval echo '${'$as_ac_var'}'`
36727 { echo "$as_me:$LINENO: result: $ac_res" >&5
36728 echo "${ECHO_T}$ac_res" >&6; }
36729 if test `eval echo '${'$as_ac_var'}'` = yes; then
36730 cat >>confdefs.h <<_ACEOF
36731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36738 if test "$ac_cv_func_sigaction" = "no"; then
36739 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36740 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36741 wxUSE_ON_FATAL_EXCEPTION=no
36744 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36745 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36746 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36747 if test "${wx_cv_type_sa_handler+set}" = set; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36752 ac_cpp='$CXXCPP $CPPFLAGS'
36753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36757 cat >conftest.$ac_ext <<_ACEOF
36760 cat confdefs.h >>conftest.$ac_ext
36761 cat >>conftest.$ac_ext <<_ACEOF
36762 /* end confdefs.h. */
36763 #include <signal.h>
36768 extern void testSigHandler(int);
36770 struct sigaction sa;
36771 sa.sa_handler = testSigHandler;
36777 rm -f conftest.$ac_objext
36778 if { (ac_try="$ac_compile"
36779 case "(($ac_try" in
36780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36781 *) ac_try_echo
=$ac_try;;
36783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36784 (eval "$ac_compile") 2>conftest.er1
36786 grep -v '^ *+' conftest.er1
>conftest.err
36788 cat conftest.err
>&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } && {
36791 test -z "$ac_cxx_werror_flag" ||
36792 test ! -s conftest.err
36793 } && test -s conftest.
$ac_objext; then
36795 wx_cv_type_sa_handler
=int
36798 echo "$as_me: failed program was:" >&5
36799 sed 's/^/| /' conftest.
$ac_ext >&5
36802 wx_cv_type_sa_handler
=void
36806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36808 ac_cpp
='$CPP $CPPFLAGS'
36809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36815 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36816 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36818 cat >>confdefs.h
<<_ACEOF
36819 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36825 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36826 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36827 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36828 if test "${wx_cv_func_backtrace+set}" = set; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 ac_cpp
='$CXXCPP $CPPFLAGS'
36834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36838 cat >conftest.
$ac_ext <<_ACEOF
36841 cat confdefs.h
>>conftest.
$ac_ext
36842 cat >>conftest.
$ac_ext <<_ACEOF
36843 /* end confdefs.h. */
36844 #include <execinfo.h>
36852 backtrace(trace, 1);
36853 messages = backtrace_symbols(trace, 1);
36859 rm -f conftest.
$ac_objext
36860 if { (ac_try
="$ac_compile"
36861 case "(($ac_try" in
36862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36863 *) ac_try_echo=$ac_try;;
36865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36866 (eval "$ac_compile") 2>conftest.er1
36868 grep -v '^ *+' conftest.er1 >conftest.err
36870 cat conftest.err >&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); } && {
36873 test -z "$ac_cxx_werror_flag" ||
36874 test ! -s conftest.err
36875 } && test -s conftest.$ac_objext; then
36876 wx_cv_func_backtrace=yes
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.$ac_ext >&5
36881 wx_cv_func_backtrace=no
36885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_cpp='$CPP $CPPFLAGS'
36888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36895 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36896 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36899 if test "$wx_cv_func_backtrace" = "no"; then
36900 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36901 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36902 wxUSE_STACKWALKER=no
36904 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36905 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36906 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36911 ac_cpp='$CXXCPP $CPPFLAGS'
36912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36916 cat >conftest.$ac_ext <<_ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36922 #include <cxxabi.h>
36928 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36934 rm -f conftest.$ac_objext conftest$ac_exeext
36935 if { (ac_try="$ac_link"
36936 case "(($ac_try" in
36937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36938 *) ac_try_echo
=$ac_try;;
36940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36941 (eval "$ac_link") 2>conftest.er1
36943 grep -v '^ *+' conftest.er1
>conftest.err
36945 cat conftest.err
>&5
36946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36947 (exit $ac_status); } && {
36948 test -z "$ac_cxx_werror_flag" ||
36949 test ! -s conftest.err
36950 } && test -s conftest
$ac_exeext &&
36951 $as_test_x conftest
$ac_exeext; then
36952 wx_cv_func_cxa_demangle
=yes
36954 echo "$as_me: failed program was:" >&5
36955 sed 's/^/| /' conftest.
$ac_ext >&5
36957 wx_cv_func_cxa_demangle
=no
36961 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36962 conftest
$ac_exeext conftest.
$ac_ext
36964 ac_cpp
='$CPP $CPPFLAGS'
36965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36972 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36973 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36975 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36976 cat >>confdefs.h
<<\_ACEOF
36977 #define HAVE_CXA_DEMANGLE 1
36984 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36985 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36986 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36987 wxUSE_STACKWALKER
=no
36993 for ac_func
in mkstemp mktemp
36995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36996 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36998 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 cat >conftest.
$ac_ext <<_ACEOF
37004 cat confdefs.h
>>conftest.
$ac_ext
37005 cat >>conftest.
$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37009 #define $ac_func innocuous_$ac_func
37011 /* System header to define __stub macros and hopefully few prototypes,
37012 which can conflict with char $ac_func (); below.
37013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37014 <limits.h> exists even on freestanding compilers. */
37017 # include <limits.h>
37019 # include <assert.h>
37024 /* Override any GCC internal prototype to avoid an error.
37025 Use char because int might match the return type of a GCC
37026 builtin and then its argument prototype would still apply. */
37031 /* The GNU C library defines this for functions which it implements
37032 to always fail with ENOSYS. Some functions are actually named
37033 something starting with __ and the normal name is an alias. */
37034 #if defined __stub_$ac_func || defined __stub___$ac_func
37041 return $ac_func ();
37046 rm -f conftest.
$ac_objext conftest
$ac_exeext
37047 if { (ac_try
="$ac_link"
37048 case "(($ac_try" in
37049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_link") 2>conftest.er1
37055 grep -v '^ *+' conftest.er1 >conftest.err
37057 cat conftest.err >&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } && {
37060 test -z "$ac_c_werror_flag" ||
37061 test ! -s conftest.err
37062 } && test -s conftest$ac_exeext &&
37063 $as_test_x conftest$ac_exeext; then
37064 eval "$as_ac_var=yes"
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.$ac_ext >&5
37069 eval "$as_ac_var=no"
37072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37073 conftest$ac_exeext conftest.$ac_ext
37075 ac_res=`eval echo '${'$as_ac_var'}'`
37076 { echo "$as_me:$LINENO: result: $ac_res" >&5
37077 echo "${ECHO_T}$ac_res" >&6; }
37078 if test `eval echo '${'$as_ac_var'}'` = yes; then
37079 cat >>confdefs.h <<_ACEOF
37080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37087 { echo "$as_me:$LINENO: checking for statfs" >&5
37088 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37089 if test "${wx_cv_func_statfs+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37092 cat >conftest.$ac_ext <<_ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37099 #if defined(__BSD__)
37100 #include <sys/param.h>
37101 #include <sys/mount.h>
37103 #include <sys/vfs.h>
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37125 *) ac_try_echo
=$ac_try;;
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37130 grep -v '^ *+' conftest.er1
>conftest.err
37132 cat conftest.err
>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_c_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.
$ac_objext; then
37138 wx_cv_func_statfs
=yes
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.
$ac_ext >&5
37143 wx_cv_func_statfs
=no
37147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37150 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37151 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37153 if test "$wx_cv_func_statfs" = "yes"; then
37154 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37155 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37156 if test "${wx_cv_func_statfs_decl+set}" = set; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37160 ac_cpp
='$CXXCPP $CPPFLAGS'
37161 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37162 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37163 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37165 cat >conftest.
$ac_ext <<_ACEOF
37168 cat confdefs.h
>>conftest.
$ac_ext
37169 cat >>conftest.
$ac_ext <<_ACEOF
37170 /* end confdefs.h. */
37172 #if defined(__BSD__)
37173 #include <sys/param.h>
37174 #include <sys/mount.h>
37176 #include <sys/vfs.h>
37190 rm -f conftest.
$ac_objext
37191 if { (ac_try
="$ac_compile"
37192 case "(($ac_try" in
37193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37194 *) ac_try_echo=$ac_try;;
37196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37197 (eval "$ac_compile") 2>conftest.er1
37199 grep -v '^ *+' conftest.er1 >conftest.err
37201 cat conftest.err >&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); } && {
37204 test -z "$ac_cxx_werror_flag" ||
37205 test ! -s conftest.err
37206 } && test -s conftest.$ac_objext; then
37207 wx_cv_func_statfs_decl=yes
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37212 wx_cv_func_statfs_decl=no
37216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37218 ac_cpp='$CPP $CPPFLAGS'
37219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37225 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37226 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37228 if test "$wx_cv_func_statfs_decl" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define HAVE_STATFS_DECL 1
37235 wx_cv_type_statvfs_t="struct statfs"
37236 cat >>confdefs.h <<\_ACEOF
37237 #define HAVE_STATFS 1
37241 { echo "$as_me:$LINENO: checking for statvfs" >&5
37242 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37243 if test "${wx_cv_func_statvfs+set}" = set; then
37244 echo $ECHO_N "(cached) $ECHO_C" >&6
37246 cat >conftest.$ac_ext <<_ACEOF
37249 cat confdefs.h >>conftest.$ac_ext
37250 cat >>conftest.$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37253 #include <stddef.h>
37254 #include <sys/statvfs.h>
37260 statvfs("/", NULL);
37266 rm -f conftest.$ac_objext
37267 if { (ac_try="$ac_compile"
37268 case "(($ac_try" in
37269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37270 *) ac_try_echo
=$ac_try;;
37272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37273 (eval "$ac_compile") 2>conftest.er1
37275 grep -v '^ *+' conftest.er1
>conftest.err
37277 cat conftest.err
>&5
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); } && {
37280 test -z "$ac_c_werror_flag" ||
37281 test ! -s conftest.err
37282 } && test -s conftest.
$ac_objext; then
37283 wx_cv_func_statvfs
=yes
37285 echo "$as_me: failed program was:" >&5
37286 sed 's/^/| /' conftest.
$ac_ext >&5
37288 wx_cv_func_statvfs
=no
37292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37295 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37296 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37298 if test "$wx_cv_func_statvfs" = "yes"; then
37299 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37300 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37301 if test "${wx_cv_type_statvfs_t+set}" = set; then
37302 echo $ECHO_N "(cached) $ECHO_C" >&6
37305 ac_cpp
='$CXXCPP $CPPFLAGS'
37306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37310 cat >conftest.
$ac_ext <<_ACEOF
37313 cat confdefs.h
>>conftest.
$ac_ext
37314 cat >>conftest.
$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37317 #include <sys/statvfs.h>
37334 rm -f conftest.
$ac_objext
37335 if { (ac_try
="$ac_compile"
37336 case "(($ac_try" in
37337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37338 *) ac_try_echo=$ac_try;;
37340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37341 (eval "$ac_compile") 2>conftest.er1
37343 grep -v '^ *+' conftest.er1 >conftest.err
37345 cat conftest.err >&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); } && {
37348 test -z "$ac_cxx_werror_flag" ||
37349 test ! -s conftest.err
37350 } && test -s conftest.$ac_objext; then
37351 wx_cv_type_statvfs_t=statvfs_t
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37357 cat >conftest.$ac_ext <<_ACEOF
37360 cat confdefs.h >>conftest.$ac_ext
37361 cat >>conftest.$ac_ext <<_ACEOF
37362 /* end confdefs.h. */
37364 #include <sys/statvfs.h>
37381 rm -f conftest.$ac_objext
37382 if { (ac_try="$ac_compile"
37383 case "(($ac_try" in
37384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37385 *) ac_try_echo
=$ac_try;;
37387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37388 (eval "$ac_compile") 2>conftest.er1
37390 grep -v '^ *+' conftest.er1
>conftest.err
37392 cat conftest.err
>&5
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); } && {
37395 test -z "$ac_cxx_werror_flag" ||
37396 test ! -s conftest.err
37397 } && test -s conftest.
$ac_objext; then
37398 wx_cv_type_statvfs_t
="struct statvfs"
37400 echo "$as_me: failed program was:" >&5
37401 sed 's/^/| /' conftest.
$ac_ext >&5
37403 wx_cv_type_statvfs_t
="unknown"
37407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37414 ac_cpp
='$CPP $CPPFLAGS'
37415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37421 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37422 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37424 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37425 cat >>confdefs.h
<<\_ACEOF
37426 #define HAVE_STATVFS 1
37431 wx_cv_type_statvfs_t
="unknown"
37435 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37436 cat >>confdefs.h
<<_ACEOF
37437 #define WX_STATFS_T $wx_cv_type_statvfs_t
37441 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37442 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37445 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37448 for ac_func
in fcntl flock
37450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37453 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37456 cat >conftest.
$ac_ext <<_ACEOF
37459 cat confdefs.h
>>conftest.
$ac_ext
37460 cat >>conftest.
$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37464 #define $ac_func innocuous_$ac_func
37466 /* System header to define __stub macros and hopefully few prototypes,
37467 which can conflict with char $ac_func (); below.
37468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37469 <limits.h> exists even on freestanding compilers. */
37472 # include <limits.h>
37474 # include <assert.h>
37479 /* Override any GCC internal prototype to avoid an error.
37480 Use char because int might match the return type of a GCC
37481 builtin and then its argument prototype would still apply. */
37486 /* The GNU C library defines this for functions which it implements
37487 to always fail with ENOSYS. Some functions are actually named
37488 something starting with __ and the normal name is an alias. */
37489 #if defined __stub_$ac_func || defined __stub___$ac_func
37496 return $ac_func ();
37501 rm -f conftest.
$ac_objext conftest
$ac_exeext
37502 if { (ac_try
="$ac_link"
37503 case "(($ac_try" in
37504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37505 *) ac_try_echo=$ac_try;;
37507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37508 (eval "$ac_link") 2>conftest.er1
37510 grep -v '^ *+' conftest.er1 >conftest.err
37512 cat conftest.err >&5
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); } && {
37515 test -z "$ac_c_werror_flag" ||
37516 test ! -s conftest.err
37517 } && test -s conftest$ac_exeext &&
37518 $as_test_x conftest$ac_exeext; then
37519 eval "$as_ac_var=yes"
37521 echo "$as_me: failed program was:" >&5
37522 sed 's/^/| /' conftest.$ac_ext >&5
37524 eval "$as_ac_var=no"
37527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37528 conftest$ac_exeext conftest.$ac_ext
37530 ac_res=`eval echo '${'$as_ac_var'}'`
37531 { echo "$as_me:$LINENO: result: $ac_res" >&5
37532 echo "${ECHO_T}$ac_res" >&6; }
37533 if test `eval echo '${'$as_ac_var'}'` = yes; then
37534 cat >>confdefs.h <<_ACEOF
37535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37542 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37543 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37544 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37545 wxUSE_SNGLINST_CHECKER=no
37551 for ac_func in setenv putenv
37553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37554 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37556 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37559 cat >conftest.$ac_ext <<_ACEOF
37562 cat confdefs.h >>conftest.$ac_ext
37563 cat >>conftest.$ac_ext <<_ACEOF
37564 /* end confdefs.h. */
37565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37567 #define $ac_func innocuous_$ac_func
37569 /* System header to define __stub macros and hopefully few prototypes,
37570 which can conflict with char $ac_func (); below.
37571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37572 <limits.h> exists even on freestanding compilers. */
37575 # include <limits.h>
37577 # include <assert.h>
37582 /* Override any GCC internal prototype to avoid an error.
37583 Use char because int might match the return type of a GCC
37584 builtin and then its argument prototype would still apply. */
37589 /* The GNU C library defines this for functions which it implements
37590 to always fail with ENOSYS. Some functions are actually named
37591 something starting with __ and the normal name is an alias. */
37592 #if defined __stub_$ac_func || defined __stub___$ac_func
37599 return $ac_func ();
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37608 *) ac_try_echo
=$ac_try;;
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37613 grep -v '^ *+' conftest.er1
>conftest.err
37615 cat conftest.err
>&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest
$ac_exeext &&
37621 $as_test_x conftest
$ac_exeext; then
37622 eval "$as_ac_var=yes"
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.
$ac_ext >&5
37627 eval "$as_ac_var=no"
37630 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37631 conftest
$ac_exeext conftest.
$ac_ext
37633 ac_res
=`eval echo '${'$as_ac_var'}'`
37634 { echo "$as_me:$LINENO: result: $ac_res" >&5
37635 echo "${ECHO_T}$ac_res" >&6; }
37636 if test `eval echo '${'$as_ac_var'}'` = yes; then
37637 cat >>confdefs.h
<<_ACEOF
37638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37644 if test "$ac_cv_func_setenv" = "yes"; then
37646 for ac_func
in unsetenv
37648 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37651 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37652 echo $ECHO_N "(cached) $ECHO_C" >&6
37654 cat >conftest.
$ac_ext <<_ACEOF
37657 cat confdefs.h
>>conftest.
$ac_ext
37658 cat >>conftest.
$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37662 #define $ac_func innocuous_$ac_func
37664 /* System header to define __stub macros and hopefully few prototypes,
37665 which can conflict with char $ac_func (); below.
37666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37667 <limits.h> exists even on freestanding compilers. */
37670 # include <limits.h>
37672 # include <assert.h>
37677 /* Override any GCC internal prototype to avoid an error.
37678 Use char because int might match the return type of a GCC
37679 builtin and then its argument prototype would still apply. */
37684 /* The GNU C library defines this for functions which it implements
37685 to always fail with ENOSYS. Some functions are actually named
37686 something starting with __ and the normal name is an alias. */
37687 #if defined __stub_$ac_func || defined __stub___$ac_func
37694 return $ac_func ();
37699 rm -f conftest.
$ac_objext conftest
$ac_exeext
37700 if { (ac_try
="$ac_link"
37701 case "(($ac_try" in
37702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37703 *) ac_try_echo=$ac_try;;
37705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37706 (eval "$ac_link") 2>conftest.er1
37708 grep -v '^ *+' conftest.er1 >conftest.err
37710 cat conftest.err >&5
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); } && {
37713 test -z "$ac_c_werror_flag" ||
37714 test ! -s conftest.err
37715 } && test -s conftest$ac_exeext &&
37716 $as_test_x conftest$ac_exeext; then
37717 eval "$as_ac_var=yes"
37719 echo "$as_me: failed program was:" >&5
37720 sed 's/^/| /' conftest.$ac_ext >&5
37722 eval "$as_ac_var=no"
37725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37726 conftest$ac_exeext conftest.$ac_ext
37728 ac_res=`eval echo '${'$as_ac_var'}'`
37729 { echo "$as_me:$LINENO: result: $ac_res" >&5
37730 echo "${ECHO_T}$ac_res" >&6; }
37731 if test `eval echo '${'$as_ac_var'}'` = yes; then
37732 cat >>confdefs.h <<_ACEOF
37733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37741 HAVE_SOME_SLEEP_FUNC=0
37742 if test "$USE_BEOS" = 1; then
37743 cat >>confdefs.h <<\_ACEOF
37744 #define HAVE_SLEEP 1
37747 HAVE_SOME_SLEEP_FUNC=1
37750 if test "$USE_DARWIN" = 1; then
37751 cat >>confdefs.h <<\_ACEOF
37752 #define HAVE_USLEEP 1
37755 HAVE_SOME_SLEEP_FUNC=1
37758 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37761 for ac_func in nanosleep
37763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37767 echo $ECHO_N "(cached) $ECHO_C" >&6
37769 cat >conftest.$ac_ext <<_ACEOF
37772 cat confdefs.h >>conftest.$ac_ext
37773 cat >>conftest.$ac_ext <<_ACEOF
37774 /* end confdefs.h. */
37775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37777 #define $ac_func innocuous_$ac_func
37779 /* System header to define __stub macros and hopefully few prototypes,
37780 which can conflict with char $ac_func (); below.
37781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37782 <limits.h> exists even on freestanding compilers. */
37785 # include <limits.h>
37787 # include <assert.h>
37792 /* Override any GCC internal prototype to avoid an error.
37793 Use char because int might match the return type of a GCC
37794 builtin and then its argument prototype would still apply. */
37799 /* The GNU C library defines this for functions which it implements
37800 to always fail with ENOSYS. Some functions are actually named
37801 something starting with __ and the normal name is an alias. */
37802 #if defined __stub_$ac_func || defined __stub___$ac_func
37809 return $ac_func ();
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (ac_try="$ac_link"
37816 case "(($ac_try" in
37817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37818 *) ac_try_echo
=$ac_try;;
37820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37821 (eval "$ac_link") 2>conftest.er1
37823 grep -v '^ *+' conftest.er1
>conftest.err
37825 cat conftest.err
>&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); } && {
37828 test -z "$ac_c_werror_flag" ||
37829 test ! -s conftest.err
37830 } && test -s conftest
$ac_exeext &&
37831 $as_test_x conftest
$ac_exeext; then
37832 eval "$as_ac_var=yes"
37834 echo "$as_me: failed program was:" >&5
37835 sed 's/^/| /' conftest.
$ac_ext >&5
37837 eval "$as_ac_var=no"
37840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37841 conftest
$ac_exeext conftest.
$ac_ext
37843 ac_res
=`eval echo '${'$as_ac_var'}'`
37844 { echo "$as_me:$LINENO: result: $ac_res" >&5
37845 echo "${ECHO_T}$ac_res" >&6; }
37846 if test `eval echo '${'$as_ac_var'}'` = yes; then
37847 cat >>confdefs.h
<<_ACEOF
37848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37850 cat >>confdefs.h
<<\_ACEOF
37851 #define HAVE_NANOSLEEP 1
37856 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37857 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37858 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37861 ac_check_lib_save_LIBS
=$LIBS
37862 LIBS
="-lposix4 $LIBS"
37863 cat >conftest.
$ac_ext <<_ACEOF
37866 cat confdefs.h
>>conftest.
$ac_ext
37867 cat >>conftest.
$ac_ext <<_ACEOF
37868 /* end confdefs.h. */
37870 /* Override any GCC internal prototype to avoid an error.
37871 Use char because int might match the return type of a GCC
37872 builtin and then its argument prototype would still apply. */
37880 return nanosleep ();
37885 rm -f conftest.
$ac_objext conftest
$ac_exeext
37886 if { (ac_try
="$ac_link"
37887 case "(($ac_try" in
37888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37889 *) ac_try_echo=$ac_try;;
37891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37892 (eval "$ac_link") 2>conftest.er1
37894 grep -v '^ *+' conftest.er1 >conftest.err
37896 cat conftest.err >&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); } && {
37899 test -z "$ac_c_werror_flag" ||
37900 test ! -s conftest.err
37901 } && test -s conftest$ac_exeext &&
37902 $as_test_x conftest$ac_exeext; then
37903 ac_cv_lib_posix4_nanosleep=yes
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37908 ac_cv_lib_posix4_nanosleep=no
37911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37912 conftest$ac_exeext conftest.$ac_ext
37913 LIBS=$ac_check_lib_save_LIBS
37915 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37916 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37917 if test $ac_cv_lib_posix4_nanosleep = yes; then
37919 cat >>confdefs.h <<\_ACEOF
37920 #define HAVE_NANOSLEEP 1
37923 POSIX4_LINK=" -lposix4"
37928 for wx_func in usleep
37930 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37931 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37932 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37933 echo $ECHO_N "(cached) $ECHO_C" >&6
37936 cat >conftest.$ac_ext <<_ACEOF
37940 cat confdefs.h >>conftest.$ac_ext
37941 cat >>conftest.$ac_ext <<_ACEOF
37942 /* end confdefs.h. */
37945 $ac_includes_default
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (ac_try="$ac_link"
37963 case "(($ac_try" in
37964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37965 *) ac_try_echo
=$ac_try;;
37967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37968 (eval "$ac_link") 2>conftest.er1
37970 grep -v '^ *+' conftest.er1
>conftest.err
37972 cat conftest.err
>&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } && {
37975 test -z "$ac_c_werror_flag" ||
37976 test ! -s conftest.err
37977 } && test -s conftest
$ac_exeext &&
37978 $as_test_x conftest
$ac_exeext; then
37979 eval wx_cv_func_
$wx_func=yes
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.
$ac_ext >&5
37984 eval wx_cv_func_
$wx_func=no
37987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37988 conftest
$ac_exeext conftest.
$ac_ext
37991 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37992 { echo "$as_me:$LINENO: result: $ac_res" >&5
37993 echo "${ECHO_T}$ac_res" >&6; }
37995 if eval test \
$wx_cv_func_$wx_func = yes
37997 cat >>confdefs.h
<<_ACEOF
37998 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38004 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38005 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38022 for wx_func
in uname
38024 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38025 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38026 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38027 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 cat >conftest.
$ac_ext <<_ACEOF
38034 cat confdefs.h
>>conftest.
$ac_ext
38035 cat >>conftest.
$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38038 #include <sys/utsname.h>
38039 $ac_includes_default
38055 rm -f conftest.
$ac_objext conftest
$ac_exeext
38056 if { (ac_try
="$ac_link"
38057 case "(($ac_try" in
38058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38059 *) ac_try_echo=$ac_try;;
38061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38062 (eval "$ac_link") 2>conftest.er1
38064 grep -v '^ *+' conftest.er1 >conftest.err
38066 cat conftest.err >&5
38067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068 (exit $ac_status); } && {
38069 test -z "$ac_c_werror_flag" ||
38070 test ! -s conftest.err
38071 } && test -s conftest$ac_exeext &&
38072 $as_test_x conftest$ac_exeext; then
38073 eval wx_cv_func_$wx_func=yes
38075 echo "$as_me: failed program was:" >&5
38076 sed 's/^/| /' conftest.$ac_ext >&5
38078 eval wx_cv_func_$wx_func=no
38081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38082 conftest$ac_exeext conftest.$ac_ext
38085 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38086 { echo "$as_me:$LINENO: result: $ac_res" >&5
38087 echo "${ECHO_T}$ac_res" >&6; }
38089 if eval test \$wx_cv_func_$wx_func = yes
38091 cat >>confdefs.h <<_ACEOF
38092 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38102 if test "$wx_cv_func_uname" != yes; then
38104 for wx_func in gethostname
38106 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38107 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38108 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 cat >conftest.$ac_ext <<_ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38121 $ac_includes_default
38137 rm -f conftest.$ac_objext conftest$ac_exeext
38138 if { (ac_try="$ac_link"
38139 case "(($ac_try" in
38140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38141 *) ac_try_echo
=$ac_try;;
38143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38144 (eval "$ac_link") 2>conftest.er1
38146 grep -v '^ *+' conftest.er1
>conftest.err
38148 cat conftest.err
>&5
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); } && {
38151 test -z "$ac_c_werror_flag" ||
38152 test ! -s conftest.err
38153 } && test -s conftest
$ac_exeext &&
38154 $as_test_x conftest
$ac_exeext; then
38155 eval wx_cv_func_
$wx_func=yes
38157 echo "$as_me: failed program was:" >&5
38158 sed 's/^/| /' conftest.
$ac_ext >&5
38160 eval wx_cv_func_
$wx_func=no
38163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38164 conftest
$ac_exeext conftest.
$ac_ext
38167 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38168 { echo "$as_me:$LINENO: result: $ac_res" >&5
38169 echo "${ECHO_T}$ac_res" >&6; }
38171 if eval test \
$wx_cv_func_$wx_func = yes
38173 cat >>confdefs.h
<<_ACEOF
38174 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38187 for wx_func
in strtok_r
38189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38191 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38195 cat >conftest.
$ac_ext <<_ACEOF
38199 cat confdefs.h
>>conftest.
$ac_ext
38200 cat >>conftest.
$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38204 $ac_includes_default
38220 rm -f conftest.
$ac_objext conftest
$ac_exeext
38221 if { (ac_try
="$ac_link"
38222 case "(($ac_try" in
38223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38224 *) ac_try_echo=$ac_try;;
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_link") 2>conftest.er1
38229 grep -v '^ *+' conftest.er1 >conftest.err
38231 cat conftest.err >&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } && {
38234 test -z "$ac_c_werror_flag" ||
38235 test ! -s conftest.err
38236 } && test -s conftest$ac_exeext &&
38237 $as_test_x conftest$ac_exeext; then
38238 eval wx_cv_func_$wx_func=yes
38240 echo "$as_me: failed program was:" >&5
38241 sed 's/^/| /' conftest.$ac_ext >&5
38243 eval wx_cv_func_$wx_func=no
38246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38247 conftest$ac_exeext conftest.$ac_ext
38250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38251 { echo "$as_me:$LINENO: result: $ac_res" >&5
38252 echo "${ECHO_T}$ac_res" >&6; }
38254 if eval test \$wx_cv_func_$wx_func = yes
38256 cat >>confdefs.h <<_ACEOF
38257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38270 for ac_func in inet_addr
38272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38276 echo $ECHO_N "(cached) $ECHO_C" >&6
38278 cat >conftest.$ac_ext <<_ACEOF
38281 cat confdefs.h >>conftest.$ac_ext
38282 cat >>conftest.$ac_ext <<_ACEOF
38283 /* end confdefs.h. */
38284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38286 #define $ac_func innocuous_$ac_func
38288 /* System header to define __stub macros and hopefully few prototypes,
38289 which can conflict with char $ac_func (); below.
38290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38291 <limits.h> exists even on freestanding compilers. */
38294 # include <limits.h>
38296 # include <assert.h>
38301 /* Override any GCC internal prototype to avoid an error.
38302 Use char because int might match the return type of a GCC
38303 builtin and then its argument prototype would still apply. */
38308 /* The GNU C library defines this for functions which it implements
38309 to always fail with ENOSYS. Some functions are actually named
38310 something starting with __ and the normal name is an alias. */
38311 #if defined __stub_$ac_func || defined __stub___$ac_func
38318 return $ac_func ();
38323 rm -f conftest.$ac_objext conftest$ac_exeext
38324 if { (ac_try="$ac_link"
38325 case "(($ac_try" in
38326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38327 *) ac_try_echo
=$ac_try;;
38329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38330 (eval "$ac_link") 2>conftest.er1
38332 grep -v '^ *+' conftest.er1
>conftest.err
38334 cat conftest.err
>&5
38335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38336 (exit $ac_status); } && {
38337 test -z "$ac_c_werror_flag" ||
38338 test ! -s conftest.err
38339 } && test -s conftest
$ac_exeext &&
38340 $as_test_x conftest
$ac_exeext; then
38341 eval "$as_ac_var=yes"
38343 echo "$as_me: failed program was:" >&5
38344 sed 's/^/| /' conftest.
$ac_ext >&5
38346 eval "$as_ac_var=no"
38349 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38350 conftest
$ac_exeext conftest.
$ac_ext
38352 ac_res
=`eval echo '${'$as_ac_var'}'`
38353 { echo "$as_me:$LINENO: result: $ac_res" >&5
38354 echo "${ECHO_T}$ac_res" >&6; }
38355 if test `eval echo '${'$as_ac_var'}'` = yes; then
38356 cat >>confdefs.h
<<_ACEOF
38357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38359 cat >>confdefs.h
<<\_ACEOF
38360 #define HAVE_INET_ADDR 1
38365 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38366 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38367 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38368 echo $ECHO_N "(cached) $ECHO_C" >&6
38370 ac_check_lib_save_LIBS
=$LIBS
38372 cat >conftest.
$ac_ext <<_ACEOF
38375 cat confdefs.h
>>conftest.
$ac_ext
38376 cat >>conftest.
$ac_ext <<_ACEOF
38377 /* end confdefs.h. */
38379 /* Override any GCC internal prototype to avoid an error.
38380 Use char because int might match the return type of a GCC
38381 builtin and then its argument prototype would still apply. */
38389 return inet_addr ();
38394 rm -f conftest.
$ac_objext conftest
$ac_exeext
38395 if { (ac_try
="$ac_link"
38396 case "(($ac_try" in
38397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38398 *) ac_try_echo=$ac_try;;
38400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38401 (eval "$ac_link") 2>conftest.er1
38403 grep -v '^ *+' conftest.er1 >conftest.err
38405 cat conftest.err >&5
38406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38407 (exit $ac_status); } && {
38408 test -z "$ac_c_werror_flag" ||
38409 test ! -s conftest.err
38410 } && test -s conftest$ac_exeext &&
38411 $as_test_x conftest$ac_exeext; then
38412 ac_cv_lib_nsl_inet_addr=yes
38414 echo "$as_me: failed program was:" >&5
38415 sed 's/^/| /' conftest.$ac_ext >&5
38417 ac_cv_lib_nsl_inet_addr=no
38420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38421 conftest$ac_exeext conftest.$ac_ext
38422 LIBS=$ac_check_lib_save_LIBS
38424 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38425 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38426 if test $ac_cv_lib_nsl_inet_addr = yes; then
38430 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38431 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38432 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38433 echo $ECHO_N "(cached) $ECHO_C" >&6
38435 ac_check_lib_save_LIBS=$LIBS
38436 LIBS="-lresolv $LIBS"
38437 cat >conftest.$ac_ext <<_ACEOF
38440 cat confdefs.h >>conftest.$ac_ext
38441 cat >>conftest.$ac_ext <<_ACEOF
38442 /* end confdefs.h. */
38444 /* Override any GCC internal prototype to avoid an error.
38445 Use char because int might match the return type of a GCC
38446 builtin and then its argument prototype would still apply. */
38454 return inet_addr ();
38459 rm -f conftest.$ac_objext conftest$ac_exeext
38460 if { (ac_try="$ac_link"
38461 case "(($ac_try" in
38462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38463 *) ac_try_echo
=$ac_try;;
38465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38466 (eval "$ac_link") 2>conftest.er1
38468 grep -v '^ *+' conftest.er1
>conftest.err
38470 cat conftest.err
>&5
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); } && {
38473 test -z "$ac_c_werror_flag" ||
38474 test ! -s conftest.err
38475 } && test -s conftest
$ac_exeext &&
38476 $as_test_x conftest
$ac_exeext; then
38477 ac_cv_lib_resolv_inet_addr
=yes
38479 echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.
$ac_ext >&5
38482 ac_cv_lib_resolv_inet_addr
=no
38485 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38486 conftest
$ac_exeext conftest.
$ac_ext
38487 LIBS
=$ac_check_lib_save_LIBS
38489 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38490 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38491 if test $ac_cv_lib_resolv_inet_addr = yes; then
38495 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38496 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38497 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38500 ac_check_lib_save_LIBS
=$LIBS
38501 LIBS
="-lsocket $LIBS"
38502 cat >conftest.
$ac_ext <<_ACEOF
38505 cat confdefs.h
>>conftest.
$ac_ext
38506 cat >>conftest.
$ac_ext <<_ACEOF
38507 /* end confdefs.h. */
38509 /* Override any GCC internal prototype to avoid an error.
38510 Use char because int might match the return type of a GCC
38511 builtin and then its argument prototype would still apply. */
38519 return inet_addr ();
38524 rm -f conftest.
$ac_objext conftest
$ac_exeext
38525 if { (ac_try
="$ac_link"
38526 case "(($ac_try" in
38527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38528 *) ac_try_echo=$ac_try;;
38530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38531 (eval "$ac_link") 2>conftest.er1
38533 grep -v '^ *+' conftest.er1 >conftest.err
38535 cat conftest.err >&5
38536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537 (exit $ac_status); } && {
38538 test -z "$ac_c_werror_flag" ||
38539 test ! -s conftest.err
38540 } && test -s conftest$ac_exeext &&
38541 $as_test_x conftest$ac_exeext; then
38542 ac_cv_lib_socket_inet_addr=yes
38544 echo "$as_me: failed program was:" >&5
38545 sed 's/^/| /' conftest.$ac_ext >&5
38547 ac_cv_lib_socket_inet_addr=no
38550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38551 conftest$ac_exeext conftest.$ac_ext
38552 LIBS=$ac_check_lib_save_LIBS
38554 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38555 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38556 if test $ac_cv_lib_socket_inet_addr = yes; then
38576 for ac_func in inet_aton
38578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38582 echo $ECHO_N "(cached) $ECHO_C" >&6
38584 cat >conftest.$ac_ext <<_ACEOF
38587 cat confdefs.h >>conftest.$ac_ext
38588 cat >>conftest.$ac_ext <<_ACEOF
38589 /* end confdefs.h. */
38590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38592 #define $ac_func innocuous_$ac_func
38594 /* System header to define __stub macros and hopefully few prototypes,
38595 which can conflict with char $ac_func (); below.
38596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38597 <limits.h> exists even on freestanding compilers. */
38600 # include <limits.h>
38602 # include <assert.h>
38607 /* Override any GCC internal prototype to avoid an error.
38608 Use char because int might match the return type of a GCC
38609 builtin and then its argument prototype would still apply. */
38614 /* The GNU C library defines this for functions which it implements
38615 to always fail with ENOSYS. Some functions are actually named
38616 something starting with __ and the normal name is an alias. */
38617 #if defined __stub_$ac_func || defined __stub___$ac_func
38624 return $ac_func ();
38629 rm -f conftest.$ac_objext conftest$ac_exeext
38630 if { (ac_try="$ac_link"
38631 case "(($ac_try" in
38632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38633 *) ac_try_echo
=$ac_try;;
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_link") 2>conftest.er1
38638 grep -v '^ *+' conftest.er1
>conftest.err
38640 cat conftest.err
>&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_c_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest
$ac_exeext &&
38646 $as_test_x conftest
$ac_exeext; then
38647 eval "$as_ac_var=yes"
38649 echo "$as_me: failed program was:" >&5
38650 sed 's/^/| /' conftest.
$ac_ext >&5
38652 eval "$as_ac_var=no"
38655 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38656 conftest
$ac_exeext conftest.
$ac_ext
38658 ac_res
=`eval echo '${'$as_ac_var'}'`
38659 { echo "$as_me:$LINENO: result: $ac_res" >&5
38660 echo "${ECHO_T}$ac_res" >&6; }
38661 if test `eval echo '${'$as_ac_var'}'` = yes; then
38662 cat >>confdefs.h
<<_ACEOF
38663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38665 cat >>confdefs.h
<<\_ACEOF
38666 #define HAVE_INET_ATON 1
38671 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38672 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38673 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38674 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38675 echo $ECHO_N "(cached) $ECHO_C" >&6
38677 ac_check_lib_save_LIBS
=$LIBS
38678 LIBS
="-l$INET_LINK $LIBS"
38679 cat >conftest.
$ac_ext <<_ACEOF
38682 cat confdefs.h
>>conftest.
$ac_ext
38683 cat >>conftest.
$ac_ext <<_ACEOF
38684 /* end confdefs.h. */
38686 /* Override any GCC internal prototype to avoid an error.
38687 Use char because int might match the return type of a GCC
38688 builtin and then its argument prototype would still apply. */
38696 return inet_aton ();
38701 rm -f conftest.
$ac_objext conftest
$ac_exeext
38702 if { (ac_try
="$ac_link"
38703 case "(($ac_try" in
38704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38705 *) ac_try_echo=$ac_try;;
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_link") 2>conftest.er1
38710 grep -v '^ *+' conftest.er1 >conftest.err
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest$ac_exeext &&
38718 $as_test_x conftest$ac_exeext; then
38719 eval "$as_ac_Lib=yes"
38721 echo "$as_me: failed program was:" >&5
38722 sed 's/^/| /' conftest.$ac_ext >&5
38724 eval "$as_ac_Lib=no"
38727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38728 conftest$ac_exeext conftest.$ac_ext
38729 LIBS=$ac_check_lib_save_LIBS
38731 ac_res=`eval echo '${'$as_ac_Lib'}'`
38732 { echo "$as_me:$LINENO: result: $ac_res" >&5
38733 echo "${ECHO_T}$ac_res" >&6; }
38734 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38735 cat >>confdefs.h <<\_ACEOF
38736 #define HAVE_INET_ATON 1
38746 if test "x$INET_LINK" != "x"; then
38747 cat >>confdefs.h <<\_ACEOF
38748 #define HAVE_INET_ADDR 1
38751 INET_LINK=" -l$INET_LINK"
38755 for wx_func in fdopen
38757 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38758 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38759 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38763 cat >conftest.$ac_ext <<_ACEOF
38767 cat confdefs.h >>conftest.$ac_ext
38768 cat >>conftest.$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38772 $ac_includes_default
38788 rm -f conftest.$ac_objext conftest$ac_exeext
38789 if { (ac_try="$ac_link"
38790 case "(($ac_try" in
38791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38792 *) ac_try_echo
=$ac_try;;
38794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38795 (eval "$ac_link") 2>conftest.er1
38797 grep -v '^ *+' conftest.er1
>conftest.err
38799 cat conftest.err
>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); } && {
38802 test -z "$ac_c_werror_flag" ||
38803 test ! -s conftest.err
38804 } && test -s conftest
$ac_exeext &&
38805 $as_test_x conftest
$ac_exeext; then
38806 eval wx_cv_func_
$wx_func=yes
38808 echo "$as_me: failed program was:" >&5
38809 sed 's/^/| /' conftest.
$ac_ext >&5
38811 eval wx_cv_func_
$wx_func=no
38814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38815 conftest
$ac_exeext conftest.
$ac_ext
38818 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38819 { echo "$as_me:$LINENO: result: $ac_res" >&5
38820 echo "${ECHO_T}$ac_res" >&6; }
38822 if eval test \
$wx_cv_func_$wx_func = yes
38824 cat >>confdefs.h
<<_ACEOF
38825 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38836 if test "$wxUSE_TARSTREAM" = "yes"; then
38838 for wx_func
in sysconf
38840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38842 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 cat >conftest.
$ac_ext <<_ACEOF
38850 cat confdefs.h
>>conftest.
$ac_ext
38851 cat >>conftest.
$ac_ext <<_ACEOF
38852 /* end confdefs.h. */
38855 $ac_includes_default
38871 rm -f conftest.
$ac_objext conftest
$ac_exeext
38872 if { (ac_try
="$ac_link"
38873 case "(($ac_try" in
38874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38875 *) ac_try_echo=$ac_try;;
38877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38878 (eval "$ac_link") 2>conftest.er1
38880 grep -v '^ *+' conftest.er1 >conftest.err
38882 cat conftest.err >&5
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); } && {
38885 test -z "$ac_c_werror_flag" ||
38886 test ! -s conftest.err
38887 } && test -s conftest$ac_exeext &&
38888 $as_test_x conftest$ac_exeext; then
38889 eval wx_cv_func_$wx_func=yes
38891 echo "$as_me: failed program was:" >&5
38892 sed 's/^/| /' conftest.$ac_ext >&5
38894 eval wx_cv_func_$wx_func=no
38897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38898 conftest$ac_exeext conftest.$ac_ext
38901 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38902 { echo "$as_me:$LINENO: result: $ac_res" >&5
38903 echo "${ECHO_T}$ac_res" >&6; }
38905 if eval test \$wx_cv_func_$wx_func = yes
38907 cat >>confdefs.h <<_ACEOF
38908 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38920 for wx_func in getpwuid_r
38922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38924 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38928 cat >conftest.$ac_ext <<_ACEOF
38932 cat confdefs.h >>conftest.$ac_ext
38933 cat >>conftest.$ac_ext <<_ACEOF
38934 /* end confdefs.h. */
38940 $ac_includes_default
38950 struct passwd pw, *ppw;
38952 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38960 rm -f conftest.$ac_objext conftest$ac_exeext
38961 if { (ac_try="$ac_link"
38962 case "(($ac_try" in
38963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38964 *) ac_try_echo
=$ac_try;;
38966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38967 (eval "$ac_link") 2>conftest.er1
38969 grep -v '^ *+' conftest.er1
>conftest.err
38971 cat conftest.err
>&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } && {
38974 test -z "$ac_c_werror_flag" ||
38975 test ! -s conftest.err
38976 } && test -s conftest
$ac_exeext &&
38977 $as_test_x conftest
$ac_exeext; then
38978 eval wx_cv_func_
$wx_func=yes
38980 echo "$as_me: failed program was:" >&5
38981 sed 's/^/| /' conftest.
$ac_ext >&5
38983 eval wx_cv_func_
$wx_func=no
38986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38987 conftest
$ac_exeext conftest.
$ac_ext
38990 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38991 { echo "$as_me:$LINENO: result: $ac_res" >&5
38992 echo "${ECHO_T}$ac_res" >&6; }
38994 if eval test \
$wx_cv_func_$wx_func = yes
38996 cat >>confdefs.h
<<_ACEOF
38997 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39009 for wx_func
in getgrgid_r
39011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39013 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39014 echo $ECHO_N "(cached) $ECHO_C" >&6
39017 cat >conftest.
$ac_ext <<_ACEOF
39021 cat confdefs.h
>>conftest.
$ac_ext
39022 cat >>conftest.
$ac_ext <<_ACEOF
39023 /* end confdefs.h. */
39029 $ac_includes_default
39039 struct group grp, *pgrp;
39041 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39049 rm -f conftest.
$ac_objext conftest
$ac_exeext
39050 if { (ac_try
="$ac_link"
39051 case "(($ac_try" in
39052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39053 *) ac_try_echo=$ac_try;;
39055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39056 (eval "$ac_link") 2>conftest.er1
39058 grep -v '^ *+' conftest.er1 >conftest.err
39060 cat conftest.err >&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); } && {
39063 test -z "$ac_c_werror_flag" ||
39064 test ! -s conftest.err
39065 } && test -s conftest$ac_exeext &&
39066 $as_test_x conftest$ac_exeext; then
39067 eval wx_cv_func_$wx_func=yes
39069 echo "$as_me: failed program was:" >&5
39070 sed 's/^/| /' conftest.$ac_ext >&5
39072 eval wx_cv_func_$wx_func=no
39075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39076 conftest$ac_exeext conftest.$ac_ext
39079 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39080 { echo "$as_me:$LINENO: result: $ac_res" >&5
39081 echo "${ECHO_T}$ac_res" >&6; }
39083 if eval test \$wx_cv_func_$wx_func = yes
39085 cat >>confdefs.h <<_ACEOF
39086 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39102 cat >confcache <<\_ACEOF
39103 # This file is a shell script that caches the results of configure
39104 # tests run on this system so they can be shared between configure
39105 # scripts and configure runs, see configure's option --config-cache.
39106 # It is not useful on other systems. If it contains results you don't
39107 # want to keep, you may remove or edit it.
39109 # config.status only pays attention to the cache file if you give it
39110 # the --recheck option to rerun configure.
39112 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39114 # following values.
39118 # The following way of writing the cache mishandles newlines in values,
39119 # but we know of no workaround that is simple, portable, and efficient.
39120 # So, we kill variables containing newlines.
39121 # Ultrix sh set writes to stderr and can't be redirected directly,
39122 # and sets the high bit in the cache file unless we assign to the vars.
39124 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39125 eval ac_val
=\$
$ac_var
39129 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39130 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39133 _
| IFS
| as_nl
) ;; #(
39134 *) $as_unset $ac_var ;;
39140 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39141 *${as_nl}ac_space
=\
*)
39142 # `set' does not quote correctly, so add quotes (double-quote
39143 # substitution turns \\\\ into \\, and sed turns \\ into \).
39146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39149 # `set' quotes correctly as required by POSIX, so do not add quotes.
39150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39161 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39163 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39164 if test -w "$cache_file"; then
39165 test "x$cache_file" != "x/dev/null" &&
39166 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39167 echo "$as_me: updating cache $cache_file" >&6;}
39168 cat confcache
>$cache_file
39170 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39171 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39177 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39183 if test "$wxUSE_THREADS" = "yes" ; then
39184 if test "$USE_BEOS" = 1; then
39185 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39186 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39191 if test "$wxUSE_THREADS" = "yes" ; then
39194 THREAD_OPTS
="-pthread"
39195 if test "x$SUNCXX" = xyes
; then
39196 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39200 *-*-solaris2* | *-*-sunos4* )
39201 if test "x$GCC" = "xyes"; then
39202 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39206 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39208 *-*-darwin* | *-*-cygwin* )
39212 THREAD_OPTS
="pthreads"
39215 if test "x$GCC" = "xyes"; then
39216 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39224 if test "x$GCC" = "xyes"; then
39230 if test "x$GCC" != "xyes"; then
39231 THREAD_OPTS
="-Ethread"
39236 THREAD_OPTS
="$THREAD_OPTS pthread none"
39239 for flag
in $THREAD_OPTS; do
39242 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39243 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39247 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39248 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39249 THREADS_CFLAGS
="$flag"
39253 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39254 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39255 THREADS_LINK
="-l$flag"
39260 save_CFLAGS
="$CFLAGS"
39261 LIBS
="$THREADS_LINK $LIBS"
39262 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39264 cat >conftest.
$ac_ext <<_ACEOF
39267 cat confdefs.h
>>conftest.
$ac_ext
39268 cat >>conftest.
$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270 #include <pthread.h>
39274 pthread_create(0,0,0,0);
39279 rm -f conftest.
$ac_objext conftest
$ac_exeext
39280 if { (ac_try
="$ac_link"
39281 case "(($ac_try" in
39282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39283 *) ac_try_echo=$ac_try;;
39285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39286 (eval "$ac_link") 2>conftest.er1
39288 grep -v '^ *+' conftest.er1 >conftest.err
39290 cat conftest.err >&5
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); } && {
39293 test -z "$ac_c_werror_flag" ||
39294 test ! -s conftest.err
39295 } && test -s conftest$ac_exeext &&
39296 $as_test_x conftest$ac_exeext; then
39299 echo "$as_me: failed program was:" >&5
39300 sed 's/^/| /' conftest.$ac_ext >&5
39305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39306 conftest$ac_exeext conftest.$ac_ext
39309 CFLAGS="$save_CFLAGS"
39311 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39312 echo "${ECHO_T}$THREADS_OK" >&6; }
39313 if test "x$THREADS_OK" = "xyes"; then
39321 if test "x$THREADS_OK" != "xyes"; then
39323 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39324 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39326 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39327 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39328 LIBS="$THREADS_LINK $LIBS"
39330 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39331 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39335 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39336 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39337 flag="-D_THREAD_SAFE"
39340 flag="-D_THREAD_SAFE"
39343 flag="-D_REENTRANT"
39344 if test "x$GCC" != "xyes"; then
39345 flag="$flag -D_RWSTD_MULTI_THREAD"
39348 *solaris* | alpha*-osf*)
39349 flag="-D_REENTRANT"
39352 { echo "$as_me:$LINENO: result: ${flag}" >&5
39353 echo "${ECHO_T}${flag}" >&6; }
39354 if test "x$flag" != xno; then
39355 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39358 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39362 if test "$wxUSE_THREADS" = "yes" ; then
39364 for ac_func in thr_setconcurrency
39366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39370 echo $ECHO_N "(cached) $ECHO_C" >&6
39372 cat >conftest.$ac_ext <<_ACEOF
39375 cat confdefs.h >>conftest.$ac_ext
39376 cat >>conftest.$ac_ext <<_ACEOF
39377 /* end confdefs.h. */
39378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39380 #define $ac_func innocuous_$ac_func
39382 /* System header to define __stub macros and hopefully few prototypes,
39383 which can conflict with char $ac_func (); below.
39384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39385 <limits.h> exists even on freestanding compilers. */
39388 # include <limits.h>
39390 # include <assert.h>
39395 /* Override any GCC internal prototype to avoid an error.
39396 Use char because int might match the return type of a GCC
39397 builtin and then its argument prototype would still apply. */
39402 /* The GNU C library defines this for functions which it implements
39403 to always fail with ENOSYS. Some functions are actually named
39404 something starting with __ and the normal name is an alias. */
39405 #if defined __stub_$ac_func || defined __stub___$ac_func
39412 return $ac_func ();
39417 rm -f conftest.$ac_objext conftest$ac_exeext
39418 if { (ac_try="$ac_link"
39419 case "(($ac_try" in
39420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39421 *) ac_try_echo
=$ac_try;;
39423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39424 (eval "$ac_link") 2>conftest.er1
39426 grep -v '^ *+' conftest.er1
>conftest.err
39428 cat conftest.err
>&5
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); } && {
39431 test -z "$ac_c_werror_flag" ||
39432 test ! -s conftest.err
39433 } && test -s conftest
$ac_exeext &&
39434 $as_test_x conftest
$ac_exeext; then
39435 eval "$as_ac_var=yes"
39437 echo "$as_me: failed program was:" >&5
39438 sed 's/^/| /' conftest.
$ac_ext >&5
39440 eval "$as_ac_var=no"
39443 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39444 conftest
$ac_exeext conftest.
$ac_ext
39446 ac_res
=`eval echo '${'$as_ac_var'}'`
39447 { echo "$as_me:$LINENO: result: $ac_res" >&5
39448 echo "${ECHO_T}$ac_res" >&6; }
39449 if test `eval echo '${'$as_ac_var'}'` = yes; then
39450 cat >>confdefs.h
<<_ACEOF
39451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39458 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39459 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39460 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39461 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 ac_cpp
='$CXXCPP $CPPFLAGS'
39466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39470 cat >conftest.
$ac_ext <<_ACEOF
39473 cat confdefs.h
>>conftest.
$ac_ext
39474 cat >>conftest.
$ac_ext <<_ACEOF
39475 /* end confdefs.h. */
39476 #include <pthread.h>
39477 void ThreadCleanupFunc(void *p);
39484 pthread_cleanup_push(ThreadCleanupFunc, p);
39485 pthread_cleanup_pop(0);
39491 rm -f conftest.
$ac_objext
39492 if { (ac_try
="$ac_compile"
39493 case "(($ac_try" in
39494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39495 *) ac_try_echo=$ac_try;;
39497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39498 (eval "$ac_compile") 2>conftest.er1
39500 grep -v '^ *+' conftest.er1 >conftest.err
39502 cat conftest.err >&5
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); } && {
39505 test -z "$ac_cxx_werror_flag" ||
39506 test ! -s conftest.err
39507 } && test -s conftest.$ac_objext; then
39509 wx_cv_func_pthread_cleanup=yes
39512 echo "$as_me: failed program was:" >&5
39513 sed 's/^/| /' conftest.$ac_ext >&5
39516 wx_cv_func_pthread_cleanup=no
39521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39523 ac_cpp='$CPP $CPPFLAGS'
39524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39530 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39531 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39532 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39533 cat >>confdefs.h <<\_ACEOF
39534 #define wxHAVE_PTHREAD_CLEANUP 1
39540 for ac_header in sched.h
39542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39548 cat >conftest.$ac_ext <<_ACEOF
39551 cat confdefs.h >>conftest.$ac_ext
39552 cat >>conftest.$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 $ac_includes_default
39556 #include <$ac_header>
39558 rm -f conftest.$ac_objext
39559 if { (ac_try="$ac_compile"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39562 *) ac_try_echo
=$ac_try;;
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_compile") 2>conftest.er1
39567 grep -v '^ *+' conftest.er1
>conftest.err
39569 cat conftest.err
>&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest.
$ac_objext; then
39575 eval "$as_ac_Header=yes"
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.
$ac_ext >&5
39580 eval "$as_ac_Header=no"
39583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39585 ac_res
=`eval echo '${'$as_ac_Header'}'`
39586 { echo "$as_me:$LINENO: result: $ac_res" >&5
39587 echo "${ECHO_T}$ac_res" >&6; }
39588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39589 cat >>confdefs.h
<<_ACEOF
39590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39597 if test "$ac_cv_header_sched_h" = "yes"; then
39598 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39599 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39600 if test "${ac_cv_func_sched_yield+set}" = set; then
39601 echo $ECHO_N "(cached) $ECHO_C" >&6
39603 cat >conftest.
$ac_ext <<_ACEOF
39606 cat confdefs.h
>>conftest.
$ac_ext
39607 cat >>conftest.
$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39609 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39611 #define sched_yield innocuous_sched_yield
39613 /* System header to define __stub macros and hopefully few prototypes,
39614 which can conflict with char sched_yield (); below.
39615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39616 <limits.h> exists even on freestanding compilers. */
39619 # include <limits.h>
39621 # include <assert.h>
39626 /* Override any GCC internal prototype to avoid an error.
39627 Use char because int might match the return type of a GCC
39628 builtin and then its argument prototype would still apply. */
39632 char sched_yield ();
39633 /* The GNU C library defines this for functions which it implements
39634 to always fail with ENOSYS. Some functions are actually named
39635 something starting with __ and the normal name is an alias. */
39636 #if defined __stub_sched_yield || defined __stub___sched_yield
39643 return sched_yield ();
39648 rm -f conftest.
$ac_objext conftest
$ac_exeext
39649 if { (ac_try
="$ac_link"
39650 case "(($ac_try" in
39651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39652 *) ac_try_echo=$ac_try;;
39654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39655 (eval "$ac_link") 2>conftest.er1
39657 grep -v '^ *+' conftest.er1 >conftest.err
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } && {
39662 test -z "$ac_c_werror_flag" ||
39663 test ! -s conftest.err
39664 } && test -s conftest$ac_exeext &&
39665 $as_test_x conftest$ac_exeext; then
39666 ac_cv_func_sched_yield=yes
39668 echo "$as_me: failed program was:" >&5
39669 sed 's/^/| /' conftest.$ac_ext >&5
39671 ac_cv_func_sched_yield=no
39674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39675 conftest$ac_exeext conftest.$ac_ext
39677 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39678 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39679 if test $ac_cv_func_sched_yield = yes; then
39680 cat >>confdefs.h <<\_ACEOF
39681 #define HAVE_SCHED_YIELD 1
39686 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39687 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39688 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39689 echo $ECHO_N "(cached) $ECHO_C" >&6
39691 ac_check_lib_save_LIBS=$LIBS
39692 LIBS="-lposix4 $LIBS"
39693 cat >conftest.$ac_ext <<_ACEOF
39696 cat confdefs.h >>conftest.$ac_ext
39697 cat >>conftest.$ac_ext <<_ACEOF
39698 /* end confdefs.h. */
39700 /* Override any GCC internal prototype to avoid an error.
39701 Use char because int might match the return type of a GCC
39702 builtin and then its argument prototype would still apply. */
39706 char sched_yield ();
39710 return sched_yield ();
39715 rm -f conftest.$ac_objext conftest$ac_exeext
39716 if { (ac_try="$ac_link"
39717 case "(($ac_try" in
39718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39719 *) ac_try_echo
=$ac_try;;
39721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39722 (eval "$ac_link") 2>conftest.er1
39724 grep -v '^ *+' conftest.er1
>conftest.err
39726 cat conftest.err
>&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); } && {
39729 test -z "$ac_c_werror_flag" ||
39730 test ! -s conftest.err
39731 } && test -s conftest
$ac_exeext &&
39732 $as_test_x conftest
$ac_exeext; then
39733 ac_cv_lib_posix4_sched_yield
=yes
39735 echo "$as_me: failed program was:" >&5
39736 sed 's/^/| /' conftest.
$ac_ext >&5
39738 ac_cv_lib_posix4_sched_yield
=no
39741 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39742 conftest
$ac_exeext conftest.
$ac_ext
39743 LIBS
=$ac_check_lib_save_LIBS
39745 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39746 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39747 if test $ac_cv_lib_posix4_sched_yield = yes; then
39748 cat >>confdefs.h
<<\_ACEOF
39749 #define HAVE_SCHED_YIELD 1
39751 POSIX4_LINK
=" -lposix4"
39753 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39754 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39765 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39766 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39767 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39768 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 cat >conftest.
$ac_ext <<_ACEOF
39773 cat confdefs.h
>>conftest.
$ac_ext
39774 cat >>conftest.
$ac_ext <<_ACEOF
39775 /* end confdefs.h. */
39776 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39778 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39780 /* System header to define __stub macros and hopefully few prototypes,
39781 which can conflict with char pthread_attr_getschedpolicy (); below.
39782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39783 <limits.h> exists even on freestanding compilers. */
39786 # include <limits.h>
39788 # include <assert.h>
39791 #undef pthread_attr_getschedpolicy
39793 /* Override any GCC internal prototype to avoid an error.
39794 Use char because int might match the return type of a GCC
39795 builtin and then its argument prototype would still apply. */
39799 char pthread_attr_getschedpolicy ();
39800 /* The GNU C library defines this for functions which it implements
39801 to always fail with ENOSYS. Some functions are actually named
39802 something starting with __ and the normal name is an alias. */
39803 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39810 return pthread_attr_getschedpolicy ();
39815 rm -f conftest.
$ac_objext conftest
$ac_exeext
39816 if { (ac_try
="$ac_link"
39817 case "(($ac_try" in
39818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39819 *) ac_try_echo=$ac_try;;
39821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39822 (eval "$ac_link") 2>conftest.er1
39824 grep -v '^ *+' conftest.er1 >conftest.err
39826 cat conftest.err >&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); } && {
39829 test -z "$ac_c_werror_flag" ||
39830 test ! -s conftest.err
39831 } && test -s conftest$ac_exeext &&
39832 $as_test_x conftest$ac_exeext; then
39833 ac_cv_func_pthread_attr_getschedpolicy=yes
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39838 ac_cv_func_pthread_attr_getschedpolicy=no
39841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39842 conftest$ac_exeext conftest.$ac_ext
39844 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39845 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39846 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39847 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39848 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39849 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39852 cat >conftest.$ac_ext <<_ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39860 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39862 /* System header to define __stub macros and hopefully few prototypes,
39863 which can conflict with char pthread_attr_setschedparam (); below.
39864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39865 <limits.h> exists even on freestanding compilers. */
39868 # include <limits.h>
39870 # include <assert.h>
39873 #undef pthread_attr_setschedparam
39875 /* Override any GCC internal prototype to avoid an error.
39876 Use char because int might match the return type of a GCC
39877 builtin and then its argument prototype would still apply. */
39881 char pthread_attr_setschedparam ();
39882 /* The GNU C library defines this for functions which it implements
39883 to always fail with ENOSYS. Some functions are actually named
39884 something starting with __ and the normal name is an alias. */
39885 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39892 return pthread_attr_setschedparam ();
39897 rm -f conftest.$ac_objext conftest$ac_exeext
39898 if { (ac_try="$ac_link"
39899 case "(($ac_try" in
39900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39901 *) ac_try_echo
=$ac_try;;
39903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39904 (eval "$ac_link") 2>conftest.er1
39906 grep -v '^ *+' conftest.er1
>conftest.err
39908 cat conftest.err
>&5
39909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39910 (exit $ac_status); } && {
39911 test -z "$ac_c_werror_flag" ||
39912 test ! -s conftest.err
39913 } && test -s conftest
$ac_exeext &&
39914 $as_test_x conftest
$ac_exeext; then
39915 ac_cv_func_pthread_attr_setschedparam
=yes
39917 echo "$as_me: failed program was:" >&5
39918 sed 's/^/| /' conftest.
$ac_ext >&5
39920 ac_cv_func_pthread_attr_setschedparam
=no
39923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39924 conftest
$ac_exeext conftest.
$ac_ext
39926 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39927 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39928 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39929 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39930 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39931 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39932 echo $ECHO_N "(cached) $ECHO_C" >&6
39934 cat >conftest.
$ac_ext <<_ACEOF
39937 cat confdefs.h
>>conftest.
$ac_ext
39938 cat >>conftest.
$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39940 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39942 #define sched_get_priority_max innocuous_sched_get_priority_max
39944 /* System header to define __stub macros and hopefully few prototypes,
39945 which can conflict with char sched_get_priority_max (); below.
39946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39947 <limits.h> exists even on freestanding compilers. */
39950 # include <limits.h>
39952 # include <assert.h>
39955 #undef sched_get_priority_max
39957 /* Override any GCC internal prototype to avoid an error.
39958 Use char because int might match the return type of a GCC
39959 builtin and then its argument prototype would still apply. */
39963 char sched_get_priority_max ();
39964 /* The GNU C library defines this for functions which it implements
39965 to always fail with ENOSYS. Some functions are actually named
39966 something starting with __ and the normal name is an alias. */
39967 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39974 return sched_get_priority_max ();
39979 rm -f conftest.
$ac_objext conftest
$ac_exeext
39980 if { (ac_try
="$ac_link"
39981 case "(($ac_try" in
39982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39983 *) ac_try_echo=$ac_try;;
39985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39986 (eval "$ac_link") 2>conftest.er1
39988 grep -v '^ *+' conftest.er1 >conftest.err
39990 cat conftest.err >&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } && {
39993 test -z "$ac_c_werror_flag" ||
39994 test ! -s conftest.err
39995 } && test -s conftest$ac_exeext &&
39996 $as_test_x conftest$ac_exeext; then
39997 ac_cv_func_sched_get_priority_max=yes
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.$ac_ext >&5
40002 ac_cv_func_sched_get_priority_max=no
40005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40006 conftest$ac_exeext conftest.$ac_ext
40008 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40009 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40010 if test $ac_cv_func_sched_get_priority_max = yes; then
40013 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40014 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40015 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40018 ac_check_lib_save_LIBS=$LIBS
40019 LIBS="-lposix4 $LIBS"
40020 cat >conftest.$ac_ext <<_ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40027 /* Override any GCC internal prototype to avoid an error.
40028 Use char because int might match the return type of a GCC
40029 builtin and then its argument prototype would still apply. */
40033 char sched_get_priority_max ();
40037 return sched_get_priority_max ();
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (ac_try="$ac_link"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40046 *) ac_try_echo
=$ac_try;;
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_link") 2>conftest.er1
40051 grep -v '^ *+' conftest.er1
>conftest.err
40053 cat conftest.err
>&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_c_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest
$ac_exeext &&
40059 $as_test_x conftest
$ac_exeext; then
40060 ac_cv_lib_posix4_sched_get_priority_max
=yes
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.
$ac_ext >&5
40065 ac_cv_lib_posix4_sched_get_priority_max
=no
40068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40069 conftest
$ac_exeext conftest.
$ac_ext
40070 LIBS
=$ac_check_lib_save_LIBS
40072 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40073 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40074 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40077 POSIX4_LINK
=" -lposix4"
40091 if test "$HAVE_PRIOR_FUNCS" = 1; then
40092 cat >>confdefs.h
<<\_ACEOF
40093 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40097 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40098 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40101 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40102 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40103 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40104 echo $ECHO_N "(cached) $ECHO_C" >&6
40106 cat >conftest.
$ac_ext <<_ACEOF
40109 cat confdefs.h
>>conftest.
$ac_ext
40110 cat >>conftest.
$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40112 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40114 #define pthread_cancel innocuous_pthread_cancel
40116 /* System header to define __stub macros and hopefully few prototypes,
40117 which can conflict with char pthread_cancel (); below.
40118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40119 <limits.h> exists even on freestanding compilers. */
40122 # include <limits.h>
40124 # include <assert.h>
40127 #undef pthread_cancel
40129 /* Override any GCC internal prototype to avoid an error.
40130 Use char because int might match the return type of a GCC
40131 builtin and then its argument prototype would still apply. */
40135 char pthread_cancel ();
40136 /* The GNU C library defines this for functions which it implements
40137 to always fail with ENOSYS. Some functions are actually named
40138 something starting with __ and the normal name is an alias. */
40139 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40146 return pthread_cancel ();
40151 rm -f conftest.
$ac_objext conftest
$ac_exeext
40152 if { (ac_try
="$ac_link"
40153 case "(($ac_try" in
40154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40155 *) ac_try_echo=$ac_try;;
40157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40158 (eval "$ac_link") 2>conftest.er1
40160 grep -v '^ *+' conftest.er1 >conftest.err
40162 cat conftest.err >&5
40163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164 (exit $ac_status); } && {
40165 test -z "$ac_c_werror_flag" ||
40166 test ! -s conftest.err
40167 } && test -s conftest$ac_exeext &&
40168 $as_test_x conftest$ac_exeext; then
40169 ac_cv_func_pthread_cancel=yes
40171 echo "$as_me: failed program was:" >&5
40172 sed 's/^/| /' conftest.$ac_ext >&5
40174 ac_cv_func_pthread_cancel=no
40177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40178 conftest$ac_exeext conftest.$ac_ext
40180 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40181 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40182 if test $ac_cv_func_pthread_cancel = yes; then
40183 cat >>confdefs.h <<\_ACEOF
40184 #define HAVE_PTHREAD_CANCEL 1
40188 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40189 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40193 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40194 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40195 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40196 echo $ECHO_N "(cached) $ECHO_C" >&6
40198 cat >conftest.$ac_ext <<_ACEOF
40201 cat confdefs.h >>conftest.$ac_ext
40202 cat >>conftest.$ac_ext <<_ACEOF
40203 /* end confdefs.h. */
40204 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40206 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40208 /* System header to define __stub macros and hopefully few prototypes,
40209 which can conflict with char pthread_mutex_timedlock (); below.
40210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40211 <limits.h> exists even on freestanding compilers. */
40214 # include <limits.h>
40216 # include <assert.h>
40219 #undef pthread_mutex_timedlock
40221 /* Override any GCC internal prototype to avoid an error.
40222 Use char because int might match the return type of a GCC
40223 builtin and then its argument prototype would still apply. */
40227 char pthread_mutex_timedlock ();
40228 /* The GNU C library defines this for functions which it implements
40229 to always fail with ENOSYS. Some functions are actually named
40230 something starting with __ and the normal name is an alias. */
40231 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40238 return pthread_mutex_timedlock ();
40243 rm -f conftest.$ac_objext conftest$ac_exeext
40244 if { (ac_try="$ac_link"
40245 case "(($ac_try" in
40246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40247 *) ac_try_echo
=$ac_try;;
40249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40250 (eval "$ac_link") 2>conftest.er1
40252 grep -v '^ *+' conftest.er1
>conftest.err
40254 cat conftest.err
>&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); } && {
40257 test -z "$ac_c_werror_flag" ||
40258 test ! -s conftest.err
40259 } && test -s conftest
$ac_exeext &&
40260 $as_test_x conftest
$ac_exeext; then
40261 ac_cv_func_pthread_mutex_timedlock
=yes
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.
$ac_ext >&5
40266 ac_cv_func_pthread_mutex_timedlock
=no
40269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40270 conftest
$ac_exeext conftest.
$ac_ext
40272 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40273 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40274 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40275 cat >>confdefs.h
<<\_ACEOF
40276 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40280 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40281 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40285 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40286 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40287 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40288 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 cat >conftest.
$ac_ext <<_ACEOF
40293 cat confdefs.h
>>conftest.
$ac_ext
40294 cat >>conftest.
$ac_ext <<_ACEOF
40295 /* end confdefs.h. */
40296 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40298 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40300 /* System header to define __stub macros and hopefully few prototypes,
40301 which can conflict with char pthread_attr_setstacksize (); below.
40302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40303 <limits.h> exists even on freestanding compilers. */
40306 # include <limits.h>
40308 # include <assert.h>
40311 #undef pthread_attr_setstacksize
40313 /* Override any GCC internal prototype to avoid an error.
40314 Use char because int might match the return type of a GCC
40315 builtin and then its argument prototype would still apply. */
40319 char pthread_attr_setstacksize ();
40320 /* The GNU C library defines this for functions which it implements
40321 to always fail with ENOSYS. Some functions are actually named
40322 something starting with __ and the normal name is an alias. */
40323 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40330 return pthread_attr_setstacksize ();
40335 rm -f conftest.
$ac_objext conftest
$ac_exeext
40336 if { (ac_try
="$ac_link"
40337 case "(($ac_try" in
40338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40339 *) ac_try_echo=$ac_try;;
40341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40342 (eval "$ac_link") 2>conftest.er1
40344 grep -v '^ *+' conftest.er1 >conftest.err
40346 cat conftest.err >&5
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); } && {
40349 test -z "$ac_c_werror_flag" ||
40350 test ! -s conftest.err
40351 } && test -s conftest$ac_exeext &&
40352 $as_test_x conftest$ac_exeext; then
40353 ac_cv_func_pthread_attr_setstacksize=yes
40355 echo "$as_me: failed program was:" >&5
40356 sed 's/^/| /' conftest.$ac_ext >&5
40358 ac_cv_func_pthread_attr_setstacksize=no
40361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40362 conftest$ac_exeext conftest.$ac_ext
40364 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40365 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40366 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40367 cat >>confdefs.h <<\_ACEOF
40368 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40375 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40376 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40377 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40381 cat >conftest.$ac_ext <<_ACEOF
40384 cat confdefs.h >>conftest.$ac_ext
40385 cat >>conftest.$ac_ext <<_ACEOF
40386 /* end confdefs.h. */
40387 #include <pthread.h>
40392 pthread_mutexattr_t attr;
40393 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40399 rm -f conftest.$ac_objext
40400 if { (ac_try="$ac_compile"
40401 case "(($ac_try" in
40402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40403 *) ac_try_echo
=$ac_try;;
40405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40406 (eval "$ac_compile") 2>conftest.er1
40408 grep -v '^ *+' conftest.er1
>conftest.err
40410 cat conftest.err
>&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); } && {
40413 test -z "$ac_c_werror_flag" ||
40414 test ! -s conftest.err
40415 } && test -s conftest.
$ac_objext; then
40416 wx_cv_type_pthread_mutexattr_t
=yes
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.
$ac_ext >&5
40421 wx_cv_type_pthread_mutexattr_t
=no
40425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40428 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40429 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40431 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40432 cat >>confdefs.h
<<\_ACEOF
40433 #define HAVE_PTHREAD_MUTEXATTR_T 1
40437 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40438 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40439 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40443 cat >conftest.
$ac_ext <<_ACEOF
40446 cat confdefs.h
>>conftest.
$ac_ext
40447 cat >>conftest.
$ac_ext <<_ACEOF
40448 /* end confdefs.h. */
40449 #include <pthread.h>
40454 pthread_mutexattr_t attr;
40455 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40461 rm -f conftest.
$ac_objext
40462 if { (ac_try
="$ac_compile"
40463 case "(($ac_try" in
40464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40465 *) ac_try_echo=$ac_try;;
40467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40468 (eval "$ac_compile") 2>conftest.er1
40470 grep -v '^ *+' conftest.er1 >conftest.err
40472 cat conftest.err >&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); } && {
40475 test -z "$ac_c_werror_flag" ||
40476 test ! -s conftest.err
40477 } && test -s conftest.$ac_objext; then
40478 wx_cv_func_pthread_mutexattr_settype_decl=yes
40480 echo "$as_me: failed program was:" >&5
40481 sed 's/^/| /' conftest.$ac_ext >&5
40483 wx_cv_func_pthread_mutexattr_settype_decl=no
40487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40490 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40491 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40492 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40493 cat >>confdefs.h <<\_ACEOF
40494 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40499 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40500 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40501 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 cat >conftest.$ac_ext <<_ACEOF
40508 cat confdefs.h >>conftest.$ac_ext
40509 cat >>conftest.$ac_ext <<_ACEOF
40510 /* end confdefs.h. */
40511 #include <pthread.h>
40516 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40522 rm -f conftest.$ac_objext
40523 if { (ac_try="$ac_compile"
40524 case "(($ac_try" in
40525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40526 *) ac_try_echo
=$ac_try;;
40528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40529 (eval "$ac_compile") 2>conftest.er1
40531 grep -v '^ *+' conftest.er1
>conftest.err
40533 cat conftest.err
>&5
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); } && {
40536 test -z "$ac_c_werror_flag" ||
40537 test ! -s conftest.err
40538 } && test -s conftest.
$ac_objext; then
40540 wx_cv_type_pthread_rec_mutex_init
=yes
40543 echo "$as_me: failed program was:" >&5
40544 sed 's/^/| /' conftest.
$ac_ext >&5
40547 wx_cv_type_pthread_rec_mutex_init
=no
40552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40555 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40556 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40557 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40558 cat >>confdefs.h
<<\_ACEOF
40559 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40563 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40564 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40568 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40569 if test "$USE_NETBSD" = 1; then
40570 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40571 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40572 wxUSE_COMPILER_TLS
=no
40574 wxUSE_COMPILER_TLS
=yes
40578 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40579 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40580 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40581 if test "${wx_cv_cc___thread+set}" = set; then
40582 echo $ECHO_N "(cached) $ECHO_C" >&6
40585 cat >conftest.
$ac_ext <<_ACEOF
40588 cat confdefs.h
>>conftest.
$ac_ext
40589 cat >>conftest.
$ac_ext <<_ACEOF
40590 /* end confdefs.h. */
40591 #include <pthread.h>
40596 static __thread int n = 0;
40597 static __thread int *p = 0;
40603 rm -f conftest.
$ac_objext
40604 if { (ac_try
="$ac_compile"
40605 case "(($ac_try" in
40606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40607 *) ac_try_echo=$ac_try;;
40609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40610 (eval "$ac_compile") 2>conftest.er1
40612 grep -v '^ *+' conftest.er1 >conftest.err
40614 cat conftest.err >&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); } && {
40617 test -z "$ac_c_werror_flag" ||
40618 test ! -s conftest.err
40619 } && test -s conftest.$ac_objext; then
40620 wx_cv_cc___thread=yes
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40625 wx_cv_cc___thread=no
40629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40633 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40634 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40636 if test "$wx_cv_cc___thread" = "yes"; then
40642 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40643 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40645 if test "x$GCC" = "xyes" ; then
40647 if test -z "" ; then
40649 ax_gcc_option_test="int main()
40656 ax_gcc_option_test=""
40661 # Dump the test program to file
40662 cat <<EOF > conftest.c
40663 $ax_gcc_option_test
40666 # Dump back the file to the log, useful for debugging purposes
40667 { ac_try='cat conftest.c 1>&5'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; }
40674 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676 (eval $ac_try) 2>&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); }; } ; then
40681 { echo "$as_me:$LINENO: result: yes" >&5
40682 echo "${ECHO_T}yes" >&6; }
40684 ax_gcc_version_option=yes
40689 { echo "$as_me:$LINENO: result: no" >&5
40690 echo "${ECHO_T}no" >&6; }
40692 ax_gcc_version_option=no
40700 { echo "$as_me:$LINENO: result: no gcc available" >&5
40701 echo "${ECHO_T}no gcc available" >&6; }
40706 if test "x$GXX" = "xyes"; then
40708 if test "x$ax_gxx_version_option" != "no"; then
40710 { echo "$as_me:$LINENO: checking gxx version" >&5
40711 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40712 if test "${ax_cv_gxx_version+set}" = set; then
40713 echo $ECHO_N "(cached) $ECHO_C" >&6
40716 ax_cv_gxx_version="`$CXX -dumpversion`"
40717 if test "x$ax_cv_gxx_version" = "x"; then
40719 ax_cv_gxx_version=""
40725 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40726 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40727 GXX_VERSION=$ax_cv_gxx_version
40736 if test -n "$ax_cv_gxx_version"; then
40737 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40738 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40739 case "$ax_cv_gxx_version" in
40741 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40742 echo "${ECHO_T}no, it's broken" >&6; }
40743 wx_cv_cc___thread=no
40746 { echo "$as_me:$LINENO: result: yes, it works" >&5
40747 echo "${ECHO_T}yes, it works" >&6; }
40753 if test "$wx_cv_cc___thread" = "yes"; then
40754 cat >>confdefs.h <<\_ACEOF
40755 #define HAVE___THREAD_KEYWORD 1
40763 if test "$wxUSE_THREADS" = "yes" ; then
40765 x86_64-*-mingw32* )
40768 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40769 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40770 if test "${wx_cv_cflags_mthread+set}" = set; then
40771 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 CFLAGS_OLD="$CFLAGS"
40775 CFLAGS="-mthreads $CFLAGS"
40776 cat >conftest.$ac_ext <<_ACEOF
40779 cat confdefs.h >>conftest.$ac_ext
40780 cat >>conftest.$ac_ext <<_ACEOF
40781 /* end confdefs.h. */
40791 rm -f conftest.$ac_objext
40792 if { (ac_try="$ac_compile"
40793 case "(($ac_try" in
40794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40795 *) ac_try_echo
=$ac_try;;
40797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40798 (eval "$ac_compile") 2>conftest.er1
40800 grep -v '^ *+' conftest.er1
>conftest.err
40802 cat conftest.err
>&5
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); } && {
40805 test -z "$ac_c_werror_flag" ||
40806 test ! -s conftest.err
40807 } && test -s conftest.
$ac_objext; then
40808 wx_cv_cflags_mthread
=yes
40810 echo "$as_me: failed program was:" >&5
40811 sed 's/^/| /' conftest.
$ac_ext >&5
40813 wx_cv_cflags_mthread
=no
40817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40821 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40822 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40824 if test "$wx_cv_cflags_mthread" = "yes"; then
40825 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40826 LDFLAGS
="$LDFLAGS -mthreads"
40828 CFLAGS
="$CFLAGS_OLD"
40832 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40833 LDFLAGS
="$LDFLAGS -Zmt"
40839 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40840 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40841 if test "${ac_cv_func_localtime_r+set}" = set; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40844 cat >conftest.
$ac_ext <<_ACEOF
40847 cat confdefs.h
>>conftest.
$ac_ext
40848 cat >>conftest.
$ac_ext <<_ACEOF
40849 /* end confdefs.h. */
40850 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40852 #define localtime_r innocuous_localtime_r
40854 /* System header to define __stub macros and hopefully few prototypes,
40855 which can conflict with char localtime_r (); below.
40856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40857 <limits.h> exists even on freestanding compilers. */
40860 # include <limits.h>
40862 # include <assert.h>
40867 /* Override any GCC internal prototype to avoid an error.
40868 Use char because int might match the return type of a GCC
40869 builtin and then its argument prototype would still apply. */
40873 char localtime_r ();
40874 /* The GNU C library defines this for functions which it implements
40875 to always fail with ENOSYS. Some functions are actually named
40876 something starting with __ and the normal name is an alias. */
40877 #if defined __stub_localtime_r || defined __stub___localtime_r
40884 return localtime_r ();
40889 rm -f conftest.
$ac_objext conftest
$ac_exeext
40890 if { (ac_try
="$ac_link"
40891 case "(($ac_try" in
40892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40893 *) ac_try_echo=$ac_try;;
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_link") 2>conftest.er1
40898 grep -v '^ *+' conftest.er1 >conftest.err
40900 cat conftest.err >&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } && {
40903 test -z "$ac_c_werror_flag" ||
40904 test ! -s conftest.err
40905 } && test -s conftest$ac_exeext &&
40906 $as_test_x conftest$ac_exeext; then
40907 ac_cv_func_localtime_r=yes
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.$ac_ext >&5
40912 ac_cv_func_localtime_r=no
40915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40916 conftest$ac_exeext conftest.$ac_ext
40918 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40919 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40920 if test $ac_cv_func_localtime_r = yes; then
40921 cat >>confdefs.h <<\_ACEOF
40922 #define HAVE_LOCALTIME_R 1
40927 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40928 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40929 if test "${ac_cv_func_gmtime_r+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 cat >conftest.$ac_ext <<_ACEOF
40935 cat confdefs.h >>conftest.$ac_ext
40936 cat >>conftest.$ac_ext <<_ACEOF
40937 /* end confdefs.h. */
40938 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40940 #define gmtime_r innocuous_gmtime_r
40942 /* System header to define __stub macros and hopefully few prototypes,
40943 which can conflict with char gmtime_r (); below.
40944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40945 <limits.h> exists even on freestanding compilers. */
40948 # include <limits.h>
40950 # include <assert.h>
40955 /* Override any GCC internal prototype to avoid an error.
40956 Use char because int might match the return type of a GCC
40957 builtin and then its argument prototype would still apply. */
40962 /* The GNU C library defines this for functions which it implements
40963 to always fail with ENOSYS. Some functions are actually named
40964 something starting with __ and the normal name is an alias. */
40965 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40972 return gmtime_r ();
40977 rm -f conftest.$ac_objext conftest$ac_exeext
40978 if { (ac_try="$ac_link"
40979 case "(($ac_try" in
40980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40981 *) ac_try_echo
=$ac_try;;
40983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40984 (eval "$ac_link") 2>conftest.er1
40986 grep -v '^ *+' conftest.er1
>conftest.err
40988 cat conftest.err
>&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } && {
40991 test -z "$ac_c_werror_flag" ||
40992 test ! -s conftest.err
40993 } && test -s conftest
$ac_exeext &&
40994 $as_test_x conftest
$ac_exeext; then
40995 ac_cv_func_gmtime_r
=yes
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.
$ac_ext >&5
41000 ac_cv_func_gmtime_r
=no
41003 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41004 conftest
$ac_exeext conftest.
$ac_ext
41006 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41007 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41008 if test $ac_cv_func_gmtime_r = yes; then
41009 cat >>confdefs.h
<<\_ACEOF
41010 #define HAVE_GMTIME_R 1
41019 ac_cpp
='$CPP $CPPFLAGS'
41020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41024 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41025 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41027 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41028 echo $ECHO_N "(cached) $ECHO_C" >&6
41032 ################################################################
41034 ac_cv_func_which_gethostbyname_r
=unknown
41037 # ONE ARGUMENT (sanity check)
41040 # This should fail, as there is no variant of gethostbyname_r() that takes
41041 # a single argument. If it actually compiles, then we can assume that
41042 # netdb.h is not declaring the function, and the compiler is thereby
41043 # assuming an implicit prototype. In which case, we're out of luck.
41045 cat >conftest.
$ac_ext <<_ACEOF
41048 cat confdefs.h
>>conftest.
$ac_ext
41049 cat >>conftest.
$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41056 char *name = "www.gnu.org";
41057 (void)gethostbyname_r(name) /* ; */
41063 rm -f conftest.
$ac_objext
41064 if { (ac_try
="$ac_compile"
41065 case "(($ac_try" in
41066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41067 *) ac_try_echo=$ac_try;;
41069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41070 (eval "$ac_compile") 2>conftest.er1
41072 grep -v '^ *+' conftest.er1 >conftest.err
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } && {
41077 test -z "$ac_c_werror_flag" ||
41078 test ! -s conftest.err
41079 } && test -s conftest.$ac_objext; then
41080 ac_cv_func_which_gethostbyname_r=no
41082 echo "$as_me: failed program was:" >&5
41083 sed 's/^/| /' conftest.$ac_ext >&5
41088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41095 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41097 cat >conftest.$ac_ext <<_ACEOF
41100 cat confdefs.h >>conftest.$ac_ext
41101 cat >>conftest.$ac_ext <<_ACEOF
41102 /* end confdefs.h. */
41108 char *name = "www.gnu.org";
41109 struct hostent ret, *retp;
41113 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41119 rm -f conftest.$ac_objext
41120 if { (ac_try="$ac_compile"
41121 case "(($ac_try" in
41122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41123 *) ac_try_echo
=$ac_try;;
41125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41126 (eval "$ac_compile") 2>conftest.er1
41128 grep -v '^ *+' conftest.er1
>conftest.err
41130 cat conftest.err
>&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); } && {
41133 test -z "$ac_c_werror_flag" ||
41134 test ! -s conftest.err
41135 } && test -s conftest.
$ac_objext; then
41136 ac_cv_func_which_gethostbyname_r
=six
41138 echo "$as_me: failed program was:" >&5
41139 sed 's/^/| /' conftest.
$ac_ext >&5
41144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41153 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41155 cat >conftest.
$ac_ext <<_ACEOF
41158 cat confdefs.h
>>conftest.
$ac_ext
41159 cat >>conftest.
$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41166 char *name = "www.gnu.org";
41167 struct hostent ret;
41171 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41177 rm -f conftest.
$ac_objext
41178 if { (ac_try
="$ac_compile"
41179 case "(($ac_try" in
41180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41181 *) ac_try_echo=$ac_try;;
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_compile") 2>conftest.er1
41186 grep -v '^ *+' conftest.er1 >conftest.err
41188 cat conftest.err >&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_c_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest.$ac_objext; then
41194 ac_cv_func_which_gethostbyname_r=five
41196 echo "$as_me: failed program was:" >&5
41197 sed 's/^/| /' conftest.$ac_ext >&5
41202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208 # (e.g. AIX, HP-UX, Tru64)
41211 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41213 cat >conftest.$ac_ext <<_ACEOF
41216 cat confdefs.h >>conftest.$ac_ext
41217 cat >>conftest.$ac_ext <<_ACEOF
41218 /* end confdefs.h. */
41224 char *name = "www.gnu.org";
41225 struct hostent ret;
41226 struct hostent_data data;
41227 (void)gethostbyname_r(name, &ret, &data) /* ; */
41233 rm -f conftest.$ac_objext
41234 if { (ac_try="$ac_compile"
41235 case "(($ac_try" in
41236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41237 *) ac_try_echo
=$ac_try;;
41239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41240 (eval "$ac_compile") 2>conftest.er1
41242 grep -v '^ *+' conftest.er1
>conftest.err
41244 cat conftest.err
>&5
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); } && {
41247 test -z "$ac_c_werror_flag" ||
41248 test ! -s conftest.err
41249 } && test -s conftest.
$ac_objext; then
41250 ac_cv_func_which_gethostbyname_r
=three
41252 echo "$as_me: failed program was:" >&5
41253 sed 's/^/| /' conftest.
$ac_ext >&5
41258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41262 ################################################################
41267 case "$ac_cv_func_which_gethostbyname_r" in
41269 { echo "$as_me:$LINENO: result: three" >&5
41270 echo "${ECHO_T}three" >&6; }
41271 cat >>confdefs.h
<<\_ACEOF
41272 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41278 { echo "$as_me:$LINENO: result: five" >&5
41279 echo "${ECHO_T}five" >&6; }
41280 cat >>confdefs.h
<<\_ACEOF
41281 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41287 { echo "$as_me:$LINENO: result: six" >&5
41288 echo "${ECHO_T}six" >&6; }
41289 cat >>confdefs.h
<<\_ACEOF
41290 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41296 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41297 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41301 { echo "$as_me:$LINENO: result: can't tell" >&5
41302 echo "${ECHO_T}can't tell" >&6; }
41306 { { echo "$as_me:$LINENO: error: internal error" >&5
41307 echo "$as_me: error: internal error" >&2;}
41308 { (exit 1); exit 1; }; }
41313 ac_cpp
='$CPP $CPPFLAGS'
41314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41320 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41321 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41322 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41323 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41324 if test "${ac_cv_func_gethostbyname+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 gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41335 #define gethostbyname innocuous_gethostbyname
41337 /* System header to define __stub macros and hopefully few prototypes,
41338 which can conflict with char gethostbyname (); 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>
41348 #undef gethostbyname
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. */
41356 char gethostbyname ();
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_gethostbyname || defined __stub___gethostbyname
41367 return gethostbyname ();
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 ac_cv_func_gethostbyname=yes
41392 echo "$as_me: failed program was:" >&5
41393 sed 's/^/| /' conftest.$ac_ext >&5
41395 ac_cv_func_gethostbyname=no
41398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41399 conftest$ac_exeext conftest.$ac_ext
41401 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41402 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41403 if test $ac_cv_func_gethostbyname = yes; then
41404 cat >>confdefs.h <<\_ACEOF
41405 #define HAVE_GETHOSTBYNAME 1
41412 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41413 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41414 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41415 echo $ECHO_N "(cached) $ECHO_C" >&6
41419 ac_cpp='$CXXCPP $CPPFLAGS'
41420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41425 cat >conftest.$ac_ext <<_ACEOF
41428 cat confdefs.h >>conftest.$ac_ext
41429 cat >>conftest.$ac_ext <<_ACEOF
41430 /* end confdefs.h. */
41438 struct servent *se, *res;
41441 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41447 rm -f conftest.$ac_objext
41448 if { (ac_try="$ac_compile"
41449 case "(($ac_try" in
41450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41451 *) ac_try_echo
=$ac_try;;
41453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41454 (eval "$ac_compile") 2>conftest.er1
41456 grep -v '^ *+' conftest.er1
>conftest.err
41458 cat conftest.err
>&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); } && {
41461 test -z "$ac_cxx_werror_flag" ||
41462 test ! -s conftest.err
41463 } && test -s conftest.
$ac_objext; then
41464 ac_cv_func_which_getservbyname_r
=six
41466 echo "$as_me: failed program was:" >&5
41467 sed 's/^/| /' conftest.
$ac_ext >&5
41470 cat >conftest.
$ac_ext <<_ACEOF
41473 cat confdefs.h
>>conftest.
$ac_ext
41474 cat >>conftest.
$ac_ext <<_ACEOF
41475 /* end confdefs.h. */
41483 struct servent *se;
41486 (void) getservbyname_r(name, proto, se, buffer, buflen)
41492 rm -f conftest.
$ac_objext
41493 if { (ac_try
="$ac_compile"
41494 case "(($ac_try" in
41495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41496 *) ac_try_echo=$ac_try;;
41498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41499 (eval "$ac_compile") 2>conftest.er1
41501 grep -v '^ *+' conftest.er1 >conftest.err
41503 cat conftest.err >&5
41504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41505 (exit $ac_status); } && {
41506 test -z "$ac_cxx_werror_flag" ||
41507 test ! -s conftest.err
41508 } && test -s conftest.$ac_objext; then
41509 ac_cv_func_which_getservbyname_r=five
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.$ac_ext >&5
41515 cat >conftest.$ac_ext <<_ACEOF
41518 cat confdefs.h >>conftest.$ac_ext
41519 cat >>conftest.$ac_ext <<_ACEOF
41520 /* end confdefs.h. */
41528 struct servent *se;
41529 struct servent_data data;
41530 (void) getservbyname_r(name, proto, se, &data);
41536 rm -f conftest.$ac_objext
41537 if { (ac_try="$ac_compile"
41538 case "(($ac_try" in
41539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41540 *) ac_try_echo
=$ac_try;;
41542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41543 (eval "$ac_compile") 2>conftest.er1
41545 grep -v '^ *+' conftest.er1
>conftest.err
41547 cat conftest.err
>&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); } && {
41550 test -z "$ac_cxx_werror_flag" ||
41551 test ! -s conftest.err
41552 } && test -s conftest.
$ac_objext; then
41553 ac_cv_func_which_getservbyname_r
=four
41555 echo "$as_me: failed program was:" >&5
41556 sed 's/^/| /' conftest.
$ac_ext >&5
41558 ac_cv_func_which_getservbyname_r
=no
41562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41574 ac_cpp
='$CPP $CPPFLAGS'
41575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41582 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41583 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41585 if test $ac_cv_func_which_getservbyname_r = six
; then
41586 cat >>confdefs.h
<<\_ACEOF
41587 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41590 elif test $ac_cv_func_which_getservbyname_r = five
; then
41591 cat >>confdefs.h
<<\_ACEOF
41592 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41595 elif test $ac_cv_func_which_getservbyname_r = four
; then
41596 cat >>confdefs.h
<<\_ACEOF
41597 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41603 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41604 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41606 for ac_func
in getservbyname
41608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41609 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41611 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41612 echo $ECHO_N "(cached) $ECHO_C" >&6
41614 cat >conftest.
$ac_ext <<_ACEOF
41617 cat confdefs.h
>>conftest.
$ac_ext
41618 cat >>conftest.
$ac_ext <<_ACEOF
41619 /* end confdefs.h. */
41620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41622 #define $ac_func innocuous_$ac_func
41624 /* System header to define __stub macros and hopefully few prototypes,
41625 which can conflict with char $ac_func (); below.
41626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41627 <limits.h> exists even on freestanding compilers. */
41630 # include <limits.h>
41632 # include <assert.h>
41637 /* Override any GCC internal prototype to avoid an error.
41638 Use char because int might match the return type of a GCC
41639 builtin and then its argument prototype would still apply. */
41644 /* The GNU C library defines this for functions which it implements
41645 to always fail with ENOSYS. Some functions are actually named
41646 something starting with __ and the normal name is an alias. */
41647 #if defined __stub_$ac_func || defined __stub___$ac_func
41654 return $ac_func ();
41659 rm -f conftest.
$ac_objext conftest
$ac_exeext
41660 if { (ac_try
="$ac_link"
41661 case "(($ac_try" in
41662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41663 *) ac_try_echo=$ac_try;;
41665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41666 (eval "$ac_link") 2>conftest.er1
41668 grep -v '^ *+' conftest.er1 >conftest.err
41670 cat conftest.err >&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); } && {
41673 test -z "$ac_c_werror_flag" ||
41674 test ! -s conftest.err
41675 } && test -s conftest$ac_exeext &&
41676 $as_test_x conftest$ac_exeext; then
41677 eval "$as_ac_var=yes"
41679 echo "$as_me: failed program was:" >&5
41680 sed 's/^/| /' conftest.$ac_ext >&5
41682 eval "$as_ac_var=no"
41685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41686 conftest$ac_exeext conftest.$ac_ext
41688 ac_res=`eval echo '${'$as_ac_var'}'`
41689 { echo "$as_me:$LINENO: result: $ac_res" >&5
41690 echo "${ECHO_T}$ac_res" >&6; }
41691 if test `eval echo '${'$as_ac_var'}'` = yes; then
41692 cat >>confdefs.h <<_ACEOF
41693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41695 cat >>confdefs.h <<\_ACEOF
41696 #define HAVE_GETSERVBYNAME 1
41704 if test "$wxUSE_THREADS" = "yes"; then
41705 cat >>confdefs.h <<\_ACEOF
41706 #define wxUSE_THREADS 1
41710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41712 if test "$wx_cv_func_strtok_r" = "yes"; then
41713 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41714 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41715 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41716 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41717 { echo "$as_me:$LINENO: result: yes" >&5
41718 echo "${ECHO_T}yes" >&6; }
41720 { echo "$as_me:$LINENO: result: no" >&5
41721 echo "${ECHO_T}no" >&6; }
41726 if test "$WXGTK2" = 1 ; then
41727 cat >>confdefs.h <<_ACEOF
41728 #define __WXGTK20__ $WXGTK2
41734 if test "$WXGTK12" = 1 ; then
41735 cat >>confdefs.h <<_ACEOF
41736 #define __WXGTK12__ $WXGTK12
41741 if test "$WXGTK127" = 1 ; then
41742 cat >>confdefs.h <<_ACEOF
41743 #define __WXGTK127__ $WXGTK127
41748 if test "$WXGPE" = 1 ; then
41749 cat >>confdefs.h <<_ACEOF
41750 #define __WXGPE__ $WXGPE
41756 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41757 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41758 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41759 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41763 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41764 wxUSE_DEBUG_INFO=yes
41765 if test "$GCC" = yes; then
41766 DEBUG_CFLAGS="-ggdb"
41770 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41771 if test "$wxUSE_GTK" = 1 ; then
41772 if test "x$wxGTK_VERSION" = "x1" ; then
41773 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41778 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41779 cat >>confdefs.h <<\_ACEOF
41780 #define wxUSE_MEMORY_TRACING 1
41783 cat >>confdefs.h <<\_ACEOF
41784 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41787 cat >>confdefs.h <<\_ACEOF
41788 #define wxUSE_DEBUG_NEW_ALWAYS 1
41791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41794 if test "$wxUSE_DMALLOC" = "yes" ; then
41795 DMALLOC_LIBS="-ldmallocthcxx"
41799 if test "$wxUSE_PROFILE" = "yes" ; then
41800 PROFILE_FLAGS=" -pg"
41803 if test "$GCC" = "yes" ; then
41804 if test "$wxUSE_NO_RTTI" = "yes" ; then
41805 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41807 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41808 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41810 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41811 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41816 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41819 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41825 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41826 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41827 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41829 if test "$wxUSE_OPTIMISE" = "no" ; then
41830 if test "$GCC" = yes ; then
41831 OPTIMISE_CFLAGS="-O0"
41834 if test "$GCC" = yes ; then
41836 *-pc-os2_emx | *-pc-os2-emx )
41837 OPTIMISE_CFLAGS="-O2"
41840 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41844 OPTIMISE_CFLAGS="-O"
41850 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41851 cat >>confdefs.h <<\_ACEOF
41852 #define WXWIN_COMPATIBILITY_2_6 1
41856 WXWIN_COMPATIBILITY_2_8="yes"
41859 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41860 cat >>confdefs.h <<\_ACEOF
41861 #define WXWIN_COMPATIBILITY_2_8 1
41867 if test "$wxUSE_GUI" = "yes"; then
41868 cat >>confdefs.h <<\_ACEOF
41869 #define wxUSE_GUI 1
41876 if test "$wxUSE_UNIX" = "yes"; then
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_UNIX 1
41884 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41888 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41889 if test "$USE_DOS" = 1; then
41893 for ac_func in dlopen
41895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41899 echo $ECHO_N "(cached) $ECHO_C" >&6
41901 cat >conftest.$ac_ext <<_ACEOF
41904 cat confdefs.h >>conftest.$ac_ext
41905 cat >>conftest.$ac_ext <<_ACEOF
41906 /* end confdefs.h. */
41907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41909 #define $ac_func innocuous_$ac_func
41911 /* System header to define __stub macros and hopefully few prototypes,
41912 which can conflict with char $ac_func (); below.
41913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41914 <limits.h> exists even on freestanding compilers. */
41917 # include <limits.h>
41919 # include <assert.h>
41924 /* Override any GCC internal prototype to avoid an error.
41925 Use char because int might match the return type of a GCC
41926 builtin and then its argument prototype would still apply. */
41931 /* The GNU C library defines this for functions which it implements
41932 to always fail with ENOSYS. Some functions are actually named
41933 something starting with __ and the normal name is an alias. */
41934 #if defined __stub_$ac_func || defined __stub___$ac_func
41941 return $ac_func ();
41946 rm -f conftest.$ac_objext conftest$ac_exeext
41947 if { (ac_try="$ac_link"
41948 case "(($ac_try" in
41949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41950 *) ac_try_echo
=$ac_try;;
41952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41953 (eval "$ac_link") 2>conftest.er1
41955 grep -v '^ *+' conftest.er1
>conftest.err
41957 cat conftest.err
>&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); } && {
41960 test -z "$ac_c_werror_flag" ||
41961 test ! -s conftest.err
41962 } && test -s conftest
$ac_exeext &&
41963 $as_test_x conftest
$ac_exeext; then
41964 eval "$as_ac_var=yes"
41966 echo "$as_me: failed program was:" >&5
41967 sed 's/^/| /' conftest.
$ac_ext >&5
41969 eval "$as_ac_var=no"
41972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41973 conftest
$ac_exeext conftest.
$ac_ext
41975 ac_res
=`eval echo '${'$as_ac_var'}'`
41976 { echo "$as_me:$LINENO: result: $ac_res" >&5
41977 echo "${ECHO_T}$ac_res" >&6; }
41978 if test `eval echo '${'$as_ac_var'}'` = yes; then
41979 cat >>confdefs.h
<<_ACEOF
41980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41983 cat >>confdefs.h
<<\_ACEOF
41984 #define HAVE_DLOPEN 1
41991 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41992 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41993 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41994 echo $ECHO_N "(cached) $ECHO_C" >&6
41996 ac_check_lib_save_LIBS
=$LIBS
41998 cat >conftest.
$ac_ext <<_ACEOF
42001 cat confdefs.h
>>conftest.
$ac_ext
42002 cat >>conftest.
$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42005 /* Override any GCC internal prototype to avoid an error.
42006 Use char because int might match the return type of a GCC
42007 builtin and then its argument prototype would still apply. */
42020 rm -f conftest.
$ac_objext conftest
$ac_exeext
42021 if { (ac_try
="$ac_link"
42022 case "(($ac_try" in
42023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42024 *) ac_try_echo=$ac_try;;
42026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42027 (eval "$ac_link") 2>conftest.er1
42029 grep -v '^ *+' conftest.er1 >conftest.err
42031 cat conftest.err >&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); } && {
42034 test -z "$ac_c_werror_flag" ||
42035 test ! -s conftest.err
42036 } && test -s conftest$ac_exeext &&
42037 $as_test_x conftest$ac_exeext; then
42038 ac_cv_lib_dl_dlopen=yes
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42043 ac_cv_lib_dl_dlopen=no
42046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42047 conftest$ac_exeext conftest.$ac_ext
42048 LIBS=$ac_check_lib_save_LIBS
42050 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42051 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42052 if test $ac_cv_lib_dl_dlopen = yes; then
42054 cat >>confdefs.h <<\_ACEOF
42055 #define HAVE_DLOPEN 1
42059 DL_LINK=" -ldl$DL_LINK"
42064 for ac_func in shl_load
42066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42067 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42069 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42070 echo $ECHO_N "(cached) $ECHO_C" >&6
42072 cat >conftest.$ac_ext <<_ACEOF
42075 cat confdefs.h >>conftest.$ac_ext
42076 cat >>conftest.$ac_ext <<_ACEOF
42077 /* end confdefs.h. */
42078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42080 #define $ac_func innocuous_$ac_func
42082 /* System header to define __stub macros and hopefully few prototypes,
42083 which can conflict with char $ac_func (); below.
42084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42085 <limits.h> exists even on freestanding compilers. */
42088 # include <limits.h>
42090 # include <assert.h>
42095 /* Override any GCC internal prototype to avoid an error.
42096 Use char because int might match the return type of a GCC
42097 builtin and then its argument prototype would still apply. */
42102 /* The GNU C library defines this for functions which it implements
42103 to always fail with ENOSYS. Some functions are actually named
42104 something starting with __ and the normal name is an alias. */
42105 #if defined __stub_$ac_func || defined __stub___$ac_func
42112 return $ac_func ();
42117 rm -f conftest.$ac_objext conftest$ac_exeext
42118 if { (ac_try="$ac_link"
42119 case "(($ac_try" in
42120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42121 *) ac_try_echo
=$ac_try;;
42123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42124 (eval "$ac_link") 2>conftest.er1
42126 grep -v '^ *+' conftest.er1
>conftest.err
42128 cat conftest.err
>&5
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); } && {
42131 test -z "$ac_c_werror_flag" ||
42132 test ! -s conftest.err
42133 } && test -s conftest
$ac_exeext &&
42134 $as_test_x conftest
$ac_exeext; then
42135 eval "$as_ac_var=yes"
42137 echo "$as_me: failed program was:" >&5
42138 sed 's/^/| /' conftest.
$ac_ext >&5
42140 eval "$as_ac_var=no"
42143 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42144 conftest
$ac_exeext conftest.
$ac_ext
42146 ac_res
=`eval echo '${'$as_ac_var'}'`
42147 { echo "$as_me:$LINENO: result: $ac_res" >&5
42148 echo "${ECHO_T}$ac_res" >&6; }
42149 if test `eval echo '${'$as_ac_var'}'` = yes; then
42150 cat >>confdefs.h
<<_ACEOF
42151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42154 cat >>confdefs.h
<<\_ACEOF
42155 #define HAVE_SHL_LOAD 1
42162 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42163 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42164 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 ac_check_lib_save_LIBS
=$LIBS
42168 LIBS
="-lshl_load $LIBS"
42169 cat >conftest.
$ac_ext <<_ACEOF
42172 cat confdefs.h
>>conftest.
$ac_ext
42173 cat >>conftest.
$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42176 /* Override any GCC internal prototype to avoid an error.
42177 Use char because int might match the return type of a GCC
42178 builtin and then its argument prototype would still apply. */
42191 rm -f conftest.
$ac_objext conftest
$ac_exeext
42192 if { (ac_try
="$ac_link"
42193 case "(($ac_try" in
42194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42195 *) ac_try_echo=$ac_try;;
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_link") 2>conftest.er1
42200 grep -v '^ *+' conftest.er1 >conftest.err
42202 cat conftest.err >&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest$ac_exeext &&
42208 $as_test_x conftest$ac_exeext; then
42209 ac_cv_lib_shl_load_dld=yes
42211 echo "$as_me: failed program was:" >&5
42212 sed 's/^/| /' conftest.$ac_ext >&5
42214 ac_cv_lib_shl_load_dld=no
42217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42218 conftest$ac_exeext conftest.$ac_ext
42219 LIBS=$ac_check_lib_save_LIBS
42221 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42222 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42223 if test $ac_cv_lib_shl_load_dld = yes; then
42226 DL_LINK=" -ldld$DL_LINK"
42242 if test "$HAVE_DL_FUNCS" = 1; then
42244 for ac_func in dlerror
42246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42252 cat >conftest.$ac_ext <<_ACEOF
42255 cat confdefs.h >>conftest.$ac_ext
42256 cat >>conftest.$ac_ext <<_ACEOF
42257 /* end confdefs.h. */
42258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42260 #define $ac_func innocuous_$ac_func
42262 /* System header to define __stub macros and hopefully few prototypes,
42263 which can conflict with char $ac_func (); below.
42264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42265 <limits.h> exists even on freestanding compilers. */
42268 # include <limits.h>
42270 # include <assert.h>
42275 /* Override any GCC internal prototype to avoid an error.
42276 Use char because int might match the return type of a GCC
42277 builtin and then its argument prototype would still apply. */
42282 /* The GNU C library defines this for functions which it implements
42283 to always fail with ENOSYS. Some functions are actually named
42284 something starting with __ and the normal name is an alias. */
42285 #if defined __stub_$ac_func || defined __stub___$ac_func
42292 return $ac_func ();
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (ac_try="$ac_link"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42301 *) ac_try_echo
=$ac_try;;
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_link") 2>conftest.er1
42306 grep -v '^ *+' conftest.er1
>conftest.err
42308 cat conftest.err
>&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_c_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest
$ac_exeext &&
42314 $as_test_x conftest
$ac_exeext; then
42315 eval "$as_ac_var=yes"
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.
$ac_ext >&5
42320 eval "$as_ac_var=no"
42323 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42324 conftest
$ac_exeext conftest.
$ac_ext
42326 ac_res
=`eval echo '${'$as_ac_var'}'`
42327 { echo "$as_me:$LINENO: result: $ac_res" >&5
42328 echo "${ECHO_T}$ac_res" >&6; }
42329 if test `eval echo '${'$as_ac_var'}'` = yes; then
42330 cat >>confdefs.h
<<_ACEOF
42331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42333 cat >>confdefs.h
<<\_ACEOF
42334 #define HAVE_DLERROR 1
42339 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42340 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42341 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42342 echo $ECHO_N "(cached) $ECHO_C" >&6
42344 ac_check_lib_save_LIBS
=$LIBS
42346 cat >conftest.
$ac_ext <<_ACEOF
42349 cat confdefs.h
>>conftest.
$ac_ext
42350 cat >>conftest.
$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42353 /* Override any GCC internal prototype to avoid an error.
42354 Use char because int might match the return type of a GCC
42355 builtin and then its argument prototype would still apply. */
42368 rm -f conftest.
$ac_objext conftest
$ac_exeext
42369 if { (ac_try
="$ac_link"
42370 case "(($ac_try" in
42371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42372 *) ac_try_echo=$ac_try;;
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_link") 2>conftest.er1
42377 grep -v '^ *+' conftest.er1 >conftest.err
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest$ac_exeext &&
42385 $as_test_x conftest$ac_exeext; then
42386 ac_cv_lib_dl_dlerror=yes
42388 echo "$as_me: failed program was:" >&5
42389 sed 's/^/| /' conftest.$ac_ext >&5
42391 ac_cv_lib_dl_dlerror=no
42394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42395 conftest$ac_exeext conftest.$ac_ext
42396 LIBS=$ac_check_lib_save_LIBS
42398 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42399 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42400 if test $ac_cv_lib_dl_dlerror = yes; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define HAVE_DLERROR 1
42415 if test "$USE_DARWIN" = 1; then
42419 if test "$HAVE_DL_FUNCS" = 0; then
42420 if test "$HAVE_SHL_FUNCS" = 0; then
42421 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42422 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42423 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42424 wxUSE_DYNAMIC_LOADER=no
42425 wxUSE_DYNLIB_CLASS=no
42427 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42428 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42435 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42436 cat >>confdefs.h <<\_ACEOF
42437 #define wxUSE_DYNAMIC_LOADER 1
42441 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_DYNLIB_CLASS 1
42450 if test "$wxUSE_PLUGINS" = "yes" ; then
42451 if test "$wxUSE_SHARED" = "no" ; then
42452 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42453 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42456 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42457 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42458 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42461 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42462 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42463 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42466 if test "$wxUSE_PLUGINS" = "yes" ; then
42467 cat >>confdefs.h <<\_ACEOF
42468 #define wxUSE_PLUGINS 1
42475 if test "$wxUSE_FSWATCHER" = "yes"; then
42476 cat >>confdefs.h <<\_ACEOF
42477 #define wxUSE_FSWATCHER 1
42480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42482 if test "$wxUSE_UNIX" = "yes"; then
42484 for ac_header in sys/inotify.h
42486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42490 echo $ECHO_N "(cached) $ECHO_C" >&6
42492 cat >conftest.$ac_ext <<_ACEOF
42495 cat confdefs.h >>conftest.$ac_ext
42496 cat >>conftest.$ac_ext <<_ACEOF
42497 /* end confdefs.h. */
42498 $ac_includes_default
42500 #include <$ac_header>
42502 rm -f conftest.$ac_objext
42503 if { (ac_try="$ac_compile"
42504 case "(($ac_try" in
42505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42506 *) ac_try_echo
=$ac_try;;
42508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42509 (eval "$ac_compile") 2>conftest.er1
42511 grep -v '^ *+' conftest.er1
>conftest.err
42513 cat conftest.err
>&5
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); } && {
42516 test -z "$ac_c_werror_flag" ||
42517 test ! -s conftest.err
42518 } && test -s conftest.
$ac_objext; then
42519 eval "$as_ac_Header=yes"
42521 echo "$as_me: failed program was:" >&5
42522 sed 's/^/| /' conftest.
$ac_ext >&5
42524 eval "$as_ac_Header=no"
42527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42529 ac_res
=`eval echo '${'$as_ac_Header'}'`
42530 { echo "$as_me:$LINENO: result: $ac_res" >&5
42531 echo "${ECHO_T}$ac_res" >&6; }
42532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42533 cat >>confdefs.h
<<_ACEOF
42534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42541 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42542 cat >>confdefs.h
<<\_ACEOF
42543 #define wxHAS_INOTIFY 1
42548 for ac_header
in sys
/event.h
42550 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42553 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42554 echo $ECHO_N "(cached) $ECHO_C" >&6
42556 cat >conftest.
$ac_ext <<_ACEOF
42559 cat confdefs.h
>>conftest.
$ac_ext
42560 cat >>conftest.
$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42562 $ac_includes_default
42564 #include <$ac_header>
42566 rm -f conftest.
$ac_objext
42567 if { (ac_try
="$ac_compile"
42568 case "(($ac_try" in
42569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42570 *) ac_try_echo=$ac_try;;
42572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42573 (eval "$ac_compile") 2>conftest.er1
42575 grep -v '^ *+' conftest.er1 >conftest.err
42577 cat conftest.err >&5
42578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42579 (exit $ac_status); } && {
42580 test -z "$ac_c_werror_flag" ||
42581 test ! -s conftest.err
42582 } && test -s conftest.$ac_objext; then
42583 eval "$as_ac_Header=yes"
42585 echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42588 eval "$as_ac_Header=no"
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42593 ac_res=`eval echo '${'$as_ac_Header'}'`
42594 { echo "$as_me:$LINENO: result: $ac_res" >&5
42595 echo "${ECHO_T}$ac_res" >&6; }
42596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42597 cat >>confdefs.h <<_ACEOF
42598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42605 if test "$ac_cv_header_sys_event_h" = "yes"; then
42606 cat >>confdefs.h <<\_ACEOF
42607 #define wxHAS_KQUEUE 1
42611 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42612 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42619 if test "$wxUSE_STL" = "yes"; then
42620 cat >>confdefs.h <<\_ACEOF
42621 #define wxUSE_STL 1
42626 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_EXTENDED_RTTI 1
42633 if test "$wxUSE_ANY" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_ANY 1
42640 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_APPLE_IEEE 1
42647 if test "$wxUSE_TIMER" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_TIMER 1
42654 if test "$USE_UNIX" = 1 ; then
42655 if test "$wxUSE_MGL" != 1; then
42656 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42657 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42658 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42659 echo $ECHO_N "(cached) $ECHO_C" >&6
42662 cat >conftest.$ac_ext <<_ACEOF
42665 cat confdefs.h >>conftest.$ac_ext
42666 cat >>conftest.$ac_ext <<_ACEOF
42667 /* end confdefs.h. */
42669 #include <sys/ioctl.h>
42670 #include <sys/soundcard.h>
42676 ioctl(0, SNDCTL_DSP_SPEED, 0);
42682 rm -f conftest.$ac_objext conftest$ac_exeext
42683 if { (ac_try="$ac_link"
42684 case "(($ac_try" in
42685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42686 *) ac_try_echo
=$ac_try;;
42688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42689 (eval "$ac_link") 2>conftest.er1
42691 grep -v '^ *+' conftest.er1
>conftest.err
42693 cat conftest.err
>&5
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); } && {
42696 test -z "$ac_c_werror_flag" ||
42697 test ! -s conftest.err
42698 } && test -s conftest
$ac_exeext &&
42699 $as_test_x conftest
$ac_exeext; then
42700 ac_cv_header_sys_soundcard
=yes
42702 echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.
$ac_ext >&5
42707 LIBS
="$saveLibs -lossaudio"
42708 cat >conftest.
$ac_ext <<_ACEOF
42711 cat confdefs.h
>>conftest.
$ac_ext
42712 cat >>conftest.
$ac_ext <<_ACEOF
42713 /* end confdefs.h. */
42715 #include <sys/ioctl.h>
42716 #include <sys/soundcard.h>
42722 ioctl(0, SNDCTL_DSP_SPEED, 0);
42728 rm -f conftest.
$ac_objext conftest
$ac_exeext
42729 if { (ac_try
="$ac_link"
42730 case "(($ac_try" in
42731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42732 *) ac_try_echo=$ac_try;;
42734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42735 (eval "$ac_link") 2>conftest.er1
42737 grep -v '^ *+' conftest.er1 >conftest.err
42739 cat conftest.err >&5
42740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42741 (exit $ac_status); } && {
42742 test -z "$ac_c_werror_flag" ||
42743 test ! -s conftest.err
42744 } && test -s conftest$ac_exeext &&
42745 $as_test_x conftest$ac_exeext; then
42746 ac_cv_header_sys_soundcard=yes
42748 echo "$as_me: failed program was:" >&5
42749 sed 's/^/| /' conftest.$ac_ext >&5
42753 ac_cv_header_sys_soundcard=no
42758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42759 conftest$ac_exeext conftest.$ac_ext
42764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42765 conftest$ac_exeext conftest.$ac_ext
42768 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42769 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42772 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42773 cat >>confdefs.h <<\_ACEOF
42774 #define HAVE_SYS_SOUNDCARD_H 1
42781 if test "$wxUSE_SOUND" = "yes"; then
42782 if test "$USE_UNIX" = 1 ; then
42783 if test "$wxUSE_LIBSDL" != "no"; then
42785 # Check whether --with-sdl-prefix was given.
42786 if test "${with_sdl_prefix+set}" = set; then
42787 withval=$with_sdl_prefix; sdl_prefix="$withval"
42793 # Check whether --with-sdl-exec-prefix was given.
42794 if test "${with_sdl_exec_prefix+set}" = set; then
42795 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42800 # Check whether --enable-sdltest was given.
42801 if test "${enable_sdltest+set}" = set; then
42802 enableval=$enable_sdltest;
42808 if test x$sdl_exec_prefix != x ; then
42809 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42810 if test x${SDL_CONFIG+set} != xset ; then
42811 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42814 if test x$sdl_prefix != x ; then
42815 sdl_args="$sdl_args --prefix=$sdl_prefix"
42816 if test x${SDL_CONFIG+set} != xset ; then
42817 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42821 if test "x$prefix" != xNONE; then
42822 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42824 # Extract the first word of "sdl-config", so it can be a program name with args.
42825 set dummy sdl-config; ac_word=$2
42826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42828 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42831 case $SDL_CONFIG in
42833 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42837 for as_dir in $PATH
42840 test -z "$as_dir" && as_dir=.
42841 for ac_exec_ext in '' $ac_executable_extensions; do
42842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42843 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42851 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42855 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42856 if test -n "$SDL_CONFIG"; then
42857 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42858 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42860 { echo "$as_me:$LINENO: result: no" >&5
42861 echo "${ECHO_T}no" >&6; }
42865 min_sdl_version=1.2.0
42866 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42867 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42869 if test "$SDL_CONFIG" = "no" ; then
42872 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42873 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42875 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42877 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42879 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42881 if test "x$enable_sdltest" = "xyes" ; then
42882 ac_save_CFLAGS="$CFLAGS"
42883 ac_save_CXXFLAGS="$CXXFLAGS"
42884 ac_save_LIBS="$LIBS"
42885 CFLAGS="$CFLAGS $SDL_CFLAGS"
42886 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42887 LIBS="$LIBS $SDL_LIBS"
42889 if test "$cross_compiling" = yes; then
42890 echo $ac_n "cross compiling; assumed OK... $ac_c"
42892 cat >conftest.$ac_ext <<_ACEOF
42895 cat confdefs.h >>conftest.$ac_ext
42896 cat >>conftest.$ac_ext <<_ACEOF
42897 /* end confdefs.h. */
42900 #include <stdlib.h>
42901 #include <string.h>
42905 my_strdup (char *str)
42911 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42912 strcpy (new_str, str);
42920 int main (int argc, char *argv[])
42922 int major, minor, micro;
42925 /* This hangs on some systems (?)
42926 system ("touch conf.sdltest");
42928 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42930 /* HP/UX 9 (%@#!) writes to sscanf strings */
42931 tmp_version = my_strdup("$min_sdl_version");
42932 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42933 printf("%s, bad version string\n", "$min_sdl_version");
42937 if (($sdl_major_version > major) ||
42938 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42939 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42945 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42946 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42947 printf("*** best to upgrade to the required version.\n");
42948 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42949 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42950 printf("*** config.cache before re-running configure\n");
42957 rm -f conftest$ac_exeext
42958 if { (ac_try="$ac_link"
42959 case "(($ac_try" in
42960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42961 *) ac_try_echo
=$ac_try;;
42963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42964 (eval "$ac_link") 2>&5
42966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42968 { (case "(($ac_try" in
42969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42970 *) ac_try_echo=$ac_try;;
42972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42973 (eval "$ac_try") 2>&5
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); }; }; then
42979 echo "$as_me: program exited with status $ac_status" >&5
42980 echo "$as_me: failed program was:" >&5
42981 sed 's/^/| /' conftest.$ac_ext >&5
42983 ( exit $ac_status )
42986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42990 CFLAGS="$ac_save_CFLAGS"
42991 CXXFLAGS="$ac_save_CXXFLAGS"
42992 LIBS="$ac_save_LIBS"
42995 if test "x$no_sdl" = x ; then
42996 { echo "$as_me:$LINENO: result: yes" >&5
42997 echo "${ECHO_T}yes" >&6; }
42999 EXTRALIBS_SDL="$SDL_LIBS"
43000 CFLAGS="$SDL_CFLAGS $CFLAGS"
43001 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43002 cat >>confdefs.h <<\_ACEOF
43003 #define wxUSE_LIBSDL 1
43008 { echo "$as_me:$LINENO: result: no" >&5
43009 echo "${ECHO_T}no" >&6; }
43010 if test "$SDL_CONFIG" = "no" ; then
43011 echo "*** The sdl-config script installed by SDL could not be found"
43012 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43013 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43014 echo "*** full path to sdl-config."
43016 if test -f conf.sdltest ; then
43019 echo "*** Could not run SDL test program, checking why..."
43020 CFLAGS="$CFLAGS $SDL_CFLAGS"
43021 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43022 LIBS="$LIBS $SDL_LIBS"
43023 cat >conftest.$ac_ext <<_ACEOF
43026 cat confdefs.h >>conftest.$ac_ext
43027 cat >>conftest.$ac_ext <<_ACEOF
43028 /* end confdefs.h. */
43033 int main(int argc, char *argv[])
43036 #define main K_and_R_C_main
43046 rm -f conftest.$ac_objext conftest$ac_exeext
43047 if { (ac_try="$ac_link"
43048 case "(($ac_try" in
43049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43050 *) ac_try_echo
=$ac_try;;
43052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43053 (eval "$ac_link") 2>conftest.er1
43055 grep -v '^ *+' conftest.er1
>conftest.err
43057 cat conftest.err
>&5
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); } && {
43060 test -z "$ac_c_werror_flag" ||
43061 test ! -s conftest.err
43062 } && test -s conftest
$ac_exeext &&
43063 $as_test_x conftest
$ac_exeext; then
43064 echo "*** The test program compiled, but did not run. This usually means"
43065 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43066 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43067 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43068 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43069 echo "*** is required on your system"
43071 echo "*** If you have an old version installed, it is best to remove it, although"
43072 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43074 echo "$as_me: failed program was:" >&5
43075 sed 's/^/| /' conftest.
$ac_ext >&5
43077 echo "*** The test program failed to compile or link. See the file config.log for the"
43078 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43079 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43080 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43084 conftest
$ac_exeext conftest.
$ac_ext
43085 CFLAGS
="$ac_save_CFLAGS"
43086 CXXFLAGS
="$ac_save_CXXFLAGS"
43087 LIBS
="$ac_save_LIBS"
43098 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43103 if test "$wxUSE_MGL" = 1; then
43104 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43105 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43111 if test "$wxUSE_SOUND" = "yes"; then
43112 cat >>confdefs.h
<<\_ACEOF
43113 #define wxUSE_SOUND 1
43116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43119 if test "$WXGTK2" = 1; then
43122 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43123 if test -n "$ac_tool_prefix"; then
43124 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43125 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43128 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43129 echo $ECHO_N "(cached) $ECHO_C" >&6
43131 case $PKG_CONFIG in
43133 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43137 for as_dir
in $PATH
43140 test -z "$as_dir" && as_dir
=.
43141 for ac_exec_ext
in '' $ac_executable_extensions; do
43142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43143 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43154 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43155 if test -n "$PKG_CONFIG"; then
43156 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43157 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43159 { echo "$as_me:$LINENO: result: no" >&5
43160 echo "${ECHO_T}no" >&6; }
43165 if test -z "$ac_cv_path_PKG_CONFIG"; then
43166 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43167 # Extract the first word of "pkg-config", so it can be a program name with args.
43168 set dummy pkg
-config; ac_word
=$2
43169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43171 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43172 echo $ECHO_N "(cached) $ECHO_C" >&6
43174 case $ac_pt_PKG_CONFIG in
43176 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43180 for as_dir
in $PATH
43183 test -z "$as_dir" && as_dir
=.
43184 for ac_exec_ext
in '' $ac_executable_extensions; do
43185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43186 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43197 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43198 if test -n "$ac_pt_PKG_CONFIG"; then
43199 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43200 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43202 { echo "$as_me:$LINENO: result: no" >&5
43203 echo "${ECHO_T}no" >&6; }
43206 if test "x$ac_pt_PKG_CONFIG" = x
; then
43209 case $cross_compiling:$ac_tool_warned in
43211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43212 whose name does not start with the host triplet. If you think this
43213 configuration is useful to you, please write to autoconf@gnu.org." >&5
43214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43215 whose name does not start with the host triplet. If you think this
43216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43217 ac_tool_warned
=yes ;;
43219 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43222 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43226 if test -n "$PKG_CONFIG"; then
43227 _pkg_min_version
=0.9.0
43228 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43229 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43230 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43231 { echo "$as_me:$LINENO: result: yes" >&5
43232 echo "${ECHO_T}yes" >&6; }
43234 { echo "$as_me:$LINENO: result: no" >&5
43235 echo "${ECHO_T}no" >&6; }
43241 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43243 if test "$wxUSE_GTKPRINT" = "yes" ; then
43247 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43248 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43250 if test -n "$PKG_CONFIG"; then
43251 if test -n "$GTKPRINT_CFLAGS"; then
43252 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43254 if test -n "$PKG_CONFIG" && \
43255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43256 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); }; then
43260 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43268 if test -n "$PKG_CONFIG"; then
43269 if test -n "$GTKPRINT_LIBS"; then
43270 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43272 if test -n "$PKG_CONFIG" && \
43273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43274 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; then
43278 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43289 if test $pkg_failed = yes; then
43291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43292 _pkg_short_errors_supported
=yes
43294 _pkg_short_errors_supported
=no
43296 if test $_pkg_short_errors_supported = yes; then
43297 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43299 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43301 # Put the nasty error message in config.log where it belongs
43302 echo "$GTKPRINT_PKG_ERRORS" >&5
43305 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43306 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43307 wxUSE_GTKPRINT
="no"
43310 elif test $pkg_failed = untried
; then
43312 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43313 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43314 wxUSE_GTKPRINT
="no"
43318 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43319 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43320 { echo "$as_me:$LINENO: result: yes" >&5
43321 echo "${ECHO_T}yes" >&6; }
43323 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43324 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43325 cat >>confdefs.h
<<\_ACEOF
43326 #define wxUSE_GTKPRINT 1
43333 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43337 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43338 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43340 if test -n "$PKG_CONFIG"; then
43341 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43342 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43344 if test -n "$PKG_CONFIG" && \
43345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43346 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; then
43350 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43358 if test -n "$PKG_CONFIG"; then
43359 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43360 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43362 if test -n "$PKG_CONFIG" && \
43363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43364 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367 (exit $ac_status); }; then
43368 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43379 if test $pkg_failed = yes; then
43381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43382 _pkg_short_errors_supported
=yes
43384 _pkg_short_errors_supported
=no
43386 if test $_pkg_short_errors_supported = yes; then
43387 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43389 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43391 # Put the nasty error message in config.log where it belongs
43392 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43395 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43396 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43397 wxUSE_LIBGNOMEPRINT
="no"
43400 elif test $pkg_failed = untried
; then
43402 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43403 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43404 wxUSE_LIBGNOMEPRINT
="no"
43408 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43409 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43410 { echo "$as_me:$LINENO: result: yes" >&5
43411 echo "${ECHO_T}yes" >&6; }
43413 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43414 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43415 cat >>confdefs.h
<<\_ACEOF
43416 #define wxUSE_LIBGNOMEPRINT 1
43424 if test "$wxUSE_MIMETYPE" = "yes" ; then
43425 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43429 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43430 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43432 if test -n "$PKG_CONFIG"; then
43433 if test -n "$GNOMEVFS_CFLAGS"; then
43434 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43436 if test -n "$PKG_CONFIG" && \
43437 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43438 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); }; then
43442 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43450 if test -n "$PKG_CONFIG"; then
43451 if test -n "$GNOMEVFS_LIBS"; then
43452 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43454 if test -n "$PKG_CONFIG" && \
43455 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43456 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459 (exit $ac_status); }; then
43460 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43471 if test $pkg_failed = yes; then
43473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43474 _pkg_short_errors_supported
=yes
43476 _pkg_short_errors_supported
=no
43478 if test $_pkg_short_errors_supported = yes; then
43479 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43481 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43483 # Put the nasty error message in config.log where it belongs
43484 echo "$GNOMEVFS_PKG_ERRORS" >&5
43487 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43488 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43489 wxUSE_LIBGNOMEVFS
="no"
43492 elif test $pkg_failed = untried
; then
43494 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43495 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43496 wxUSE_LIBGNOMEVFS
="no"
43500 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43501 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43502 { echo "$as_me:$LINENO: result: yes" >&5
43503 echo "${ECHO_T}yes" >&6; }
43505 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43506 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43507 cat >>confdefs.h
<<\_ACEOF
43508 #define wxUSE_LIBGNOMEVFS 1
43516 if test "$wxUSE_LIBHILDON" = "yes" ; then
43519 { echo "$as_me:$LINENO: checking for HILDON" >&5
43520 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43522 if test -n "$PKG_CONFIG"; then
43523 if test -n "$HILDON_CFLAGS"; then
43524 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43526 if test -n "$PKG_CONFIG" && \
43527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43528 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); }; then
43532 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43540 if test -n "$PKG_CONFIG"; then
43541 if test -n "$HILDON_LIBS"; then
43542 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43544 if test -n "$PKG_CONFIG" && \
43545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43546 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); }; then
43550 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43561 if test $pkg_failed = yes; then
43563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43564 _pkg_short_errors_supported
=yes
43566 _pkg_short_errors_supported
=no
43568 if test $_pkg_short_errors_supported = yes; then
43569 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43571 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43573 # Put the nasty error message in config.log where it belongs
43574 echo "$HILDON_PKG_ERRORS" >&5
43577 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43578 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43579 wxUSE_LIBHILDON
="no"
43583 elif test $pkg_failed = untried
; then
43585 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43586 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43587 wxUSE_LIBHILDON
="no"
43592 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43593 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43594 { echo "$as_me:$LINENO: result: yes" >&5
43595 echo "${ECHO_T}yes" >&6; }
43597 EXTRALIBS_HILDON
="$HILDON_LIBS"
43598 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43599 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43600 cat >>confdefs.h
<<\_ACEOF
43601 #define wxUSE_LIBHILDON 1
43608 if test "$ac_hildon_lgpl" = 0 ; then
43611 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43612 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43614 if test -n "$PKG_CONFIG"; then
43615 if test -n "$HILDON2_CFLAGS"; then
43616 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43618 if test -n "$PKG_CONFIG" && \
43619 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43620 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623 (exit $ac_status); }; then
43624 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43632 if test -n "$PKG_CONFIG"; then
43633 if test -n "$HILDON2_LIBS"; then
43634 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
43636 if test -n "$PKG_CONFIG" && \
43637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43638 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); }; then
43642 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43653 if test $pkg_failed = yes; then
43655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43656 _pkg_short_errors_supported
=yes
43658 _pkg_short_errors_supported
=no
43660 if test $_pkg_short_errors_supported = yes; then
43661 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43663 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43665 # Put the nasty error message in config.log where it belongs
43666 echo "$HILDON2_PKG_ERRORS" >&5
43669 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43670 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43671 wxUSE_LIBHILDON2
="no"
43674 elif test $pkg_failed = untried
; then
43676 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43677 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43678 wxUSE_LIBHILDON2
="no"
43682 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
43683 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
43684 { echo "$as_me:$LINENO: result: yes" >&5
43685 echo "${ECHO_T}yes" >&6; }
43687 EXTRALIBS_HILDON
="$HILDON2_LIBS"
43688 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
43689 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
43690 cat >>confdefs.h
<<\_ACEOF
43691 #define wxUSE_LIBHILDON2 1
43700 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43701 cat >>confdefs.h
<<\_ACEOF
43702 #define wxUSE_CMDLINE_PARSER 1
43707 if test "$wxUSE_STOPWATCH" = "yes"; then
43708 cat >>confdefs.h
<<\_ACEOF
43709 #define wxUSE_STOPWATCH 1
43714 if test "$wxUSE_DATETIME" = "yes"; then
43715 cat >>confdefs.h
<<\_ACEOF
43716 #define wxUSE_DATETIME 1
43721 if test "$wxUSE_FILE" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_FILE 1
43728 if test "$wxUSE_FFILE" = "yes"; then
43729 cat >>confdefs.h
<<\_ACEOF
43730 #define wxUSE_FFILE 1
43735 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43736 if test "$wxUSE_STREAMS" != yes; then
43737 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43738 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43739 wxUSE_ARCHIVE_STREAMS
=no
43741 cat >>confdefs.h
<<\_ACEOF
43742 #define wxUSE_ARCHIVE_STREAMS 1
43748 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43749 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43750 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43751 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43752 elif test "$wxUSE_ZLIB" = "no"; then
43753 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43754 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43756 cat >>confdefs.h
<<\_ACEOF
43757 #define wxUSE_ZIPSTREAM 1
43763 if test "$wxUSE_TARSTREAM" = "yes"; then
43764 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43765 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43766 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43768 cat >>confdefs.h
<<\_ACEOF
43769 #define wxUSE_TARSTREAM 1
43775 if test "$wxUSE_FILESYSTEM" = "yes"; then
43776 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43777 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43778 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43779 wxUSE_FILESYSTEM
=no
43781 cat >>confdefs.h
<<\_ACEOF
43782 #define wxUSE_FILESYSTEM 1
43788 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43789 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43790 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43791 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43793 cat >>confdefs.h
<<\_ACEOF
43794 #define wxUSE_FS_ARCHIVE 1
43800 if test "$wxUSE_FS_ZIP" = "yes"; then
43801 if test "$wxUSE_FS_ARCHIVE" != yes; then
43802 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43803 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43805 cat >>confdefs.h
<<\_ACEOF
43806 #define wxUSE_FS_ZIP 1
43812 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43813 if test "$USE_UNIX" != 1; then
43814 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43815 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43816 wxUSE_ON_FATAL_EXCEPTION
=no
43818 cat >>confdefs.h
<<\_ACEOF
43819 #define wxUSE_ON_FATAL_EXCEPTION 1
43825 if test "$wxUSE_STACKWALKER" = "yes"; then
43826 cat >>confdefs.h
<<\_ACEOF
43827 #define wxUSE_STACKWALKER 1
43832 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43833 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43834 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43835 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43836 wxUSE_DEBUGREPORT
=no
43838 cat >>confdefs.h
<<\_ACEOF
43839 #define wxUSE_DEBUGREPORT 1
43842 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43848 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43849 cat >>confdefs.h
<<\_ACEOF
43850 #define wxUSE_SNGLINST_CHECKER 1
43855 if test "$wxUSE_BUSYINFO" = "yes"; then
43856 cat >>confdefs.h
<<\_ACEOF
43857 #define wxUSE_BUSYINFO 1
43862 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43863 cat >>confdefs.h
<<\_ACEOF
43864 #define wxUSE_STD_IOSTREAM 1
43869 if test "$wxUSE_STD_STRING" = "yes"; then
43870 cat >>confdefs.h
<<\_ACEOF
43871 #define wxUSE_STD_STRING 1
43876 if test "$wxUSE_STDPATHS" = "yes"; then
43877 cat >>confdefs.h
<<\_ACEOF
43878 #define wxUSE_STDPATHS 1
43883 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43884 cat >>confdefs.h
<<\_ACEOF
43885 #define wxUSE_TEXTBUFFER 1
43890 if test "$wxUSE_TEXTFILE" = "yes"; then
43891 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43892 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43893 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43895 cat >>confdefs.h
<<\_ACEOF
43896 #define wxUSE_TEXTFILE 1
43902 if test "$wxUSE_CONFIG" = "yes" ; then
43903 if test "$wxUSE_TEXTFILE" != "yes"; then
43904 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43905 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43907 cat >>confdefs.h
<<\_ACEOF
43908 #define wxUSE_CONFIG 1
43911 cat >>confdefs.h
<<\_ACEOF
43912 #define wxUSE_CONFIG_NATIVE 1
43915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43919 if test "$wxUSE_INTL" = "yes" ; then
43920 if test "$wxUSE_FILE" != "yes"; then
43921 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43922 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43924 cat >>confdefs.h
<<\_ACEOF
43925 #define wxUSE_INTL 1
43928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43929 GUIDIST
="$GUIDIST INTL_DIST"
43933 if test "$wxUSE_XLOCALE" = "yes" ; then
43934 cat >>confdefs.h
<<\_ACEOF
43935 #define wxUSE_XLOCALE 1
43938 { echo "$as_me:$LINENO: checking for locale_t" >&5
43939 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43940 if test "${ac_cv_type_locale_t+set}" = set; then
43941 echo $ECHO_N "(cached) $ECHO_C" >&6
43943 cat >conftest.
$ac_ext <<_ACEOF
43946 cat confdefs.h
>>conftest.
$ac_ext
43947 cat >>conftest.
$ac_ext <<_ACEOF
43948 /* end confdefs.h. */
43949 #include <xlocale.h>
43950 #include <locale.h>
43952 typedef locale_t ac__type_new_;
43956 if ((ac__type_new_ *) 0)
43958 if (sizeof (ac__type_new_))
43964 rm -f conftest.
$ac_objext
43965 if { (ac_try
="$ac_compile"
43966 case "(($ac_try" in
43967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43968 *) ac_try_echo=$ac_try;;
43970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43971 (eval "$ac_compile") 2>conftest.er1
43973 grep -v '^ *+' conftest.er1 >conftest.err
43975 cat conftest.err >&5
43976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43977 (exit $ac_status); } && {
43978 test -z "$ac_c_werror_flag" ||
43979 test ! -s conftest.err
43980 } && test -s conftest.$ac_objext; then
43981 ac_cv_type_locale_t=yes
43983 echo "$as_me: failed program was:" >&5
43984 sed 's/^/| /' conftest.$ac_ext >&5
43986 ac_cv_type_locale_t=no
43989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43992 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43993 if test $ac_cv_type_locale_t = yes; then
43995 cat >>confdefs.h <<_ACEOF
43996 #define HAVE_LOCALE_T 1
44004 if test "$wxUSE_LOG" = "yes"; then
44005 cat >>confdefs.h <<\_ACEOF
44006 #define wxUSE_LOG 1
44010 if test "$wxUSE_LOGGUI" = "yes"; then
44011 cat >>confdefs.h <<\_ACEOF
44012 #define wxUSE_LOGGUI 1
44017 if test "$wxUSE_LOGWINDOW" = "yes"; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_LOGWINDOW 1
44024 if test "$wxUSE_LOGDIALOG" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_LOG_DIALOG 1
44031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44034 if test "$wxUSE_LONGLONG" = "yes"; then
44035 cat >>confdefs.h <<\_ACEOF
44036 #define wxUSE_LONGLONG 1
44041 if test "$wxUSE_GEOMETRY" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_GEOMETRY 1
44048 if test "$wxUSE_BASE64" = "yes"; then
44049 cat >>confdefs.h <<\_ACEOF
44050 #define wxUSE_BASE64 1
44055 if test "$wxUSE_STREAMS" = "yes" ; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_STREAMS 1
44062 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_PRINTF_POS_PARAMS 1
44069 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_OBJC_UNIQUIFYING 1
44077 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44078 cat >>confdefs.h <<\_ACEOF
44079 #define wxUSE_CONSOLE_EVENTLOOP 1
44083 if test "$wxUSE_UNIX" = "yes"; then
44084 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_SELECT_DISPATCHER 1
44091 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44093 for ac_header in sys/epoll.h
44095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44099 echo $ECHO_N "(cached) $ECHO_C" >&6
44101 cat >conftest.$ac_ext <<_ACEOF
44104 cat confdefs.h >>conftest.$ac_ext
44105 cat >>conftest.$ac_ext <<_ACEOF
44106 /* end confdefs.h. */
44107 $ac_includes_default
44109 #include <$ac_header>
44111 rm -f conftest.$ac_objext
44112 if { (ac_try="$ac_compile"
44113 case "(($ac_try" in
44114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44115 *) ac_try_echo
=$ac_try;;
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_compile") 2>conftest.er1
44120 grep -v '^ *+' conftest.er1
>conftest.err
44122 cat conftest.err
>&5
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); } && {
44125 test -z "$ac_c_werror_flag" ||
44126 test ! -s conftest.err
44127 } && test -s conftest.
$ac_objext; then
44128 eval "$as_ac_Header=yes"
44130 echo "$as_me: failed program was:" >&5
44131 sed 's/^/| /' conftest.
$ac_ext >&5
44133 eval "$as_ac_Header=no"
44136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44138 ac_res
=`eval echo '${'$as_ac_Header'}'`
44139 { echo "$as_me:$LINENO: result: $ac_res" >&5
44140 echo "${ECHO_T}$ac_res" >&6; }
44141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44142 cat >>confdefs.h
<<_ACEOF
44143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44150 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44151 cat >>confdefs.h
<<\_ACEOF
44152 #define wxUSE_EPOLL_DISPATCHER 1
44156 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44157 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44166 for ac_func
in gettimeofday ftime
44168 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44169 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44171 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44172 echo $ECHO_N "(cached) $ECHO_C" >&6
44174 cat >conftest.
$ac_ext <<_ACEOF
44177 cat confdefs.h
>>conftest.
$ac_ext
44178 cat >>conftest.
$ac_ext <<_ACEOF
44179 /* end confdefs.h. */
44180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44182 #define $ac_func innocuous_$ac_func
44184 /* System header to define __stub macros and hopefully few prototypes,
44185 which can conflict with char $ac_func (); below.
44186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44187 <limits.h> exists even on freestanding compilers. */
44190 # include <limits.h>
44192 # include <assert.h>
44197 /* Override any GCC internal prototype to avoid an error.
44198 Use char because int might match the return type of a GCC
44199 builtin and then its argument prototype would still apply. */
44204 /* The GNU C library defines this for functions which it implements
44205 to always fail with ENOSYS. Some functions are actually named
44206 something starting with __ and the normal name is an alias. */
44207 #if defined __stub_$ac_func || defined __stub___$ac_func
44214 return $ac_func ();
44219 rm -f conftest.
$ac_objext conftest
$ac_exeext
44220 if { (ac_try
="$ac_link"
44221 case "(($ac_try" in
44222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44223 *) ac_try_echo=$ac_try;;
44225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44226 (eval "$ac_link") 2>conftest.er1
44228 grep -v '^ *+' conftest.er1 >conftest.err
44230 cat conftest.err >&5
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); } && {
44233 test -z "$ac_c_werror_flag" ||
44234 test ! -s conftest.err
44235 } && test -s conftest$ac_exeext &&
44236 $as_test_x conftest$ac_exeext; then
44237 eval "$as_ac_var=yes"
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.$ac_ext >&5
44242 eval "$as_ac_var=no"
44245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44246 conftest$ac_exeext conftest.$ac_ext
44248 ac_res=`eval echo '${'$as_ac_var'}'`
44249 { echo "$as_me:$LINENO: result: $ac_res" >&5
44250 echo "${ECHO_T}$ac_res" >&6; }
44251 if test `eval echo '${'$as_ac_var'}'` = yes; then
44252 cat >>confdefs.h <<_ACEOF
44253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44260 if test "$ac_cv_func_gettimeofday" = "yes"; then
44261 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44262 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44263 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44264 echo $ECHO_N "(cached) $ECHO_C" >&6
44267 cat >conftest.$ac_ext <<_ACEOF
44270 cat confdefs.h >>conftest.$ac_ext
44271 cat >>conftest.$ac_ext <<_ACEOF
44272 /* end confdefs.h. */
44274 #include <sys/time.h>
44275 #include <unistd.h>
44282 gettimeofday(&tv, NULL);
44288 rm -f conftest.$ac_objext
44289 if { (ac_try="$ac_compile"
44290 case "(($ac_try" in
44291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44292 *) ac_try_echo
=$ac_try;;
44294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44295 (eval "$ac_compile") 2>conftest.er1
44297 grep -v '^ *+' conftest.er1
>conftest.err
44299 cat conftest.err
>&5
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); } && {
44302 test -z "$ac_c_werror_flag" ||
44303 test ! -s conftest.err
44304 } && test -s conftest.
$ac_objext; then
44305 wx_cv_func_gettimeofday_has_2_args
=yes
44307 echo "$as_me: failed program was:" >&5
44308 sed 's/^/| /' conftest.
$ac_ext >&5
44310 cat >conftest.
$ac_ext <<_ACEOF
44313 cat confdefs.h
>>conftest.
$ac_ext
44314 cat >>conftest.
$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44317 #include <sys/time.h>
44318 #include <unistd.h>
44331 rm -f conftest.
$ac_objext
44332 if { (ac_try
="$ac_compile"
44333 case "(($ac_try" in
44334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44335 *) ac_try_echo=$ac_try;;
44337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44338 (eval "$ac_compile") 2>conftest.er1
44340 grep -v '^ *+' conftest.er1 >conftest.err
44342 cat conftest.err >&5
44343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344 (exit $ac_status); } && {
44345 test -z "$ac_c_werror_flag" ||
44346 test ! -s conftest.err
44347 } && test -s conftest.$ac_objext; then
44348 wx_cv_func_gettimeofday_has_2_args=no
44350 echo "$as_me: failed program was:" >&5
44351 sed 's/^/| /' conftest.$ac_ext >&5
44354 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44355 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44356 wx_cv_func_gettimeofday_has_2_args=unknown
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44368 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44369 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44371 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define WX_GETTIMEOFDAY_NO_TZ 1
44379 if test "$wxUSE_DATETIME" = "yes"; then
44380 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44381 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44382 if test "${wx_cv_var_timezone+set}" = set; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44387 ac_cpp='$CXXCPP $CPPFLAGS'
44388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44392 cat >conftest.$ac_ext <<_ACEOF
44395 cat confdefs.h >>conftest.$ac_ext
44396 cat >>conftest.$ac_ext <<_ACEOF
44397 /* end confdefs.h. */
44412 rm -f conftest.$ac_objext
44413 if { (ac_try="$ac_compile"
44414 case "(($ac_try" in
44415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44416 *) ac_try_echo
=$ac_try;;
44418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44419 (eval "$ac_compile") 2>conftest.er1
44421 grep -v '^ *+' conftest.er1
>conftest.err
44423 cat conftest.err
>&5
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); } && {
44426 test -z "$ac_cxx_werror_flag" ||
44427 test ! -s conftest.err
44428 } && test -s conftest.
$ac_objext; then
44430 wx_cv_var_timezone
=timezone
44433 echo "$as_me: failed program was:" >&5
44434 sed 's/^/| /' conftest.
$ac_ext >&5
44437 cat >conftest.
$ac_ext <<_ACEOF
44440 cat confdefs.h
>>conftest.
$ac_ext
44441 cat >>conftest.
$ac_ext <<_ACEOF
44442 /* end confdefs.h. */
44457 rm -f conftest.
$ac_objext
44458 if { (ac_try
="$ac_compile"
44459 case "(($ac_try" in
44460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44461 *) ac_try_echo=$ac_try;;
44463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44464 (eval "$ac_compile") 2>conftest.er1
44466 grep -v '^ *+' conftest.er1 >conftest.err
44468 cat conftest.err >&5
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); } && {
44471 test -z "$ac_cxx_werror_flag" ||
44472 test ! -s conftest.err
44473 } && test -s conftest.$ac_objext; then
44475 wx_cv_var_timezone=_timezone
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44482 cat >conftest.$ac_ext <<_ACEOF
44485 cat confdefs.h >>conftest.$ac_ext
44486 cat >>conftest.$ac_ext <<_ACEOF
44487 /* end confdefs.h. */
44502 rm -f conftest.$ac_objext
44503 if { (ac_try="$ac_compile"
44504 case "(($ac_try" in
44505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44506 *) ac_try_echo
=$ac_try;;
44508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44509 (eval "$ac_compile") 2>conftest.er1
44511 grep -v '^ *+' conftest.er1
>conftest.err
44513 cat conftest.err
>&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); } && {
44516 test -z "$ac_cxx_werror_flag" ||
44517 test ! -s conftest.err
44518 } && test -s conftest.
$ac_objext; then
44520 wx_cv_var_timezone
=__timezone
44523 echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.
$ac_ext >&5
44527 if test "$USE_DOS" = 0 ; then
44528 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44529 echo "$as_me: WARNING: no timezone variable" >&2;}
44535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44547 ac_cpp
='$CPP $CPPFLAGS'
44548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44555 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44556 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44558 if test "x$wx_cv_var_timezone" != x
; then
44559 cat >>confdefs.h
<<_ACEOF
44560 #define WX_TIMEZONE $wx_cv_var_timezone
44566 for ac_func
in localtime
44568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44569 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44571 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44572 echo $ECHO_N "(cached) $ECHO_C" >&6
44574 cat >conftest.
$ac_ext <<_ACEOF
44577 cat confdefs.h
>>conftest.
$ac_ext
44578 cat >>conftest.
$ac_ext <<_ACEOF
44579 /* end confdefs.h. */
44580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44582 #define $ac_func innocuous_$ac_func
44584 /* System header to define __stub macros and hopefully few prototypes,
44585 which can conflict with char $ac_func (); below.
44586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44587 <limits.h> exists even on freestanding compilers. */
44590 # include <limits.h>
44592 # include <assert.h>
44597 /* Override any GCC internal prototype to avoid an error.
44598 Use char because int might match the return type of a GCC
44599 builtin and then its argument prototype would still apply. */
44604 /* The GNU C library defines this for functions which it implements
44605 to always fail with ENOSYS. Some functions are actually named
44606 something starting with __ and the normal name is an alias. */
44607 #if defined __stub_$ac_func || defined __stub___$ac_func
44614 return $ac_func ();
44619 rm -f conftest.
$ac_objext conftest
$ac_exeext
44620 if { (ac_try
="$ac_link"
44621 case "(($ac_try" in
44622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44623 *) ac_try_echo=$ac_try;;
44625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44626 (eval "$ac_link") 2>conftest.er1
44628 grep -v '^ *+' conftest.er1 >conftest.err
44630 cat conftest.err >&5
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); } && {
44633 test -z "$ac_c_werror_flag" ||
44634 test ! -s conftest.err
44635 } && test -s conftest$ac_exeext &&
44636 $as_test_x conftest$ac_exeext; then
44637 eval "$as_ac_var=yes"
44639 echo "$as_me: failed program was:" >&5
44640 sed 's/^/| /' conftest.$ac_ext >&5
44642 eval "$as_ac_var=no"
44645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44646 conftest$ac_exeext conftest.$ac_ext
44648 ac_res=`eval echo '${'$as_ac_var'}'`
44649 { echo "$as_me:$LINENO: result: $ac_res" >&5
44650 echo "${ECHO_T}$ac_res" >&6; }
44651 if test `eval echo '${'$as_ac_var'}'` = yes; then
44652 cat >>confdefs.h <<_ACEOF
44653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44660 if test "$ac_cv_func_localtime" = "yes"; then
44661 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44662 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44663 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44664 echo $ECHO_N "(cached) $ECHO_C" >&6
44667 cat >conftest.$ac_ext <<_ACEOF
44670 cat confdefs.h >>conftest.$ac_ext
44671 cat >>conftest.$ac_ext <<_ACEOF
44672 /* end confdefs.h. */
44687 rm -f conftest.$ac_objext
44688 if { (ac_try="$ac_compile"
44689 case "(($ac_try" in
44690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44691 *) ac_try_echo
=$ac_try;;
44693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44694 (eval "$ac_compile") 2>conftest.er1
44696 grep -v '^ *+' conftest.er1
>conftest.err
44698 cat conftest.err
>&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } && {
44701 test -z "$ac_c_werror_flag" ||
44702 test ! -s conftest.err
44703 } && test -s conftest.
$ac_objext; then
44705 wx_cv_struct_tm_has_gmtoff
=yes
44708 echo "$as_me: failed program was:" >&5
44709 sed 's/^/| /' conftest.
$ac_ext >&5
44711 wx_cv_struct_tm_has_gmtoff
=no
44715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44718 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44719 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44722 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44723 cat >>confdefs.h
<<\_ACEOF
44724 #define WX_GMTOFF_IN_TM 1
44729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44733 if test "$wxUSE_SOCKETS" = "yes"; then
44734 if test "$wxUSE_MGL" = 1; then
44735 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44736 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44741 if test "$wxUSE_SOCKETS" = "yes"; then
44742 if test "$TOOLKIT" != "MSW"; then
44743 { echo "$as_me:$LINENO: checking for socket" >&5
44744 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44745 if test "${ac_cv_func_socket+set}" = set; then
44746 echo $ECHO_N "(cached) $ECHO_C" >&6
44748 cat >conftest.
$ac_ext <<_ACEOF
44751 cat confdefs.h
>>conftest.
$ac_ext
44752 cat >>conftest.
$ac_ext <<_ACEOF
44753 /* end confdefs.h. */
44754 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44756 #define socket innocuous_socket
44758 /* System header to define __stub macros and hopefully few prototypes,
44759 which can conflict with char socket (); below.
44760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44761 <limits.h> exists even on freestanding compilers. */
44764 # include <limits.h>
44766 # include <assert.h>
44771 /* Override any GCC internal prototype to avoid an error.
44772 Use char because int might match the return type of a GCC
44773 builtin and then its argument prototype would still apply. */
44778 /* The GNU C library defines this for functions which it implements
44779 to always fail with ENOSYS. Some functions are actually named
44780 something starting with __ and the normal name is an alias. */
44781 #if defined __stub_socket || defined __stub___socket
44793 rm -f conftest.
$ac_objext conftest
$ac_exeext
44794 if { (ac_try
="$ac_link"
44795 case "(($ac_try" in
44796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44797 *) ac_try_echo=$ac_try;;
44799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44800 (eval "$ac_link") 2>conftest.er1
44802 grep -v '^ *+' conftest.er1 >conftest.err
44804 cat conftest.err >&5
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); } && {
44807 test -z "$ac_c_werror_flag" ||
44808 test ! -s conftest.err
44809 } && test -s conftest$ac_exeext &&
44810 $as_test_x conftest$ac_exeext; then
44811 ac_cv_func_socket=yes
44813 echo "$as_me: failed program was:" >&5
44814 sed 's/^/| /' conftest.$ac_ext >&5
44816 ac_cv_func_socket=no
44819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44820 conftest$ac_exeext conftest.$ac_ext
44822 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44823 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44824 if test $ac_cv_func_socket = yes; then
44828 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44829 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44830 if test "${ac_cv_lib_socket_socket+set}" = set; then
44831 echo $ECHO_N "(cached) $ECHO_C" >&6
44833 ac_check_lib_save_LIBS=$LIBS
44834 LIBS="-lsocket $LIBS"
44835 cat >conftest.$ac_ext <<_ACEOF
44838 cat confdefs.h >>conftest.$ac_ext
44839 cat >>conftest.$ac_ext <<_ACEOF
44840 /* end confdefs.h. */
44842 /* Override any GCC internal prototype to avoid an error.
44843 Use char because int might match the return type of a GCC
44844 builtin and then its argument prototype would still apply. */
44857 rm -f conftest.$ac_objext conftest$ac_exeext
44858 if { (ac_try="$ac_link"
44859 case "(($ac_try" in
44860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44861 *) ac_try_echo
=$ac_try;;
44863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44864 (eval "$ac_link") 2>conftest.er1
44866 grep -v '^ *+' conftest.er1
>conftest.err
44868 cat conftest.err
>&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } && {
44871 test -z "$ac_c_werror_flag" ||
44872 test ! -s conftest.err
44873 } && test -s conftest
$ac_exeext &&
44874 $as_test_x conftest
$ac_exeext; then
44875 ac_cv_lib_socket_socket
=yes
44877 echo "$as_me: failed program was:" >&5
44878 sed 's/^/| /' conftest.
$ac_ext >&5
44880 ac_cv_lib_socket_socket
=no
44883 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44884 conftest
$ac_exeext conftest.
$ac_ext
44885 LIBS
=$ac_check_lib_save_LIBS
44887 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44888 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44889 if test $ac_cv_lib_socket_socket = yes; then
44890 if test "$INET_LINK" != " -lsocket"; then
44891 INET_LINK
="$INET_LINK -lsocket"
44895 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44896 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44909 if test "$wxUSE_SOCKETS" = "yes" ; then
44910 if test "$TOOLKIT" != "MSW"; then
44911 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44912 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44913 if test "${wx_cv_type_getsockname3+set}" = set; then
44914 echo $ECHO_N "(cached) $ECHO_C" >&6
44918 ac_cpp
='$CXXCPP $CPPFLAGS'
44919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44923 cat >conftest.
$ac_ext <<_ACEOF
44926 cat confdefs.h
>>conftest.
$ac_ext
44927 cat >>conftest.
$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44930 #include <sys/types.h>
44931 #include <sys/socket.h>
44938 getsockname(0, 0, &len);
44944 rm -f conftest.
$ac_objext
44945 if { (ac_try
="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44953 grep -v '^ *+' conftest.er1 >conftest.err
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_cxx_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 wx_cv_type_getsockname3=socklen_t
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44967 CFLAGS_OLD="$CFLAGS"
44968 if test "$GCC" = yes ; then
44969 CFLAGS="-Werror $CFLAGS"
44972 cat >conftest.$ac_ext <<_ACEOF
44975 cat confdefs.h >>conftest.$ac_ext
44976 cat >>conftest.$ac_ext <<_ACEOF
44977 /* end confdefs.h. */
44979 #include <sys/types.h>
44980 #include <sys/socket.h>
44987 getsockname(0, 0, &len);
44993 rm -f conftest.$ac_objext
44994 if { (ac_try="$ac_compile"
44995 case "(($ac_try" in
44996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44997 *) ac_try_echo
=$ac_try;;
44999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45000 (eval "$ac_compile") 2>conftest.er1
45002 grep -v '^ *+' conftest.er1
>conftest.err
45004 cat conftest.err
>&5
45005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006 (exit $ac_status); } && {
45007 test -z "$ac_cxx_werror_flag" ||
45008 test ! -s conftest.err
45009 } && test -s conftest.
$ac_objext; then
45010 wx_cv_type_getsockname3
=size_t
45012 echo "$as_me: failed program was:" >&5
45013 sed 's/^/| /' conftest.
$ac_ext >&5
45015 cat >conftest.
$ac_ext <<_ACEOF
45018 cat confdefs.h
>>conftest.
$ac_ext
45019 cat >>conftest.
$ac_ext <<_ACEOF
45020 /* end confdefs.h. */
45022 #include <sys/types.h>
45023 #include <sys/socket.h>
45030 getsockname(0, 0, &len);
45036 rm -f conftest.
$ac_objext
45037 if { (ac_try
="$ac_compile"
45038 case "(($ac_try" in
45039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45040 *) ac_try_echo=$ac_try;;
45042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45043 (eval "$ac_compile") 2>conftest.er1
45045 grep -v '^ *+' conftest.er1 >conftest.err
45047 cat conftest.err >&5
45048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45049 (exit $ac_status); } && {
45050 test -z "$ac_cxx_werror_flag" ||
45051 test ! -s conftest.err
45052 } && test -s conftest.$ac_objext; then
45053 wx_cv_type_getsockname3=int
45055 echo "$as_me: failed program was:" >&5
45056 sed 's/^/| /' conftest.$ac_ext >&5
45058 wx_cv_type_getsockname3=unknown
45062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45068 CFLAGS="$CFLAGS_OLD"
45073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45075 ac_cpp='$CPP $CPPFLAGS'
45076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45082 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45083 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45085 if test "$wx_cv_type_getsockname3" = "unknown"; then
45087 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45088 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45090 cat >>confdefs.h <<_ACEOF
45091 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45095 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45096 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45097 if test "${wx_cv_type_getsockopt5+set}" = set; then
45098 echo $ECHO_N "(cached) $ECHO_C" >&6
45102 ac_cpp='$CXXCPP $CPPFLAGS'
45103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45107 cat >conftest.$ac_ext <<_ACEOF
45110 cat confdefs.h >>conftest.$ac_ext
45111 cat >>conftest.$ac_ext <<_ACEOF
45112 /* end confdefs.h. */
45114 #include <sys/types.h>
45115 #include <sys/socket.h>
45122 getsockopt(0, 0, 0, 0, &len);
45128 rm -f conftest.$ac_objext
45129 if { (ac_try="$ac_compile"
45130 case "(($ac_try" in
45131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45132 *) ac_try_echo
=$ac_try;;
45134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45135 (eval "$ac_compile") 2>conftest.er1
45137 grep -v '^ *+' conftest.er1
>conftest.err
45139 cat conftest.err
>&5
45140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45141 (exit $ac_status); } && {
45142 test -z "$ac_cxx_werror_flag" ||
45143 test ! -s conftest.err
45144 } && test -s conftest.
$ac_objext; then
45145 wx_cv_type_getsockopt5
=socklen_t
45147 echo "$as_me: failed program was:" >&5
45148 sed 's/^/| /' conftest.
$ac_ext >&5
45151 cat >conftest.
$ac_ext <<_ACEOF
45154 cat confdefs.h
>>conftest.
$ac_ext
45155 cat >>conftest.
$ac_ext <<_ACEOF
45156 /* end confdefs.h. */
45158 #include <sys/types.h>
45159 #include <sys/socket.h>
45166 getsockopt(0, 0, 0, 0, &len);
45172 rm -f conftest.
$ac_objext
45173 if { (ac_try
="$ac_compile"
45174 case "(($ac_try" in
45175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45176 *) ac_try_echo=$ac_try;;
45178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45179 (eval "$ac_compile") 2>conftest.er1
45181 grep -v '^ *+' conftest.er1 >conftest.err
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } && {
45186 test -z "$ac_cxx_werror_flag" ||
45187 test ! -s conftest.err
45188 } && test -s conftest.$ac_objext; then
45189 wx_cv_type_getsockopt5=size_t
45191 echo "$as_me: failed program was:" >&5
45192 sed 's/^/| /' conftest.$ac_ext >&5
45194 cat >conftest.$ac_ext <<_ACEOF
45197 cat confdefs.h >>conftest.$ac_ext
45198 cat >>conftest.$ac_ext <<_ACEOF
45199 /* end confdefs.h. */
45201 #include <sys/types.h>
45202 #include <sys/socket.h>
45209 getsockopt(0, 0, 0, 0, &len);
45215 rm -f conftest.$ac_objext
45216 if { (ac_try="$ac_compile"
45217 case "(($ac_try" in
45218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45219 *) ac_try_echo
=$ac_try;;
45221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45222 (eval "$ac_compile") 2>conftest.er1
45224 grep -v '^ *+' conftest.er1
>conftest.err
45226 cat conftest.err
>&5
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); } && {
45229 test -z "$ac_cxx_werror_flag" ||
45230 test ! -s conftest.err
45231 } && test -s conftest.
$ac_objext; then
45232 wx_cv_type_getsockopt5
=int
45234 echo "$as_me: failed program was:" >&5
45235 sed 's/^/| /' conftest.
$ac_ext >&5
45237 wx_cv_type_getsockopt5
=unknown
45241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45252 ac_cpp
='$CPP $CPPFLAGS'
45253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45259 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45260 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45262 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45264 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45265 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45267 cat >>confdefs.h
<<_ACEOF
45268 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45275 if test "$wxUSE_SOCKETS" = "yes" ; then
45276 if test "$wxUSE_IPV6" = "yes"; then
45277 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45278 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45279 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45280 echo $ECHO_N "(cached) $ECHO_C" >&6
45283 cat >conftest.
$ac_ext <<_ACEOF
45286 cat confdefs.h
>>conftest.
$ac_ext
45287 cat >>conftest.
$ac_ext <<_ACEOF
45288 /* end confdefs.h. */
45290 #include <sys/types.h>
45291 #include <sys/socket.h>
45292 #include <netinet/in.h>
45298 struct sockaddr_in6 sa6;
45304 rm -f conftest.
$ac_objext
45305 if { (ac_try
="$ac_compile"
45306 case "(($ac_try" in
45307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45308 *) ac_try_echo=$ac_try;;
45310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45311 (eval "$ac_compile") 2>conftest.er1
45313 grep -v '^ *+' conftest.er1 >conftest.err
45315 cat conftest.err >&5
45316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45317 (exit $ac_status); } && {
45318 test -z "$ac_c_werror_flag" ||
45319 test ! -s conftest.err
45320 } && test -s conftest.$ac_objext; then
45321 wx_cv_type_sockaddr_in6=yes
45323 echo "$as_me: failed program was:" >&5
45324 sed 's/^/| /' conftest.$ac_ext >&5
45326 wx_cv_type_sockaddr_in6=no
45330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45334 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45335 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45337 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_IPV6 1
45343 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45344 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45348 cat >>confdefs.h <<\_ACEOF
45349 #define wxUSE_SOCKETS 1
45352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45355 if test "$wxUSE_PROTOCOL" = "yes"; then
45356 if test "$wxUSE_SOCKETS" != "yes"; then
45357 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45358 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45363 if test "$wxUSE_PROTOCOL" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_PROTOCOL 1
45369 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_PROTOCOL_HTTP 1
45375 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_PROTOCOL_FTP 1
45381 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_PROTOCOL_FILE 1
45388 if test "$wxUSE_FS_INET" = "yes"; then
45389 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45390 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45395 if test "$wxUSE_URL" = "yes"; then
45396 if test "$wxUSE_PROTOCOL" != "yes"; then
45397 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45398 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45401 if test "$wxUSE_URL" = "yes"; then
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_URL 1
45409 if test "$wxUSE_VARIANT" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_VARIANT 1
45416 if test "$wxUSE_FS_INET" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_FS_INET 1
45424 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45427 if test "$TOOLKIT" = "MSW"; then
45430 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45431 if test "$USE_DARWIN" = 1; then
45432 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45433 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45435 ac_cpp='$CXXCPP $CPPFLAGS'
45436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45440 cat >conftest.$ac_ext <<_ACEOF
45443 cat confdefs.h >>conftest.$ac_ext
45444 cat >>conftest.$ac_ext <<_ACEOF
45445 /* end confdefs.h. */
45446 #include <IOKit/hid/IOHIDLib.h>
45450 IOHIDQueueInterface *qi = NULL;
45451 IOHIDCallbackFunction cb = NULL;
45452 qi->setEventCallout(NULL, cb, NULL, NULL);
45457 rm -f conftest.$ac_objext
45458 if { (ac_try="$ac_compile"
45459 case "(($ac_try" in
45460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45461 *) ac_try_echo
=$ac_try;;
45463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45464 (eval "$ac_compile") 2>conftest.er1
45466 grep -v '^ *+' conftest.er1
>conftest.err
45468 cat conftest.err
>&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } && {
45471 test -z "$ac_cxx_werror_flag" ||
45472 test ! -s conftest.err
45473 } && test -s conftest.
$ac_objext; then
45477 echo "$as_me: failed program was:" >&5
45478 sed 's/^/| /' conftest.
$ac_ext >&5
45483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45485 ac_cpp
='$CPP $CPPFLAGS'
45486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45490 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45491 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45495 if test "$wxUSE_MGL" != 1; then
45497 for ac_header
in linux
/joystick.h
45499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45502 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45503 echo $ECHO_N "(cached) $ECHO_C" >&6
45505 cat >conftest.
$ac_ext <<_ACEOF
45508 cat confdefs.h
>>conftest.
$ac_ext
45509 cat >>conftest.
$ac_ext <<_ACEOF
45510 /* end confdefs.h. */
45511 $ac_includes_default
45513 #include <$ac_header>
45515 rm -f conftest.
$ac_objext
45516 if { (ac_try
="$ac_compile"
45517 case "(($ac_try" in
45518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45519 *) ac_try_echo=$ac_try;;
45521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45522 (eval "$ac_compile") 2>conftest.er1
45524 grep -v '^ *+' conftest.er1 >conftest.err
45526 cat conftest.err >&5
45527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528 (exit $ac_status); } && {
45529 test -z "$ac_c_werror_flag" ||
45530 test ! -s conftest.err
45531 } && test -s conftest.$ac_objext; then
45532 eval "$as_ac_Header=yes"
45534 echo "$as_me: failed program was:" >&5
45535 sed 's/^/| /' conftest.$ac_ext >&5
45537 eval "$as_ac_Header=no"
45540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45542 ac_res=`eval echo '${'$as_ac_Header'}'`
45543 { echo "$as_me:$LINENO: result: $ac_res" >&5
45544 echo "${ECHO_T}$ac_res" >&6; }
45545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45546 cat >>confdefs.h <<_ACEOF
45547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45557 if test "$wxUSE_JOYSTICK" = "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_JOYSTICK 1
45562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45564 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45565 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45571 if test "$wxUSE_FONTENUM" = "yes" ; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_FONTENUM 1
45578 if test "$wxUSE_FONTMAP" = "yes" ; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_FONTMAP 1
45585 if test "$wxUSE_UNICODE" = "yes" ; then
45586 cat >>confdefs.h <<\_ACEOF
45587 #define wxUSE_UNICODE 1
45591 if test "$USE_WIN32" != 1; then
45592 wxUSE_UNICODE_MSLU=no
45595 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45596 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45597 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45598 if test "${ac_cv_lib_unicows_main+set}" = set; then
45599 echo $ECHO_N "(cached) $ECHO_C" >&6
45601 ac_check_lib_save_LIBS=$LIBS
45602 LIBS="-lunicows $LIBS"
45603 cat >conftest.$ac_ext <<_ACEOF
45606 cat confdefs.h >>conftest.$ac_ext
45607 cat >>conftest.$ac_ext <<_ACEOF
45608 /* end confdefs.h. */
45619 rm -f conftest.$ac_objext conftest$ac_exeext
45620 if { (ac_try="$ac_link"
45621 case "(($ac_try" in
45622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45623 *) ac_try_echo
=$ac_try;;
45625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45626 (eval "$ac_link") 2>conftest.er1
45628 grep -v '^ *+' conftest.er1
>conftest.err
45630 cat conftest.err
>&5
45631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45632 (exit $ac_status); } && {
45633 test -z "$ac_c_werror_flag" ||
45634 test ! -s conftest.err
45635 } && test -s conftest
$ac_exeext &&
45636 $as_test_x conftest
$ac_exeext; then
45637 ac_cv_lib_unicows_main
=yes
45639 echo "$as_me: failed program was:" >&5
45640 sed 's/^/| /' conftest.
$ac_ext >&5
45642 ac_cv_lib_unicows_main
=no
45645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45646 conftest
$ac_exeext conftest.
$ac_ext
45647 LIBS
=$ac_check_lib_save_LIBS
45649 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45650 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45651 if test $ac_cv_lib_unicows_main = yes; then
45653 cat >>confdefs.h
<<\_ACEOF
45654 #define wxUSE_UNICODE_MSLU 1
45660 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45661 Applications will only run on Windows NT/2000/XP!" >&5
45662 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45663 Applications will only run on Windows NT/2000/XP!" >&2;}
45664 wxUSE_UNICODE_MSLU
=no
45671 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45672 cat >>confdefs.h
<<\_ACEOF
45673 #define wxUSE_UNICODE_UTF8 1
45677 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_UTF8_LOCALE_ONLY 1
45686 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45687 cat >>confdefs.h
<<\_ACEOF
45688 #define wxUSE_CONSTRAINTS 1
45691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45694 if test "$wxUSE_MDI" = "yes"; then
45695 cat >>confdefs.h
<<\_ACEOF
45696 #define wxUSE_MDI 1
45700 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45701 cat >>confdefs.h
<<\_ACEOF
45702 #define wxUSE_MDI_ARCHITECTURE 1
45705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45709 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45710 cat >>confdefs.h
<<\_ACEOF
45711 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45717 if test "$wxUSE_HELP" = "yes"; then
45718 cat >>confdefs.h
<<\_ACEOF
45719 #define wxUSE_HELP 1
45722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45724 if test "$wxUSE_MSW" = 1; then
45725 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45726 cat >>confdefs.h
<<\_ACEOF
45727 #define wxUSE_MS_HTML_HELP 1
45733 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45734 if test "$wxUSE_HTML" = "yes"; then
45735 cat >>confdefs.h
<<\_ACEOF
45736 #define wxUSE_WXHTML_HELP 1
45740 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45741 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45742 wxUSE_WXHTML_HELP
=no
45747 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45748 cat >>confdefs.h
<<\_ACEOF
45749 #define wxUSE_PRINTING_ARCHITECTURE 1
45752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45755 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45756 cat >>confdefs.h
<<\_ACEOF
45757 #define wxUSE_POSTSCRIPT 1
45762 cat >>confdefs.h
<<\_ACEOF
45763 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45767 if test "$wxUSE_SVG" = "yes"; then
45768 cat >>confdefs.h
<<\_ACEOF
45769 #define wxUSE_SVG 1
45775 if test "$wxUSE_METAFILE" = "yes"; then
45776 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45777 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45778 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45784 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45785 -o "$wxUSE_CLIPBOARD" = "yes" \
45786 -o "$wxUSE_OLE" = "yes" \
45787 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45788 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45789 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45790 if test "${ac_cv_header_ole2_h+set}" = set; then
45791 echo $ECHO_N "(cached) $ECHO_C" >&6
45793 cat >conftest.
$ac_ext <<_ACEOF
45796 cat confdefs.h
>>conftest.
$ac_ext
45797 cat >>conftest.
$ac_ext <<_ACEOF
45798 /* end confdefs.h. */
45803 rm -f conftest.
$ac_objext
45804 if { (ac_try
="$ac_compile"
45805 case "(($ac_try" in
45806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45807 *) ac_try_echo=$ac_try;;
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_compile") 2>conftest.er1
45812 grep -v '^ *+' conftest.er1 >conftest.err
45814 cat conftest.err >&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } && {
45817 test -z "$ac_c_werror_flag" ||
45818 test ! -s conftest.err
45819 } && test -s conftest.$ac_objext; then
45820 ac_cv_header_ole2_h=yes
45822 echo "$as_me: failed program was:" >&5
45823 sed 's/^/| /' conftest.$ac_ext >&5
45825 ac_cv_header_ole2_h=no
45828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45830 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45831 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45835 if test "$ac_cv_header_ole2_h" = "yes" ; then
45836 if test "$GCC" = yes ; then
45837 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45838 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45839 cat >conftest.$ac_ext <<_ACEOF
45842 cat confdefs.h >>conftest.$ac_ext
45843 cat >>conftest.$ac_ext <<_ACEOF
45844 /* end confdefs.h. */
45845 #include <windows.h>
45855 rm -f conftest.$ac_objext
45856 if { (ac_try="$ac_compile"
45857 case "(($ac_try" in
45858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45859 *) ac_try_echo
=$ac_try;;
45861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45862 (eval "$ac_compile") 2>conftest.er1
45864 grep -v '^ *+' conftest.er1
>conftest.err
45866 cat conftest.err
>&5
45867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45868 (exit $ac_status); } && {
45869 test -z "$ac_c_werror_flag" ||
45870 test ! -s conftest.err
45871 } && test -s conftest.
$ac_objext; then
45872 { echo "$as_me:$LINENO: result: no" >&5
45873 echo "${ECHO_T}no" >&6; }
45875 echo "$as_me: failed program was:" >&5
45876 sed 's/^/| /' conftest.
$ac_ext >&5
45878 { echo "$as_me:$LINENO: result: yes" >&5
45879 echo "${ECHO_T}yes" >&6; }
45880 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45884 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45885 if test "$wxUSE_OLE" = "yes" ; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_OLE 1
45890 cat >>confdefs.h
<<\_ACEOF
45891 #define wxUSE_OLE_AUTOMATION 1
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_ACTIVEX 1
45898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45902 if test "$wxUSE_DATAOBJ" = "yes" ; then
45903 cat >>confdefs.h
<<\_ACEOF
45904 #define wxUSE_DATAOBJ 1
45909 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45910 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45913 wxUSE_DRAG_AND_DROP
=no
45918 if test "$wxUSE_METAFILE" = "yes"; then
45919 cat >>confdefs.h
<<\_ACEOF
45920 #define wxUSE_METAFILE 1
45924 cat >>confdefs.h
<<\_ACEOF
45925 #define wxUSE_ENH_METAFILE 1
45931 if test "$wxUSE_IPC" = "yes"; then
45932 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45933 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45934 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45938 if test "$wxUSE_IPC" = "yes"; then
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_IPC 1
45943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45947 if test "$wxUSE_DATAOBJ" = "yes"; then
45948 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45949 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45950 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45953 cat >>confdefs.h
<<\_ACEOF
45954 #define wxUSE_DATAOBJ 1
45959 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45960 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45962 wxUSE_DRAG_AND_DROP
=no
45965 if test "$wxUSE_CLIPBOARD" = "yes"; then
45966 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45967 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45968 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45972 if test "$wxUSE_CLIPBOARD" = "yes"; then
45973 cat >>confdefs.h
<<\_ACEOF
45974 #define wxUSE_CLIPBOARD 1
45980 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45981 if test "$wxUSE_GTK" = 1; then
45982 if test "$WXGTK12" != 1; then
45983 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45984 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45985 wxUSE_DRAG_AND_DROP
=no
45989 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45990 "$wxUSE_DFB" = 1; then
45991 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45992 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45993 wxUSE_DRAG_AND_DROP
=no
45996 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_DRAG_AND_DROP 1
46005 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46009 if test "$wxUSE_CLIPBOARD" = "yes"; then
46010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46013 if test "$wxUSE_SPLINES" = "yes" ; then
46014 cat >>confdefs.h
<<\_ACEOF
46015 #define wxUSE_SPLINES 1
46020 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_MOUSEWHEEL 1
46029 if test "$wxUSE_CONTROLS" = "yes"; then
46033 if test "$wxUSE_ACCEL" = "yes"; then
46034 cat >>confdefs.h
<<\_ACEOF
46035 #define wxUSE_ACCEL 1
46041 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46042 cat >>confdefs.h
<<\_ACEOF
46043 #define wxUSE_ANIMATIONCTRL 1
46047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46050 if test "$wxUSE_BUTTON" = "yes"; then
46051 cat >>confdefs.h
<<\_ACEOF
46052 #define wxUSE_BUTTON 1
46058 if test "$wxUSE_BMPBUTTON" = "yes"; then
46059 cat >>confdefs.h
<<\_ACEOF
46060 #define wxUSE_BMPBUTTON 1
46066 if test "$wxUSE_CALCTRL" = "yes"; then
46067 cat >>confdefs.h
<<\_ACEOF
46068 #define wxUSE_CALENDARCTRL 1
46072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46075 if test "$wxUSE_CARET" = "yes"; then
46076 cat >>confdefs.h
<<\_ACEOF
46077 #define wxUSE_CARET 1
46081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46084 if test "$wxUSE_COLLPANE" = "yes"; then
46085 cat >>confdefs.h
<<\_ACEOF
46086 #define wxUSE_COLLPANE 1
46090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46093 if test "$wxUSE_COMBOBOX" = "yes"; then
46094 cat >>confdefs.h
<<\_ACEOF
46095 #define wxUSE_COMBOBOX 1
46101 if test "$wxUSE_COMBOCTRL" = "yes"; then
46102 cat >>confdefs.h
<<\_ACEOF
46103 #define wxUSE_COMBOCTRL 1
46109 if test "$wxUSE_CHOICE" = "yes"; then
46110 cat >>confdefs.h
<<\_ACEOF
46111 #define wxUSE_CHOICE 1
46117 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46118 cat >>confdefs.h
<<\_ACEOF
46119 #define wxUSE_CHOICEBOOK 1
46125 if test "$wxUSE_CHECKBOX" = "yes"; then
46126 cat >>confdefs.h
<<\_ACEOF
46127 #define wxUSE_CHECKBOX 1
46133 if test "$wxUSE_CHECKLST" = "yes"; then
46134 cat >>confdefs.h
<<\_ACEOF
46135 #define wxUSE_CHECKLISTBOX 1
46141 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46142 cat >>confdefs.h
<<\_ACEOF
46143 #define wxUSE_COLOURPICKERCTRL 1
46149 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46150 cat >>confdefs.h
<<\_ACEOF
46151 #define wxUSE_DATEPICKCTRL 1
46157 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46158 cat >>confdefs.h
<<\_ACEOF
46159 #define wxUSE_DIRPICKERCTRL 1
46165 if test "$wxUSE_FILECTRL" = "yes"; then
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define wxUSE_FILECTRL 1
46173 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46174 cat >>confdefs.h
<<\_ACEOF
46175 #define wxUSE_FILEPICKERCTRL 1
46181 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46182 cat >>confdefs.h
<<\_ACEOF
46183 #define wxUSE_FONTPICKERCTRL 1
46189 if test "$wxUSE_DISPLAY" = "yes"; then
46190 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46191 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46192 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46195 cat >>confdefs.h
<<\_ACEOF
46196 #define wxUSE_DISPLAY 1
46199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46203 if test "$wxUSE_DETECT_SM" = "yes"; then
46204 cat >>confdefs.h
<<\_ACEOF
46205 #define wxUSE_DETECT_SM 1
46210 if test "$wxUSE_GAUGE" = "yes"; then
46211 cat >>confdefs.h
<<\_ACEOF
46212 #define wxUSE_GAUGE 1
46218 if test "$wxUSE_GRID" = "yes"; then
46219 cat >>confdefs.h
<<\_ACEOF
46220 #define wxUSE_GRID 1
46224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46227 if test "$wxUSE_HEADERCTRL" = "yes"; then
46228 cat >>confdefs.h
<<\_ACEOF
46229 #define wxUSE_HEADERCTRL 1
46235 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46236 cat >>confdefs.h
<<\_ACEOF
46237 #define wxUSE_HYPERLINKCTRL 1
46243 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46244 cat >>confdefs.h
<<\_ACEOF
46245 #define wxUSE_BITMAPCOMBOBOX 1
46251 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46252 cat >>confdefs.h
<<\_ACEOF
46253 #define wxUSE_DATAVIEWCTRL 1
46257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46260 if test "$wxUSE_IMAGLIST" = "yes"; then
46261 cat >>confdefs.h
<<\_ACEOF
46262 #define wxUSE_IMAGLIST 1
46267 if test "$wxUSE_INFOBAR" = "yes"; then
46268 cat >>confdefs.h
<<\_ACEOF
46269 #define wxUSE_INFOBAR 1
46274 if test "$wxUSE_LISTBOOK" = "yes"; then
46275 cat >>confdefs.h
<<\_ACEOF
46276 #define wxUSE_LISTBOOK 1
46282 if test "$wxUSE_LISTBOX" = "yes"; then
46283 cat >>confdefs.h
<<\_ACEOF
46284 #define wxUSE_LISTBOX 1
46290 if test "$wxUSE_LISTCTRL" = "yes"; then
46291 if test "$wxUSE_IMAGLIST" = "yes"; then
46292 cat >>confdefs.h
<<\_ACEOF
46293 #define wxUSE_LISTCTRL 1
46297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46299 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46300 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46304 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46305 cat >>confdefs.h
<<\_ACEOF
46306 #define wxUSE_EDITABLELISTBOX 1
46312 if test "$wxUSE_NOTEBOOK" = "yes"; then
46313 cat >>confdefs.h
<<\_ACEOF
46314 #define wxUSE_NOTEBOOK 1
46318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46321 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46322 cat >>confdefs.h
<<\_ACEOF
46323 #define wxUSE_NOTIFICATION_MESSAGE 1
46328 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46329 cat >>confdefs.h
<<\_ACEOF
46330 #define wxUSE_ODCOMBOBOX 1
46334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46337 if test "$wxUSE_RADIOBOX" = "yes"; then
46338 cat >>confdefs.h
<<\_ACEOF
46339 #define wxUSE_RADIOBOX 1
46345 if test "$wxUSE_RADIOBTN" = "yes"; then
46346 cat >>confdefs.h
<<\_ACEOF
46347 #define wxUSE_RADIOBTN 1
46353 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46354 cat >>confdefs.h
<<\_ACEOF
46355 #define wxUSE_REARRANGECTRL 1
46360 if test "$wxUSE_SASH" = "yes"; then
46361 cat >>confdefs.h
<<\_ACEOF
46362 #define wxUSE_SASH 1
46365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46368 if test "$wxUSE_SCROLLBAR" = "yes"; then
46369 cat >>confdefs.h
<<\_ACEOF
46370 #define wxUSE_SCROLLBAR 1
46374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46377 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46378 cat >>confdefs.h
<<\_ACEOF
46379 #define wxUSE_SEARCHCTRL 1
46385 if test "$wxUSE_SLIDER" = "yes"; then
46386 cat >>confdefs.h
<<\_ACEOF
46387 #define wxUSE_SLIDER 1
46393 if test "$wxUSE_SPINBTN" = "yes"; then
46394 cat >>confdefs.h
<<\_ACEOF
46395 #define wxUSE_SPINBTN 1
46401 if test "$wxUSE_SPINCTRL" = "yes"; then
46402 cat >>confdefs.h
<<\_ACEOF
46403 #define wxUSE_SPINCTRL 1
46409 if test "$wxUSE_SPLITTER" = "yes"; then
46410 cat >>confdefs.h
<<\_ACEOF
46411 #define wxUSE_SPLITTER 1
46414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46417 if test "$wxUSE_STATBMP" = "yes"; then
46418 cat >>confdefs.h
<<\_ACEOF
46419 #define wxUSE_STATBMP 1
46425 if test "$wxUSE_STATBOX" = "yes"; then
46426 cat >>confdefs.h
<<\_ACEOF
46427 #define wxUSE_STATBOX 1
46433 if test "$wxUSE_STATTEXT" = "yes"; then
46434 cat >>confdefs.h
<<\_ACEOF
46435 #define wxUSE_STATTEXT 1
46441 if test "$wxUSE_STATLINE" = "yes"; then
46442 cat >>confdefs.h
<<\_ACEOF
46443 #define wxUSE_STATLINE 1
46449 if test "$wxUSE_STATUSBAR" = "yes"; then
46450 cat >>confdefs.h
<<\_ACEOF
46451 #define wxUSE_NATIVE_STATUSBAR 1
46454 cat >>confdefs.h
<<\_ACEOF
46455 #define wxUSE_STATUSBAR 1
46460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46463 if test "$wxUSE_TEXTCTRL" = "yes"; then
46464 cat >>confdefs.h
<<\_ACEOF
46465 #define wxUSE_TEXTCTRL 1
46469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46471 cat >>confdefs.h
<<\_ACEOF
46472 #define wxUSE_RICHEDIT 1
46475 cat >>confdefs.h
<<\_ACEOF
46476 #define wxUSE_RICHEDIT2 1
46481 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46482 if test "$wxUSE_COCOA" = 1 ; then
46483 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46484 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46488 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46489 cat >>confdefs.h
<<\_ACEOF
46490 #define wxUSE_TOGGLEBTN 1
46497 if test "$wxUSE_TOOLBAR" = "yes"; then
46498 cat >>confdefs.h
<<\_ACEOF
46499 #define wxUSE_TOOLBAR 1
46504 if test "$wxUSE_UNIVERSAL" = "yes"; then
46505 wxUSE_TOOLBAR_NATIVE
="no"
46507 wxUSE_TOOLBAR_NATIVE
="yes"
46508 cat >>confdefs.h
<<\_ACEOF
46509 #define wxUSE_TOOLBAR_NATIVE 1
46514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46517 if test "$wxUSE_TOOLTIPS" = "yes"; then
46518 if test "$wxUSE_MOTIF" = 1; then
46519 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46520 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46522 if test "$wxUSE_UNIVERSAL" = "yes"; then
46523 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46524 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46526 cat >>confdefs.h
<<\_ACEOF
46527 #define wxUSE_TOOLTIPS 1
46534 if test "$wxUSE_TREEBOOK" = "yes"; then
46535 cat >>confdefs.h
<<\_ACEOF
46536 #define wxUSE_TREEBOOK 1
46542 if test "$wxUSE_TOOLBOOK" = "yes"; then
46543 cat >>confdefs.h
<<\_ACEOF
46544 #define wxUSE_TOOLBOOK 1
46550 if test "$wxUSE_TREECTRL" = "yes"; then
46551 if test "$wxUSE_IMAGLIST" = "yes"; then
46552 cat >>confdefs.h
<<\_ACEOF
46553 #define wxUSE_TREECTRL 1
46557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46559 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46560 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46564 if test "$wxUSE_POPUPWIN" = "yes"; then
46565 if test "$wxUSE_COCOA" = 1 ; then
46566 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46567 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46569 if test "$wxUSE_PM" = 1; then
46570 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46571 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46573 cat >>confdefs.h
<<\_ACEOF
46574 #define wxUSE_POPUPWIN 1
46577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46584 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46585 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46586 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46587 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46589 cat >>confdefs.h
<<\_ACEOF
46590 #define wxUSE_DIALUP_MANAGER 1
46593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46597 if test "$wxUSE_TIPWINDOW" = "yes"; then
46598 if test "$wxUSE_PM" = 1; then
46599 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46600 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46602 cat >>confdefs.h
<<\_ACEOF
46603 #define wxUSE_TIPWINDOW 1
46609 if test "$USES_CONTROLS" = 1; then
46610 cat >>confdefs.h
<<\_ACEOF
46611 #define wxUSE_CONTROLS 1
46617 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46618 cat >>confdefs.h
<<\_ACEOF
46619 #define wxUSE_ACCESSIBILITY 1
46622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46625 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46626 cat >>confdefs.h
<<\_ACEOF
46627 #define wxUSE_DRAGIMAGE 1
46630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46633 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46634 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46635 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46636 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46638 cat >>confdefs.h
<<\_ACEOF
46639 #define wxUSE_EXCEPTIONS 1
46642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46647 if test "$wxUSE_HTML" = "yes"; then
46648 cat >>confdefs.h
<<\_ACEOF
46649 #define wxUSE_HTML 1
46653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46655 if test "$wxUSE_WEBKIT" = "yes"; then
46656 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46657 old_CPPFLAGS
="$CPPFLAGS"
46658 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46659 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46660 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46661 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46662 echo $ECHO_N "(cached) $ECHO_C" >&6
46664 cat >conftest.
$ac_ext <<_ACEOF
46667 cat confdefs.h
>>conftest.
$ac_ext
46668 cat >>conftest.
$ac_ext <<_ACEOF
46669 /* end confdefs.h. */
46671 #include <Carbon/Carbon.h>
46672 #include <WebKit/WebKit.h>
46675 #include <WebKit/HIWebView.h>
46677 rm -f conftest.
$ac_objext
46678 if { (ac_try
="$ac_compile"
46679 case "(($ac_try" in
46680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46681 *) ac_try_echo=$ac_try;;
46683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46684 (eval "$ac_compile") 2>conftest.er1
46686 grep -v '^ *+' conftest.er1 >conftest.err
46688 cat conftest.err >&5
46689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46690 (exit $ac_status); } && {
46691 test -z "$ac_c_werror_flag" ||
46692 test ! -s conftest.err
46693 } && test -s conftest.$ac_objext; then
46694 ac_cv_header_WebKit_HIWebView_h=yes
46696 echo "$as_me: failed program was:" >&5
46697 sed 's/^/| /' conftest.$ac_ext >&5
46699 ac_cv_header_WebKit_HIWebView_h=no
46702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46704 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46705 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46706 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_WEBKIT 1
46712 WEBKIT_LINK="-framework WebKit"
46716 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46717 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46723 CPPFLAGS="$old_CPPFLAGS"
46724 elif test "$wxUSE_COCOA" = 1; then
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_WEBKIT 1
46732 if test "$wxUSE_WEBKIT" = "yes"; then
46733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46738 if test "$wxUSE_XRC" = "yes"; then
46739 if test "$wxUSE_XML" != "yes"; then
46740 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46741 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_XRC 1
46749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46754 if test "$wxUSE_AUI" = "yes"; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_AUI 1
46760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46764 if test "$wxUSE_PROPGRID" = "yes"; then
46765 cat >>confdefs.h <<\_ACEOF
46766 #define wxUSE_PROPGRID 1
46770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46774 if test "$wxUSE_RIBBON" = "yes"; then
46775 cat >>confdefs.h <<\_ACEOF
46776 #define wxUSE_RIBBON 1
46780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46784 if test "$wxUSE_STC" = "yes"; then
46785 cat >>confdefs.h <<\_ACEOF
46786 #define wxUSE_STC 1
46790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46792 # Extract the first word of "python", so it can be a program name with args.
46793 set dummy python; ac_word=$2
46794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46796 if test "${ac_cv_path_PYTHON+set}" = set; then
46797 echo $ECHO_N "(cached) $ECHO_C" >&6
46801 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46805 for as_dir in $PATH
46808 test -z "$as_dir" && as_dir=.
46809 for ac_exec_ext in '' $ac_executable_extensions; do
46810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46811 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46822 PYTHON=$ac_cv_path_PYTHON
46823 if test -n "$PYTHON"; then
46824 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46825 echo "${ECHO_T}$PYTHON" >&6; }
46827 { echo "$as_me:$LINENO: result: no" >&5
46828 echo "${ECHO_T}no" >&6; }
46832 if test "x$PYTHON" = "x"; then
46838 if test "$wxUSE_MENUS" = "yes"; then
46839 cat >>confdefs.h <<\_ACEOF
46840 #define wxUSE_MENUS 1
46843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46846 if test "$wxUSE_METAFILE" = "yes"; then
46847 cat >>confdefs.h <<\_ACEOF
46848 #define wxUSE_METAFILE 1
46853 if test "$wxUSE_MIMETYPE" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_MIMETYPE 1
46860 if test "$wxUSE_MINIFRAME" = "yes"; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_MINIFRAME 1
46867 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_SYSTEM_OPTIONS 1
46874 if test "$wxUSE_TASKBARICON" = "yes"; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_TASKBARICON 1
46879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46883 if test "$wxUSE_VALIDATORS" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_VALIDATORS 1
46888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46891 if test "$wxUSE_PALETTE" = "yes" ; then
46892 if test "$wxUSE_DFB" = 1; then
46893 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46894 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46897 cat >>confdefs.h <<\_ACEOF
46898 #define wxUSE_PALETTE 1
46904 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46905 LIBS=" -lunicows $LIBS"
46909 if test "$wxUSE_RICHTEXT" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_RICHTEXT 1
46915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46919 if test "$wxUSE_IMAGE" = "yes" ; then
46920 cat >>confdefs.h <<\_ACEOF
46921 #define wxUSE_IMAGE 1
46925 if test "$wxUSE_GIF" = "yes" ; then
46926 cat >>confdefs.h <<\_ACEOF
46927 #define wxUSE_GIF 1
46932 if test "$wxUSE_PCX" = "yes" ; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_PCX 1
46939 if test "$wxUSE_TGA" = "yes" ; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_TGA 1
46946 if test "$wxUSE_IFF" = "yes" ; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_IFF 1
46953 if test "$wxUSE_PNM" = "yes" ; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_PNM 1
46960 if test "$wxUSE_XPM" = "yes" ; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_XPM 1
46967 if test "$wxUSE_ICO_CUR" = "yes" ; then
46968 cat >>confdefs.h <<\_ACEOF
46969 #define wxUSE_ICO_CUR 1
46976 if test "$wxUSE_ABOUTDLG" = "yes"; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_ABOUTDLG 1
46983 if test "$wxUSE_CHOICEDLG" = "yes"; then
46984 cat >>confdefs.h <<\_ACEOF
46985 #define wxUSE_CHOICEDLG 1
46990 if test "$wxUSE_COLOURDLG" = "yes"; then
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_COLOURDLG 1
46997 if test "$wxUSE_FILEDLG" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_FILEDLG 1
47004 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_FINDREPLDLG 1
47011 if test "$wxUSE_FONTDLG" = "yes"; then
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_FONTDLG 1
47018 if test "$wxUSE_DIRDLG" = "yes"; then
47019 if test "$wxUSE_TREECTRL" != "yes"; then
47020 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47021 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_DIRDLG 1
47030 if test "$wxUSE_MSGDLG" = "yes"; then
47031 cat >>confdefs.h <<\_ACEOF
47032 #define wxUSE_MSGDLG 1
47037 if test "$wxUSE_NUMBERDLG" = "yes"; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_NUMBERDLG 1
47044 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_PROGRESSDLG 1
47051 if test "$wxUSE_SPLASH" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_SPLASH 1
47056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47059 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_STARTUP_TIPS 1
47066 if test "$wxUSE_TEXTDLG" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_TEXTDLG 1
47073 if test "$wxUSE_WIZARDDLG" = "yes"; then
47074 cat >>confdefs.h <<\_ACEOF
47075 #define wxUSE_WIZARDDLG 1
47078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47082 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47083 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47084 cat >>confdefs.h <<\_ACEOF
47085 #define wxUSE_OWNER_DRAWN 1
47092 if test "$wxUSE_MSW" = 1 ; then
47094 if test "$wxUSE_DC_CACHEING" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_DC_CACHEING 1
47101 if test "$wxUSE_DIB" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_WXDIB 1
47108 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47115 if test "$wxUSE_UXTHEME" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_UXTHEME 1
47124 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_AUTOID_MANAGEMENT 1
47131 if test "$USE_WIN32" = 1 ; then
47132 if test "$wxUSE_INICONF" = "yes"; then
47133 cat >>confdefs.h <<\_ACEOF
47134 #define wxUSE_INICONF 1
47139 if test "$wxUSE_REGKEY" = "yes"; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_REGKEY 1
47148 if test "$wxUSE_MAC" = 1; then
47149 wxUSE_GRAPHICS_CONTEXT="yes"
47152 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47153 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_GRAPHICS_CONTEXT 1
47158 elif test "$wxUSE_GTK" != 1; then
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_GRAPHICS_CONTEXT 1
47166 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47167 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47169 if test -n "$PKG_CONFIG"; then
47170 if test -n "$CAIRO_CFLAGS"; then
47171 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47173 if test -n "$PKG_CONFIG" && \
47174 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47175 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47178 (exit $ac_status); }; then
47179 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
47187 if test -n "$PKG_CONFIG"; then
47188 if test -n "$CAIRO_LIBS"; then
47189 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47191 if test -n "$PKG_CONFIG" && \
47192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47193 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47196 (exit $ac_status); }; then
47197 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
47208 if test $pkg_failed = yes; then
47210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47211 _pkg_short_errors_supported=yes
47213 _pkg_short_errors_supported=no
47215 if test $_pkg_short_errors_supported = yes; then
47216 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47218 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47220 # Put the nasty error message in config.log where it belongs
47221 echo "$CAIRO_PKG_ERRORS" >&5
47223 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47224 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47226 elif test $pkg_failed = untried; then
47227 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47228 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47231 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47232 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47233 { echo "$as_me:$LINENO: result: yes" >&5
47234 echo "${ECHO_T}yes" >&6; }
47235 cat >>confdefs.h <<\_ACEOF
47236 #define wxUSE_GRAPHICS_CONTEXT 1
47246 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47249 if test "$wxUSE_GTK" = 1; then
47250 wxUSE_GSTREAMER="no"
47252 GST_VERSION_MAJOR=0
47253 GST_VERSION_MINOR=10
47254 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47256 if test "$wxUSE_GSTREAMER8" = "no"; then
47259 { echo "$as_me:$LINENO: checking for GST" >&5
47260 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47262 if test -n "$PKG_CONFIG"; then
47263 if test -n "$GST_CFLAGS"; then
47264 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47266 if test -n "$PKG_CONFIG" && \
47267 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47268 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47271 (exit $ac_status); }; then
47272 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47280 if test -n "$PKG_CONFIG"; then
47281 if test -n "$GST_LIBS"; then
47282 pkg_cv_GST_LIBS="$GST_LIBS"
47284 if test -n "$PKG_CONFIG" && \
47285 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47286 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47289 (exit $ac_status); }; then
47290 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47301 if test $pkg_failed = yes; then
47303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47304 _pkg_short_errors_supported=yes
47306 _pkg_short_errors_supported=no
47308 if test $_pkg_short_errors_supported = yes; then
47309 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47311 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47313 # Put the nasty error message in config.log where it belongs
47314 echo "$GST_PKG_ERRORS" >&5
47317 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47318 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47319 GST_VERSION_MINOR=8
47322 elif test $pkg_failed = untried; then
47324 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47325 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47326 GST_VERSION_MINOR=8
47330 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47331 GST_LIBS=$pkg_cv_GST_LIBS
47332 { echo "$as_me:$LINENO: result: yes" >&5
47333 echo "${ECHO_T}yes" >&6; }
47335 wxUSE_GSTREAMER="yes"
47336 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47340 GST_VERSION_MINOR=8
47343 if test $GST_VERSION_MINOR = "8"; then
47344 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47347 { echo "$as_me:$LINENO: checking for GST" >&5
47348 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47350 if test -n "$PKG_CONFIG"; then
47351 if test -n "$GST_CFLAGS"; then
47352 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47354 if test -n "$PKG_CONFIG" && \
47355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47356 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359 (exit $ac_status); }; then
47360 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47368 if test -n "$PKG_CONFIG"; then
47369 if test -n "$GST_LIBS"; then
47370 pkg_cv_GST_LIBS="$GST_LIBS"
47372 if test -n "$PKG_CONFIG" && \
47373 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47374 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47377 (exit $ac_status); }; then
47378 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47389 if test $pkg_failed = yes; then
47391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47392 _pkg_short_errors_supported=yes
47394 _pkg_short_errors_supported=no
47396 if test $_pkg_short_errors_supported = yes; then
47397 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47399 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47401 # Put the nasty error message in config.log where it belongs
47402 echo "$GST_PKG_ERRORS" >&5
47405 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47406 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47408 elif test $pkg_failed = untried; then
47410 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47411 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47414 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47415 GST_LIBS=$pkg_cv_GST_LIBS
47416 { echo "$as_me:$LINENO: result: yes" >&5
47417 echo "${ECHO_T}yes" >&6; }
47418 wxUSE_GSTREAMER="yes"
47423 if test "$wxUSE_GSTREAMER" = "yes"; then
47424 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47425 EXTRALIBS_MEDIA="$GST_LIBS"
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_GSTREAMER 1
47436 if test $USE_MEDIA = 1; then
47437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_MEDIACTRL 1
47443 if test "$wxUSE_MEDIACTRL" = "yes"; then
47444 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47445 echo "$as_me: error: GStreamer not available" >&2;}
47446 { (exit 1); exit 1; }; }
47448 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47449 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47455 if test "$cross_compiling" != "no"; then
47458 OSINFO=`uname
-s -r -m`
47459 OSINFO="\"$OSINFO\""
47462 cat >>confdefs.h <<_ACEOF
47463 #define WXWIN_OS_DESCRIPTION $OSINFO
47468 if test "x$prefix" != "xNONE"; then
47471 wxPREFIX=$ac_default_prefix
47474 cat >>confdefs.h <<_ACEOF
47475 #define wxINSTALL_PREFIX "$wxPREFIX"
47481 STD_BASE_LIBS="base"
47483 BUILT_WX_LIBS="base"
47484 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47486 if test "$wxUSE_SOCKETS" = "yes" ; then
47487 STD_BASE_LIBS="net $STD_BASE_LIBS"
47488 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47490 if test "$wxUSE_XML" = "yes" ; then
47491 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47492 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47495 if test "$wxUSE_GUI" = "yes"; then
47496 STD_GUI_LIBS="adv core"
47497 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47499 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47500 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47501 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47503 if test "$wxUSE_HTML" = "yes" ; then
47504 STD_GUI_LIBS="html $STD_GUI_LIBS"
47505 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47507 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47508 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47510 if test "$wxUSE_OPENGL" = "yes" ; then
47511 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47513 if test "$wxUSE_AUI" = "yes" ; then
47514 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47516 if test "$wxUSE_PROPGRID" = "yes" ; then
47517 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47519 if test "$wxUSE_RIBBON" = "yes" ; then
47520 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47522 if test "$wxUSE_RICHTEXT" = "yes" ; then
47523 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47525 if test "$wxUSE_STC" = "yes" ; then
47526 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47528 if test "$wxUSE_XRC" = "yes" ; then
47529 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47530 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47541 if test "$wxUSE_MAC" = 1 ; then
47542 if test "$USE_DARWIN" = 1; then
47543 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47546 if test "$wxUSE_COCOA" = 1 ; then
47547 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47548 if test "$wxUSE_MEDIACTRL" = "yes"; then
47549 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47552 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47553 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47556 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47557 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47559 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47561 if test "$wxUSE_GUI" = "yes"; then
47564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47565 erase event exec font image minimal render \
47566 shaped svg taborder vscroll widgets wrapsizer"
47568 if test "$wxUSE_MONOLITHIC" != "yes"; then
47569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47571 if test "$TOOLKIT" = "MSW"; then
47572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47573 if test "$wxUSE_UNIVERSAL" != "yes"; then
47574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47577 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47581 SAMPLES_SUBDIRS="console"
47582 if test "$wxUSE_SOCKETS" = "yes" ; then
47583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47585 if test "$wxUSE_IPC" = "yes" ; then
47586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47591 if test "x$INTELCC" = "xyes" ; then
47592 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47593 elif test "$GCC" = yes ; then
47594 CWARNINGS="-Wall -Wundef"
47597 if test "x$INTELCXX" = "xyes" ; then
47598 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47599 elif test "$GXX" = yes ; then
47600 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47601 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47602 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47603 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47604 echo $ECHO_N "(cached) $ECHO_C" >&6
47606 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47609 ac_cpp='$CXXCPP $CPPFLAGS'
47610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47614 ac_save_CXXFLAGS="$CXXFLAGS"
47615 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47616 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47617 cat >conftest.$ac_ext <<_ACEOF
47620 cat confdefs.h >>conftest.$ac_ext
47621 cat >>conftest.$ac_ext <<_ACEOF
47622 /* end confdefs.h. */
47632 rm -f conftest.$ac_objext
47633 if { (ac_try="$ac_compile"
47634 case "(($ac_try" in
47635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47636 *) ac_try_echo
=$ac_try;;
47638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47639 (eval "$ac_compile") 2>conftest.er1
47641 grep -v '^ *+' conftest.er1
>conftest.err
47643 cat conftest.err
>&5
47644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47645 (exit $ac_status); } && {
47646 test -z "$ac_cxx_werror_flag" ||
47647 test ! -s conftest.err
47648 } && test -s conftest.
$ac_objext; then
47649 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47651 echo "$as_me: failed program was:" >&5
47652 sed 's/^/| /' conftest.
$ac_ext >&5
47657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47659 CXXFLAGS
="$ac_save_CXXFLAGS"
47661 ac_cpp
='$CPP $CPPFLAGS'
47662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47668 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47669 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47670 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47674 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47675 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47676 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47679 (exit $ac_status); }
47680 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47681 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47684 (exit $ac_status); }
47685 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47691 if test "$wxUSE_MAC" = 1 ; then
47692 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
47697 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47698 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47701 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47702 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47703 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47706 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47707 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47708 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47709 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47710 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47712 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47715 if test "x$MWCC" = "xyes"; then
47717 CC
="$CC -cwd source -I-"
47718 CXX
="$CXX -cwd source -I-"
47723 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47724 EXTRALIBS_XML
="$EXPAT_LINK"
47725 EXTRALIBS_HTML
="$MSPACK_LINK"
47726 EXTRALIBS_MEDIA
="$GST_LIBS"
47727 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47728 if test "$wxUSE_GUI" = "yes"; then
47729 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47731 if test "$wxUSE_OPENGL" = "yes"; then
47732 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47735 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47737 WXCONFIG_LIBS
="$LIBS"
47739 if test "$wxUSE_REGEX" = "builtin" ; then
47740 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47742 if test "$wxUSE_EXPAT" = "builtin" ; then
47743 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47745 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47746 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47748 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47749 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47751 if test "$wxUSE_LIBPNG" = "builtin" ; then
47752 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47754 if test "$wxUSE_ZLIB" = "builtin" ; then
47755 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47758 for i
in $wxconfig_3rdparty ; do
47759 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47763 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47766 case "$wxUNIV_THEMES" in
47768 cat >>confdefs.h
<<\_ACEOF
47769 #define wxUSE_ALL_THEMES 1
47775 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47776 cat >>confdefs.h
<<_ACEOF
47777 #define wxUSE_THEME_$t 1
47793 if test $wxUSE_MONOLITHIC = "yes" ; then
47799 if test $wxUSE_PLUGINS = "yes" ; then
47805 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47811 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47843 TOOLKIT_LOWERCASE
=xxx
47844 if test "$TOOLKIT" = "MAC"; then
47845 TOOLKIT_LOWERCASE
=osx_carbon
47847 if test "$TOOLKIT" = "OSX_CARBON"; then
47848 TOOLKIT_LOWERCASE
=osx_carbon
47850 if test "$TOOLKIT" = "OSX_COCOA"; then
47851 TOOLKIT_LOWERCASE
=osx_cocoa
47853 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47854 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47868 TOOLKIT_DESC
="GTK+"
47869 if test "$WXGTK2" = 1; then
47870 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47871 if test "$wxUSE_GTKPRINT" = "yes" ; then
47872 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47874 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47875 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47877 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47878 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47880 if test "$wxUSE_LIBHILDON" = "yes"; then
47881 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47883 if test "$wxUSE_LIBHILDON2" = "yes"; then
47884 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47887 if test "$TOOLKIT_EXTRA" != ""; then
47888 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47894 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47898 TOOLKIT_DESC
="base only"
47902 if test "$wxUSE_WINE" = "yes"; then
47903 BAKEFILE_FORCE_PLATFORM
=win32
47906 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47908 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47909 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47910 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47911 echo $ECHO_N "(cached) $ECHO_C" >&6
47914 echo '#include <stdio.h>
47915 const wchar_t test_var[] = L"awidetest";' > conftest.h
47917 echo '#include "conftest.h"
47920 printf("%ls", test_var);
47924 wx_cv_gcc_pch_bug
="pch not supported"
47926 if $CXX conftest.h
>/dev
/null
2>&1
47930 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47932 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47933 grep awidetest
>/dev
/null
47935 wx_cv_gcc_pch_bug
=no
47937 wx_cv_gcc_pch_bug
=yes
47942 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47945 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47946 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47948 if test "$wx_cv_gcc_pch_bug" = yes; then
47959 if test "x$BAKEFILE_HOST" = "x"; then
47960 if test "x${host}" = "x" ; then
47961 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47962 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47963 { (exit 1); exit 1; }; }
47966 BAKEFILE_HOST
="${host}"
47969 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47971 if test -n "$ac_tool_prefix"; then
47972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47973 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47976 if test "${ac_cv_prog_RANLIB+set}" = set; then
47977 echo $ECHO_N "(cached) $ECHO_C" >&6
47979 if test -n "$RANLIB"; then
47980 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47983 for as_dir
in $PATH
47986 test -z "$as_dir" && as_dir
=.
47987 for ac_exec_ext
in '' $ac_executable_extensions; do
47988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47989 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47999 RANLIB
=$ac_cv_prog_RANLIB
48000 if test -n "$RANLIB"; then
48001 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48002 echo "${ECHO_T}$RANLIB" >&6; }
48004 { echo "$as_me:$LINENO: result: no" >&5
48005 echo "${ECHO_T}no" >&6; }
48010 if test -z "$ac_cv_prog_RANLIB"; then
48011 ac_ct_RANLIB
=$RANLIB
48012 # Extract the first word of "ranlib", so it can be a program name with args.
48013 set dummy ranlib
; ac_word
=$2
48014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48016 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48017 echo $ECHO_N "(cached) $ECHO_C" >&6
48019 if test -n "$ac_ct_RANLIB"; then
48020 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
48022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48023 for as_dir
in $PATH
48026 test -z "$as_dir" && as_dir
=.
48027 for ac_exec_ext
in '' $ac_executable_extensions; do
48028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48029 ac_cv_prog_ac_ct_RANLIB
="ranlib"
48030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48039 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
48040 if test -n "$ac_ct_RANLIB"; then
48041 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48042 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48044 { echo "$as_me:$LINENO: result: no" >&5
48045 echo "${ECHO_T}no" >&6; }
48048 if test "x$ac_ct_RANLIB" = x
; then
48051 case $cross_compiling:$ac_tool_warned in
48053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48054 whose name does not start with the host triplet. If you think this
48055 configuration is useful to you, please write to autoconf@gnu.org." >&5
48056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48057 whose name does not start with the host triplet. If you think this
48058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48059 ac_tool_warned
=yes ;;
48061 RANLIB
=$ac_ct_RANLIB
48064 RANLIB
="$ac_cv_prog_RANLIB"
48067 # Find a good install program. We prefer a C program (faster),
48068 # so one script is as good as another. But avoid the broken or
48069 # incompatible versions:
48070 # SysV /etc/install, /usr/sbin/install
48071 # SunOS /usr/etc/install
48072 # IRIX /sbin/install
48074 # AmigaOS /C/install, which installs bootblocks on floppy discs
48075 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48076 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48077 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48078 # OS/2's system install, which has a completely different semantic
48079 # ./install, which can be erroneously created by make from ./install.sh.
48080 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48081 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48082 if test -z "$INSTALL"; then
48083 if test "${ac_cv_path_install+set}" = set; then
48084 echo $ECHO_N "(cached) $ECHO_C" >&6
48086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48087 for as_dir
in $PATH
48090 test -z "$as_dir" && as_dir
=.
48091 # Account for people who put trailing slashes in PATH elements.
48093 .
/ | .
// | /cC
/* | \
48094 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
48095 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
48098 # OSF1 and SCO ODT 3.0 have their own names for install.
48099 # Don't use installbsd from OSF since it installs stuff as root
48101 for ac_prog
in ginstall scoinst
install; do
48102 for ac_exec_ext
in '' $ac_executable_extensions; do
48103 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48104 if test $ac_prog = install &&
48105 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
48106 # AIX install. It has an incompatible calling convention.
48108 elif test $ac_prog = install &&
48109 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
48110 # program-specific install script used by HP pwplus--don't use.
48113 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
48126 if test "${ac_cv_path_install+set}" = set; then
48127 INSTALL
=$ac_cv_path_install
48129 # As a last resort, use the slow shell script. Don't cache a
48130 # value for INSTALL within a source directory, because that will
48131 # break other packages using the cache if that directory is
48132 # removed, or if the value is a relative name.
48133 INSTALL
=$ac_install_sh
48136 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48137 echo "${ECHO_T}$INSTALL" >&6; }
48139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48140 # It thinks the first close brace ends the variable substitution.
48141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
48143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
48145 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
48147 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48150 if test "$LN_S" = "ln -s"; then
48151 { echo "$as_me:$LINENO: result: yes" >&5
48152 echo "${ECHO_T}yes" >&6; }
48154 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48155 echo "${ECHO_T}no, using $LN_S" >&6; }
48159 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48160 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48161 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48162 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
48163 echo $ECHO_N "(cached) $ECHO_C" >&6
48165 cat >conftest.
make <<\_ACEOF
48168 @
echo '@@@%%%=$(MAKE)=@@@%%%'
48170 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48171 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48172 *@@@
%%%=?
*=@@@
%%%*)
48173 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
48175 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
48177 rm -f conftest.
make
48179 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
48180 { echo "$as_me:$LINENO: result: yes" >&5
48181 echo "${ECHO_T}yes" >&6; }
48184 { echo "$as_me:$LINENO: result: no" >&5
48185 echo "${ECHO_T}no" >&6; }
48186 SET_MAKE
="MAKE=${MAKE-make}"
48191 if test "x$SUNCXX" = "xyes"; then
48193 AROPTIONS
="-xar -o"
48195 elif test "x$SGICC" = "xyes"; then
48200 if test -n "$ac_tool_prefix"; then
48201 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48202 set dummy
${ac_tool_prefix}ar; ac_word
=$2
48203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48205 if test "${ac_cv_prog_AR+set}" = set; then
48206 echo $ECHO_N "(cached) $ECHO_C" >&6
48208 if test -n "$AR"; then
48209 ac_cv_prog_AR
="$AR" # Let the user override the test.
48211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48212 for as_dir
in $PATH
48215 test -z "$as_dir" && as_dir
=.
48216 for ac_exec_ext
in '' $ac_executable_extensions; do
48217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48218 ac_cv_prog_AR
="${ac_tool_prefix}ar"
48219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48229 if test -n "$AR"; then
48230 { echo "$as_me:$LINENO: result: $AR" >&5
48231 echo "${ECHO_T}$AR" >&6; }
48233 { echo "$as_me:$LINENO: result: no" >&5
48234 echo "${ECHO_T}no" >&6; }
48239 if test -z "$ac_cv_prog_AR"; then
48241 # Extract the first word of "ar", so it can be a program name with args.
48242 set dummy
ar; ac_word
=$2
48243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48245 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48246 echo $ECHO_N "(cached) $ECHO_C" >&6
48248 if test -n "$ac_ct_AR"; then
48249 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
48251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48252 for as_dir
in $PATH
48255 test -z "$as_dir" && as_dir
=.
48256 for ac_exec_ext
in '' $ac_executable_extensions; do
48257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48258 ac_cv_prog_ac_ct_AR
="ar"
48259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48268 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
48269 if test -n "$ac_ct_AR"; then
48270 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48271 echo "${ECHO_T}$ac_ct_AR" >&6; }
48273 { echo "$as_me:$LINENO: result: no" >&5
48274 echo "${ECHO_T}no" >&6; }
48277 if test "x$ac_ct_AR" = x
; then
48280 case $cross_compiling:$ac_tool_warned in
48282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48283 whose name does not start with the host triplet. If you think this
48284 configuration is useful to you, please write to autoconf@gnu.org." >&5
48285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48286 whose name does not start with the host triplet. If you think this
48287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48288 ac_tool_warned
=yes ;;
48293 AR
="$ac_cv_prog_AR"
48300 if test -n "$ac_tool_prefix"; then
48301 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48302 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
48303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48305 if test "${ac_cv_prog_STRIP+set}" = set; then
48306 echo $ECHO_N "(cached) $ECHO_C" >&6
48308 if test -n "$STRIP"; then
48309 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
48311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48312 for as_dir
in $PATH
48315 test -z "$as_dir" && as_dir
=.
48316 for ac_exec_ext
in '' $ac_executable_extensions; do
48317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48318 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
48319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48328 STRIP
=$ac_cv_prog_STRIP
48329 if test -n "$STRIP"; then
48330 { echo "$as_me:$LINENO: result: $STRIP" >&5
48331 echo "${ECHO_T}$STRIP" >&6; }
48333 { echo "$as_me:$LINENO: result: no" >&5
48334 echo "${ECHO_T}no" >&6; }
48339 if test -z "$ac_cv_prog_STRIP"; then
48341 # Extract the first word of "strip", so it can be a program name with args.
48342 set dummy strip
; ac_word
=$2
48343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48346 echo $ECHO_N "(cached) $ECHO_C" >&6
48348 if test -n "$ac_ct_STRIP"; then
48349 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
48351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48352 for as_dir
in $PATH
48355 test -z "$as_dir" && as_dir
=.
48356 for ac_exec_ext
in '' $ac_executable_extensions; do
48357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48358 ac_cv_prog_ac_ct_STRIP
="strip"
48359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48368 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
48369 if test -n "$ac_ct_STRIP"; then
48370 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48371 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48373 { echo "$as_me:$LINENO: result: no" >&5
48374 echo "${ECHO_T}no" >&6; }
48377 if test "x$ac_ct_STRIP" = x
; then
48380 case $cross_compiling:$ac_tool_warned in
48382 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48383 whose name does not start with the host triplet. If you think this
48384 configuration is useful to you, please write to autoconf@gnu.org." >&5
48385 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48386 whose name does not start with the host triplet. If you think this
48387 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48388 ac_tool_warned
=yes ;;
48393 STRIP
="$ac_cv_prog_STRIP"
48396 if test -n "$ac_tool_prefix"; then
48397 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48398 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48401 if test "${ac_cv_prog_NM+set}" = set; then
48402 echo $ECHO_N "(cached) $ECHO_C" >&6
48404 if test -n "$NM"; then
48405 ac_cv_prog_NM
="$NM" # Let the user override the test.
48407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48408 for as_dir
in $PATH
48411 test -z "$as_dir" && as_dir
=.
48412 for ac_exec_ext
in '' $ac_executable_extensions; do
48413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48414 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48425 if test -n "$NM"; then
48426 { echo "$as_me:$LINENO: result: $NM" >&5
48427 echo "${ECHO_T}$NM" >&6; }
48429 { echo "$as_me:$LINENO: result: no" >&5
48430 echo "${ECHO_T}no" >&6; }
48435 if test -z "$ac_cv_prog_NM"; then
48437 # Extract the first word of "nm", so it can be a program name with args.
48438 set dummy nm
; ac_word
=$2
48439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48441 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48442 echo $ECHO_N "(cached) $ECHO_C" >&6
48444 if test -n "$ac_ct_NM"; then
48445 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48448 for as_dir
in $PATH
48451 test -z "$as_dir" && as_dir
=.
48452 for ac_exec_ext
in '' $ac_executable_extensions; do
48453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48454 ac_cv_prog_ac_ct_NM
="nm"
48455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48464 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48465 if test -n "$ac_ct_NM"; then
48466 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48467 echo "${ECHO_T}$ac_ct_NM" >&6; }
48469 { echo "$as_me:$LINENO: result: no" >&5
48470 echo "${ECHO_T}no" >&6; }
48473 if test "x$ac_ct_NM" = x
; then
48476 case $cross_compiling:$ac_tool_warned in
48478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48479 whose name does not start with the host triplet. If you think this
48480 configuration is useful to you, please write to autoconf@gnu.org." >&5
48481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48482 whose name does not start with the host triplet. If you think this
48483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48484 ac_tool_warned
=yes ;;
48489 NM
="$ac_cv_prog_NM"
48493 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48494 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48495 INSTALL_TEST_DIR
=acbftest$$
48496 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48497 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48498 rmdir $INSTALL_TEST_DIR
48499 INSTALL_DIR
='$(INSTALL) -d'
48500 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48501 echo "${ECHO_T}$INSTALL -d" >&6; }
48503 INSTALL_DIR
="mkdir -p"
48504 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48505 echo "${ECHO_T}mkdir -p" >&6; }
48510 case ${BAKEFILE_HOST} in
48511 *-*-cygwin* | *-*-mingw32* )
48512 LDFLAGS_GUI
="-mwindows"
48518 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48519 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48520 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48521 echo $ECHO_N "(cached) $ECHO_C" >&6
48524 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48525 egrep -s GNU
> /dev
/null
); then
48526 bakefile_cv_prog_makeisgnu
="yes"
48528 bakefile_cv_prog_makeisgnu
="no"
48532 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48533 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48535 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48552 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48553 case "${BAKEFILE_HOST}" in
48560 *-pc-os2_emx | *-pc-os2-emx )
48570 powerpc
-apple-macos* )
48579 case "$BAKEFILE_FORCE_PLATFORM" in
48614 # Check whether --enable-omf was given.
48615 if test "${enable_omf+set}" = set; then
48616 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48620 case "${BAKEFILE_HOST}" in
48622 if test "x$GCC" = "xyes"; then
48623 CFLAGS
="$CFLAGS -fno-common"
48624 CXXFLAGS
="$CXXFLAGS -fno-common"
48626 if test "x$XLCC" = "xyes"; then
48627 CFLAGS
="$CFLAGS -qnocommon"
48628 CXXFLAGS
="$CXXFLAGS -qnocommon"
48632 *-pc-os2_emx | *-pc-os2-emx )
48633 if test "x$bk_os2_use_omf" = "xyes" ; then
48636 LDFLAGS
="-Zomf $LDFLAGS"
48637 CFLAGS
="-Zomf $CFLAGS"
48638 CXXFLAGS
="-Zomf $CXXFLAGS"
48646 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48652 SO_SUFFIX_MODULE
="so"
48657 DLLPREFIX_MODULE
=""
48661 case "${BAKEFILE_HOST}" in
48666 SO_SUFFIX_MODULE
="sl"
48670 SO_SUFFIX_MODULE
="a"
48674 SO_SUFFIX_MODULE
="dll"
48675 DLLIMP_SUFFIX
="dll.a"
48682 SO_SUFFIX_MODULE
="dll"
48683 DLLIMP_SUFFIX
="dll.a"
48693 *-pc-os2_emx | *-pc-os2-emx )
48695 SO_SUFFIX_MODULE
="dll"
48696 DLLIMP_SUFFIX
=$OS2_LIBEXT
48700 LIBEXT
=".$OS2_LIBEXT"
48705 SO_SUFFIX_MODULE
="bundle"
48709 if test "x$DLLIMP_SUFFIX" = "x" ; then
48710 DLLIMP_SUFFIX
="$SO_SUFFIX"
48725 if test "x$GCC" = "xyes"; then
48729 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48730 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48733 case "${BAKEFILE_HOST}" in
48735 if test "x$GCC" != "xyes"; then
48736 LDFLAGS
="$LDFLAGS -L/usr/lib"
48738 SHARED_LD_CC
="${CC} -b -o"
48739 SHARED_LD_CXX
="${CXX} -b -o"
48745 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48747 elif test "x$SUNCXX" = "xyes"; then
48748 SHARED_LD_CC
="${CC} -G -o"
48749 SHARED_LD_CXX
="${CXX} -G -o"
48755 if test "x$SUNCXX" = xyes
; then
48756 SHARED_LD_CC
="${CC} -G -o"
48757 SHARED_LD_CXX
="${CXX} -G -o"
48765 cat <<EOF >shared-ld-sh
48767 #-----------------------------------------------------------------------------
48768 #-- Name: distrib/mac/shared-ld-sh
48769 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48770 #-- Author: Gilles Depeyrot
48771 #-- Copyright: (c) 2002 Gilles Depeyrot
48772 #-- Licence: any use permitted
48773 #-----------------------------------------------------------------------------
48778 linking_flag="-dynamiclib"
48779 ldargs="-r -keep_private_externs -nostdlib"
48781 if test "x${D}CXX" = "x"; then
48785 while test ${D}# -gt 0; do
48792 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48793 # collect these options and values
48794 args="${D}{args} ${D}1 ${D}2"
48799 # collect these options and values
48800 ldargs="${D}{ldargs} ${D}1 ${D}2"
48805 # collect these load args
48806 ldargs="${D}{ldargs} ${D}1"
48809 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48810 # collect these options
48811 args="${D}{args} ${D}1"
48814 -dynamiclib|-bundle)
48815 linking_flag="${D}1"
48819 echo "shared-ld: unhandled option '${D}1'"
48823 *.o | *.a | *.dylib)
48824 # collect object files
48825 objects="${D}{objects} ${D}1"
48829 echo "shared-ld: unhandled argument '${D}1'"
48840 # Link one module containing all the others
48842 if test ${D}{verbose} = 1; then
48843 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48845 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48849 # Link the shared library from the single module created, but only if the
48850 # previous command didn't fail:
48852 if test ${D}{status} = 0; then
48853 if test ${D}{verbose} = 1; then
48854 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48856 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48861 # Remove intermediate module
48863 rm -f master.${D}${D}.o
48868 chmod +x shared
-ld-sh
48870 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48871 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
48874 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48875 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48876 if test "${bakefile_cv_gcc31+set}" = set; then
48877 echo $ECHO_N "(cached) $ECHO_C" >&6
48880 cat >conftest.
$ac_ext <<_ACEOF
48883 cat confdefs.h
>>conftest.
$ac_ext
48884 cat >>conftest.
$ac_ext <<_ACEOF
48885 /* end confdefs.h. */
48891 #if (__GNUC__ < 3) || \
48892 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48900 rm -f conftest.
$ac_objext
48901 if { (ac_try
="$ac_compile"
48902 case "(($ac_try" in
48903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48904 *) ac_try_echo=$ac_try;;
48906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48907 (eval "$ac_compile") 2>conftest.er1
48909 grep -v '^ *+' conftest.er1 >conftest.err
48911 cat conftest.err >&5
48912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48913 (exit $ac_status); } && {
48914 test -z "$ac_c_werror_flag" ||
48915 test ! -s conftest.err
48916 } && test -s conftest.$ac_objext; then
48918 bakefile_cv_gcc31=yes
48921 echo "$as_me: failed program was:" >&5
48922 sed 's/^/| /' conftest.$ac_ext >&5
48925 bakefile_cv_gcc31=no
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48933 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48934 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48935 if test "$bakefile_cv_gcc31" = "no"; then
48936 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48937 SHARED_LD_CXX="$SHARED_LD_CC"
48939 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48940 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48943 if test "x$GCC" == "xyes"; then
48944 PIC_FLAG="-dynamic -fPIC"
48946 if test "x$XLCC" = "xyes"; then
48947 PIC_FLAG="-dynamic -DPIC"
48952 if test "x$GCC" = "xyes"; then
48955 case "${BAKEFILE_HOST}" in
48957 LD_EXPFULL="-Wl,-bexpfull"
48961 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48962 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48964 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48965 set dummy makeC++SharedLib; ac_word=$2
48966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48968 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48969 echo $ECHO_N "(cached) $ECHO_C" >&6
48971 if test -n "$AIX_CXX_LD"; then
48972 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48975 for as_dir in $PATH
48978 test -z "$as_dir" && as_dir=.
48979 for ac_exec_ext in '' $ac_executable_extensions; do
48980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48981 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48989 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48992 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48993 if test -n "$AIX_CXX_LD"; then
48994 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48995 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48997 { echo "$as_me:$LINENO: result: no" >&5
48998 echo "${ECHO_T}no" >&6; }
49002 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49003 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49008 SHARED_LD_CC="${LD} -nostart -o"
49009 SHARED_LD_CXX="${LD} -nostart -o"
49013 if test "x$GCC" != "xyes"; then
49018 *-*-cygwin* | *-*-mingw32* )
49020 SHARED_LD_CC="\$(CC) -shared -o"
49021 SHARED_LD_CXX="\$(CXX) -shared -o"
49025 *-pc-os2_emx | *-pc-os2-emx )
49026 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49027 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49031 cat <<EOF >dllar.sh
49034 # dllar - a tool to build both a .dll and an .a file
49035 # from a set of object (.o) files for EMX/OS2.
49037 # Written by Andrew Zabolotny, bit@freya.etu.ru
49038 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49040 # This script will accept a set of files on the command line.
49041 # All the public symbols from the .o files will be exported into
49042 # a .DEF file, then linker will be run (through gcc) against them to
49043 # build a shared library consisting of all given .o files. All libraries
49044 # (.a) will be first decompressed into component .o files then act as
49045 # described above. You can optionally give a description (-d "description")
49046 # which will be put into .DLL. To see the list of accepted options (as well
49047 # as command-line format) simply run this program without options. The .DLL
49048 # is built to be imported by name (there is no guarantee that new versions
49049 # of the library you build will have same ordinals for same symbols).
49051 # dllar is free software; you can redistribute it and/or modify
49052 # it under the terms of the GNU General Public License as published by
49053 # the Free Software Foundation; either version 2, or (at your option)
49054 # any later version.
49056 # dllar is distributed in the hope that it will be useful,
49057 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49058 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49059 # GNU General Public License for more details.
49061 # You should have received a copy of the GNU General Public License
49062 # along with dllar; see the file COPYING. If not, write to the Free
49063 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49066 # To successfuly run this program you will need:
49067 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49068 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49070 # (used to build the .dll)
49072 # (used to create .def file from .o files)
49074 # (used to create .a file from .def file)
49075 # - GNU text utilites (cat, sort, uniq)
49076 # used to process emxexp output
49077 # - GNU file utilities (mv, rm)
49079 # - lxlite (optional, see flag below)
49080 # (used for general .dll cleanup)
49087 # basnam, variant of basename, which does _not_ remove the path, _iff_
49088 # second argument (suffix to remove) is given
49092 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49095 echo ${D}1 | sed 's/'${D}2'${D}//'
49098 echo "error in basnam ${D}*"
49104 # Cleanup temporary files and output
49107 for i in ${D}inputFiles ; do
49110 rm -rf \`basnam
${D}i
!\
`
49117 # Kill result in case of failure as there is just to many stupid make/nmake
49118 # things out there which doesn't do this.
49119 if [ ${D}# -eq 0 ]; then
49120 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49124 # Print usage and exit script with rc=1.
49126 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49127 echo ' [-name-mangler-script script.sh]'
49128 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49129 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49130 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49131 echo ' [*.o] [*.a]'
49132 echo '*> "output_file" should have no extension.'
49133 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49134 echo ' The import library name is derived from this and is set to "name".a,'
49135 echo ' unless overridden by -import'
49136 echo '*> "importlib_name" should have no extension.'
49137 echo ' If it has the .o, or .a extension, it is automatically removed.'
49138 echo ' This name is used as the import library name and may be longer and'
49139 echo ' more descriptive than the DLL name which has to follow the old '
49140 echo ' 8.3 convention of FAT.'
49141 echo '*> "script.sh may be given to override the output_file name by a'
49142 echo ' different name. It is mainly useful if the regular make process'
49143 echo ' of some package does not take into account OS/2 restriction of'
49144 echo ' DLL name lengths. It takes the importlib name as input and is'
49145 echo ' supposed to procude a shorter name as output. The script should'
49146 echo ' expect to get importlib_name without extension and should produce'
49147 echo ' a (max.) 8 letter name without extension.'
49148 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49149 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49150 echo ' These flags will be put at the start of GCC command line.'
49151 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49152 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49153 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49154 echo ' If the last character of a symbol is "*", all symbols beginning'
49155 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49156 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49157 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49158 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49159 echo ' C runtime DLLs.'
49160 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49161 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49162 echo ' unchanged to GCC at the end of command line.'
49163 echo '*> If you create a DLL from a library and you do not specify -o,'
49164 echo ' the basename for DLL and import library will be set to library name,'
49165 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49166 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49167 echo ' library will be renamed into gcc_s.a.'
49170 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49171 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49176 # Execute a command.
49177 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49178 # @Uses Whatever CleanUp() uses.
49184 if [ ${D}rcCmd -ne 0 ]; then
49185 echo "command failed, exit code="${D}rcCmd
49200 CFLAGS="-s -Zcrtdll"
49202 EXPORT_BY_ORDINALS=0
49207 case ${D}curDirS in
49211 curDirS=${D}{curDirS}"/"
49214 # Parse commandline
49217 while [ ${D}1 ]; do
49220 EXPORT_BY_ORDINALS=1;
49230 -name-mangler-script)
49251 exclude_symbols=${D}{exclude_symbols}${D}1" "
49255 library_flags=${D}{library_flags}${D}1" "
49274 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49277 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
49278 if [ ${D}omfLinking -eq 1 ]; then
49279 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49281 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49286 if [ ${D}libsToLink -ne 0 ]; then
49287 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49289 for file in ${D}1 ; do
49290 if [ -f ${D}file ]; then
49291 inputFiles="${D}{inputFiles} ${D}file"
49295 if [ ${D}found -eq 0 ]; then
49296 echo "ERROR: No file(s) found: "${D}1
49303 done # iterate cmdline words
49306 if [ -z "${D}inputFiles" ]; then
49307 echo "dllar: no input files"
49311 # Now extract all .o files from .a files
49313 for file in ${D}inputFiles ; do
49324 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49329 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
49331 if [ ${D}? -ne 0 ]; then
49332 echo "Failed to create subdirectory ./${D}dirname"
49336 # Append '!' to indicate archive
49337 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49338 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49341 for subfile in ${D}dirname/*.o* ; do
49342 if [ -f ${D}subfile ]; then
49344 if [ -s ${D}subfile ]; then
49345 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49346 newInputFiles="${D}newInputFiles ${D}subfile"
49350 if [ ${D}found -eq 0 ]; then
49351 echo "WARNING: there are no files in archive \\'${D}file\\'"
49355 newInputFiles="${D}{newInputFiles} ${D}file"
49359 inputFiles="${D}newInputFiles"
49361 # Output filename(s).
49363 if [ -z ${D}outFile ]; then
49365 set outFile ${D}inputFiles; outFile=${D}2
49368 # If it is an archive, remove the '!' and the '_%' suffixes
49369 case ${D}outFile in
49371 outFile=\`basnam
${D}outFile _
%!\
`
49376 case ${D}outFile in
49378 outFile=\`basnam
${D}outFile .dll\
`
49381 outFile=\`basnam
${D}outFile .DLL\
`
49384 outFile=\`basnam
${D}outFile .o\
`
49387 outFile=\`basnam
${D}outFile .obj\
`
49390 outFile=\`basnam
${D}outFile .a\
`
49393 outFile=\`basnam
${D}outFile .lib\
`
49398 case ${D}outimpFile in
49400 outimpFile=\`basnam
${D}outimpFile .a\
`
49403 outimpFile=\`basnam
${D}outimpFile .lib\
`
49408 if [ -z ${D}outimpFile ]; then
49409 outimpFile=${D}outFile
49411 defFile="${D}{outFile}.def"
49412 arcFile="${D}{outimpFile}.a"
49413 arcFile2="${D}{outimpFile}.lib"
49415 #create ${D}dllFile as something matching 8.3 restrictions,
49416 if [ -z ${D}renameScript ] ; then
49417 dllFile="${D}outFile"
49419 dllFile=\`${D}renameScript
${D}outimpFile\
`
49422 if [ ${D}do_backup -ne 0 ] ; then
49423 if [ -f ${D}arcFile ] ; then
49424 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49426 if [ -f ${D}arcFile2 ] ; then
49427 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49431 # Extract public symbols from all the object files.
49432 tmpdefFile=${D}{defFile}_%
49433 rm -f ${D}tmpdefFile
49434 for file in ${D}inputFiles ; do
49439 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49444 # Create the def file.
49446 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49447 dllFile="${D}{dllFile}.dll"
49448 if [ ! -z ${D}description ]; then
49449 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49451 echo "EXPORTS" >> ${D}defFile
49453 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49454 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49456 # Checks if the export is ok or not.
49457 for word in ${D}exclude_symbols; do
49458 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49459 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49463 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49464 sed "=" < ${D}tmpdefFile | \\
49468 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49470 ' > ${D}{tmpdefFile}%
49471 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49473 rm -f ${D}{tmpdefFile}%
49475 cat ${D}tmpdefFile >> ${D}defFile
49476 rm -f ${D}tmpdefFile
49478 # Do linking, create implib, and apply lxlite.
49480 for file in ${D}inputFiles ; do
49485 gccCmdl="${D}gccCmdl ${D}file"
49489 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49490 touch "${D}{outFile}.dll"
49492 doCommand "emximp -o ${D}arcFile ${D}defFile"
49493 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49495 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49498 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49500 doCommand "emxomf -s -l ${D}arcFile"
49510 powerpc-apple-macos* | \
49511 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49521 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49522 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49523 { (exit 1); exit 1; }; }
49526 if test "x$PIC_FLAG" != "x" ; then
49527 PIC_FLAG="$PIC_FLAG -DPIC"
49530 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49531 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49533 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49534 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49549 USE_SOTWOSYMLINKS=0
49553 case "${BAKEFILE_HOST}" in
49554 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49555 *-*-k*bsd*-gnu | *-*-mirbsd* )
49556 if test "x$SUNCXX" = "xyes"; then
49559 SONAME_FLAG="-Wl,-soname,"
49563 USE_SOTWOSYMLINKS=1
49575 USE_SOTWOSYMLINKS=1
49593 # Check whether --enable-dependency-tracking was given.
49594 if test "${enable_dependency_tracking+set}" = set; then
49595 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49599 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49600 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49603 if test "x$bk_use_trackdeps" = "xno" ; then
49605 { echo "$as_me:$LINENO: result: disabled" >&5
49606 echo "${ECHO_T}disabled" >&6; }
49610 if test "x$GCC" = "xyes"; then
49612 case "${BAKEFILE_HOST}" in
49614 DEPSFLAG="-no-cpp-precomp -MMD"
49620 { echo "$as_me:$LINENO: result: gcc" >&5
49621 echo "${ECHO_T}gcc" >&6; }
49622 elif test "x$MWCC" = "xyes"; then
49625 { echo "$as_me:$LINENO: result: mwcc" >&5
49626 echo "${ECHO_T}mwcc" >&6; }
49627 elif test "x$SUNCC" = "xyes"; then
49630 { echo "$as_me:$LINENO: result: Sun cc" >&5
49631 echo "${ECHO_T}Sun cc" >&6; }
49632 elif test "x$SGICC" = "xyes"; then
49635 { echo "$as_me:$LINENO: result: SGI cc" >&5
49636 echo "${ECHO_T}SGI cc" >&6; }
49637 elif test "x$HPCC" = "xyes"; then
49640 { echo "$as_me:$LINENO: result: HP cc" >&5
49641 echo "${ECHO_T}HP cc" >&6; }
49642 elif test "x$COMPAQCC" = "xyes"; then
49645 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49646 echo "${ECHO_T}Compaq cc" >&6; }
49649 { echo "$as_me:$LINENO: result: none" >&5
49650 echo "${ECHO_T}none" >&6; }
49653 if test $DEPS_TRACKING = 1 ; then
49659 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49660 # script. It is used to track C/C++ files dependencies in portable way.
49662 # Permission is given to use this file in any way.
49664 DEPSMODE=${DEPSMODE}
49665 DEPSFLAG="${DEPSFLAG}"
49668 if test ${D}DEPSMODE = gcc ; then
49669 ${D}* ${D}{DEPSFLAG}
49672 # determine location of created files:
49673 while test ${D}# -gt 0; do
49687 objfilebase=\`basename ${D}objfile\
`
49688 builddir=\`dirname ${D}objfile\
`
49689 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49690 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49691 depsdir=${D}builddir/${D}DEPSDIRBASE
49692 mkdir -p ${D}depsdir
49694 # if the compiler failed, we're done:
49695 if test ${D}{status} != 0 ; then
49700 # move created file to the location we want it in:
49701 if test -f ${D}depfile ; then
49702 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49705 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49706 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49707 if test ! -f ${D}depfile ; then
49708 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49709 depfile="${D}objfile.d"
49711 if test -f ${D}depfile ; then
49712 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49718 elif test ${D}DEPSMODE = mwcc ; then
49719 ${D}* || exit ${D}?
49720 # Run mwcc again with -MM and redirect into the dep file we want
49721 # NOTE: We can't use shift here because we need ${D}* to be valid
49723 for arg in ${D}* ; do
49724 if test "${D}prevarg" = "-o"; then
49738 objfilebase=\`basename ${D}objfile\
`
49739 builddir=\`dirname ${D}objfile\
`
49740 depsdir=${D}builddir/${D}DEPSDIRBASE
49741 mkdir -p ${D}depsdir
49743 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49746 elif test ${D}DEPSMODE = unixcc; then
49747 ${D}* || exit ${D}?
49748 # Run compiler again with deps flag and redirect into the dep file.
49749 # It doesn't work if the '-o FILE' option is used, but without it the
49750 # dependency file will contain the wrong name for the object. So it is
49751 # removed from the command line, and the dep file is fixed with sed.
49753 while test ${D}# -gt 0; do
49760 eval arg${D}#=\\${D}1
49761 cmd="${D}cmd \\${D}arg${D}#"
49767 objfilebase=\`basename ${D}objfile\
`
49768 builddir=\`dirname ${D}objfile\
`
49769 depsdir=${D}builddir/${D}DEPSDIRBASE
49770 mkdir -p ${D}depsdir
49772 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49782 BK_DEPS="`pwd`/bk-deps"
49790 case ${BAKEFILE_HOST} in
49791 *-*-cygwin* | *-*-mingw32* )
49792 if test -n "$ac_tool_prefix"; then
49793 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49794 set dummy ${ac_tool_prefix}windres; ac_word=$2
49795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49797 if test "${ac_cv_prog_WINDRES+set}" = set; then
49798 echo $ECHO_N "(cached) $ECHO_C" >&6
49800 if test -n "$WINDRES"; then
49801 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49804 for as_dir in $PATH
49807 test -z "$as_dir" && as_dir=.
49808 for ac_exec_ext in '' $ac_executable_extensions; do
49809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49810 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49820 WINDRES=$ac_cv_prog_WINDRES
49821 if test -n "$WINDRES"; then
49822 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49823 echo "${ECHO_T}$WINDRES" >&6; }
49825 { echo "$as_me:$LINENO: result: no" >&5
49826 echo "${ECHO_T}no" >&6; }
49831 if test -z "$ac_cv_prog_WINDRES"; then
49832 ac_ct_WINDRES=$WINDRES
49833 # Extract the first word of "windres", so it can be a program name with args.
49834 set dummy windres; ac_word=$2
49835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49837 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49838 echo $ECHO_N "(cached) $ECHO_C" >&6
49840 if test -n "$ac_ct_WINDRES"; then
49841 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49844 for as_dir in $PATH
49847 test -z "$as_dir" && as_dir=.
49848 for ac_exec_ext in '' $ac_executable_extensions; do
49849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49850 ac_cv_prog_ac_ct_WINDRES="windres"
49851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49860 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49861 if test -n "$ac_ct_WINDRES"; then
49862 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49863 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49865 { echo "$as_me:$LINENO: result: no" >&5
49866 echo "${ECHO_T}no" >&6; }
49869 if test "x$ac_ct_WINDRES" = x; then
49872 case $cross_compiling:$ac_tool_warned in
49874 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49875 whose name does not start with the host triplet. If you think this
49876 configuration is useful to you, please write to autoconf@gnu.org." >&5
49877 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49878 whose name does not start with the host triplet. If you think this
49879 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49880 ac_tool_warned=yes ;;
49882 WINDRES=$ac_ct_WINDRES
49885 WINDRES="$ac_cv_prog_WINDRES"
49890 *-*-darwin* | powerpc-apple-macos* )
49891 # Extract the first word of "Rez", so it can be a program name with args.
49892 set dummy Rez; ac_word=$2
49893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49895 if test "${ac_cv_prog_REZ+set}" = set; then
49896 echo $ECHO_N "(cached) $ECHO_C" >&6
49898 if test -n "$REZ"; then
49899 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49902 for as_dir in $PATH
49905 test -z "$as_dir" && as_dir=.
49906 for ac_exec_ext in '' $ac_executable_extensions; do
49907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49908 ac_cv_prog_REZ="Rez"
49909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49916 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49919 REZ=$ac_cv_prog_REZ
49920 if test -n "$REZ"; then
49921 { echo "$as_me:$LINENO: result: $REZ" >&5
49922 echo "${ECHO_T}$REZ" >&6; }
49924 { echo "$as_me:$LINENO: result: no" >&5
49925 echo "${ECHO_T}no" >&6; }
49929 # Extract the first word of "SetFile", so it can be a program name with args.
49930 set dummy SetFile; ac_word=$2
49931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49933 if test "${ac_cv_prog_SETFILE+set}" = set; then
49934 echo $ECHO_N "(cached) $ECHO_C" >&6
49936 if test -n "$SETFILE"; then
49937 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49940 for as_dir in $PATH
49943 test -z "$as_dir" && as_dir=.
49944 for ac_exec_ext in '' $ac_executable_extensions; do
49945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49946 ac_cv_prog_SETFILE="SetFile"
49947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49954 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49957 SETFILE=$ac_cv_prog_SETFILE
49958 if test -n "$SETFILE"; then
49959 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49960 echo "${ECHO_T}$SETFILE" >&6; }
49962 { echo "$as_me:$LINENO: result: no" >&5
49963 echo "${ECHO_T}no" >&6; }
49978 BAKEFILE_BAKEFILE_M4_VERSION="0.2.7"
49981 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.7"
49985 # Check whether --enable-precomp-headers was given.
49986 if test "${enable_precomp_headers+set}" = set; then
49987 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49996 case ${BAKEFILE_HOST} in
50002 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50003 if test "x$GCC" = "xyes"; then
50004 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50005 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50006 cat >conftest.$ac_ext <<_ACEOF
50009 cat confdefs.h >>conftest.$ac_ext
50010 cat >>conftest.$ac_ext <<_ACEOF
50011 /* end confdefs.h. */
50017 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50018 There is no PCH support
50021 There is no PCH support
50023 #if (__GNUC__ == 3) && \
50024 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50025 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50026 ( defined(__INTEL_COMPILER) )
50027 There is no PCH support
50034 rm -f conftest.$ac_objext
50035 if { (ac_try="$ac_compile"
50036 case "(($ac_try" in
50037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50038 *) ac_try_echo
=$ac_try;;
50040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50041 (eval "$ac_compile") 2>conftest.er1
50043 grep -v '^ *+' conftest.er1
>conftest.err
50045 cat conftest.err
>&5
50046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50047 (exit $ac_status); } && {
50048 test -z "$ac_c_werror_flag" ||
50049 test ! -s conftest.err
50050 } && test -s conftest.
$ac_objext; then
50052 { echo "$as_me:$LINENO: result: yes" >&5
50053 echo "${ECHO_T}yes" >&6; }
50057 echo "$as_me: failed program was:" >&5
50058 sed 's/^/| /' conftest.
$ac_ext >&5
50061 if test "$INTELCXX8" = "yes"; then
50062 { echo "$as_me:$LINENO: result: yes" >&5
50063 echo "${ECHO_T}yes" >&6; }
50065 if test "$INTELCXX10" = "yes"; then
50066 ICC_PCH_CREATE_SWITCH
="-pch-create"
50067 ICC_PCH_USE_SWITCH
="-pch-use"
50069 ICC_PCH_CREATE_SWITCH
="-create-pch"
50070 ICC_PCH_USE_SWITCH
="-use-pch"
50073 { echo "$as_me:$LINENO: result: no" >&5
50074 echo "${ECHO_T}no" >&6; }
50079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50080 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50084 cat <<EOF >bk-make-pch
50087 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50088 # script. It is used to generated precompiled headers.
50090 # Permission is given to use this file in any way.
50097 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50102 while test ${D}{#} -gt 0; do
50106 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50107 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50108 headerfile="${D}{incdir}/${D}{header}"
50111 -use-pch|-use_pch|-pch-use )
50116 if test ${D}add_to_cmdline = 1 ; then
50117 compiler="${D}{compiler} ${D}{1}"
50122 if test "x${D}{headerfile}" = "x" ; then
50123 echo "error: can't find header ${D}{header} in include paths" >&2
50125 if test -f ${D}{outfile} ; then
50126 rm -f ${D}{outfile}
50128 mkdir -p \`dirname ${D}{outfile}\`
50130 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50131 mkdir -p ${D}{builddir}/.deps
50132 if test "x${GCC_PCH}" = "x1" ; then
50133 # can do this because gcc is >= 3.4:
50134 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50135 elif test "x${ICC_PCH}" = "x1" ; then
50136 filename=pch_gen-${D}${D}
50137 file=${D}{filename}.c
50138 dfile=${D}{filename}.d
50139 cat > ${D}file <<EOT
50140 #include "${D}header"
50142 # using -MF icc complains about differing command lines in creation/use
50143 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50144 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50145 rm -f ${D}file ${D}dfile ${D}{filename}.o
50151 chmod +x bk
-make-pch
50152 BK_MAKE_PCH
="`pwd`/bk-make-pch"
50163 COND_BUILD_DEBUG
="#"
50164 if test "x$BUILD" = "xdebug" ; then
50165 COND_BUILD_DEBUG
=""
50168 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
50169 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50170 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
50173 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
50174 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50175 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
50178 COND_BUILD_DEBUG_UNICODE_0
="#"
50179 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50180 COND_BUILD_DEBUG_UNICODE_0
=""
50183 COND_BUILD_DEBUG_UNICODE_1
="#"
50184 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50185 COND_BUILD_DEBUG_UNICODE_1
=""
50188 COND_BUILD_RELEASE
="#"
50189 if test "x$BUILD" = "xrelease" ; then
50190 COND_BUILD_RELEASE
=""
50193 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
50194 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50195 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
50198 COND_BUILD_RELEASE_UNICODE_0
="#"
50199 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50200 COND_BUILD_RELEASE_UNICODE_0
=""
50203 COND_BUILD_RELEASE_UNICODE_1
="#"
50204 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50205 COND_BUILD_RELEASE_UNICODE_1
=""
50208 COND_BUILD_debug
="#"
50209 if test "x$BUILD" = "xdebug" ; then
50210 COND_BUILD_debug
=""
50213 COND_BUILD_debug_DEBUG_FLAG_default
="#"
50214 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50215 COND_BUILD_debug_DEBUG_FLAG_default
=""
50218 COND_BUILD_debug_DEBUG_INFO_default
="#"
50219 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50220 COND_BUILD_debug_DEBUG_INFO_default
=""
50223 COND_BUILD_debug_UNICODE_0
="#"
50224 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50225 COND_BUILD_debug_UNICODE_0
=""
50228 COND_BUILD_debug_UNICODE_1
="#"
50229 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50230 COND_BUILD_debug_UNICODE_1
=""
50233 COND_BUILD_release
="#"
50234 if test "x$BUILD" = "xrelease" ; then
50235 COND_BUILD_release
=""
50238 COND_BUILD_release_DEBUG_INFO_default
="#"
50239 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50240 COND_BUILD_release_DEBUG_INFO_default
=""
50243 COND_BUILD_release_UNICODE_0
="#"
50244 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50245 COND_BUILD_release_UNICODE_0
=""
50248 COND_BUILD_release_UNICODE_1
="#"
50249 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50250 COND_BUILD_release_UNICODE_1
=""
50253 COND_DEBUG_FLAG_0
="#"
50254 if test "x$DEBUG_FLAG" = "x0" ; then
50255 COND_DEBUG_FLAG_0
=""
50258 COND_DEBUG_FLAG_1
="#"
50259 if test "x$DEBUG_FLAG" = "x1" ; then
50260 COND_DEBUG_FLAG_1
=""
50263 COND_DEBUG_INFO_0
="#"
50264 if test "x$DEBUG_INFO" = "x0" ; then
50265 COND_DEBUG_INFO_0
=""
50268 COND_DEBUG_INFO_1
="#"
50269 if test "x$DEBUG_INFO" = "x1" ; then
50270 COND_DEBUG_INFO_1
=""
50273 COND_DEPS_TRACKING_0
="#"
50274 if test "x$DEPS_TRACKING" = "x0" ; then
50275 COND_DEPS_TRACKING_0
=""
50278 COND_DEPS_TRACKING_1
="#"
50279 if test "x$DEPS_TRACKING" = "x1" ; then
50280 COND_DEPS_TRACKING_1
=""
50284 if test "x$GCC_PCH" = "x1" ; then
50289 if test "x$ICC_PCH" = "x1" ; then
50293 COND_MONOLITHIC_0
="#"
50294 if test "x$MONOLITHIC" = "x0" ; then
50295 COND_MONOLITHIC_0
=""
50298 COND_MONOLITHIC_0_SHARED_0
="#"
50299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50300 COND_MONOLITHIC_0_SHARED_0
=""
50303 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
50304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50305 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
50308 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
50309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
50313 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
50314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50315 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
50318 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
50319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50320 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
50323 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
50324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50325 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
50328 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
50329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50330 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
50333 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
50334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50335 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
50338 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
50339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50340 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
50343 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
50344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50345 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
50348 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
50349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50350 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
50353 COND_MONOLITHIC_0_SHARED_1
="#"
50354 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50355 COND_MONOLITHIC_0_SHARED_1
=""
50358 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
50359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50360 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
50363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
50364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
50368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
50369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50370 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
50373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
50374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
50378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
50379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50380 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
50383 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
50384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50385 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
50388 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
50389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50390 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
50393 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
50394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50395 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
50398 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
50399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50400 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
50403 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
50404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50405 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
50408 COND_MONOLITHIC_0_USE_AUI_1
="#"
50409 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50410 COND_MONOLITHIC_0_USE_AUI_1
=""
50413 COND_MONOLITHIC_0_USE_GUI_1
="#"
50414 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50415 COND_MONOLITHIC_0_USE_GUI_1
=""
50418 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
50419 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50420 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
50423 COND_MONOLITHIC_0_USE_HTML_1
="#"
50424 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50425 COND_MONOLITHIC_0_USE_HTML_1
=""
50428 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50429 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50430 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50433 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
50434 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50435 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
50438 COND_MONOLITHIC_0_USE_QA_1
="#"
50439 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50440 COND_MONOLITHIC_0_USE_QA_1
=""
50443 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
50444 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50445 COND_MONOLITHIC_0_USE_RIBBON_1
=""
50448 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50449 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50450 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50453 COND_MONOLITHIC_0_USE_STC_1
="#"
50454 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50455 COND_MONOLITHIC_0_USE_STC_1
=""
50458 COND_MONOLITHIC_0_USE_XRC_1
="#"
50459 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50460 COND_MONOLITHIC_0_USE_XRC_1
=""
50463 COND_MONOLITHIC_1
="#"
50464 if test "x$MONOLITHIC" = "x1" ; then
50465 COND_MONOLITHIC_1
=""
50468 COND_MONOLITHIC_1_SHARED_0
="#"
50469 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50470 COND_MONOLITHIC_1_SHARED_0
=""
50473 COND_MONOLITHIC_1_SHARED_1
="#"
50474 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50475 COND_MONOLITHIC_1_SHARED_1
=""
50478 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50479 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50480 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50483 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50484 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50485 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50488 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50489 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50490 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50493 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50494 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50495 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50498 COND_PLATFORM_MACOSX_1
="#"
50499 if test "x$PLATFORM_MACOSX" = "x1" ; then
50500 COND_PLATFORM_MACOSX_1
=""
50503 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50504 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50505 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50508 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50509 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50510 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50513 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50514 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50515 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50518 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50519 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50520 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50523 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50524 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50525 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50528 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50529 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50530 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50533 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50534 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50535 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50538 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50539 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50540 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50543 COND_PLATFORM_MACOS_1
="#"
50544 if test "x$PLATFORM_MACOS" = "x1" ; then
50545 COND_PLATFORM_MACOS_1
=""
50548 COND_PLATFORM_MAC_0
="#"
50549 if test "x$PLATFORM_MAC" = "x0" ; then
50550 COND_PLATFORM_MAC_0
=""
50553 COND_PLATFORM_MAC_1
="#"
50554 if test "x$PLATFORM_MAC" = "x1" ; then
50555 COND_PLATFORM_MAC_1
=""
50558 COND_PLATFORM_MSDOS_0
="#"
50559 if test "x$PLATFORM_MSDOS" = "x0" ; then
50560 COND_PLATFORM_MSDOS_0
=""
50563 COND_PLATFORM_MSDOS_1
="#"
50564 if test "x$PLATFORM_MSDOS" = "x1" ; then
50565 COND_PLATFORM_MSDOS_1
=""
50568 COND_PLATFORM_OS2_1
="#"
50569 if test "x$PLATFORM_OS2" = "x1" ; then
50570 COND_PLATFORM_OS2_1
=""
50573 COND_PLATFORM_UNIX_0
="#"
50574 if test "x$PLATFORM_UNIX" = "x0" ; then
50575 COND_PLATFORM_UNIX_0
=""
50578 COND_PLATFORM_UNIX_1
="#"
50579 if test "x$PLATFORM_UNIX" = "x1" ; then
50580 COND_PLATFORM_UNIX_1
=""
50583 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50584 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50585 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50588 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50589 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50590 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50593 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50594 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50595 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50598 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50599 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50600 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50603 COND_PLATFORM_WIN32_0
="#"
50604 if test "x$PLATFORM_WIN32" = "x0" ; then
50605 COND_PLATFORM_WIN32_0
=""
50608 COND_PLATFORM_WIN32_1
="#"
50609 if test "x$PLATFORM_WIN32" = "x1" ; then
50610 COND_PLATFORM_WIN32_1
=""
50614 if test "x$SHARED" = "x0" ; then
50618 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50619 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50620 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50623 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50624 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50625 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50628 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50629 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50630 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50633 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50635 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50638 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50640 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50644 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50645 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50648 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50649 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50650 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50653 COND_SHARED_0_USE_STC_1
="#"
50654 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50655 COND_SHARED_0_USE_STC_1
=""
50658 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50659 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50660 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50663 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50664 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50665 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50668 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50669 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50670 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50674 if test "x$SHARED" = "x1" ; then
50678 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50679 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50680 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50684 if test "x$TOOLKIT" = "x" ; then
50688 COND_TOOLKIT_COCOA
="#"
50689 if test "x$TOOLKIT" = "xCOCOA" ; then
50690 COND_TOOLKIT_COCOA
=""
50693 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50694 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50695 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50698 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50699 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50700 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50703 COND_TOOLKIT_DFB
="#"
50704 if test "x$TOOLKIT" = "xDFB" ; then
50705 COND_TOOLKIT_DFB
=""
50708 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50709 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50710 COND_TOOLKIT_DFB_USE_GUI_1
=""
50713 COND_TOOLKIT_GTK
="#"
50714 if test "x$TOOLKIT" = "xGTK" ; then
50715 COND_TOOLKIT_GTK
=""
50718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50719 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50724 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50729 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50734 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50738 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50739 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50740 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50744 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50745 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50748 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50749 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50750 COND_TOOLKIT_GTK_USE_GUI_1
=""
50753 COND_TOOLKIT_MAC
="#"
50754 if test "x$TOOLKIT" = "xMAC" ; then
50755 COND_TOOLKIT_MAC
=""
50758 COND_TOOLKIT_MGL
="#"
50759 if test "x$TOOLKIT" = "xMGL" ; then
50760 COND_TOOLKIT_MGL
=""
50763 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50764 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50765 COND_TOOLKIT_MGL_USE_GUI_1
=""
50768 COND_TOOLKIT_MOTIF
="#"
50769 if test "x$TOOLKIT" = "xMOTIF" ; then
50770 COND_TOOLKIT_MOTIF
=""
50773 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50774 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50775 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50778 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50779 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50780 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50783 COND_TOOLKIT_MSW
="#"
50784 if test "x$TOOLKIT" = "xMSW" ; then
50785 COND_TOOLKIT_MSW
=""
50788 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50789 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50790 COND_TOOLKIT_MSW_USE_GUI_1
=""
50793 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50794 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50795 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50798 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50799 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50800 COND_TOOLKIT_MSW_WXUNIV_0
=""
50803 COND_TOOLKIT_OSX_CARBON
="#"
50804 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50805 COND_TOOLKIT_OSX_CARBON
=""
50808 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50809 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50810 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50813 COND_TOOLKIT_OSX_COCOA
="#"
50814 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50815 COND_TOOLKIT_OSX_COCOA
=""
50818 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50819 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50820 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50823 COND_TOOLKIT_OSX_IPHONE
="#"
50824 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50825 COND_TOOLKIT_OSX_IPHONE
=""
50828 COND_TOOLKIT_PM
="#"
50829 if test "x$TOOLKIT" = "xPM" ; then
50833 COND_TOOLKIT_PM_USE_GUI_1
="#"
50834 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50835 COND_TOOLKIT_PM_USE_GUI_1
=""
50838 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50839 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50840 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50843 COND_TOOLKIT_WINCE
="#"
50844 if test "x$TOOLKIT" = "xWINCE" ; then
50845 COND_TOOLKIT_WINCE
=""
50848 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50849 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50850 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50853 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50854 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50855 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50858 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50859 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50860 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50863 COND_TOOLKIT_X11
="#"
50864 if test "x$TOOLKIT" = "xX11" ; then
50865 COND_TOOLKIT_X11
=""
50868 COND_TOOLKIT_X11_USE_GUI_1
="#"
50869 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50870 COND_TOOLKIT_X11_USE_GUI_1
=""
50874 if test "x$UNICODE" = "x1" ; then
50878 COND_USE_EXCEPTIONS_0
="#"
50879 if test "x$USE_EXCEPTIONS" = "x0" ; then
50880 COND_USE_EXCEPTIONS_0
=""
50883 COND_USE_EXCEPTIONS_1
="#"
50884 if test "x$USE_EXCEPTIONS" = "x1" ; then
50885 COND_USE_EXCEPTIONS_1
=""
50889 if test "x$USE_GUI" = "x0" ; then
50894 if test "x$USE_GUI" = "x1" ; then
50898 COND_USE_GUI_1_USE_OPENGL_1
="#"
50899 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50900 COND_USE_GUI_1_USE_OPENGL_1
=""
50903 COND_USE_GUI_1_WXUNIV_0
="#"
50904 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50905 COND_USE_GUI_1_WXUNIV_0
=""
50908 COND_USE_GUI_1_WXUNIV_1
="#"
50909 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50910 COND_USE_GUI_1_WXUNIV_1
=""
50913 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50914 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50915 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50918 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50919 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50920 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50923 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50924 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50925 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50928 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50929 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50930 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50933 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50934 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50935 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50938 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50939 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50940 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50943 COND_USE_OPENGL_1
="#"
50944 if test "x$USE_OPENGL" = "x1" ; then
50945 COND_USE_OPENGL_1
=""
50949 if test "x$USE_PCH" = "x1" ; then
50953 COND_USE_PLUGINS_0
="#"
50954 if test "x$USE_PLUGINS" = "x0" ; then
50955 COND_USE_PLUGINS_0
=""
50958 COND_USE_RTTI_0
="#"
50959 if test "x$USE_RTTI" = "x0" ; then
50963 COND_USE_RTTI_1
="#"
50964 if test "x$USE_RTTI" = "x1" ; then
50968 COND_USE_SOTWOSYMLINKS_1
="#"
50969 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
50970 COND_USE_SOTWOSYMLINKS_1
=""
50973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50974 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50975 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50978 COND_USE_SOVERLINUX_1
="#"
50979 if test "x$USE_SOVERLINUX" = "x1" ; then
50980 COND_USE_SOVERLINUX_1
=""
50983 COND_USE_SOVERSION_0
="#"
50984 if test "x$USE_SOVERSION" = "x0" ; then
50985 COND_USE_SOVERSION_0
=""
50988 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
50989 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
50990 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
50993 COND_USE_SOVERSOLARIS_1
="#"
50994 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50995 COND_USE_SOVERSOLARIS_1
=""
50999 if test "x$USE_STC" = "x1" ; then
51003 COND_USE_THREADS_0
="#"
51004 if test "x$USE_THREADS" = "x0" ; then
51005 COND_USE_THREADS_0
=""
51008 COND_USE_THREADS_1
="#"
51009 if test "x$USE_THREADS" = "x1" ; then
51010 COND_USE_THREADS_1
=""
51014 if test "x$USE_XRC" = "x1" ; then
51018 COND_WINDOWS_IMPLIB_1
="#"
51019 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51020 COND_WINDOWS_IMPLIB_1
=""
51023 COND_WITH_PLUGIN_SDL_1
="#"
51024 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51025 COND_WITH_PLUGIN_SDL_1
=""
51029 if test "x$WXUNIV" = "x0" ; then
51034 if test "x$WXUNIV" = "x1" ; then
51038 COND_WXUSE_EXPAT_BUILTIN
="#"
51039 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51040 COND_WXUSE_EXPAT_BUILTIN
=""
51043 COND_WXUSE_LIBJPEG_BUILTIN
="#"
51044 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51045 COND_WXUSE_LIBJPEG_BUILTIN
=""
51048 COND_WXUSE_LIBPNG_BUILTIN
="#"
51049 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51050 COND_WXUSE_LIBPNG_BUILTIN
=""
51053 COND_WXUSE_LIBTIFF_BUILTIN
="#"
51054 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51055 COND_WXUSE_LIBTIFF_BUILTIN
=""
51058 COND_WXUSE_REGEX_BUILTIN
="#"
51059 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51060 COND_WXUSE_REGEX_BUILTIN
=""
51063 COND_WXUSE_ZLIB_BUILTIN
="#"
51064 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51065 COND_WXUSE_ZLIB_BUILTIN
=""
51068 COND_wxUSE_EXPAT_builtin
="#"
51069 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51070 COND_wxUSE_EXPAT_builtin
=""
51073 COND_wxUSE_LIBJPEG_builtin
="#"
51074 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51075 COND_wxUSE_LIBJPEG_builtin
=""
51078 COND_wxUSE_LIBPNG_builtin
="#"
51079 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51080 COND_wxUSE_LIBPNG_builtin
=""
51083 COND_wxUSE_LIBTIFF_builtin
="#"
51084 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51085 COND_wxUSE_LIBTIFF_builtin
=""
51088 COND_wxUSE_REGEX_builtin
="#"
51089 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51090 COND_wxUSE_REGEX_builtin
=""
51093 COND_wxUSE_ZLIB_builtin
="#"
51094 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51095 COND_wxUSE_ZLIB_builtin
=""
51100 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51101 { { 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
51102 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;}
51103 { (exit 1); exit 1; }; }
51106 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51107 { { 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
51108 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;}
51109 { (exit 1); exit 1; }; }
51116 ?
:* ) # Drive letter, considered as absolute.
51119 INSTALL
=`pwd`/${INSTALL} ;;
51122 if test "$wxUSE_GUI" = "yes"; then
51124 if test "$wxUSE_MSW" = 1 ; then
51125 if test "x$WINDRES" = "x"; then
51126 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51127 echo "$as_me: error: Required windres program not found" >&2;}
51128 { (exit 1); exit 1; }; }
51131 RESCOMP
="$WINDRES $WINDRES_CPU_DEFINE"
51134 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51135 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51136 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51138 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51140 # Extract the first word of "DeRez", so it can be a program name with args.
51141 set dummy DeRez
; ac_word
=$2
51142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51144 if test "${ac_cv_prog_DEREZ+set}" = set; then
51145 echo $ECHO_N "(cached) $ECHO_C" >&6
51147 if test -n "$DEREZ"; then
51148 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
51150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51151 for as_dir
in $PATH
51154 test -z "$as_dir" && as_dir
=.
51155 for ac_exec_ext
in '' $ac_executable_extensions; do
51156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51157 ac_cv_prog_DEREZ
="DeRez"
51158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51165 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
51168 DEREZ
=$ac_cv_prog_DEREZ
51169 if test -n "$DEREZ"; then
51170 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51171 echo "${ECHO_T}$DEREZ" >&6; }
51173 { echo "$as_me:$LINENO: result: no" >&5
51174 echo "${ECHO_T}no" >&6; }
51179 MACSETFILE
="\$(SETFILE)"
51181 if test "$wxUSE_OSX_CARBON" = 1; then
51182 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51184 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
51186 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51187 RESCOMP
="cat /dev/null \| $REZ"
51188 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51194 if test "$wxUSE_PM" = 1; then
51196 WXCONFIG_RESFLAGS
="-ep"
51198 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
51200 POSTLINK_COMMAND
="@true"
51207 if test $GCC_PCH = 1
51209 if test "$wx_cv_gcc_pch_bug" = yes; then
51210 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51211 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51212 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51213 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51214 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51215 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51218 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51219 # the headers that benefit from precompilation are mostly C++ headers.
51220 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
51221 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51222 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51226 if test "$wxUSE_MAC" = 1 ; then
51227 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51228 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
51234 if test "$wxUSE_SHARED" = "yes"; then
51236 *-pc-os2_emx | *-pc-os2-emx )
51237 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51238 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51239 cp -p ${srcdir}/src
/os
2/dllnames.sh .
51240 cp -p ${srcdir}/src
/os
2/dllar.sh .
51244 if test "$wxUSE_OMF" = "yes"; then
51246 *-pc-os2_emx | *-pc-os2-emx )
51247 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
51248 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51249 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
51254 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51259 if test "$GCC" = yes; then
51260 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
51261 LIBS
=`echo $LIBS | sed 's/-mt//'`
51262 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51267 if test "x$SUNCXX" = xyes
; then
51268 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
51269 LIBS
=`echo $LIBS | sed 's/-pthread//'`
51270 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51275 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
51276 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51277 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
51278 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51280 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51341 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51342 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51343 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51344 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
51345 echo $ECHO_N "(cached) $ECHO_C" >&6
51347 cat >conftest.
make <<\_ACEOF
51350 @
echo '@@@%%%=$(MAKE)=@@@%%%'
51352 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51354 *@@@
%%%=?
*=@@@
%%%*)
51355 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
51357 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
51359 rm -f conftest.
make
51361 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
51362 { echo "$as_me:$LINENO: result: yes" >&5
51363 echo "${ECHO_T}yes" >&6; }
51366 { echo "$as_me:$LINENO: result: no" >&5
51367 echo "${ECHO_T}no" >&6; }
51368 SET_MAKE
="MAKE=${MAKE-make}"
51373 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51376 if test "$USE_WIN32" = 1; then
51377 ac_config_commands
="$ac_config_commands rcdefs.h"
51381 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51384 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51387 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
51390 if test "$wx_cv_version_script" = "yes"; then
51391 ac_config_files
="$ac_config_files version-script"
51394 ac_config_files
="$ac_config_files Makefile"
51397 ac_config_commands
="$ac_config_commands wx-config"
51401 if test "$wxWITH_SUBDIRS" != "no"; then
51402 if test "$wxUSE_GUI" = "yes"; then
51403 SUBDIRS
="samples demos utils"
51405 SUBDIRS
="samples utils"
51410 # Check whether --with-cppunit-prefix was given.
51411 if test "${with_cppunit_prefix+set}" = set; then
51412 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
51414 cppunit_config_prefix
=""
51418 # Check whether --with-cppunit-exec-prefix was given.
51419 if test "${with_cppunit_exec_prefix+set}" = set; then
51420 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
51422 cppunit_config_exec_prefix
=""
51426 if test x
$cppunit_config_exec_prefix != x
; then
51427 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51428 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51429 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51432 if test x
$cppunit_config_prefix != x
; then
51433 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51434 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51435 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51439 # Extract the first word of "cppunit-config", so it can be a program name with args.
51440 set dummy cppunit
-config; ac_word
=$2
51441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51443 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51444 echo $ECHO_N "(cached) $ECHO_C" >&6
51446 case $CPPUNIT_CONFIG in
51448 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51452 for as_dir
in $PATH
51455 test -z "$as_dir" && as_dir
=.
51456 for ac_exec_ext
in '' $ac_executable_extensions; do
51457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51458 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51466 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51470 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51471 if test -n "$CPPUNIT_CONFIG"; then
51472 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51473 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51475 { echo "$as_me:$LINENO: result: no" >&5
51476 echo "${ECHO_T}no" >&6; }
51480 cppunit_version_min
=1.8.0
51482 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51483 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51485 if test "$CPPUNIT_CONFIG" = "no" ; then
51486 { echo "$as_me:$LINENO: result: no" >&5
51487 echo "${ECHO_T}no" >&6; }
51490 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51491 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51492 cppunit_version
=`$CPPUNIT_CONFIG --version`
51494 cppunit_major_version
=`echo $cppunit_version | \
51495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51496 cppunit_minor_version
=`echo $cppunit_version | \
51497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51498 cppunit_micro_version
=`echo $cppunit_version | \
51499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51501 cppunit_major_min
=`echo $cppunit_version_min | \
51502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51503 cppunit_minor_min
=`echo $cppunit_version_min | \
51504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51505 cppunit_micro_min
=`echo $cppunit_version_min | \
51506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51508 cppunit_version_proper
=`expr \
51509 $cppunit_major_version \> $cppunit_major_min \| \
51510 $cppunit_major_version \= $cppunit_major_min \& \
51511 $cppunit_minor_version \> $cppunit_minor_min \| \
51512 $cppunit_major_version \= $cppunit_major_min \& \
51513 $cppunit_minor_version \= $cppunit_minor_min \& \
51514 $cppunit_micro_version \>= $cppunit_micro_min `
51516 if test "$cppunit_version_proper" = "1" ; then
51517 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51518 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51520 { echo "$as_me:$LINENO: result: no" >&5
51521 echo "${ECHO_T}no" >&6; }
51526 if test "x$no_cppunit" = x
; then
51527 SUBDIRS
="$SUBDIRS tests"
51538 for subdir
in $SUBDIRS; do
51539 if test -d ${srcdir}/${subdir} ; then
51540 if test "$wxUSE_GUI" = "yes"; then
51541 if test ${subdir} = "samples"; then
51542 makefiles
="samples/Makefile.in $makefiles"
51543 for sample
in $SAMPLES_SUBDIRS; do
51544 if test -d $srcdir/samples
/$sample; then
51545 makefiles
="samples/$sample/Makefile.in $makefiles"
51549 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51550 eval "disabled=\$$disabled_var"
51551 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51552 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51555 if test ${subdir} = "samples"; then
51556 makefiles
="samples/Makefile.in $makefiles"
51557 for sample
in `echo $SAMPLES_SUBDIRS`; do
51558 if test -d $srcdir/samples
/$sample; then
51559 makefiles
="samples/$sample/Makefile.in $makefiles"
51562 elif test ${subdir} = "utils"; then
51564 for util
in ifacecheck
; do
51565 if test -d $srcdir/utils
/$util ; then
51566 makefiles
="utils/$util/src/Makefile.in \
51571 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51575 for mkin
in $makefiles ; do
51576 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51577 ac_config_files
="$ac_config_files $mk"
51583 cat >confcache
<<\_ACEOF
51584 # This file is a shell script that caches the results of configure
51585 # tests run on this system so they can be shared between configure
51586 # scripts and configure runs, see configure's option --config-cache.
51587 # It is not useful on other systems. If it contains results you don't
51588 # want to keep, you may remove or edit it.
51590 # config.status only pays attention to the cache file if you give it
51591 # the --recheck option to rerun configure.
51593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51595 # following values.
51599 # The following way of writing the cache mishandles newlines in values,
51600 # but we know of no workaround that is simple, portable, and efficient.
51601 # So, we kill variables containing newlines.
51602 # Ultrix sh set writes to stderr and can't be redirected directly,
51603 # and sets the high bit in the cache file unless we assign to the vars.
51605 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51606 eval ac_val
=\$
$ac_var
51610 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51611 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51614 _
| IFS
| as_nl
) ;; #(
51615 *) $as_unset $ac_var ;;
51621 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51622 *${as_nl}ac_space
=\
*)
51623 # `set' does not quote correctly, so add quotes (double-quote
51624 # substitution turns \\\\ into \\, and sed turns \\ into \).
51627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51630 # `set' quotes correctly as required by POSIX, so do not add quotes.
51631 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51640 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51642 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51644 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51645 if test -w "$cache_file"; then
51646 test "x$cache_file" != "x/dev/null" &&
51647 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51648 echo "$as_me: updating cache $cache_file" >&6;}
51649 cat confcache
>$cache_file
51651 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51652 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51657 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51658 # Let make expand exec_prefix.
51659 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51661 DEFS
=-DHAVE_CONFIG_H
51665 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51666 # 1. Remove the extension, and $U if already installed.
51667 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51668 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51669 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51670 # will be set to the directory where LIBOBJS objects are built.
51671 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51672 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51674 LIBOBJS
=$ac_libobjs
51676 LTLIBOBJS
=$ac_ltlibobjs
51680 : ${CONFIG_STATUS=./config.status}
51681 ac_clean_files_save
=$ac_clean_files
51682 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51683 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51684 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51685 cat >$CONFIG_STATUS <<_ACEOF
51687 # Generated by $as_me.
51688 # Run this file to recreate the current configuration.
51689 # Compiler output produced by configure, useful for debugging
51690 # configure, is in config.log if it exists.
51693 ac_cs_recheck=false
51695 SHELL=\${CONFIG_SHELL-$SHELL}
51698 cat >>$CONFIG_STATUS <<\_ACEOF
51699 ## --------------------- ##
51700 ## M4sh Initialization. ##
51701 ## --------------------- ##
51703 # Be more Bourne compatible
51704 DUALCASE
=1; export DUALCASE
# for MKS sh
51705 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51708 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51709 # is contrary to our usage. Disable this feature.
51710 alias -g '${1+"$@"}'='"$@"'
51711 setopt NO_GLOB_SUBST
51713 case `(set -o) 2>/dev/null` in
51714 *posix
*) set -o posix
;;
51723 # Avoid depending upon Character Ranges.
51724 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51725 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51726 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51727 as_cr_digits
='0123456789'
51728 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51730 # The user is always right.
51731 if test "${PATH_SEPARATOR+set}" != set; then
51732 echo "#! /bin/sh" >conf$$.sh
51733 echo "exit 0" >>conf$$.sh
51735 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51743 # Support unset when possible.
51744 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51752 # We need space, tab and new line, in precisely that order. Quoting is
51753 # there to prevent editors from complaining about space-tab.
51754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51755 # splitting by setting IFS to empty value.)
51760 # Find who we are. Look in the path if we contain no directory separator.
51762 *[\\/]* ) as_myself
=$0 ;;
51763 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51764 for as_dir
in $PATH
51767 test -z "$as_dir" && as_dir
=.
51768 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51774 # We did not find ourselves, most probably we were run as `sh COMMAND'
51775 # in which case we are not to be found in the path.
51776 if test "x$as_myself" = x
; then
51779 if test ! -f "$as_myself"; then
51780 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51781 { (exit 1); exit 1; }
51784 # Work around bugs in pre-3.0 UWIN ksh.
51785 for as_var
in ENV MAIL MAILPATH
51786 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51794 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51795 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51796 LC_TELEPHONE LC_TIME
51798 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51799 eval $as_var=C
; export $as_var
51801 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51805 # Required to use basename.
51806 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51807 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51813 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51814 as_basename
=basename
51820 # Name of the executable.
51821 as_me
=`$as_basename -- "$0" ||
51822 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51823 X"$0" : 'X\(//\)$' \| \
51824 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51826 sed '/^.*\/\([^/][^/]*\)\/*$/{
51845 as_lineno_1
=$LINENO
51846 as_lineno_2
=$LINENO
51847 test "x$as_lineno_1" != "x$as_lineno_2" &&
51848 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51850 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51851 # uniformly replaced by the line number. The first 'sed' inserts a
51852 # line-number line after each line using $LINENO; the second 'sed'
51853 # does the real work. The second script uses 'N' to pair each
51854 # line-number line with the line containing $LINENO, and appends
51855 # trailing '-' during substitution so that $LINENO is not a special
51856 # case at line end.
51857 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51858 # scripts with optimization help from Paolo Bonzini. Blame Lee
51859 # E. McMahon (1931-1989) for sed's syntax. :-)
51871 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51874 ' >$as_me.lineno
&&
51875 chmod +x
"$as_me.lineno" ||
51876 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51877 { (exit 1); exit 1; }; }
51879 # Don't try to exec as it changes $[0], causing all sort of problems
51880 # (the dirname of $[0] is not the place where we might find the
51881 # original and so on. Autoconf is especially sensitive to this).
51882 .
"./$as_me.lineno"
51883 # Exit status is that of the last command.
51888 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51894 ECHO_C
= ECHO_N
= ECHO_T
=
51895 case `echo -n x` in
51897 case `echo 'x\c'` in
51898 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51905 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51906 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51912 rm -f conf$$ conf$$.exe conf$$.
file
51913 if test -d conf$$.dir
; then
51914 rm -f conf$$.dir
/conf$$.
file
51920 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51922 # ... but there are two gotchas:
51923 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51924 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51925 # In both cases, we have to default to `cp -p'.
51926 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51928 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51933 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51934 rmdir conf$$.dir
2>/dev
/null
51936 if mkdir -p .
2>/dev
/null
; then
51939 test -d .
/-p && rmdir .
/-p
51943 if test -x / >/dev
/null
2>&1; then
51944 as_test_x
='test -x'
51946 if ls -dL / >/dev
/null
2>&1; then
51953 if test -d "$1"; then
51959 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51960 ???[sx]*):;;*)false;;esac;fi
51964 as_executable_p
=$as_test_x
51966 # Sed expression to map a string onto a valid CPP name.
51967 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51969 # Sed expression to map a string onto a valid variable name.
51970 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51975 # Save the log message, to keep $[0] and so on meaningful, and to
51976 # report actual input values of CONFIG_FILES etc. instead of their
51977 # values after options handling.
51979 This file was extended by wxWidgets $as_me 2.9.1, which was
51980 generated by GNU Autoconf 2.61. Invocation command line was
51982 CONFIG_FILES = $CONFIG_FILES
51983 CONFIG_HEADERS = $CONFIG_HEADERS
51984 CONFIG_LINKS = $CONFIG_LINKS
51985 CONFIG_COMMANDS = $CONFIG_COMMANDS
51988 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51993 cat >>$CONFIG_STATUS <<_ACEOF
51994 # Files that config.status was made for.
51995 config_files="$ac_config_files"
51996 config_headers="$ac_config_headers"
51997 config_commands="$ac_config_commands"
52001 cat >>$CONFIG_STATUS <<\_ACEOF
52003 \`$as_me' instantiates files from templates according to the
52004 current configuration.
52006 Usage: $0 [OPTIONS] [FILE]...
52008 -h, --help print this help, then exit
52009 -V, --version print version number and configuration settings, then exit
52010 -q, --quiet do not print progress messages
52011 -d, --debug don't remove temporary files
52012 --recheck update $as_me by reconfiguring in the same conditions
52013 --file=FILE[:TEMPLATE]
52014 instantiate the configuration file FILE
52015 --header=FILE[:TEMPLATE]
52016 instantiate the configuration header FILE
52018 Configuration files:
52021 Configuration headers:
52024 Configuration commands:
52027 Report bugs to <bug-autoconf@gnu.org>."
52030 cat >>$CONFIG_STATUS <<_ACEOF
52032 wxWidgets config.status 2.9.1
52033 configured by $0, generated by GNU Autoconf 2.61,
52034 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52036 Copyright (C) 2006 Free Software Foundation, Inc.
52037 This config.status script is free software; the Free Software Foundation
52038 gives unlimited permission to copy, distribute and modify it."
52045 cat >>$CONFIG_STATUS <<\_ACEOF
52046 # If no file are specified by the user, then we need to provide default
52047 # value. By we need to know if files were specified by the user.
52053 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52054 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52065 # Handling of the options.
52066 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52068 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52069 echo "$ac_cs_version"; exit ;;
52070 --debug | --debu | --deb | --de | --d | -d )
52072 --file | --fil | --fi | --f )
52074 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52075 ac_need_defaults
=false
;;
52076 --header | --heade | --head | --hea )
52078 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52079 ac_need_defaults
=false
;;
52081 # Conflict between --help and --header
52082 { echo "$as_me: error: ambiguous option: $1
52083 Try \`$0 --help' for more information." >&2
52084 { (exit 1); exit 1; }; };;
52085 --help | --hel | -h )
52086 echo "$ac_cs_usage"; exit ;;
52087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52088 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52091 # This is an error.
52092 -*) { echo "$as_me: error: unrecognized option: $1
52093 Try \`$0 --help' for more information." >&2
52094 { (exit 1); exit 1; }; } ;;
52096 *) ac_config_targets
="$ac_config_targets $1"
52097 ac_need_defaults
=false
;;
52103 ac_configure_extra_args
=
52105 if $ac_cs_silent; then
52107 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52111 cat >>$CONFIG_STATUS <<_ACEOF
52112 if \$ac_cs_recheck; then
52113 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52114 CONFIG_SHELL=$SHELL
52115 export CONFIG_SHELL
52116 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52120 cat >>$CONFIG_STATUS <<\_ACEOF
52124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52125 ## Running $as_me. ##
52131 cat >>$CONFIG_STATUS <<_ACEOF
52137 infile="$srcdir/include/wx/msw/genrcdefs.h"
52138 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52141 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52142 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52143 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52149 cat >>$CONFIG_STATUS <<\_ACEOF
52151 # Handling of arguments.
52152 for ac_config_target
in $ac_config_targets
52154 case $ac_config_target in
52155 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52156 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52157 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52158 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52159 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52160 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52161 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52162 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52163 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52165 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52166 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52167 { (exit 1); exit 1; }; };;
52172 # If the user did not use the arguments to specify the items to instantiate,
52173 # then the envvar interface is used. Set only those that are not.
52174 # We use the long form for the default assignment because of an extremely
52175 # bizarre bug on SunOS 4.1.3.
52176 if $ac_need_defaults; then
52177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52178 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52179 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52182 # Have a temporary directory for convenience. Make it in the build tree
52183 # simply because there is no reason against having it here, and in addition,
52184 # creating and moving files from /tmp can sometimes cause problems.
52185 # Hook for its removal unless debugging.
52186 # Note that there is a small window in which the directory will not be cleaned:
52187 # after its creation but before its name has been assigned to `$tmp'.
52191 trap 'exit_status=$?
52192 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52194 trap '{ (exit 1); exit 1; }' 1 2 13 15
52196 # Create a (secure) tmp directory for tmp files.
52199 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52200 test -n "$tmp" && test -d "$tmp"
52203 tmp
=.
/conf$$
-$RANDOM
52204 (umask 077 && mkdir "$tmp")
52207 echo "$me: cannot create a temporary directory in ." >&2
52208 { (exit 1); exit 1; }
52212 # Set up the sed scripts for CONFIG_FILES section.
52215 # No need to generate the scripts if there are no CONFIG_FILES.
52216 # This happens for instance when ./config.status config.h
52217 if test -n "$CONFIG_FILES"; then
52224 for ac_last_try
in false false false false false
:; do
52225 cat >conf$
$subs.
sed <<_ACEOF
52226 SHELL!$SHELL$ac_delim
52227 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52228 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52229 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52230 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52231 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52232 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52233 exec_prefix!$exec_prefix$ac_delim
52234 prefix!$prefix$ac_delim
52235 program_transform_name!$program_transform_name$ac_delim
52236 bindir!$bindir$ac_delim
52237 sbindir!$sbindir$ac_delim
52238 libexecdir!$libexecdir$ac_delim
52239 datarootdir!$datarootdir$ac_delim
52240 datadir!$datadir$ac_delim
52241 sysconfdir!$sysconfdir$ac_delim
52242 sharedstatedir!$sharedstatedir$ac_delim
52243 localstatedir!$localstatedir$ac_delim
52244 includedir!$includedir$ac_delim
52245 oldincludedir!$oldincludedir$ac_delim
52246 docdir!$docdir$ac_delim
52247 infodir!$infodir$ac_delim
52248 htmldir!$htmldir$ac_delim
52249 dvidir!$dvidir$ac_delim
52250 pdfdir!$pdfdir$ac_delim
52251 psdir!$psdir$ac_delim
52252 libdir!$libdir$ac_delim
52253 localedir!$localedir$ac_delim
52254 mandir!$mandir$ac_delim
52255 DEFS!$DEFS$ac_delim
52256 ECHO_C!$ECHO_C$ac_delim
52257 ECHO_N!$ECHO_N$ac_delim
52258 ECHO_T!$ECHO_T$ac_delim
52259 LIBS!$LIBS$ac_delim
52260 build_alias!$build_alias$ac_delim
52261 host_alias!$host_alias$ac_delim
52262 target_alias!$target_alias$ac_delim
52263 build!$build$ac_delim
52264 build_cpu!$build_cpu$ac_delim
52265 build_vendor!$build_vendor$ac_delim
52266 build_os!$build_os$ac_delim
52267 host!$host$ac_delim
52268 host_cpu!$host_cpu$ac_delim
52269 host_vendor!$host_vendor$ac_delim
52270 host_os!$host_os$ac_delim
52271 wx_top_builddir!$wx_top_builddir$ac_delim
52273 CFLAGS!$CFLAGS$ac_delim
52274 LDFLAGS!$LDFLAGS$ac_delim
52275 CPPFLAGS!$CPPFLAGS$ac_delim
52276 ac_ct_CC!$ac_ct_CC$ac_delim
52277 EXEEXT!$EXEEXT$ac_delim
52278 OBJEXT!$OBJEXT$ac_delim
52280 GREP!$GREP$ac_delim
52281 EGREP!$EGREP$ac_delim
52283 CXXFLAGS!$CXXFLAGS$ac_delim
52284 ac_ct_CXX!$ac_ct_CXX$ac_delim
52286 subdirs!$subdirs$ac_delim
52287 PKG_CONFIG!$PKG_CONFIG$ac_delim
52288 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52289 GTK_LIBS!$GTK_LIBS$ac_delim
52290 GTK_CONFIG!$GTK_CONFIG$ac_delim
52291 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52292 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52293 XMKMF!$XMKMF$ac_delim
52294 X_CFLAGS!$X_CFLAGS$ac_delim
52295 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52296 X_LIBS!$X_LIBS$ac_delim
52297 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52298 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52299 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52300 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52301 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52302 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52303 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52304 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52305 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52306 LIBICONV!$LIBICONV$ac_delim
52307 GXX_VERSION!$GXX_VERSION$ac_delim
52308 SDL_CONFIG!$SDL_CONFIG$ac_delim
52309 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52310 SDL_LIBS!$SDL_LIBS$ac_delim
52311 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52312 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52313 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52314 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52315 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52316 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52317 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52318 HILDON_LIBS!$HILDON_LIBS$ac_delim
52319 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52320 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52321 PYTHON!$PYTHON$ac_delim
52322 COND_PYTHON!$COND_PYTHON$ac_delim
52325 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52327 elif $ac_last_try; then
52328 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52329 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52330 { (exit 1); exit 1; }; }
52332 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52336 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52337 if test -n "$ac_eof"; then
52338 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52339 ac_eof
=`expr $ac_eof + 1`
52342 cat >>$CONFIG_STATUS <<_ACEOF
52343 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52347 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52348 s/^/s,@/; s/!/@,|#_!!_#|/
52351 s/'"$ac_delim"'$/,g/; t
52353 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52354 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52355 rm -f conf$
$subs.
sed
52356 cat >>$CONFIG_STATUS <<_ACEOF
52362 for ac_last_try
in false false false false false
:; do
52363 cat >conf$
$subs.
sed <<_ACEOF
52364 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52365 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52366 GST_CFLAGS!$GST_CFLAGS$ac_delim
52367 GST_LIBS!$GST_LIBS$ac_delim
52368 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52369 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52370 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52371 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52372 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52373 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52374 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52375 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52376 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52377 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52378 VENDOR!$VENDOR$ac_delim
52379 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52380 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52381 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52382 WXUNIV!$WXUNIV$ac_delim
52383 MONOLITHIC!$MONOLITHIC$ac_delim
52384 USE_PLUGINS!$USE_PLUGINS$ac_delim
52385 CXXWARNINGS!$CXXWARNINGS$ac_delim
52386 EXTRALIBS!$EXTRALIBS$ac_delim
52387 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52388 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52389 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52390 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52391 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52392 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52393 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52394 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52395 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52396 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52397 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52398 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52399 UNICODE!$UNICODE$ac_delim
52400 DEBUG_INFO!$DEBUG_INFO$ac_delim
52401 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52402 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52403 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52404 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52405 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52406 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52407 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52408 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52409 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52410 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52411 RANLIB!$RANLIB$ac_delim
52412 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52413 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52414 INSTALL_DATA!$INSTALL_DATA$ac_delim
52415 LN_S!$LN_S$ac_delim
52416 SET_MAKE!$SET_MAKE$ac_delim
52417 MAKE_SET!$MAKE_SET$ac_delim
52418 AROPTIONS!$AROPTIONS$ac_delim
52419 STRIP!$STRIP$ac_delim
52421 INSTALL_DIR!$INSTALL_DIR$ac_delim
52422 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52423 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52424 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52425 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52426 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52427 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52428 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52429 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52430 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52431 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52432 SO_SUFFIX!$SO_SUFFIX$ac_delim
52433 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52434 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52435 LIBPREFIX!$LIBPREFIX$ac_delim
52436 LIBEXT!$LIBEXT$ac_delim
52437 DLLPREFIX!$DLLPREFIX$ac_delim
52438 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52439 dlldir!$dlldir$ac_delim
52440 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52441 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52442 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52443 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52444 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52445 PIC_FLAG!$PIC_FLAG$ac_delim
52446 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52447 USE_SOVERSION!$USE_SOVERSION$ac_delim
52448 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52449 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52450 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52451 USE_MACVERSION!$USE_MACVERSION$ac_delim
52452 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52453 SONAME_FLAG!$SONAME_FLAG$ac_delim
52454 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52455 BK_DEPS!$BK_DEPS$ac_delim
52456 WINDRES!$WINDRES$ac_delim
52458 SETFILE!$SETFILE$ac_delim
52459 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52460 GCC_PCH!$GCC_PCH$ac_delim
52463 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52465 elif $ac_last_try; then
52466 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52467 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52468 { (exit 1); exit 1; }; }
52470 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52474 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52475 if test -n "$ac_eof"; then
52476 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52477 ac_eof
=`expr $ac_eof + 1`
52480 cat >>$CONFIG_STATUS <<_ACEOF
52481 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52485 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52486 s/^/s,@/; s/!/@,|#_!!_#|/
52489 s/'"$ac_delim"'$/,g/; t
52491 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52492 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52493 rm -f conf$
$subs.
sed
52494 cat >>$CONFIG_STATUS <<_ACEOF
52500 for ac_last_try
in false false false false false
:; do
52501 cat >conf$
$subs.
sed <<_ACEOF
52502 ICC_PCH!$ICC_PCH$ac_delim
52503 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52504 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52505 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52506 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52507 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52508 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52509 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52510 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52511 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52512 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52513 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52514 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52515 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52516 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52517 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52518 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52519 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52520 COND_BUILD_release!$COND_BUILD_release$ac_delim
52521 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52522 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52523 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52524 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52525 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52526 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52527 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52528 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52529 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52530 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52531 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52532 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52533 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52534 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52535 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52537 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52539 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52540 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52541 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52542 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52543 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52544 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52545 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52548 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52550 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52551 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52552 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52553 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52554 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52555 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52556 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52557 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52558 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52559 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52560 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52561 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52562 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52563 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52564 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52565 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52566 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52567 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52568 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52569 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52570 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52571 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52572 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52573 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52574 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52576 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
52577 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52578 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
52579 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52580 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52581 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52582 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52583 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52584 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52585 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52586 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52587 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52588 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52589 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52590 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52591 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52592 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52593 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52594 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52595 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52596 COND_SHARED_0!$COND_SHARED_0$ac_delim
52597 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52598 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52601 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52603 elif $ac_last_try; then
52604 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52605 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52606 { (exit 1); exit 1; }; }
52608 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52612 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52613 if test -n "$ac_eof"; then
52614 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52615 ac_eof
=`expr $ac_eof + 1`
52618 cat >>$CONFIG_STATUS <<_ACEOF
52619 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52623 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52624 s/^/s,@/; s/!/@,|#_!!_#|/
52627 s/'"$ac_delim"'$/,g/; t
52629 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52630 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52631 rm -f conf$
$subs.
sed
52632 cat >>$CONFIG_STATUS <<_ACEOF
52638 for ac_last_try
in false false false false false
:; do
52639 cat >conf$
$subs.
sed <<_ACEOF
52640 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52641 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52642 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52644 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52645 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52646 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52647 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52648 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52649 COND_SHARED_1!$COND_SHARED_1$ac_delim
52650 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52651 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52652 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52653 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52654 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52655 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52656 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52657 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52660 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52661 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52662 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52663 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52664 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52665 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52666 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52667 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52668 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52669 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52670 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52671 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52672 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52673 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52674 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52675 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52676 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52677 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52678 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52679 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52680 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52681 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52682 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52683 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52684 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52685 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52686 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52687 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52688 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52689 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52690 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52691 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52692 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52693 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52694 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52695 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52696 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52697 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52698 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52699 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52700 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52701 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52702 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52703 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52704 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52705 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52706 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52707 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52708 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52709 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52710 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52711 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52712 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52713 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52714 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52715 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52716 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52717 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52718 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52719 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52720 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52721 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52722 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52723 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52724 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52725 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52726 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52727 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52728 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52729 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52730 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52731 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52732 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52733 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52734 DEREZ!$DEREZ$ac_delim
52735 SHARED!$SHARED$ac_delim
52736 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52739 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52741 elif $ac_last_try; then
52742 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52743 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52744 { (exit 1); exit 1; }; }
52746 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52750 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52751 if test -n "$ac_eof"; then
52752 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52753 ac_eof
=`expr $ac_eof + 1`
52756 cat >>$CONFIG_STATUS <<_ACEOF
52757 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52761 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52762 s/^/s,@/; s/!/@,|#_!!_#|/
52765 s/'"$ac_delim"'$/,g/; t
52767 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52768 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52769 rm -f conf$
$subs.
sed
52770 cat >>$CONFIG_STATUS <<_ACEOF
52776 for ac_last_try
in false false false false false
:; do
52777 cat >conf$
$subs.
sed <<_ACEOF
52778 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52779 USE_GUI!$USE_GUI$ac_delim
52780 AFMINSTALL!$AFMINSTALL$ac_delim
52781 WIN32INSTALL!$WIN32INSTALL$ac_delim
52782 TOOLKIT!$TOOLKIT$ac_delim
52783 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52784 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52785 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52786 cross_compiling!$cross_compiling$ac_delim
52787 WIDGET_SET!$WIDGET_SET$ac_delim
52788 WX_RELEASE!$WX_RELEASE$ac_delim
52789 WX_VERSION!$WX_VERSION$ac_delim
52790 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52791 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52792 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52793 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52794 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52795 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52796 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52797 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52798 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52799 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52800 GUIDIST!$GUIDIST$ac_delim
52801 DISTDIR!$DISTDIR$ac_delim
52802 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52803 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52804 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52805 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52806 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52807 RESCOMP!$RESCOMP$ac_delim
52808 RESFLAGS!$RESFLAGS$ac_delim
52809 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52810 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52811 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52812 LIBWXMACRES!$LIBWXMACRES$ac_delim
52813 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52814 MACSETFILE!$MACSETFILE$ac_delim
52816 DLLTOOL!$DLLTOOL$ac_delim
52817 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52818 LIBOBJS!$LIBOBJS$ac_delim
52819 LTLIBOBJS!$LTLIBOBJS$ac_delim
52822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
52824 elif $ac_last_try; then
52825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52827 { (exit 1); exit 1; }; }
52829 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52833 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52834 if test -n "$ac_eof"; then
52835 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52836 ac_eof
=`expr $ac_eof + 1`
52839 cat >>$CONFIG_STATUS <<_ACEOF
52840 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52845 s/^/s,@/; s/!/@,|#_!!_#|/
52848 s/'"$ac_delim"'$/,g/; t
52850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52851 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52852 rm -f conf$
$subs.
sed
52853 cat >>$CONFIG_STATUS <<_ACEOF
52860 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52861 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52862 # trailing colons and then remove the whole line if VPATH becomes empty
52863 # (actually we leave an empty line to preserve line numbers).
52864 if test "x$srcdir" = x.
; then
52865 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52866 s/:*\$(srcdir):*/:/
52867 s/:*\${srcdir}:*/:/
52869 s/^\([^=]*=[ ]*\):*/\1/
52875 cat >>$CONFIG_STATUS <<\_ACEOF
52876 fi # test -n "$CONFIG_FILES"
52879 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52882 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52884 case $ac_mode$ac_tag in
52886 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52887 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52888 { (exit 1); exit 1; }; };;
52889 :[FH
]-) ac_tag
=-:-;;
52890 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52907 -) ac_f
="$tmp/stdin";;
52908 *) # Look for the file first in the build tree, then in the source tree
52909 # (if the path is not absolute). The absolute path cannot be DOS-style,
52910 # because $ac_f cannot contain `:'.
52914 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52916 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52917 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52918 { (exit 1); exit 1; }; };;
52920 ac_file_inputs
="$ac_file_inputs $ac_f"
52923 # Let's still pretend it is `configure' which instantiates (i.e., don't
52924 # use $as_me), people would be surprised to read:
52925 # /* config.h. Generated by config.status. */
52926 configure_input
="Generated from "`IFS=:
52927 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52928 if test x
"$ac_file" != x
-; then
52929 configure_input
="$ac_file. $configure_input"
52930 { echo "$as_me:$LINENO: creating $ac_file" >&5
52931 echo "$as_me: creating $ac_file" >&6;}
52935 *:-:* | *:-) cat >"$tmp/stdin";;
52940 ac_dir
=`$as_dirname -- "$ac_file" ||
52941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52942 X"$ac_file" : 'X\(//\)[^/]' \| \
52943 X"$ac_file" : 'X\(//\)$' \| \
52944 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52950 /^X\(\/\/\)[^/].*/{
52965 -*) as_dir
=.
/$as_dir;;
52967 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52971 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52972 *) as_qdir
=$as_dir;;
52974 as_dirs
="'$as_qdir' $as_dirs"
52975 as_dir
=`$as_dirname -- "$as_dir" ||
52976 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52977 X"$as_dir" : 'X\(//\)[^/]' \| \
52978 X"$as_dir" : 'X\(//\)$' \| \
52979 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52985 /^X\(\/\/\)[^/].*/{
52998 test -d "$as_dir" && break
53000 test -z "$as_dirs" || eval "mkdir $as_dirs"
53001 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53002 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53003 { (exit 1); exit 1; }; }; }
53007 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53009 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53010 # A ".." for each directory in $ac_dir_suffix.
53011 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53012 case $ac_top_builddir_sub in
53013 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53014 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53017 ac_abs_top_builddir
=$ac_pwd
53018 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53019 # for backward compatibility:
53020 ac_top_builddir
=$ac_top_build_prefix
53023 .
) # We are building in place.
53025 ac_top_srcdir
=$ac_top_builddir_sub
53026 ac_abs_top_srcdir
=$ac_pwd ;;
53027 [\\/]* | ?
:[\\/]* ) # Absolute name.
53028 ac_srcdir
=$srcdir$ac_dir_suffix;
53029 ac_top_srcdir
=$srcdir
53030 ac_abs_top_srcdir
=$srcdir ;;
53031 *) # Relative name.
53032 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53033 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53034 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53036 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53046 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53047 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53051 cat >>$CONFIG_STATUS <<\_ACEOF
53052 # If the template does not know about datarootdir, expand it.
53053 # FIXME: This hack should be removed a few years after 2.60.
53054 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53056 case `sed -n '/datarootdir/ {
53065 ' $ac_file_inputs` in
53066 *datarootdir
*) ac_datarootdir_seen
=yes;;
53067 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53068 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53069 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53071 cat >>$CONFIG_STATUS <<_ACEOF
53072 ac_datarootdir_hack='
53073 s&@datadir@&$datadir&g
53074 s&@docdir@&$docdir&g
53075 s&@infodir@&$infodir&g
53076 s&@localedir@&$localedir&g
53077 s&@mandir@&$mandir&g
53078 s&\\\${datarootdir}&$datarootdir&g' ;;
53082 # Neutralize VPATH when `$srcdir' = `.'.
53083 # Shell code in configure.ac might set extrasub.
53084 # FIXME: do we really want to maintain this feature?
53085 cat >>$CONFIG_STATUS <<_ACEOF
53089 cat >>$CONFIG_STATUS <<\_ACEOF
53091 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53092 s
&@configure_input@
&$configure_input&;t t
53093 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53094 s
&@srcdir@
&$ac_srcdir&;t t
53095 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53096 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53097 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53098 s
&@builddir@
&$ac_builddir&;t t
53099 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53100 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53101 s
&@INSTALL@
&$ac_INSTALL&;t t
53102 $ac_datarootdir_hack
53103 " $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
53105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53106 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53107 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53108 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53109 which seems to be undefined. Please make sure it is defined." >&5
53110 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53111 which seems to be undefined. Please make sure it is defined." >&2;}
53115 -) cat "$tmp/out"; rm -f "$tmp/out";;
53116 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53125 # Transform confdefs.h into a sed script `conftest.defines', that
53126 # substitutes the proper values into config.h.in to produce config.h.
53127 rm -f conftest.defines conftest.
tail
53128 # First, append a space to every undef/define line, to ease matching.
53129 echo 's/$/ /' >conftest.defines
53130 # Then, protect against being on the right side of a sed subst, or in
53131 # an unquoted here document, in config.status. If some macros were
53132 # called several times there might be several #defines for the same
53133 # symbol, which is useless. But do not sort them, since the last
53134 # AC_DEFINE must be honored.
53135 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53136 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53137 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53138 # PARAMS is the parameter list in the macro definition--in most cases, it's
53139 # just an empty string.
53140 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53141 ac_dB
='\\)[ (].*,\\1define\\2'
53149 s/^[ ]*#[ ]*define[ ][ ]*//
53154 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53155 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53156 ' >>conftest.defines
53158 # Remove the space that was appended to ease matching.
53159 # Then replace #undef with comments. This is necessary, for
53160 # example, in the case of _POSIX_SOURCE, which is predefined and required
53161 # on some systems where configure will not decide to define it.
53162 # (The regexp can be short, since the line contains either #define or #undef.)
53164 s,^[ #]*u.*,/* & */,' >>conftest.defines
53166 # Break up conftest.defines:
53167 ac_max_sed_lines
=50
53169 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53170 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53171 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53173 ac_in
='$ac_file_inputs'
53174 ac_out
='"$tmp/out1"'
53175 ac_nxt
='"$tmp/out2"'
53179 # Write a here document:
53180 cat >>$CONFIG_STATUS <<_ACEOF
53181 # First, check the format of the line:
53182 cat >"\$tmp/defines.sed" <<\\CEOF
53183 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53184 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53188 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53190 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53191 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53192 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53193 grep . conftest.
tail >/dev
/null
|| break
53194 rm -f conftest.defines
53195 mv conftest.
tail conftest.defines
53197 rm -f conftest.defines conftest.
tail
53199 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53200 cat >>$CONFIG_STATUS <<\_ACEOF
53201 if test x
"$ac_file" != x
-; then
53202 echo "/* $configure_input */" >"$tmp/config.h"
53203 cat "$ac_result" >>"$tmp/config.h"
53204 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53205 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53206 echo "$as_me: $ac_file is unchanged" >&6;}
53209 mv "$tmp/config.h" $ac_file
53212 echo "/* $configure_input */"
53218 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53219 echo "$as_me: executing $ac_file commands" >&6;}
53224 case $ac_file$ac_mode in
53226 mkdir -p $outdir &&
53227 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53229 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53230 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53231 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53232 "wx-config":C
) rm -f wx
-config
53233 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53240 { (exit 0); exit 0; }
53242 chmod +x
$CONFIG_STATUS
53243 ac_clean_files
=$ac_clean_files_save
53246 # configure is writing to config.log, and then calls config.status.
53247 # config.status does its own redirection, appending to config.log.
53248 # Unfortunately, on DOS this fails, as config.log is still kept open
53249 # by configure, so config.status won't be able to write to it; its
53250 # output is simply discarded. So we exec the FD to /dev/null,
53251 # effectively closing config.log, so it can be properly (re)opened and
53252 # appended to by config.status. When coming back to configure, we
53253 # need to make the FD available again.
53254 if test "$no_create" != yes; then
53256 ac_config_status_args
=
53257 test "$silent" = yes &&
53258 ac_config_status_args
="$ac_config_status_args --quiet"
53260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53263 # would make configure fail if this is the last instruction.
53264 $ac_cs_success || { (exit 1); exit 1; }
53268 # CONFIG_SUBDIRS section.
53270 if test "$no_recursion" != yes; then
53272 # Remove --cache-file and --srcdir arguments so they do not pile up.
53273 ac_sub_configure_args
=
53275 eval "set x $ac_configure_args"
53279 if test -n "$ac_prev"; then
53284 -cache-file | --cache-file | --cache-fil | --cache-fi \
53285 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53286 ac_prev
=cache_file
;;
53287 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53288 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53291 --config-cache | -C)
53293 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53295 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53297 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53299 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53303 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53305 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53309 # Always prepend --prefix to ensure using the same prefix
53310 # in subdir configurations.
53311 ac_arg
="--prefix=$prefix"
53313 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53315 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53318 if test "$silent" = yes; then
53319 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53323 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53325 # Do not complain, so a configure script can configure whichever
53326 # parts of a large source tree are present.
53327 test -d "$srcdir/$ac_dir" || continue
53329 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53330 echo "$as_me:$LINENO: $ac_msg" >&5
53334 -*) as_dir
=.
/$as_dir;;
53336 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53340 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53341 *) as_qdir
=$as_dir;;
53343 as_dirs
="'$as_qdir' $as_dirs"
53344 as_dir
=`$as_dirname -- "$as_dir" ||
53345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53346 X"$as_dir" : 'X\(//\)[^/]' \| \
53347 X"$as_dir" : 'X\(//\)$' \| \
53348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53354 /^X\(\/\/\)[^/].*/{
53367 test -d "$as_dir" && break
53369 test -z "$as_dirs" || eval "mkdir $as_dirs"
53370 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53371 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53372 { (exit 1); exit 1; }; }; }
53376 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53378 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53379 # A ".." for each directory in $ac_dir_suffix.
53380 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53381 case $ac_top_builddir_sub in
53382 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53383 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53386 ac_abs_top_builddir
=$ac_pwd
53387 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53388 # for backward compatibility:
53389 ac_top_builddir
=$ac_top_build_prefix
53392 .
) # We are building in place.
53394 ac_top_srcdir
=$ac_top_builddir_sub
53395 ac_abs_top_srcdir
=$ac_pwd ;;
53396 [\\/]* | ?
:[\\/]* ) # Absolute name.
53397 ac_srcdir
=$srcdir$ac_dir_suffix;
53398 ac_top_srcdir
=$srcdir
53399 ac_abs_top_srcdir
=$srcdir ;;
53400 *) # Relative name.
53401 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53402 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53403 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53405 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53410 # Check for guested configure; otherwise get Cygnus style configure.
53411 if test -f "$ac_srcdir/configure.gnu"; then
53412 ac_sub_configure
=$ac_srcdir/configure.gnu
53413 elif test -f "$ac_srcdir/configure"; then
53414 ac_sub_configure
=$ac_srcdir/configure
53415 elif test -f "$ac_srcdir/configure.in"; then
53416 # This should be Cygnus configure.
53417 ac_sub_configure
=$ac_aux_dir/configure
53419 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53420 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53424 # The recursion is here.
53425 if test -n "$ac_sub_configure"; then
53426 # Make the cache file name correct relative to the subdirectory.
53427 case $cache_file in
53428 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53429 *) # Relative name.
53430 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53433 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53434 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53435 # The eval makes quoting arguments work.
53436 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53437 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53438 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53439 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53440 { (exit 1); exit 1; }; }
53449 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53451 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53452 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53453 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53454 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53455 if test "$wxUSE_UNICODE" = "yes"; then
53456 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53457 echo " (using UTF-8)"
53459 echo " (using wchar_t)"
53465 echo " What level of wxWidgets compatibility should be enabled?"
53466 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53467 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53469 echo " Which libraries should wxWidgets use?"
53470 echo " STL ${wxUSE_STL}"
53471 echo " jpeg ${wxUSE_LIBJPEG-none}"
53472 echo " png ${wxUSE_LIBPNG-none}"
53473 echo " regex ${wxUSE_REGEX}"
53474 echo " tiff ${wxUSE_LIBTIFF-none}"
53475 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53476 echo " xpm ${wxUSE_LIBXPM-none}"
53478 echo " zlib ${wxUSE_ZLIB}"
53479 echo " expat ${wxUSE_EXPAT}"
53480 echo " libmspack ${wxUSE_LIBMSPACK}"
53481 echo " sdl ${wxUSE_LIBSDL}"