2 # From configure.in Id: configure.in 56641 2008-11-02 02:16:09Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
757 SAMPLES_RPATH_POSTLINK
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_DFB_USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
929 COND_TOOLKIT_MGL_USE_GUI_1
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11_USE_GUI_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSOLARIS_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1020 WXCONFIG_LDFLAGS_GUI
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1043 ac_precious_vars
='build_alias
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1077 ac_subdirs_all
='src/tiff
1080 # Initialize some variables set by options.
1082 ac_init_version
=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file
=/dev
/null
1092 program_transform_name
=s
,x
,x
,
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir
='${exec_prefix}/bin'
1107 sbindir
='${exec_prefix}/sbin'
1108 libexecdir
='${exec_prefix}/libexec'
1109 datarootdir
='${prefix}/share'
1110 datadir
='${datarootdir}'
1111 sysconfdir
='${prefix}/etc'
1112 sharedstatedir
='${prefix}/com'
1113 localstatedir
='${prefix}/var'
1114 includedir
='${prefix}/include'
1115 oldincludedir
='/usr/include'
1116 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir
='${datarootdir}/info'
1122 libdir
='${exec_prefix}/lib'
1123 localedir
='${datarootdir}/locale'
1124 mandir
='${datarootdir}/man'
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\
$ac_option
1138 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1144 case $ac_dashdash$ac_option in
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir
=$ac_optarg ;;
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev
=build_alias
;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias
=$ac_optarg ;;
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev
=cache_file
;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file
=$ac_optarg ;;
1165 --config-cache | -C)
1166 cache_file
=config.cache
;;
1168 -datadir | --datadir | --datadi | --datad)
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir
=$ac_optarg ;;
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev
=datarootdir
;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir
=$ac_optarg ;;
1180 -disable-* | --disable-*)
1181 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_
$ac_feature=no
;;
1189 -docdir | --docdir | --docdi | --doc | --do)
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir
=$ac_optarg ;;
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir
=$ac_optarg ;;
1199 -enable-* | --enable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=\
$ac_optarg ;;
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev
=exec_prefix
;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix
=$ac_optarg ;;
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help
=long
;;
1223 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1224 ac_init_help
=recursive
;;
1225 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1226 ac_init_help
=short
;;
1228 -host | --host | --hos | --ho)
1229 ac_prev
=host_alias
;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias
=$ac_optarg ;;
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 htmldir
=$ac_optarg ;;
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev
=includedir
;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir
=$ac_optarg ;;
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir
=$ac_optarg ;;
1251 -libdir | --libdir | --libdi | --libd)
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir
=$ac_optarg ;;
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev
=libexecdir
;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir
=$ac_optarg ;;
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev
=localedir
;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir
=$ac_optarg ;;
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev
=localstatedir
;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir
=$ac_optarg ;;
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir
=$ac_optarg ;;
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev
=oldincludedir
;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir
=$ac_optarg ;;
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix
=$ac_optarg ;;
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev
=program_prefix
;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix
=$ac_optarg ;;
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev
=program_suffix
;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix
=$ac_optarg ;;
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev
=program_transform_name
;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name
=$ac_optarg ;;
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir
=$ac_optarg ;;
1342 -psdir | --psdir | --psdi | --psd | --ps)
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 sbindir
=$ac_optarg ;;
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1361 ac_prev
=sharedstatedir
;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 sharedstatedir
=$ac_optarg ;;
1368 -site | --site | --sit)
1370 -site=* | --site=* | --sit=*)
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir
=$ac_optarg ;;
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev
=sysconfdir
;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir
=$ac_optarg ;;
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev
=target_alias
;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias
=$ac_optarg ;;
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version
=: ;;
1397 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_
$ac_package=\
$ac_optarg ;;
1405 -without-* | --without-*)
1406 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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=no
;;
1415 # Obsolete; use --with-x.
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev
=x_includes
;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes
=$ac_optarg ;;
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev
=x_libraries
;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries
=$ac_optarg ;;
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1438 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\
$ac_optarg
1444 export $ac_envvar ;;
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1457 if test -n "$ac_prev"; then
1458 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1463 # Be sure to have absolute directory names.
1464 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1469 eval ac_val
=\$
$ac_var
1471 [\\/$
]* | ?
:[\\/]* ) continue;;
1472 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1483 target
=$target_alias
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x
; then
1487 if test "x$build_alias" = x
; then
1488 cross_compiling
=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1497 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1499 test "$silent" = yes && exec 6>/dev
/null
1502 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di
=`ls -di .` &&
1504 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted
=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir
=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1544 ac_srcdir_defaulted
=no
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1551 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1564 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 for ac_var
in $ac_precious_vars; do
1567 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1568 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1569 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1570 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1574 # Report the --help message.
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1587 Defaults for the options are specified in brackets.
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1611 For better control, use the options below.
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1638 --x-includes=DIR X include files are
in DIR
1639 --x-libraries=DIR X library files are
in DIR
1642 --build=BUILD configure
for building on BUILD
[guessed
]
1643 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1644 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1655 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1656 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1657 --disable-gui don
't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets
2.6 compatibility
1692 --disable-compat28 disable wxWidgets
2.8 compatibility
1693 --disable-rpath disable use of rpath
for uninstalled builds
1694 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even
if supported
1696 --enable-intl use internationalization system
1697 --enable-xlocale use x
-locale support
(requires wxLocale
)
1698 --enable-config use wxConfig
(and derived
) classes
1699 --enable-protocols use wxProtocol and derived classes
1700 --enable-ftp use wxFTP
(requires wxProtocol
1701 --enable-http use wxHTTP
(requires wxProtocol
1702 --enable-fileproto use wxFileProto class
(requires wxProtocol
1703 --enable-sockets use socket
/network classes
1704 --enable-ipv6 enable IPv6 support
in wxSocket
1705 --enable-ole use OLE classes
(Win32 only
)
1706 --enable-dataobj use data object classes
1707 --enable-ipc use interprocess communication
(wxSocket etc.
)
1708 --enable-baseevtloop use event loop
in console programs too
1709 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1710 --enable-selectloop use wxSelectDispatcher class
1711 --enable-apple_ieee use the Apple IEEE codec
1712 --enable-arcstream use wxArchive streams
1713 --enable-base64 use base64 encoding
/decoding functions
1714 --enable-backtrace use wxStackWalker class
for getting backtraces
1715 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1716 --enable-cmdline use wxCmdLineParser class
1717 --enable-datetime use wxDateTime class
1718 --enable-debugreport use wxDebugReport class
1719 --enable-dialupman use dialup network classes
1720 --enable-dynlib use wxLibrary class
for DLL loading
1721 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1722 --enable-exceptions build exception
-safe library
1723 --enable-ffile use wxFFile class
1724 --enable-file use wxFile class
1725 --enable-filesystem use virtual
file systems classes
1726 --enable-fontenum use wxFontEnumerator class
1727 --enable-fontmap use font encodings conversion classes
1728 --enable-fs_archive use virtual archive filesystems
1729 --enable-fs_inet use virtual HTTP
/FTP filesystems
1730 --enable-fs_zip now replaced by fs_archive
1731 --enable-geometry use geometry class
1732 --enable-log use logging system
1733 --enable-longlong use wxLongLong class
1734 --enable-mimetype use wxMimeTypesManager
1735 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1736 --enable-snglinst use wxSingleInstanceChecker class
1737 --enable-sound use wxSound class
1738 --enable-stdpaths use wxStandardPaths class
1739 --enable-stopwatch use wxStopWatch class
1740 --enable-streams use wxStream etc classes
1741 --enable-sysoptions use wxSystemOptions
1742 --enable-tarstream use wxTar streams
1743 --enable-textbuf use wxTextBuffer class
1744 --enable-textfile use wxTextFile class
1745 --enable-timer use wxTimer class
1746 --enable-variant use wxVariant class
1747 --enable-zipstream use wxZip streams
1748 --enable-url use wxURL class
1749 --enable-protocol use wxProtocol class
1750 --enable-protocol-http HTTP support
in wxProtocol
1751 --enable-protocol-ftp FTP support
in wxProtocol
1752 --enable-protocol-file FILE support
in wxProtocol
1753 --enable-threads use threads
1754 --enable-iniconf use wxIniConfig
(Win32 only
)
1755 --enable-regkey use wxRegKey class
(Win32 only
)
1756 --enable-docview use document view architecture
1757 --enable-help use
help subsystem
1758 --enable-mshtmlhelp use MS HTML Help
(win32
)
1759 --enable-html use wxHTML sub
-library
1760 --enable-htmlhelp use wxHTML
-based help
1761 --enable-xrc use XRC resources sub
-library
1762 --enable-aui use AUI docking library
1763 --enable-propgrid use wxPropertyGrid library
1764 --enable-stc use wxStyledTextCtrl library
1765 --enable-constraints use layout
-constraints system
1766 --enable-loggui use standard GUI logger
1767 --enable-logwin use wxLogWindow
1768 --enable-logdialog use wxLogDialog
1769 --enable-mdi use multiple document interface architecture
1770 --enable-mdidoc use docview architecture with MDI
1771 --enable-mediactrl use wxMediaCtrl class
1772 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1773 --enable-webkit use wxWebKitCtrl
(Mac
)
1774 --enable-richtext use wxRichTextCtrl
1775 --enable-graphics_ctx use graphics context
2D drawing API
1776 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1777 --enable-printarch use printing architecture
1778 --enable-svg use wxSVGFileDC device context
1779 --enable-clipboard use wxClipboard class
1780 --enable-dnd use Drag
'n'Drop classes
1781 --enable-metafile use win32 metafiles
1782 --disable-controls disable compilation of all standard controls
1783 --enable-accel use accelerators
1784 --enable-animatectrl use wxAnimationCtrl class
1785 --enable-button use wxButton class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-calendar use wxCalendarCtrl class
1789 --enable-caret use wxCaret class
1790 --enable-checkbox use wxCheckBox class
1791 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1792 --enable-choice use wxChoice class
1793 --enable-choicebook use wxChoicebook class
1794 --enable-collpane use wxCollapsiblePane class
1795 --enable-colourpicker use wxColourPickerCtrl class
1796 --enable-combobox use wxComboBox class
1797 --enable-comboctrl use wxComboCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-dirpicker use wxDirPickerCtrl class
1800 --enable-display use wxDisplay class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filepicker use wxFilePickerCtrl class
1804 --enable-filectrl use wxFileCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-dataviewctrl use wxDataViewCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-radiobox use wxRadioBox class
1818 --enable-radiobtn use wxRadioButton class
1819 --enable-sash use wxSashWindow class
1820 --enable-scrollbar use wxScrollBar class and scrollable windows
1821 --enable-searchctrl use wxSearchCtrl class
1822 --enable-slider use wxSlider class
1823 --enable-spinbtn use wxSpinButton class
1824 --enable-spinctrl use wxSpinCtrl class
1825 --enable-splitter use wxSplitterWindow class
1826 --enable-statbmp use wxStaticBitmap class
1827 --enable-statbox use wxStaticBox class
1828 --enable-statline use wxStaticLine class
1829 --enable-stattext use wxStaticText class
1830 --enable-statusbar use wxStatusBar class
1831 --enable-tabdialog use wxTabControl class
1832 --enable-taskbaricon use wxTaskBarIcon class
1833 --enable-textctrl use wxTextCtrl class
1834 --enable-togglebtn use wxToggleButton class
1835 --enable-toolbar use wxToolBar class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-treebook use wxTreebook class
1838 --enable-toolbook use wxToolbook class
1839 --enable-treectrl use wxTreeCtrl class
1840 --enable-tipwindow use wxTipWindow class
1841 --enable-popupwin use wxPopUpWindow class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile
(Win32 only
)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images
(GIF
file format
)
1871 --enable-pcx use pcx images
(PCX
file format
)
1872 --enable-tga use tga images
(TGA
file format
)
1873 --enable-iff use iff images
(IFF
file format
)
1874 --enable-pnm use pnm images
(PNM
file format
)
1875 --enable-xpm use xpm images
(XPM
file format
)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1878 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1879 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1880 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1881 --enable-wxdib use wxDIB class
(Win32 only
)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support
for large files
1884 --disable-gtktest do not try to compile and run a
test GTK
+ program
1885 --disable-gtktest Do not try to compile and run a
test GTK program
1886 --disable-sdltest Do not try to compile and run a
test SDL program
1887 --enable-omf use OMF object format
(OS
/2)
1888 --disable-dependency-tracking
1889 don
't use dependency tracking even if the compiler
1891 --disable-precomp-headers
1892 don't use precompiled headers even
if compiler can
1895 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1896 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1897 --without-subdirs don
't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don
't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1953 C compiler flags for DIRECTFB, overriding pkg-config
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1961 C compiler flags for PANGOFT2, overriding pkg-config
1963 linker flags for PANGOFT2, overriding pkg-config
1965 C compiler flags for PANGOXFT, overriding pkg-config
1967 linker flags for PANGOXFT, overriding pkg-config
1969 C compiler flags for GTKPRINT, overriding pkg-config
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1979 linker flags for GNOMEVFS, overriding pkg-config
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1989 Use these variables to override the choices made by `configure' or to
help
1990 it to
find libraries and programs with nonstandard names
/locations.
1992 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2000 test -d "$ac_dir" || continue
2004 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2006 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2011 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2014 ac_abs_top_builddir
=$ac_pwd
2015 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir
=$ac_top_build_prefix
2020 .
) # We are building in place.
2022 ac_top_srcdir
=$ac_top_builddir_sub
2023 ac_abs_top_srcdir
=$ac_pwd ;;
2024 [\\/]* | ?
:[\\/]* ) # Absolute name.
2025 ac_srcdir
=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir
=$srcdir
2027 ac_abs_top_srcdir
=$srcdir ;;
2029 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2033 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2035 cd "$ac_dir" || { ac_status
=$?
; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2046 cd "$ac_pwd" || { ac_status
=$?
; break; }
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2053 wxWidgets configure
2.9.0
2054 generated by GNU Autoconf
2.61
2056 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2058 This configure
script is free software
; the Free Software Foundation
2059 gives unlimited permission to copy
, distribute and modify it.
2063 cat >config.log
<<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir
=.
2104 echo "PATH: $as_dir"
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_must_keep_next
=false
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2139 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2144 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true
; then
2146 ac_must_keep_next
=false
# Got value, back to normal.
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 -* ) ac_must_keep_next
=true
;;
2160 ac_configure_args
="$ac_configure_args '$ac_arg'"
2165 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2166 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2221 for ac_var in $ac_subst_vars
2223 eval ac_val=\$$ac_var
2225 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 echo "$ac_var='\''$ac_val'\''"
2231 if test -n "$ac_subst_files"; then
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2238 for ac_var
in $ac_subst_files
2240 eval ac_val
=\$
$ac_var
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244 echo "$ac_var='\''$ac_val'\''"
2249 if test -s confdefs.h; then
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 for ac_signal
in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest
* confdefs.h
2275 # Predefined preprocessor variables.
2277 cat >>confdefs.h
<<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 cat >>confdefs.h
<<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 cat >>confdefs.h
<<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x
"$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE
; then
2307 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2309 set x
"$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2330 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2331 *) .
"./$cache_file";;
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2340 # Check that the precious variables saved in the cache have kept the same
2342 ac_cache_corrupted
=false
2343 for ac_var
in $ac_precious_vars; do
2344 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2345 eval ac_new_set
=\
$ac_env_${ac_var}_set
2346 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2347 eval ac_new_val
=\
$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted
=: ;;
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted
=: ;;
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted
=:
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2372 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg
=$ac_var=$ac_new_val ;;
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2414 ac_cpp
='$CPP $CPPFLAGS'
2415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2424 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2427 ac_install_sh
="$ac_aux_dir/install-sh -c"
2429 elif test -f "$ac_dir/install.sh"; then
2431 ac_install_sh
="$ac_aux_dir/install.sh -c"
2433 elif test -f "$ac_dir/shtool"; then
2435 ac_install_sh
="$ac_aux_dir/shtool install -c"
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 ac_build_alias
=$build_alias
2466 test "x$ac_build_alias" = x
&&
2467 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x
&&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS
=$IFS; IFS
='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$host_alias" = x
; then
2506 ac_cv_host
=$ac_cv_build
2508 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2524 ac_save_IFS
=$IFS; IFS
='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2537 { echo "$as_me:$LINENO: checking target system type" >&5
2538 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2539 if test "${ac_cv_target+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 if test "x$target_alias" = x
; then
2543 ac_cv_target
=$ac_cv_host
2545 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2546 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2547 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2548 { (exit 1); exit 1; }; }
2552 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2553 echo "${ECHO_T}$ac_cv_target" >&6; }
2554 case $ac_cv_target in
2556 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2557 echo "$as_me: error: invalid value of canonical target" >&2;}
2558 { (exit 1); exit 1; }; };;
2560 target
=$ac_cv_target
2561 ac_save_IFS
=$IFS; IFS
='-'
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2571 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2574 # The aliases save the names the user supplied, while $host etc.
2575 # will get canonicalized.
2576 test -n "$target_alias" &&
2577 test "$program_prefix$program_suffix$program_transform_name" = \
2579 program_prefix
=${target_alias}-
2583 wx_major_version_number
=2
2584 wx_minor_version_number
=9
2586 wx_subrelease_number
=0
2588 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2589 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2590 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2592 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595 wx_top_builddir
="`pwd`"
2608 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2614 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2622 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2624 DEFAULT_wxUSE_COCOA
=0
2626 DEFAULT_wxUSE_OSX_CARBON
=0
2627 DEFAULT_wxUSE_OSX_COCOA
=0
2629 DEFAULT_wxUSE_MICROWIN
=0
2630 DEFAULT_wxUSE_MOTIF
=0
2636 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2637 DEFAULT_DEFAULT_wxUSE_GTK
=0
2638 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2639 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2640 DEFAULT_DEFAULT_wxUSE_MGL
=0
2641 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2642 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2643 DEFAULT_DEFAULT_wxUSE_MSW
=0
2644 DEFAULT_DEFAULT_wxUSE_PM
=0
2645 DEFAULT_DEFAULT_wxUSE_X11
=0
2646 DEFAULT_DEFAULT_wxUSE_DFB
=0
2651 SAMPLES_RPATH_POSTLINK
=
2653 DEFAULT_STD_FLAG
=yes
2658 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2659 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2661 cat >>confdefs.h
<<\_ACEOF
2666 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2670 cat >>confdefs.h
<<\_ACEOF
2675 if test "x$TMP" = "xalpha"; then
2677 cat >>confdefs.h
<<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_GTK
=1
2684 *-*-gnu* | *-*-k*bsd
*-gnu )
2687 if test "x$TMP" = "xalpha"; then
2689 cat >>confdefs.h
<<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK
=1
2696 *-*-irix5* | *-*-irix6* )
2699 cat >>confdefs.h
<<\_ACEOF
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2713 cat >>confdefs.h
<<\_ACEOF
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __SOLARIS__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2732 cat >>confdefs.h
<<\_ACEOF
2736 cat >>confdefs.h
<<\_ACEOF
2740 cat >>confdefs.h
<<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2749 cat >>confdefs.h
<<\_ACEOF
2750 #define __FREEBSD__ 1
2753 cat >>confdefs.h
<<\_ACEOF
2757 DEFAULT_DEFAULT_wxUSE_GTK
=1
2759 *-*-openbsd*|*-*-mirbsd*)
2762 cat >>confdefs.h
<<\_ACEOF
2763 #define __OPENBSD__ 1
2766 cat >>confdefs.h
<<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_GTK
=1
2775 cat >>confdefs.h
<<\_ACEOF
2776 #define __NETBSD__ 1
2779 cat >>confdefs.h
<<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_GTK
=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2786 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2791 cat >>confdefs.h
<<\_ACEOF
2795 cat >>confdefs.h
<<\_ACEOF
2799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2833 cat >>confdefs.h
<<\_ACEOF
2837 cat >>confdefs.h
<<\_ACEOF
2841 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2852 cat >>confdefs.h
<<\_ACEOF
2853 #define __UNIXWARE__ 1
2858 *-*-cygwin* | *-*-mingw32* )
2861 DEFAULT_DEFAULT_wxUSE_MSW
=1
2867 cat >>confdefs.h
<<\_ACEOF
2872 DEFAULT_DEFAULT_wxUSE_MGL
=1
2875 *-pc-os2_emx | *-pc-os2-emx )
2876 cat >>confdefs.h
<<\_ACEOF
2881 cat >>confdefs.h
<<\_ACEOF
2886 DEFAULT_DEFAULT_wxUSE_PM
=1
2888 LDFLAGS
="$LDFLAGS -Zcrtdll"
2889 ac_executable_extensions
=".exe"
2890 export ac_executable_extensions
2894 for ac_dir
in $PATH; do
2896 if test -z "$ac_TEMP_PATH"; then
2897 ac_TEMP_PATH
="$ac_dir"
2899 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2902 export PATH
="$ac_TEMP_PATH"
2911 cat >>confdefs.h
<<\_ACEOF
2915 cat >>confdefs.h
<<\_ACEOF
2916 #define __DARWIN__ 1
2919 cat >>confdefs.h
<<\_ACEOF
2920 #define TARGET_CARBON 1
2923 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2926 powerpc
-apple-macos* )
2928 ac_cv_c_bigendian
=yes
2930 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2936 cat >>confdefs.h
<<\_ACEOF
2943 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2944 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2945 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2946 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2948 DEFAULT_DEFAULT_wxUSE_X11
=1
2949 DEFAULT_wxUSE_SHARED
=no
2954 DEFAULT_wxUSE_ALL_FEATURES
=yes
2956 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2957 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2959 DEFAULT_wxUSE_DMALLOC
=no
2960 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2961 DEFAULT_wxUSE_LIBHILDON
=no
2962 DEFAULT_wxUSE_LIBMSPACK
=no
2963 DEFAULT_wxUSE_LIBSDL
=no
2964 DEFAULT_wxUSE_OPENGL
=no
2966 DEFAULT_wxUSE_ACCESSIBILITY
=no
2967 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2968 DEFAULT_wxUSE_IPV6
=no
2969 DEFAULT_wxUSE_MEDIACTRL
=no
2970 DEFAULT_wxUSE_TAB_DIALOG
=no
2971 DEFAULT_wxUSE_GSTREAMER8
=no
2973 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2974 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2976 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2978 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2980 DEFAULT_wxUSE_GTK2
=yes
2982 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2988 enablestring
=disable
2990 if test -z "$defaultval"; then
2991 if test x
"$enablestring" = xdisable
; then
2998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2999 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3000 # Check whether --enable-gui was given.
3001 if test "${enable_gui+set}" = set; then
3002 enableval
=$enable_gui;
3003 if test "$enableval" = yes; then
3004 wx_cv_use_gui
='wxUSE_GUI=yes'
3006 wx_cv_use_gui
='wxUSE_GUI=no'
3011 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3016 eval "$wx_cv_use_gui"
3018 if test x"$enablestring" = xdisable; then
3019 if test $wxUSE_GUI = yes; then
3028 { echo "$as_me:$LINENO: result: $result" >&5
3029 echo "${ECHO_T}$result" >&6; }
3034 if test -z "$defaultval"; then
3035 if test x"$enablestring" = xdisable; then
3042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3043 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3044 # Check whether --enable-monolithic was given.
3045 if test "${enable_monolithic+set}" = set; then
3046 enableval=$enable_monolithic;
3047 if test "$enableval" = yes; then
3048 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3055 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3060 eval "$wx_cv_use_monolithic"
3062 if test x"$enablestring" = xdisable; then
3063 if test $wxUSE_MONOLITHIC = yes; then
3069 result=$wxUSE_MONOLITHIC
3072 { echo "$as_me:$LINENO: result
: $result" >&5
3073 echo "${ECHO_T}$result" >&6; }
3078 if test -z "$defaultval"; then
3079 if test x"$enablestring" = xdisable; then
3086 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3087 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3088 # Check whether --enable-plugins was given.
3089 if test "${enable_plugins+set}" = set; then
3090 enableval=$enable_plugins;
3091 if test "$enableval" = yes; then
3092 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3094 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3099 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3104 eval "$wx_cv_use_plugins"
3106 if test x
"$enablestring" = xdisable
; then
3107 if test $wxUSE_PLUGINS = yes; then
3113 result
=$wxUSE_PLUGINS
3116 { echo "$as_me:$LINENO: result: $result" >&5
3117 echo "${ECHO_T}$result" >&6; }
3121 defaultval
=$wxUSE_ALL_FEATURES
3122 if test -z "$defaultval"; then
3123 if test x
"$withstring" = xwithout
; then
3129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3130 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3132 # Check whether --with-subdirs was given.
3133 if test "${with_subdirs+set}" = set; then
3134 withval
=$with_subdirs;
3135 if test "$withval" = yes; then
3136 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3138 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3143 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3148 eval "$wx_cv_use_subdirs"
3150 if test x"$withstring" = xwithout; then
3151 if test $wxWITH_SUBDIRS = yes; then
3157 result=$wxWITH_SUBDIRS
3160 { echo "$as_me:$LINENO: result: $result" >&5
3161 echo "${ECHO_T}$result" >&6; }
3164 # Check whether --with-flavour was given.
3165 if test "${with_flavour+set}" = set; then
3166 withval=$with_flavour; WX_FLAVOUR="$withval"
3172 if test -z "$defaultval"; then
3173 if test x"$enablestring" = xdisable; then
3180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3181 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3182 # Check whether --enable-official_build was given.
3183 if test "${enable_official_build+set}" = set; then
3184 enableval=$enable_official_build;
3185 if test "$enableval" = yes; then
3186 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3188 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3193 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3198 eval "$wx_cv_use_official_build"
3200 if test x"$enablestring" = xdisable; then
3201 if test $wxUSE_OFFICIAL_BUILD = yes; then
3207 result=$wxUSE_OFFICIAL_BUILD
3210 { echo "$as_me:$LINENO: result
: $result" >&5
3211 echo "${ECHO_T}$result" >&6; }
3213 # Check whether --enable-vendor was given.
3214 if test "${enable_vendor+set}" = set; then
3215 enableval=$enable_vendor; VENDOR="$enableval"
3218 if test "x
$VENDOR" = "x
"; then
3223 enablestring=disable
3225 if test -z "$defaultval"; then
3226 if test x"$enablestring" = xdisable; then
3233 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3234 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3235 # Check whether --enable-all-features was given.
3236 if test "${enable_all_features+set}" = set; then
3237 enableval=$enable_all_features;
3238 if test "$enableval" = yes; then
3239 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3241 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3246 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3251 eval "$wx_cv_use_all_features"
3253 if test x
"$enablestring" = xdisable
; then
3254 if test $wxUSE_ALL_FEATURES = yes; then
3260 result
=$wxUSE_ALL_FEATURES
3263 { echo "$as_me:$LINENO: result: $result" >&5
3264 echo "${ECHO_T}$result" >&6; }
3268 if test "$wxUSE_GUI" = "yes"; then
3273 if test -z "$defaultval"; then
3274 if test x
"$enablestring" = xdisable
; then
3281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3282 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3283 # Check whether --enable-universal was given.
3284 if test "${enable_universal+set}" = set; then
3285 enableval
=$enable_universal;
3286 if test "$enableval" = yes; then
3287 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3289 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3294 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3299 eval "$wx_cv_use_universal"
3301 if test x"$enablestring" = xdisable; then
3302 if test $wxUSE_UNIVERSAL = yes; then
3308 result=$wxUSE_UNIVERSAL
3311 { echo "$as_me:$LINENO: result: $result" >&5
3312 echo "${ECHO_T}$result" >&6; }
3314 if test "$wxUSE_UNIVERSAL" = "yes"; then
3316 # Check whether --with-themes was given.
3317 if test "${with_themes+set}" = set; then
3318 withval=$with_themes; wxUNIV_THEMES="$withval"
3324 # Check whether --with-gtk was given.
3325 if test "${with_gtk+set}" = set; then
3326 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-motif was given.
3331 if test "${with_motif+set}" = set; then
3332 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-osx_carbon was given.
3337 if test "${with_osx_carbon+set}" = set; then
3338 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-osx_cocoa was given.
3343 if test "${with_osx_cocoa+set}" = set; then
3344 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-mac was given.
3349 if test "${with_mac+set}" = set; then
3350 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-cocoa was given.
3355 if test "${with_cocoa+set}" = set; then
3356 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-wine was given.
3361 if test "${with_wine+set}" = set; then
3362 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3366 # Check whether --with-msw was given.
3367 if test "${with_msw+set}" = set; then
3368 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-pm was given.
3373 if test "${with_pm+set}" = set; then
3374 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-mgl was given.
3379 if test "${with_mgl+set}" = set; then
3380 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-directfb was given.
3385 if test "${with_directfb+set}" = set; then
3386 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-microwin was given.
3391 if test "${with_microwin+set}" = set; then
3392 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-x11 was given.
3397 if test "${with_x11+set}" = set; then
3398 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3404 if test -z "$defaultval"; then
3405 if test x"$enablestring" = xdisable; then
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3414 # Check whether --enable-nanox was given.
3415 if test "${enable_nanox+set}" = set; then
3416 enableval=$enable_nanox;
3417 if test "$enableval" = yes; then
3418 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3420 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3425 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3430 eval "$wx_cv_use_nanox"
3432 if test x"$enablestring" = xdisable; then
3433 if test $wxUSE_NANOX = yes; then
3442 { echo "$as_me:$LINENO: result
: $result" >&5
3443 echo "${ECHO_T}$result" >&6; }
3446 # Check whether --enable-gtk2 was given.
3447 if test "${enable_gtk2+set}" = set; then
3448 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3454 if test -z "$defaultval"; then
3455 if test x"$enablestring" = xdisable; then
3462 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3463 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3464 # Check whether --enable-gpe was given.
3465 if test "${enable_gpe+set}" = set; then
3466 enableval=$enable_gpe;
3467 if test "$enableval" = yes; then
3468 wx_cv_use_gpe='wxUSE_GPE=yes'
3470 wx_cv_use_gpe='wxUSE_GPE=no'
3475 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3480 eval "$wx_cv_use_gpe"
3482 if test x
"$enablestring" = xdisable
; then
3483 if test $wxUSE_GPE = yes; then
3492 { echo "$as_me:$LINENO: result: $result" >&5
3493 echo "${ECHO_T}$result" >&6; }
3497 { echo "$as_me:$LINENO: checking for toolkit" >&5
3498 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3502 # In Wine, we need to default to MSW, not GTK or MOTIF
3503 if test "$wxUSE_WINE" = "yes"; then
3504 DEFAULT_DEFAULT_wxUSE_GTK
=0
3505 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3506 DEFAULT_DEFAULT_wxUSE_MSW
=1
3513 if test "$wxUSE_GUI" = "yes"; then
3515 if test "$USE_BEOS" = 1; then
3516 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3517 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3518 { (exit 1); exit 1; }; }
3521 if test "$TOOLKIT_GIVEN" = 1; then
3522 for toolkit
in $ALL_TOOLKITS; do
3524 eval "value=\$${var}"
3525 if test "x$value" = "xno"; then
3527 elif test "x$value" != "x"; then
3531 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3532 eval "wx${toolkit}_VERSION=$value"
3536 for toolkit
in $ALL_TOOLKITS; do
3537 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3538 eval "wxUSE_$toolkit=\$${var}"
3542 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3543 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3544 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3547 *-pc-os2_emx | *-pc-os2-emx )
3548 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3551 case "$NUM_TOOLKITS" in
3555 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3556 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3557 { (exit 1); exit 1; }; }
3560 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3561 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3562 { (exit 1); exit 1; }; }
3565 # to be removed when --disable-gtk2 isn't needed
3566 if test "x$wxUSE_GTK2" = "xyes"; then
3568 elif test "x$wxUSE_GTK2" = "xno"; then
3572 for toolkit
in $ALL_TOOLKITS; do
3574 eval "value=\$${var}"
3575 if test "$value" = 1; then
3576 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3577 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3578 echo "${ECHO_T}$toolkit_echo" >&6; }
3582 if test "x$host_alias" != "x"; then
3583 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3584 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3586 { echo "$as_me:$LINENO: result: base only" >&5
3587 echo "${ECHO_T}base only" >&6; }
3592 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3598 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3599 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3601 # Check whether --with-libpng was given.
3602 if test "${with_libpng+set}" = set; then
3603 withval
=$with_libpng;
3604 if test "$withval" = yes; then
3605 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3606 elif test "$withval" = no
; then
3607 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3608 elif test "$withval" = sys
; then
3609 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3610 elif test "$withval" = builtin; then
3611 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3620 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3625 eval "$wx_cv_use_libpng"
3627 if test "$wxUSE_LIBPNG" = yes; then
3628 { echo "$as_me:$LINENO: result: yes" >&5
3629 echo "${ECHO_T}yes" >&6; }
3630 elif test "$wxUSE_LIBPNG" = no; then
3631 { echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6; }
3633 elif test "$wxUSE_LIBPNG" = sys; then
3634 { echo "$as_me:$LINENO: result: system version" >&5
3635 echo "${ECHO_T}system version" >&6; }
3636 elif test "$wxUSE_LIBPNG" = builtin; then
3637 { echo "$as_me:$LINENO: result: builtin version" >&5
3638 echo "${ECHO_T}builtin version" >&6; }
3640 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3641 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3642 { (exit 1); exit 1; }; }
3646 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3647 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3649 # Check whether --with-libjpeg was given.
3650 if test "${with_libjpeg+set}" = set; then
3651 withval=$with_libjpeg;
3652 if test "$withval" = yes; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3654 elif test "$withval" = no; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3656 elif test "$withval" = sys; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3658 elif test "$withval" = builtin; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3668 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3673 eval "$wx_cv_use_libjpeg"
3675 if test "$wxUSE_LIBJPEG" = yes; then
3676 { echo "$as_me:$LINENO: result
: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = no; then
3679 { echo "$as_me:$LINENO: result
: no
" >&5
3680 echo "${ECHO_T}no
" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = sys; then
3682 { echo "$as_me:$LINENO: result
: system version
" >&5
3683 echo "${ECHO_T}system version
" >&6; }
3684 elif test "$wxUSE_LIBJPEG" = builtin; then
3685 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3686 echo "${ECHO_T}builtin version
" >&6; }
3688 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3689 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3690 { (exit 1); exit 1; }; }
3694 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3695 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3697 # Check whether --with-libtiff was given.
3698 if test "${with_libtiff+set}" = set; then
3699 withval=$with_libtiff;
3700 if test "$withval" = yes; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3702 elif test "$withval" = no; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3704 elif test "$withval" = sys; then
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3706 elif test "$withval" = builtin; then
3707 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3709 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3710 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3716 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3721 eval "$wx_cv_use_libtiff"
3723 if test "$wxUSE_LIBTIFF" = yes; then
3724 { echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = no
; then
3727 { echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6; }
3729 elif test "$wxUSE_LIBTIFF" = sys
; then
3730 { echo "$as_me:$LINENO: result: system version" >&5
3731 echo "${ECHO_T}system version" >&6; }
3732 elif test "$wxUSE_LIBTIFF" = builtin; then
3733 { echo "$as_me:$LINENO: result: builtin version" >&5
3734 echo "${ECHO_T}builtin version" >&6; }
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3742 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3743 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3745 # Check whether --with-libxpm was given.
3746 if test "${with_libxpm+set}" = set; then
3747 withval
=$with_libxpm;
3748 if test "$withval" = yes; then
3749 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3750 elif test "$withval" = no
; then
3751 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3752 elif test "$withval" = sys
; then
3753 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3754 elif test "$withval" = builtin; then
3755 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3764 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3769 eval "$wx_cv_use_libxpm"
3771 if test "$wxUSE_LIBXPM" = yes; then
3772 { echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6; }
3774 elif test "$wxUSE_LIBXPM" = no; then
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3777 elif test "$wxUSE_LIBXPM" = sys; then
3778 { echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6; }
3780 elif test "$wxUSE_LIBXPM" = builtin; then
3781 { echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6; }
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3791 defaultval=$wxUSE_ALL_FEATURES
3792 if test -z "$defaultval"; then
3793 if test x"$withstring" = xwithout; then
3799 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3800 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3802 # Check whether --with-libiconv was given.
3803 if test "${with_libiconv+set}" = set; then
3804 withval=$with_libiconv;
3805 if test "$withval" = yes; then
3806 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3808 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3813 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3818 eval "$wx_cv_use_libiconv"
3820 if test x"$withstring" = xwithout; then
3821 if test $wxUSE_LIBICONV = yes; then
3827 result=$wxUSE_LIBICONV
3830 { echo "$as_me:$LINENO: result
: $result" >&5
3831 echo "${ECHO_T}$result" >&6; }
3835 defaultval=$wxUSE_ALL_FEATURES
3836 if test -z "$defaultval"; then
3837 if test x"$withstring" = xwithout; then
3843 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3844 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3846 # Check whether --with-libmspack was given.
3847 if test "${with_libmspack+set}" = set; then
3848 withval=$with_libmspack;
3849 if test "$withval" = yes; then
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3852 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3857 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3862 eval "$wx_cv_use_libmspack"
3864 if test x
"$withstring" = xwithout
; then
3865 if test $wxUSE_LIBMSPACK = yes; then
3871 result
=$wxUSE_LIBMSPACK
3874 { echo "$as_me:$LINENO: result: $result" >&5
3875 echo "${ECHO_T}$result" >&6; }
3879 defaultval
=$wxUSE_ALL_FEATURES
3880 if test -z "$defaultval"; then
3881 if test x
"$withstring" = xwithout
; then
3887 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3888 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3890 # Check whether --with-gtkprint was given.
3891 if test "${with_gtkprint+set}" = set; then
3892 withval
=$with_gtkprint;
3893 if test "$withval" = yes; then
3894 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3896 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3901 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3906 eval "$wx_cv_use_gtkprint"
3908 if test x"$withstring" = xwithout; then
3909 if test $wxUSE_GTKPRINT = yes; then
3915 result=$wxUSE_GTKPRINT
3918 { echo "$as_me:$LINENO: result: $result" >&5
3919 echo "${ECHO_T}$result" >&6; }
3923 defaultval=$wxUSE_ALL_FEATURES
3924 if test -z "$defaultval"; then
3925 if test x"$withstring" = xwithout; then
3931 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3932 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3934 # Check whether --with-gnomeprint was given.
3935 if test "${with_gnomeprint+set}" = set; then
3936 withval=$with_gnomeprint;
3937 if test "$withval" = yes; then
3938 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3940 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3945 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3950 eval "$wx_cv_use_gnomeprint"
3952 if test x"$withstring" = xwithout; then
3953 if test $wxUSE_LIBGNOMEPRINT = yes; then
3959 result=$wxUSE_LIBGNOMEPRINT
3962 { echo "$as_me:$LINENO: result
: $result" >&5
3963 echo "${ECHO_T}$result" >&6; }
3967 defaultval=$wxUSE_ALL_FEATURES
3968 if test -z "$defaultval"; then
3969 if test x"$withstring" = xwithout; then
3975 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3976 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3978 # Check whether --with-gnomevfs was given.
3979 if test "${with_gnomevfs+set}" = set; then
3980 withval=$with_gnomevfs;
3981 if test "$withval" = yes; then
3982 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3984 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3989 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3994 eval "$wx_cv_use_gnomevfs"
3996 if test x
"$withstring" = xwithout
; then
3997 if test $wxUSE_LIBGNOMEVFS = yes; then
4003 result
=$wxUSE_LIBGNOMEVFS
4006 { echo "$as_me:$LINENO: result: $result" >&5
4007 echo "${ECHO_T}$result" >&6; }
4011 defaultval
=$wxUSE_ALL_FEATURES
4012 if test -z "$defaultval"; then
4013 if test x
"$withstring" = xwithout
; then
4019 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4020 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4022 # Check whether --with-hildon was given.
4023 if test "${with_hildon+set}" = set; then
4024 withval
=$with_hildon;
4025 if test "$withval" = yes; then
4026 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4028 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4033 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4038 eval "$wx_cv_use_hildon"
4040 if test x"$withstring" = xwithout; then
4041 if test $wxUSE_LIBHILDON = yes; then
4047 result=$wxUSE_LIBHILDON
4050 { echo "$as_me:$LINENO: result: $result" >&5
4051 echo "${ECHO_T}$result" >&6; }
4055 defaultval=$wxUSE_ALL_FEATURES
4056 if test -z "$defaultval"; then
4057 if test x"$withstring" = xwithout; then
4063 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4064 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4066 # Check whether --with-opengl was given.
4067 if test "${with_opengl+set}" = set; then
4068 withval=$with_opengl;
4069 if test "$withval" = yes; then
4070 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4072 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4077 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4082 eval "$wx_cv_use_opengl"
4084 if test x"$withstring" = xwithout; then
4085 if test $wxUSE_OPENGL = yes; then
4091 result=$wxUSE_OPENGL
4094 { echo "$as_me:$LINENO: result
: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4102 defaultval=$wxUSE_ALL_FEATURES
4103 if test -z "$defaultval"; then
4104 if test x"$withstring" = xwithout; then
4110 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4111 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4113 # Check whether --with-dmalloc was given.
4114 if test "${with_dmalloc+set}" = set; then
4115 withval=$with_dmalloc;
4116 if test "$withval" = yes; then
4117 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4119 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4124 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4129 eval "$wx_cv_use_dmalloc"
4131 if test x
"$withstring" = xwithout
; then
4132 if test $wxUSE_DMALLOC = yes; then
4138 result
=$wxUSE_DMALLOC
4141 { echo "$as_me:$LINENO: result: $result" >&5
4142 echo "${ECHO_T}$result" >&6; }
4146 defaultval
=$wxUSE_ALL_FEATURES
4147 if test -z "$defaultval"; then
4148 if test x
"$withstring" = xwithout
; then
4154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4155 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4157 # Check whether --with-sdl was given.
4158 if test "${with_sdl+set}" = set; then
4160 if test "$withval" = yes; then
4161 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4163 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4168 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4173 eval "$wx_cv_use_sdl"
4175 if test x"$withstring" = xwithout; then
4176 if test $wxUSE_LIBSDL = yes; then
4182 result=$wxUSE_LIBSDL
4185 { echo "$as_me:$LINENO: result: $result" >&5
4186 echo "${ECHO_T}$result" >&6; }
4189 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4190 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4192 # Check whether --with-regex was given.
4193 if test "${with_regex+set}" = set; then
4194 withval=$with_regex;
4195 if test "$withval" = yes; then
4196 wx_cv_use_regex='wxUSE_REGEX
=yes'
4197 elif test "$withval" = no; then
4198 wx_cv_use_regex='wxUSE_REGEX
=no
'
4199 elif test "$withval" = sys; then
4200 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4201 elif test "$withval" = builtin; then
4202 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4204 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4205 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4206 { (exit 1); exit 1; }; }
4211 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4216 eval "$wx_cv_use_regex"
4218 if test "$wxUSE_REGEX" = yes; then
4219 { echo "$as_me:$LINENO: result
: yes" >&5
4220 echo "${ECHO_T}yes" >&6; }
4221 elif test "$wxUSE_REGEX" = no; then
4222 { echo "$as_me:$LINENO: result
: no
" >&5
4223 echo "${ECHO_T}no
" >&6; }
4224 elif test "$wxUSE_REGEX" = sys; then
4225 { echo "$as_me:$LINENO: result
: system version
" >&5
4226 echo "${ECHO_T}system version
" >&6; }
4227 elif test "$wxUSE_REGEX" = builtin; then
4228 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4229 echo "${ECHO_T}builtin version
" >&6; }
4231 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4232 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4237 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4238 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4240 # Check whether --with-zlib was given.
4241 if test "${with_zlib+set}" = set; then
4243 if test "$withval" = yes; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4245 elif test "$withval" = no; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=no'
4247 elif test "$withval" = sys; then
4248 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4249 elif test "$withval" = builtin; then
4250 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4252 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4253 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4254 { (exit 1); exit 1; }; }
4259 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4264 eval "$wx_cv_use_zlib"
4266 if test "$wxUSE_ZLIB" = yes; then
4267 { echo "$as_me:$LINENO: result: yes" >&5
4268 echo "${ECHO_T}yes" >&6; }
4269 elif test "$wxUSE_ZLIB" = no
; then
4270 { echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6; }
4272 elif test "$wxUSE_ZLIB" = sys
; then
4273 { echo "$as_me:$LINENO: result: system version" >&5
4274 echo "${ECHO_T}system version" >&6; }
4275 elif test "$wxUSE_ZLIB" = builtin; then
4276 { echo "$as_me:$LINENO: result: builtin version" >&5
4277 echo "${ECHO_T}builtin version" >&6; }
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4285 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4286 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4288 # Check whether --with-expat was given.
4289 if test "${with_expat+set}" = set; then
4290 withval
=$with_expat;
4291 if test "$withval" = yes; then
4292 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4293 elif test "$withval" = no
; then
4294 wx_cv_use_expat
='wxUSE_EXPAT=no'
4295 elif test "$withval" = sys
; then
4296 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4297 elif test "$withval" = builtin; then
4298 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4300 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4301 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4302 { (exit 1); exit 1; }; }
4307 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4312 eval "$wx_cv_use_expat"
4314 if test "$wxUSE_EXPAT" = yes; then
4315 { echo "$as_me:$LINENO: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6; }
4317 elif test "$wxUSE_EXPAT" = no; then
4318 { echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6; }
4320 elif test "$wxUSE_EXPAT" = sys; then
4321 { echo "$as_me:$LINENO: result: system version" >&5
4322 echo "${ECHO_T}system version" >&6; }
4323 elif test "$wxUSE_EXPAT" = builtin; then
4324 { echo "$as_me:$LINENO: result: builtin version" >&5
4325 echo "${ECHO_T}builtin version" >&6; }
4327 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4328 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4329 { (exit 1); exit 1; }; }
4333 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4334 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4336 # Check whether --with-macosx-sdk was given.
4337 if test "${with_macosx_sdk+set}" = set; then
4338 withval=$with_macosx_sdk;
4339 wxUSE_MACOSX_SDK=$withval
4340 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4344 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4345 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4347 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4348 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4350 # Check whether --with-macosx-version-min was given.
4351 if test "${with_macosx_version_min+set}" = set; then
4352 withval=$with_macosx_version_min;
4353 wxUSE_MACOSX_VERSION_MIN=$withval
4354 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4358 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4359 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4363 enablestring=disable
4365 if test -z "$defaultval"; then
4366 if test x"$enablestring" = xdisable; then
4373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4375 # Check whether --enable-shared was given.
4376 if test "${enable_shared+set}" = set; then
4377 enableval=$enable_shared;
4378 if test "$enableval" = yes; then
4379 wx_cv_use_shared='wxUSE_SHARED
=yes'
4381 wx_cv_use_shared='wxUSE_SHARED
=no
'
4386 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4391 eval "$wx_cv_use_shared"
4393 if test x"$enablestring" = xdisable; then
4394 if test $wxUSE_SHARED = yes; then
4400 result=$wxUSE_SHARED
4403 { echo "$as_me:$LINENO: result
: $result" >&5
4404 echo "${ECHO_T}$result" >&6; }
4409 if test -z "$defaultval"; then
4410 if test x"$enablestring" = xdisable; then
4417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4418 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4419 # Check whether --enable-debug was given.
4420 if test "${enable_debug+set}" = set; then
4421 enableval=$enable_debug;
4422 if test "$enableval" = yes; then
4423 wx_cv_use_debug='wxUSE_DEBUG=yes'
4425 wx_cv_use_debug='wxUSE_DEBUG=no'
4430 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4435 eval "$wx_cv_use_debug"
4437 if test x
"$enablestring" = xdisable
; then
4438 if test $wxUSE_DEBUG = yes; then
4447 { echo "$as_me:$LINENO: result: $result" >&5
4448 echo "${ECHO_T}$result" >&6; }
4453 if test -z "$defaultval"; then
4454 if test x
"$enablestring" = xdisable
; then
4461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4462 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4463 # Check whether --enable-stl was given.
4464 if test "${enable_stl+set}" = set; then
4465 enableval
=$enable_stl;
4466 if test "$enableval" = yes; then
4467 wx_cv_use_stl
='wxUSE_STL=yes'
4469 wx_cv_use_stl
='wxUSE_STL=no'
4474 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4479 eval "$wx_cv_use_stl"
4481 if test x"$enablestring" = xdisable; then
4482 if test $wxUSE_STL = yes; then
4491 { echo "$as_me:$LINENO: result: $result" >&5
4492 echo "${ECHO_T}$result" >&6; }
4497 if test -z "$defaultval"; then
4498 if test x"$enablestring" = xdisable; then
4505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4507 # Check whether --enable-std_iostreams was given.
4508 if test "${enable_std_iostreams+set}" = set; then
4509 enableval=$enable_std_iostreams;
4510 if test "$enableval" = yes; then
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4513 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4518 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4523 eval "$wx_cv_use_std_iostreams"
4525 if test x"$enablestring" = xdisable; then
4526 if test $wxUSE_STD_IOSTREAM = yes; then
4532 result=$wxUSE_STD_IOSTREAM
4535 { echo "$as_me:$LINENO: result
: $result" >&5
4536 echo "${ECHO_T}$result" >&6; }
4541 if test -z "$defaultval"; then
4542 if test x"$enablestring" = xdisable; then
4549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4550 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4551 # Check whether --enable-std_string was given.
4552 if test "${enable_std_string+set}" = set; then
4553 enableval=$enable_std_string;
4554 if test "$enableval" = yes; then
4555 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4557 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4562 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4567 eval "$wx_cv_use_std_string"
4569 if test x
"$enablestring" = xdisable
; then
4570 if test $wxUSE_STD_STRING = yes; then
4576 result
=$wxUSE_STD_STRING
4579 { echo "$as_me:$LINENO: result: $result" >&5
4580 echo "${ECHO_T}$result" >&6; }
4583 enablestring
=disable
4585 if test -z "$defaultval"; then
4586 if test x
"$enablestring" = xdisable
; then
4593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4595 # Check whether --enable-unicode was given.
4596 if test "${enable_unicode+set}" = set; then
4597 enableval
=$enable_unicode;
4598 if test "$enableval" = yes; then
4599 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4601 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4606 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4611 eval "$wx_cv_use_unicode"
4613 if test x"$enablestring" = xdisable; then
4614 if test $wxUSE_UNICODE = yes; then
4620 result=$wxUSE_UNICODE
4623 { echo "$as_me:$LINENO: result: $result" >&5
4624 echo "${ECHO_T}$result" >&6; }
4629 if test -z "$defaultval"; then
4630 if test x"$enablestring" = xdisable; then
4637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4639 # Check whether --enable-mslu was given.
4640 if test "${enable_mslu+set}" = set; then
4641 enableval=$enable_mslu;
4642 if test "$enableval" = yes; then
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4645 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4650 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4655 eval "$wx_cv_use_mslu"
4657 if test x"$enablestring" = xdisable; then
4658 if test $wxUSE_UNICODE_MSLU = yes; then
4664 result=$wxUSE_UNICODE_MSLU
4667 { echo "$as_me:$LINENO: result
: $result" >&5
4668 echo "${ECHO_T}$result" >&6; }
4672 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4673 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4674 # Check whether --enable-utf8 was given.
4675 if test "${enable_utf8+set}" = set; then
4676 enableval=$enable_utf8;
4677 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4681 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4686 eval "$wx_cv_use_utf8"
4688 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4689 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4694 if test -z "$defaultval"; then
4695 if test x"$enablestring" = xdisable; then
4702 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4703 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4704 # Check whether --enable-utf8only was given.
4705 if test "${enable_utf8only+set}" = set; then
4706 enableval=$enable_utf8only;
4707 if test "$enableval" = yes; then
4708 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4710 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4715 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4720 eval "$wx_cv_use_utf8only"
4722 if test x
"$enablestring" = xdisable
; then
4723 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4729 result
=$wxUSE_UNICODE_UTF8_LOCALE
4732 { echo "$as_me:$LINENO: result: $result" >&5
4733 echo "${ECHO_T}$result" >&6; }
4738 if test -z "$defaultval"; then
4739 if test x
"$enablestring" = xdisable
; then
4746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4748 # Check whether --enable-extended_rtti was given.
4749 if test "${enable_extended_rtti+set}" = set; then
4750 enableval
=$enable_extended_rtti;
4751 if test "$enableval" = yes; then
4752 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4754 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4759 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4764 eval "$wx_cv_use_extended_rtti"
4766 if test x"$enablestring" = xdisable; then
4767 if test $wxUSE_EXTENDED_RTTI = yes; then
4773 result=$wxUSE_EXTENDED_RTTI
4776 { echo "$as_me:$LINENO: result: $result" >&5
4777 echo "${ECHO_T}$result" >&6; }
4779 if test "$USE_OS2" = 1; then
4780 DEFAULT_wxUSE_OMF=no
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4794 # Check whether --enable-omf was given.
4795 if test "${enable_omf+set}" = set; then
4796 enableval=$enable_omf;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_omf='wxUSE_OMF
=yes'
4800 wx_cv_use_omf='wxUSE_OMF
=no
'
4805 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4810 eval "$wx_cv_use_omf"
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_OMF = yes; then
4822 { echo "$as_me:$LINENO: result
: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4827 if test "$wxUSE_DEBUG" = "yes"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=yes
4829 DEFAULT_wxUSE_DEBUG_INFO=yes
4831 elif test "$wxUSE_DEBUG" = "no
"; then
4832 DEFAULT_wxUSE_DEBUG_FLAG=no
4833 DEFAULT_wxUSE_DEBUG_INFO=no
4840 if test -z "$defaultval"; then
4841 if test x"$enablestring" = xdisable; then
4848 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4849 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4850 # Check whether --enable-debug_flag was given.
4851 if test "${enable_debug_flag+set}" = set; then
4852 enableval=$enable_debug_flag;
4853 if test "$enableval" = yes; then
4854 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4856 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4861 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4866 eval "$wx_cv_use_debug_flag"
4868 if test x
"$enablestring" = xdisable
; then
4869 if test $wxUSE_DEBUG_FLAG = yes; then
4875 result
=$wxUSE_DEBUG_FLAG
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4884 if test -z "$defaultval"; then
4885 if test x
"$enablestring" = xdisable
; then
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4894 # Check whether --enable-debug_info was given.
4895 if test "${enable_debug_info+set}" = set; then
4896 enableval
=$enable_debug_info;
4897 if test "$enableval" = yes; then
4898 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4900 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4905 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4910 eval "$wx_cv_use_debug_info"
4912 if test x"$enablestring" = xdisable; then
4913 if test $wxUSE_DEBUG_INFO = yes; then
4919 result=$wxUSE_DEBUG_INFO
4922 { echo "$as_me:$LINENO: result: $result" >&5
4923 echo "${ECHO_T}$result" >&6; }
4926 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4931 if test "$wxUSE_DEBUG" = "yes"; then
4932 DEFAULT_wxUSE_OPTIMISE=no
4936 enablestring=disable
4938 if test -z "$defaultval"; then
4939 if test x"$enablestring" = xdisable; then
4946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4948 # Check whether --enable-optimise was given.
4949 if test "${enable_optimise+set}" = set; then
4950 enableval=$enable_optimise;
4951 if test "$enableval" = yes; then
4952 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4954 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4959 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4964 eval "$wx_cv_use_optimise"
4966 if test x"$enablestring" = xdisable; then
4967 if test $wxUSE_OPTIMISE = yes; then
4973 result=$wxUSE_OPTIMISE
4976 { echo "$as_me:$LINENO: result
: $result" >&5
4977 echo "${ECHO_T}$result" >&6; }
4983 if test -z "$defaultval"; then
4984 if test x"$enablestring" = xdisable; then
4991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4992 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4993 # Check whether --enable-debug_gdb was given.
4994 if test "${enable_debug_gdb+set}" = set; then
4995 enableval=$enable_debug_gdb;
4996 if test "$enableval" = yes; then
4997 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4999 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5004 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5009 eval "$wx_cv_use_debug_gdb"
5011 if test x
"$enablestring" = xdisable
; then
5012 if test $wxUSE_DEBUG_GDB = yes; then
5018 result
=$wxUSE_DEBUG_GDB
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5027 if test -z "$defaultval"; then
5028 if test x
"$enablestring" = xdisable
; then
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5037 # Check whether --enable-debug_cntxt was given.
5038 if test "${enable_debug_cntxt+set}" = set; then
5039 enableval
=$enable_debug_cntxt;
5040 if test "$enableval" = yes; then
5041 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5043 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5048 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5053 eval "$wx_cv_use_debug_cntxt"
5055 if test x"$enablestring" = xdisable; then
5056 if test $wxUSE_DEBUG_CONTEXT = yes; then
5062 result=$wxUSE_DEBUG_CONTEXT
5065 { echo "$as_me:$LINENO: result: $result" >&5
5066 echo "${ECHO_T}$result" >&6; }
5071 if test -z "$defaultval"; then
5072 if test x"$enablestring" = xdisable; then
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5081 # Check whether --enable-mem_tracing was given.
5082 if test "${enable_mem_tracing+set}" = set; then
5083 enableval=$enable_mem_tracing;
5084 if test "$enableval" = yes; then
5085 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5087 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5092 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5097 eval "$wx_cv_use_mem_tracing"
5099 if test x"$enablestring" = xdisable; then
5100 if test $wxUSE_MEM_TRACING = yes; then
5106 result=$wxUSE_MEM_TRACING
5109 { echo "$as_me:$LINENO: result
: $result" >&5
5110 echo "${ECHO_T}$result" >&6; }
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5124 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5125 # Check whether --enable-profile was given.
5126 if test "${enable_profile+set}" = set; then
5127 enableval=$enable_profile;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_profile='wxUSE_PROFILE=yes'
5131 wx_cv_use_profile='wxUSE_PROFILE=no'
5136 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5141 eval "$wx_cv_use_profile"
5143 if test x
"$enablestring" = xdisable
; then
5144 if test $wxUSE_PROFILE = yes; then
5150 result
=$wxUSE_PROFILE
5153 { echo "$as_me:$LINENO: result: $result" >&5
5154 echo "${ECHO_T}$result" >&6; }
5159 if test -z "$defaultval"; then
5160 if test x
"$enablestring" = xdisable
; then
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5169 # Check whether --enable-no_rtti was given.
5170 if test "${enable_no_rtti+set}" = set; then
5171 enableval
=$enable_no_rtti;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5175 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5180 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5185 eval "$wx_cv_use_no_rtti"
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_NO_RTTI = yes; then
5194 result=$wxUSE_NO_RTTI
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5203 if test -z "$defaultval"; then
5204 if test x"$enablestring" = xdisable; then
5211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5213 # Check whether --enable-no_exceptions was given.
5214 if test "${enable_no_exceptions+set}" = set; then
5215 enableval=$enable_no_exceptions;
5216 if test "$enableval" = yes; then
5217 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5219 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5224 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5229 eval "$wx_cv_use_no_exceptions"
5231 if test x"$enablestring" = xdisable; then
5232 if test $wxUSE_NO_EXCEPTIONS = yes; then
5238 result=$wxUSE_NO_EXCEPTIONS
5241 { echo "$as_me:$LINENO: result
: $result" >&5
5242 echo "${ECHO_T}$result" >&6; }
5247 if test -z "$defaultval"; then
5248 if test x"$enablestring" = xdisable; then
5255 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5256 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5257 # Check whether --enable-permissive was given.
5258 if test "${enable_permissive+set}" = set; then
5259 enableval=$enable_permissive;
5260 if test "$enableval" = yes; then
5261 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5263 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5268 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5273 eval "$wx_cv_use_permissive"
5275 if test x
"$enablestring" = xdisable
; then
5276 if test $wxUSE_PERMISSIVE = yes; then
5282 result
=$wxUSE_PERMISSIVE
5285 { echo "$as_me:$LINENO: result: $result" >&5
5286 echo "${ECHO_T}$result" >&6; }
5291 if test -z "$defaultval"; then
5292 if test x
"$enablestring" = xdisable
; then
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5301 # Check whether --enable-no_deps was given.
5302 if test "${enable_no_deps+set}" = set; then
5303 enableval
=$enable_no_deps;
5304 if test "$enableval" = yes; then
5305 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5307 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5312 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5317 eval "$wx_cv_use_no_deps"
5319 if test x"$enablestring" = xdisable; then
5320 if test $wxUSE_NO_DEPS = yes; then
5326 result=$wxUSE_NO_DEPS
5329 { echo "$as_me:$LINENO: result: $result" >&5
5330 echo "${ECHO_T}$result" >&6; }
5333 enablestring=disable
5335 if test -z "$defaultval"; then
5336 if test x"$enablestring" = xdisable; then
5343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5344 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5345 # Check whether --enable-vararg_macros was given.
5346 if test "${enable_vararg_macros+set}" = set; then
5347 enableval=$enable_vararg_macros;
5348 if test "$enableval" = yes; then
5349 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5351 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5356 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5361 eval "$wx_cv_use_vararg_macros"
5363 if test x"$enablestring" = xdisable; then
5364 if test $wxUSE_VARARG_MACROS = yes; then
5370 result=$wxUSE_VARARG_MACROS
5373 { echo "$as_me:$LINENO: result
: $result" >&5
5374 echo "${ECHO_T}$result" >&6; }
5378 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5379 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5380 # Check whether --enable-universal_binary was given.
5381 if test "${enable_universal_binary+set}" = set; then
5382 enableval=$enable_universal_binary;
5383 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5387 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5392 eval "$wx_cv_use_universal_binary"
5394 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5395 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5401 if test -z "$defaultval"; then
5402 if test x"$enablestring" = xdisable; then
5409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5410 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5411 # Check whether --enable-compat26 was given.
5412 if test "${enable_compat26+set}" = set; then
5413 enableval=$enable_compat26;
5414 if test "$enableval" = yes; then
5415 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5417 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5422 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5427 eval "$wx_cv_use_compat26"
5429 if test x
"$enablestring" = xdisable
; then
5430 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5436 result
=$WXWIN_COMPATIBILITY_2_6
5439 { echo "$as_me:$LINENO: result: $result" >&5
5440 echo "${ECHO_T}$result" >&6; }
5443 enablestring
=disable
5445 if test -z "$defaultval"; then
5446 if test x
"$enablestring" = xdisable
; then
5453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5454 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5455 # Check whether --enable-compat28 was given.
5456 if test "${enable_compat28+set}" = set; then
5457 enableval
=$enable_compat28;
5458 if test "$enableval" = yes; then
5459 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5461 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5466 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5471 eval "$wx_cv_use_compat28"
5473 if test x"$enablestring" = xdisable; then
5474 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5480 result=$WXWIN_COMPATIBILITY_2_8
5483 { echo "$as_me:$LINENO: result: $result" >&5
5484 echo "${ECHO_T}$result" >&6; }
5488 enablestring=disable
5490 if test -z "$defaultval"; then
5491 if test x"$enablestring" = xdisable; then
5498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5500 # Check whether --enable-rpath was given.
5501 if test "${enable_rpath+set}" = set; then
5502 enableval=$enable_rpath;
5503 if test "$enableval" = yes; then
5504 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5506 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5511 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5516 eval "$wx_cv_use_rpath"
5518 if test x"$enablestring" = xdisable; then
5519 if test $wxUSE_RPATH = yes; then
5528 { echo "$as_me:$LINENO: result
: $result" >&5
5529 echo "${ECHO_T}$result" >&6; }
5535 if test -z "$defaultval"; then
5536 if test x"$enablestring" = xdisable; then
5543 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5544 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5545 # Check whether --enable-objc_uniquifying was given.
5546 if test "${enable_objc_uniquifying+set}" = set; then
5547 enableval=$enable_objc_uniquifying;
5548 if test "$enableval" = yes; then
5549 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5551 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5556 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5561 eval "$wx_cv_use_objc_uniquifying"
5563 if test x
"$enablestring" = xdisable
; then
5564 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5570 result
=$wxUSE_OBJC_UNIQUIFYING
5573 { echo "$as_me:$LINENO: result: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5578 enablestring
=disable
5580 if test -z "$defaultval"; then
5581 if test x
"$enablestring" = xdisable
; then
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5590 # Check whether --enable-visibility was given.
5591 if test "${enable_visibility+set}" = set; then
5592 enableval
=$enable_visibility;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5596 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5601 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5606 eval "$wx_cv_use_visibility"
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_VISIBILITY = yes; then
5615 result=$wxUSE_VISIBILITY
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5625 defaultval=$wxUSE_ALL_FEATURES
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5636 # Check whether --enable-intl was given.
5637 if test "${enable_intl+set}" = set; then
5638 enableval=$enable_intl;
5639 if test "$enableval" = yes; then
5640 wx_cv_use_intl='wxUSE_INTL
=yes'
5642 wx_cv_use_intl='wxUSE_INTL
=no
'
5647 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5652 eval "$wx_cv_use_intl"
5654 if test x"$enablestring" = xdisable; then
5655 if test $wxUSE_INTL = yes; then
5664 { echo "$as_me:$LINENO: result
: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5669 defaultval=$wxUSE_ALL_FEATURES
5670 if test -z "$defaultval"; then
5671 if test x"$enablestring" = xdisable; then
5678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5679 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5680 # Check whether --enable-xlocale was given.
5681 if test "${enable_xlocale+set}" = set; then
5682 enableval=$enable_xlocale;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5686 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5691 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5696 eval "$wx_cv_use_xlocale"
5698 if test x
"$enablestring" = xdisable
; then
5699 if test $wxUSE_XLOCALE = yes; then
5705 result
=$wxUSE_XLOCALE
5708 { echo "$as_me:$LINENO: result: $result" >&5
5709 echo "${ECHO_T}$result" >&6; }
5713 defaultval
=$wxUSE_ALL_FEATURES
5714 if test -z "$defaultval"; then
5715 if test x
"$enablestring" = xdisable
; then
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5724 # Check whether --enable-config was given.
5725 if test "${enable_config+set}" = set; then
5726 enableval
=$enable_config;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_config
='wxUSE_CONFIG=yes'
5730 wx_cv_use_config
='wxUSE_CONFIG=no'
5735 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5740 eval "$wx_cv_use_config"
5742 if test x"$enablestring" = xdisable; then
5743 if test $wxUSE_CONFIG = yes; then
5749 result=$wxUSE_CONFIG
5752 { echo "$as_me:$LINENO: result: $result" >&5
5753 echo "${ECHO_T}$result" >&6; }
5758 defaultval=$wxUSE_ALL_FEATURES
5759 if test -z "$defaultval"; then
5760 if test x"$enablestring" = xdisable; then
5767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5769 # Check whether --enable-protocols was given.
5770 if test "${enable_protocols+set}" = set; then
5771 enableval=$enable_protocols;
5772 if test "$enableval" = yes; then
5773 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5775 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5780 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5785 eval "$wx_cv_use_protocols"
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_PROTOCOL = yes; then
5794 result=$wxUSE_PROTOCOL
5797 { echo "$as_me:$LINENO: result
: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5802 defaultval=$wxUSE_ALL_FEATURES
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5811 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5812 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5813 # Check whether --enable-ftp was given.
5814 if test "${enable_ftp+set}" = set; then
5815 enableval=$enable_ftp;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5819 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5824 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5829 eval "$wx_cv_use_ftp"
5831 if test x
"$enablestring" = xdisable
; then
5832 if test $wxUSE_PROTOCOL_FTP = yes; then
5838 result
=$wxUSE_PROTOCOL_FTP
5841 { echo "$as_me:$LINENO: result: $result" >&5
5842 echo "${ECHO_T}$result" >&6; }
5846 defaultval
=$wxUSE_ALL_FEATURES
5847 if test -z "$defaultval"; then
5848 if test x
"$enablestring" = xdisable
; then
5855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5857 # Check whether --enable-http was given.
5858 if test "${enable_http+set}" = set; then
5859 enableval
=$enable_http;
5860 if test "$enableval" = yes; then
5861 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5863 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5868 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5873 eval "$wx_cv_use_http"
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_PROTOCOL_HTTP = yes; then
5882 result=$wxUSE_PROTOCOL_HTTP
5885 { echo "$as_me:$LINENO: result: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5890 defaultval=$wxUSE_ALL_FEATURES
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5901 # Check whether --enable-fileproto was given.
5902 if test "${enable_fileproto+set}" = set; then
5903 enableval=$enable_fileproto;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5907 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5912 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5917 eval "$wx_cv_use_fileproto"
5919 if test x"$enablestring" = xdisable; then
5920 if test $wxUSE_PROTOCOL_FILE = yes; then
5926 result=$wxUSE_PROTOCOL_FILE
5929 { echo "$as_me:$LINENO: result
: $result" >&5
5930 echo "${ECHO_T}$result" >&6; }
5934 defaultval=$wxUSE_ALL_FEATURES
5935 if test -z "$defaultval"; then
5936 if test x"$enablestring" = xdisable; then
5943 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5944 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5945 # Check whether --enable-sockets was given.
5946 if test "${enable_sockets+set}" = set; then
5947 enableval=$enable_sockets;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5951 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5956 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5961 eval "$wx_cv_use_sockets"
5963 if test x
"$enablestring" = xdisable
; then
5964 if test $wxUSE_SOCKETS = yes; then
5970 result
=$wxUSE_SOCKETS
5973 { echo "$as_me:$LINENO: result: $result" >&5
5974 echo "${ECHO_T}$result" >&6; }
5978 defaultval
=$wxUSE_ALL_FEATURES
5979 if test -z "$defaultval"; then
5980 if test x
"$enablestring" = xdisable
; then
5987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5989 # Check whether --enable-ipv6 was given.
5990 if test "${enable_ipv6+set}" = set; then
5991 enableval
=$enable_ipv6;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5995 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6000 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6005 eval "$wx_cv_use_ipv6"
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_IPV6 = yes; then
6017 { echo "$as_me:$LINENO: result: $result" >&5
6018 echo "${ECHO_T}$result" >&6; }
6022 defaultval=$wxUSE_ALL_FEATURES
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6033 # Check whether --enable-ole was given.
6034 if test "${enable_ole+set}" = set; then
6035 enableval=$enable_ole;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_ole='wxUSE_OLE
=yes'
6039 wx_cv_use_ole='wxUSE_OLE
=no
'
6044 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6049 eval "$wx_cv_use_ole"
6051 if test x"$enablestring" = xdisable; then
6052 if test $wxUSE_OLE = yes; then
6061 { echo "$as_me:$LINENO: result
: $result" >&5
6062 echo "${ECHO_T}$result" >&6; }
6066 defaultval=$wxUSE_ALL_FEATURES
6067 if test -z "$defaultval"; then
6068 if test x"$enablestring" = xdisable; then
6075 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6076 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6077 # Check whether --enable-dataobj was given.
6078 if test "${enable_dataobj+set}" = set; then
6079 enableval=$enable_dataobj;
6080 if test "$enableval" = yes; then
6081 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6083 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6088 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6093 eval "$wx_cv_use_dataobj"
6095 if test x
"$enablestring" = xdisable
; then
6096 if test $wxUSE_DATAOBJ = yes; then
6102 result
=$wxUSE_DATAOBJ
6105 { echo "$as_me:$LINENO: result: $result" >&5
6106 echo "${ECHO_T}$result" >&6; }
6111 defaultval
=$wxUSE_ALL_FEATURES
6112 if test -z "$defaultval"; then
6113 if test x
"$enablestring" = xdisable
; then
6120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6121 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6122 # Check whether --enable-ipc was given.
6123 if test "${enable_ipc+set}" = set; then
6124 enableval
=$enable_ipc;
6125 if test "$enableval" = yes; then
6126 wx_cv_use_ipc
='wxUSE_IPC=yes'
6128 wx_cv_use_ipc
='wxUSE_IPC=no'
6133 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6138 eval "$wx_cv_use_ipc"
6140 if test x"$enablestring" = xdisable; then
6141 if test $wxUSE_IPC = yes; then
6150 { echo "$as_me:$LINENO: result: $result" >&5
6151 echo "${ECHO_T}$result" >&6; }
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6167 # Check whether --enable-baseevtloop was given.
6168 if test "${enable_baseevtloop+set}" = set; then
6169 enableval=$enable_baseevtloop;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6173 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6178 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6183 eval "$wx_cv_use_baseevtloop"
6185 if test x"$enablestring" = xdisable; then
6186 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6192 result=$wxUSE_CONSOLE_EVENTLOOP
6195 { echo "$as_me:$LINENO: result
: $result" >&5
6196 echo "${ECHO_T}$result" >&6; }
6200 defaultval=$wxUSE_ALL_FEATURES
6201 if test -z "$defaultval"; then
6202 if test x"$enablestring" = xdisable; then
6209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6210 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6211 # Check whether --enable-epollloop was given.
6212 if test "${enable_epollloop+set}" = set; then
6213 enableval=$enable_epollloop;
6214 if test "$enableval" = yes; then
6215 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6217 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6222 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6227 eval "$wx_cv_use_epollloop"
6229 if test x
"$enablestring" = xdisable
; then
6230 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6236 result
=$wxUSE_EPOLL_DISPATCHER
6239 { echo "$as_me:$LINENO: result: $result" >&5
6240 echo "${ECHO_T}$result" >&6; }
6244 defaultval
=$wxUSE_ALL_FEATURES
6245 if test -z "$defaultval"; then
6246 if test x
"$enablestring" = xdisable
; then
6253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6255 # Check whether --enable-selectloop was given.
6256 if test "${enable_selectloop+set}" = set; then
6257 enableval
=$enable_selectloop;
6258 if test "$enableval" = yes; then
6259 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6261 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6266 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6271 eval "$wx_cv_use_selectloop"
6273 if test x"$enablestring" = xdisable; then
6274 if test $wxUSE_SELECT_DISPATCHER = yes; then
6280 result=$wxUSE_SELECT_DISPATCHER
6283 { echo "$as_me:$LINENO: result: $result" >&5
6284 echo "${ECHO_T}$result" >&6; }
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6300 # Check whether --enable-apple_ieee was given.
6301 if test "${enable_apple_ieee+set}" = set; then
6302 enableval=$enable_apple_ieee;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6306 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6311 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6316 eval "$wx_cv_use_apple_ieee"
6318 if test x"$enablestring" = xdisable; then
6319 if test $wxUSE_APPLE_IEEE = yes; then
6325 result=$wxUSE_APPLE_IEEE
6328 { echo "$as_me:$LINENO: result
: $result" >&5
6329 echo "${ECHO_T}$result" >&6; }
6333 defaultval=$wxUSE_ALL_FEATURES
6334 if test -z "$defaultval"; then
6335 if test x"$enablestring" = xdisable; then
6342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6343 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6344 # Check whether --enable-arcstream was given.
6345 if test "${enable_arcstream+set}" = set; then
6346 enableval=$enable_arcstream;
6347 if test "$enableval" = yes; then
6348 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6350 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6355 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6360 eval "$wx_cv_use_arcstream"
6362 if test x
"$enablestring" = xdisable
; then
6363 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6369 result
=$wxUSE_ARCHIVE_STREAMS
6372 { echo "$as_me:$LINENO: result: $result" >&5
6373 echo "${ECHO_T}$result" >&6; }
6377 defaultval
=$wxUSE_ALL_FEATURES
6378 if test -z "$defaultval"; then
6379 if test x
"$enablestring" = xdisable
; then
6386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6388 # Check whether --enable-base64 was given.
6389 if test "${enable_base64+set}" = set; then
6390 enableval
=$enable_base64;
6391 if test "$enableval" = yes; then
6392 wx_cv_use_base64
='wxUSE_BASE64=yes'
6394 wx_cv_use_base64
='wxUSE_BASE64=no'
6399 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6404 eval "$wx_cv_use_base64"
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_BASE64 = yes; then
6413 result=$wxUSE_BASE64
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6421 defaultval=$wxUSE_ALL_FEATURES
6422 if test -z "$defaultval"; then
6423 if test x"$enablestring" = xdisable; then
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6432 # Check whether --enable-backtrace was given.
6433 if test "${enable_backtrace+set}" = set; then
6434 enableval=$enable_backtrace;
6435 if test "$enableval" = yes; then
6436 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6438 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6443 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6448 eval "$wx_cv_use_backtrace"
6450 if test x"$enablestring" = xdisable; then
6451 if test $wxUSE_STACKWALKER = yes; then
6457 result=$wxUSE_STACKWALKER
6460 { echo "$as_me:$LINENO: result
: $result" >&5
6461 echo "${ECHO_T}$result" >&6; }
6465 defaultval=$wxUSE_ALL_FEATURES
6466 if test -z "$defaultval"; then
6467 if test x"$enablestring" = xdisable; then
6474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6475 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6476 # Check whether --enable-catch_segvs was given.
6477 if test "${enable_catch_segvs+set}" = set; then
6478 enableval=$enable_catch_segvs;
6479 if test "$enableval" = yes; then
6480 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6482 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6487 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6492 eval "$wx_cv_use_catch_segvs"
6494 if test x
"$enablestring" = xdisable
; then
6495 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6501 result
=$wxUSE_ON_FATAL_EXCEPTION
6504 { echo "$as_me:$LINENO: result: $result" >&5
6505 echo "${ECHO_T}$result" >&6; }
6509 defaultval
=$wxUSE_ALL_FEATURES
6510 if test -z "$defaultval"; then
6511 if test x
"$enablestring" = xdisable
; then
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6520 # Check whether --enable-cmdline was given.
6521 if test "${enable_cmdline+set}" = set; then
6522 enableval
=$enable_cmdline;
6523 if test "$enableval" = yes; then
6524 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6526 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6531 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6536 eval "$wx_cv_use_cmdline"
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_CMDLINE_PARSER = yes; then
6545 result=$wxUSE_CMDLINE_PARSER
6548 { echo "$as_me:$LINENO: result: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6564 # Check whether --enable-datetime was given.
6565 if test "${enable_datetime+set}" = set; then
6566 enableval=$enable_datetime;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6570 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6575 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6580 eval "$wx_cv_use_datetime"
6582 if test x"$enablestring" = xdisable; then
6583 if test $wxUSE_DATETIME = yes; then
6589 result=$wxUSE_DATETIME
6592 { echo "$as_me:$LINENO: result
: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6597 defaultval=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x"$enablestring" = xdisable; then
6606 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6607 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6608 # Check whether --enable-debugreport was given.
6609 if test "${enable_debugreport+set}" = set; then
6610 enableval=$enable_debugreport;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6614 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6619 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6624 eval "$wx_cv_use_debugreport"
6626 if test x
"$enablestring" = xdisable
; then
6627 if test $wxUSE_DEBUGREPORT = yes; then
6633 result
=$wxUSE_DEBUGREPORT
6636 { echo "$as_me:$LINENO: result: $result" >&5
6637 echo "${ECHO_T}$result" >&6; }
6641 defaultval
=$wxUSE_ALL_FEATURES
6642 if test -z "$defaultval"; then
6643 if test x
"$enablestring" = xdisable
; then
6650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6652 # Check whether --enable-dialupman was given.
6653 if test "${enable_dialupman+set}" = set; then
6654 enableval
=$enable_dialupman;
6655 if test "$enableval" = yes; then
6656 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6658 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6663 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6668 eval "$wx_cv_use_dialupman"
6670 if test x"$enablestring" = xdisable; then
6671 if test $wxUSE_DIALUP_MANAGER = yes; then
6677 result=$wxUSE_DIALUP_MANAGER
6680 { echo "$as_me:$LINENO: result: $result" >&5
6681 echo "${ECHO_T}$result" >&6; }
6685 defaultval=$wxUSE_ALL_FEATURES
6686 if test -z "$defaultval"; then
6687 if test x"$enablestring" = xdisable; then
6694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6695 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6696 # Check whether --enable-dynlib was given.
6697 if test "${enable_dynlib+set}" = set; then
6698 enableval=$enable_dynlib;
6699 if test "$enableval" = yes; then
6700 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6702 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6707 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6712 eval "$wx_cv_use_dynlib"
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_DYNLIB_CLASS = yes; then
6721 result=$wxUSE_DYNLIB_CLASS
6724 { echo "$as_me:$LINENO: result
: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6738 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6739 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6740 # Check whether --enable-dynamicloader was given.
6741 if test "${enable_dynamicloader+set}" = set; then
6742 enableval=$enable_dynamicloader;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6746 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6751 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6756 eval "$wx_cv_use_dynamicloader"
6758 if test x
"$enablestring" = xdisable
; then
6759 if test $wxUSE_DYNAMIC_LOADER = yes; then
6765 result
=$wxUSE_DYNAMIC_LOADER
6768 { echo "$as_me:$LINENO: result: $result" >&5
6769 echo "${ECHO_T}$result" >&6; }
6773 defaultval
=$wxUSE_ALL_FEATURES
6774 if test -z "$defaultval"; then
6775 if test x
"$enablestring" = xdisable
; then
6782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6784 # Check whether --enable-exceptions was given.
6785 if test "${enable_exceptions+set}" = set; then
6786 enableval
=$enable_exceptions;
6787 if test "$enableval" = yes; then
6788 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6790 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6795 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6800 eval "$wx_cv_use_exceptions"
6802 if test x"$enablestring" = xdisable; then
6803 if test $wxUSE_EXCEPTIONS = yes; then
6809 result=$wxUSE_EXCEPTIONS
6812 { echo "$as_me:$LINENO: result: $result" >&5
6813 echo "${ECHO_T}$result" >&6; }
6817 defaultval=$wxUSE_ALL_FEATURES
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6828 # Check whether --enable-ffile was given.
6829 if test "${enable_ffile+set}" = set; then
6830 enableval=$enable_ffile;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6834 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6839 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6844 eval "$wx_cv_use_ffile"
6846 if test x"$enablestring" = xdisable; then
6847 if test $wxUSE_FFILE = yes; then
6856 { echo "$as_me:$LINENO: result
: $result" >&5
6857 echo "${ECHO_T}$result" >&6; }
6861 defaultval=$wxUSE_ALL_FEATURES
6862 if test -z "$defaultval"; then
6863 if test x"$enablestring" = xdisable; then
6870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6871 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6872 # Check whether --enable-file was given.
6873 if test "${enable_file+set}" = set; then
6874 enableval=$enable_file;
6875 if test "$enableval" = yes; then
6876 wx_cv_use_file='wxUSE_FILE=yes'
6878 wx_cv_use_file='wxUSE_FILE=no'
6883 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6888 eval "$wx_cv_use_file"
6890 if test x
"$enablestring" = xdisable
; then
6891 if test $wxUSE_FILE = yes; then
6900 { echo "$as_me:$LINENO: result: $result" >&5
6901 echo "${ECHO_T}$result" >&6; }
6905 defaultval
=$wxUSE_ALL_FEATURES
6906 if test -z "$defaultval"; then
6907 if test x
"$enablestring" = xdisable
; then
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6916 # Check whether --enable-filesystem was given.
6917 if test "${enable_filesystem+set}" = set; then
6918 enableval
=$enable_filesystem;
6919 if test "$enableval" = yes; then
6920 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6922 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6927 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6932 eval "$wx_cv_use_filesystem"
6934 if test x"$enablestring" = xdisable; then
6935 if test $wxUSE_FILESYSTEM = yes; then
6941 result=$wxUSE_FILESYSTEM
6944 { echo "$as_me:$LINENO: result: $result" >&5
6945 echo "${ECHO_T}$result" >&6; }
6949 defaultval=$wxUSE_ALL_FEATURES
6950 if test -z "$defaultval"; then
6951 if test x"$enablestring" = xdisable; then
6958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6960 # Check whether --enable-fontenum was given.
6961 if test "${enable_fontenum+set}" = set; then
6962 enableval=$enable_fontenum;
6963 if test "$enableval" = yes; then
6964 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6966 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6971 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6976 eval "$wx_cv_use_fontenum"
6978 if test x"$enablestring" = xdisable; then
6979 if test $wxUSE_FONTENUM = yes; then
6985 result=$wxUSE_FONTENUM
6988 { echo "$as_me:$LINENO: result
: $result" >&5
6989 echo "${ECHO_T}$result" >&6; }
6993 defaultval=$wxUSE_ALL_FEATURES
6994 if test -z "$defaultval"; then
6995 if test x"$enablestring" = xdisable; then
7002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7003 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7004 # Check whether --enable-fontmap was given.
7005 if test "${enable_fontmap+set}" = set; then
7006 enableval=$enable_fontmap;
7007 if test "$enableval" = yes; then
7008 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7010 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7015 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7020 eval "$wx_cv_use_fontmap"
7022 if test x
"$enablestring" = xdisable
; then
7023 if test $wxUSE_FONTMAP = yes; then
7029 result
=$wxUSE_FONTMAP
7032 { echo "$as_me:$LINENO: result: $result" >&5
7033 echo "${ECHO_T}$result" >&6; }
7037 defaultval
=$wxUSE_ALL_FEATURES
7038 if test -z "$defaultval"; then
7039 if test x
"$enablestring" = xdisable
; then
7046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7048 # Check whether --enable-fs_archive was given.
7049 if test "${enable_fs_archive+set}" = set; then
7050 enableval
=$enable_fs_archive;
7051 if test "$enableval" = yes; then
7052 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7054 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7059 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7064 eval "$wx_cv_use_fs_archive"
7066 if test x"$enablestring" = xdisable; then
7067 if test $wxUSE_FS_ARCHIVE = yes; then
7073 result=$wxUSE_FS_ARCHIVE
7076 { echo "$as_me:$LINENO: result: $result" >&5
7077 echo "${ECHO_T}$result" >&6; }
7081 defaultval=$wxUSE_ALL_FEATURES
7082 if test -z "$defaultval"; then
7083 if test x"$enablestring" = xdisable; then
7090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7092 # Check whether --enable-fs_inet was given.
7093 if test "${enable_fs_inet+set}" = set; then
7094 enableval=$enable_fs_inet;
7095 if test "$enableval" = yes; then
7096 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7098 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7103 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7108 eval "$wx_cv_use_fs_inet"
7110 if test x"$enablestring" = xdisable; then
7111 if test $wxUSE_FS_INET = yes; then
7117 result=$wxUSE_FS_INET
7120 { echo "$as_me:$LINENO: result
: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7135 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7136 # Check whether --enable-fs_zip was given.
7137 if test "${enable_fs_zip+set}" = set; then
7138 enableval=$enable_fs_zip;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7142 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7147 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7152 eval "$wx_cv_use_fs_zip"
7154 if test x
"$enablestring" = xdisable
; then
7155 if test $wxUSE_FS_ZIP = yes; then
7161 result
=$wxUSE_FS_ZIP
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7169 defaultval
=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x
"$enablestring" = xdisable
; then
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7180 # Check whether --enable-geometry was given.
7181 if test "${enable_geometry+set}" = set; then
7182 enableval
=$enable_geometry;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7186 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7191 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7196 eval "$wx_cv_use_geometry"
7198 if test x"$enablestring" = xdisable; then
7199 if test $wxUSE_GEOMETRY = yes; then
7205 result=$wxUSE_GEOMETRY
7208 { echo "$as_me:$LINENO: result: $result" >&5
7209 echo "${ECHO_T}$result" >&6; }
7213 defaultval=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x"$enablestring" = xdisable; then
7222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7224 # Check whether --enable-log was given.
7225 if test "${enable_log+set}" = set; then
7226 enableval=$enable_log;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_log='wxUSE_LOG
=yes'
7230 wx_cv_use_log='wxUSE_LOG
=no
'
7235 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7240 eval "$wx_cv_use_log"
7242 if test x"$enablestring" = xdisable; then
7243 if test $wxUSE_LOG = yes; then
7252 { echo "$as_me:$LINENO: result
: $result" >&5
7253 echo "${ECHO_T}$result" >&6; }
7257 defaultval=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x"$enablestring" = xdisable; then
7266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7267 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7268 # Check whether --enable-longlong was given.
7269 if test "${enable_longlong+set}" = set; then
7270 enableval=$enable_longlong;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7274 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7279 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7284 eval "$wx_cv_use_longlong"
7286 if test x
"$enablestring" = xdisable
; then
7287 if test $wxUSE_LONGLONG = yes; then
7293 result
=$wxUSE_LONGLONG
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7301 defaultval
=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x
"$enablestring" = xdisable
; then
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7312 # Check whether --enable-mimetype was given.
7313 if test "${enable_mimetype+set}" = set; then
7314 enableval
=$enable_mimetype;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7318 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7323 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7328 eval "$wx_cv_use_mimetype"
7330 if test x"$enablestring" = xdisable; then
7331 if test $wxUSE_MIMETYPE = yes; then
7337 result=$wxUSE_MIMETYPE
7340 { echo "$as_me:$LINENO: result: $result" >&5
7341 echo "${ECHO_T}$result" >&6; }
7345 defaultval=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x"$enablestring" = xdisable; then
7354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7356 # Check whether --enable-printfposparam was given.
7357 if test "${enable_printfposparam+set}" = set; then
7358 enableval=$enable_printfposparam;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7362 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7367 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7372 eval "$wx_cv_use_printfposparam"
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7381 result=$wxUSE_PRINTF_POS_PARAMS
7384 { echo "$as_me:$LINENO: result
: $result" >&5
7385 echo "${ECHO_T}$result" >&6; }
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7399 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7400 # Check whether --enable-snglinst was given.
7401 if test "${enable_snglinst+set}" = set; then
7402 enableval=$enable_snglinst;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7406 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7411 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7416 eval "$wx_cv_use_snglinst"
7418 if test x
"$enablestring" = xdisable
; then
7419 if test $wxUSE_SNGLINST_CHECKER = yes; then
7425 result
=$wxUSE_SNGLINST_CHECKER
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7433 defaultval
=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x
"$enablestring" = xdisable
; then
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7444 # Check whether --enable-sound was given.
7445 if test "${enable_sound+set}" = set; then
7446 enableval
=$enable_sound;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_sound
='wxUSE_SOUND=yes'
7450 wx_cv_use_sound
='wxUSE_SOUND=no'
7455 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7460 eval "$wx_cv_use_sound"
7462 if test x"$enablestring" = xdisable; then
7463 if test $wxUSE_SOUND = yes; then
7472 { echo "$as_me:$LINENO: result: $result" >&5
7473 echo "${ECHO_T}$result" >&6; }
7477 defaultval=$wxUSE_ALL_FEATURES
7478 if test -z "$defaultval"; then
7479 if test x"$enablestring" = xdisable; then
7486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7487 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7488 # Check whether --enable-stdpaths was given.
7489 if test "${enable_stdpaths+set}" = set; then
7490 enableval=$enable_stdpaths;
7491 if test "$enableval" = yes; then
7492 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7494 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7499 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7504 eval "$wx_cv_use_stdpaths"
7506 if test x"$enablestring" = xdisable; then
7507 if test $wxUSE_STDPATHS = yes; then
7513 result=$wxUSE_STDPATHS
7516 { echo "$as_me:$LINENO: result
: $result" >&5
7517 echo "${ECHO_T}$result" >&6; }
7521 defaultval=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x"$enablestring" = xdisable; then
7530 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7531 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7532 # Check whether --enable-stopwatch was given.
7533 if test "${enable_stopwatch+set}" = set; then
7534 enableval=$enable_stopwatch;
7535 if test "$enableval" = yes; then
7536 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7538 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7543 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7548 eval "$wx_cv_use_stopwatch"
7550 if test x
"$enablestring" = xdisable
; then
7551 if test $wxUSE_STOPWATCH = yes; then
7557 result
=$wxUSE_STOPWATCH
7560 { echo "$as_me:$LINENO: result: $result" >&5
7561 echo "${ECHO_T}$result" >&6; }
7565 defaultval
=$wxUSE_ALL_FEATURES
7566 if test -z "$defaultval"; then
7567 if test x
"$enablestring" = xdisable
; then
7574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7576 # Check whether --enable-streams was given.
7577 if test "${enable_streams+set}" = set; then
7578 enableval
=$enable_streams;
7579 if test "$enableval" = yes; then
7580 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7582 wx_cv_use_streams
='wxUSE_STREAMS=no'
7587 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7592 eval "$wx_cv_use_streams"
7594 if test x"$enablestring" = xdisable; then
7595 if test $wxUSE_STREAMS = yes; then
7601 result=$wxUSE_STREAMS
7604 { echo "$as_me:$LINENO: result: $result" >&5
7605 echo "${ECHO_T}$result" >&6; }
7609 defaultval=$wxUSE_ALL_FEATURES
7610 if test -z "$defaultval"; then
7611 if test x"$enablestring" = xdisable; then
7618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7620 # Check whether --enable-system_options was given.
7621 if test "${enable_system_options+set}" = set; then
7622 enableval=$enable_system_options;
7623 if test "$enableval" = yes; then
7624 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7626 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7631 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7636 eval "$wx_cv_use_system_options"
7638 if test x"$enablestring" = xdisable; then
7639 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7645 result=$wxUSE_SYSTEM_OPTIONS
7648 { echo "$as_me:$LINENO: result
: $result" >&5
7649 echo "${ECHO_T}$result" >&6; }
7653 defaultval=$wxUSE_ALL_FEATURES
7654 if test -z "$defaultval"; then
7655 if test x"$enablestring" = xdisable; then
7662 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7663 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7664 # Check whether --enable-tarstream was given.
7665 if test "${enable_tarstream+set}" = set; then
7666 enableval=$enable_tarstream;
7667 if test "$enableval" = yes; then
7668 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7670 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7675 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7680 eval "$wx_cv_use_tarstream"
7682 if test x
"$enablestring" = xdisable
; then
7683 if test $wxUSE_TARSTREAM = yes; then
7689 result
=$wxUSE_TARSTREAM
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7697 defaultval
=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x
"$enablestring" = xdisable
; then
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7708 # Check whether --enable-textbuf was given.
7709 if test "${enable_textbuf+set}" = set; then
7710 enableval
=$enable_textbuf;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7714 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7719 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7724 eval "$wx_cv_use_textbuf"
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_TEXTBUFFER = yes; then
7733 result=$wxUSE_TEXTBUFFER
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7752 # Check whether --enable-textfile was given.
7753 if test "${enable_textfile+set}" = set; then
7754 enableval=$enable_textfile;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7758 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7763 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7768 eval "$wx_cv_use_textfile"
7770 if test x"$enablestring" = xdisable; then
7771 if test $wxUSE_TEXTFILE = yes; then
7777 result=$wxUSE_TEXTFILE
7780 { echo "$as_me:$LINENO: result
: $result" >&5
7781 echo "${ECHO_T}$result" >&6; }
7785 defaultval=$wxUSE_ALL_FEATURES
7786 if test -z "$defaultval"; then
7787 if test x"$enablestring" = xdisable; then
7794 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7795 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7796 # Check whether --enable-timer was given.
7797 if test "${enable_timer+set}" = set; then
7798 enableval=$enable_timer;
7799 if test "$enableval" = yes; then
7800 wx_cv_use_timer='wxUSE_TIMER=yes'
7802 wx_cv_use_timer='wxUSE_TIMER=no'
7807 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7812 eval "$wx_cv_use_timer"
7814 if test x
"$enablestring" = xdisable
; then
7815 if test $wxUSE_TIMER = yes; then
7824 { echo "$as_me:$LINENO: result: $result" >&5
7825 echo "${ECHO_T}$result" >&6; }
7829 defaultval
=$wxUSE_ALL_FEATURES
7830 if test -z "$defaultval"; then
7831 if test x
"$enablestring" = xdisable
; then
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7840 # Check whether --enable-variant was given.
7841 if test "${enable_variant+set}" = set; then
7842 enableval
=$enable_variant;
7843 if test "$enableval" = yes; then
7844 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7846 wx_cv_use_variant
='wxUSE_VARIANT=no'
7851 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7856 eval "$wx_cv_use_variant"
7858 if test x"$enablestring" = xdisable; then
7859 if test $wxUSE_VARIANT = yes; then
7865 result=$wxUSE_VARIANT
7868 { echo "$as_me:$LINENO: result: $result" >&5
7869 echo "${ECHO_T}$result" >&6; }
7873 defaultval=$wxUSE_ALL_FEATURES
7874 if test -z "$defaultval"; then
7875 if test x"$enablestring" = xdisable; then
7882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7884 # Check whether --enable-zipstream was given.
7885 if test "${enable_zipstream+set}" = set; then
7886 enableval=$enable_zipstream;
7887 if test "$enableval" = yes; then
7888 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7890 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7895 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7900 eval "$wx_cv_use_zipstream"
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_ZIPSTREAM = yes; then
7909 result=$wxUSE_ZIPSTREAM
7912 { echo "$as_me:$LINENO: result
: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7927 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7928 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7929 # Check whether --enable-url was given.
7930 if test "${enable_url+set}" = set; then
7931 enableval=$enable_url;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_url='wxUSE_URL=yes'
7935 wx_cv_use_url='wxUSE_URL=no'
7940 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7945 eval "$wx_cv_use_url"
7947 if test x
"$enablestring" = xdisable
; then
7948 if test $wxUSE_URL = yes; then
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7962 defaultval
=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x
"$enablestring" = xdisable
; then
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7973 # Check whether --enable-protocol was given.
7974 if test "${enable_protocol+set}" = set; then
7975 enableval
=$enable_protocol;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7979 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7984 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7989 eval "$wx_cv_use_protocol"
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_PROTOCOL = yes; then
7998 result=$wxUSE_PROTOCOL
8001 { echo "$as_me:$LINENO: result: $result" >&5
8002 echo "${ECHO_T}$result" >&6; }
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8017 # Check whether --enable-protocol_http was given.
8018 if test "${enable_protocol_http+set}" = set; then
8019 enableval=$enable_protocol_http;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8023 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8028 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8033 eval "$wx_cv_use_protocol_http"
8035 if test x"$enablestring" = xdisable; then
8036 if test $wxUSE_PROTOCOL_HTTP = yes; then
8042 result=$wxUSE_PROTOCOL_HTTP
8045 { echo "$as_me:$LINENO: result
: $result" >&5
8046 echo "${ECHO_T}$result" >&6; }
8050 defaultval=$wxUSE_ALL_FEATURES
8051 if test -z "$defaultval"; then
8052 if test x"$enablestring" = xdisable; then
8059 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8060 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8061 # Check whether --enable-protocol_ftp was given.
8062 if test "${enable_protocol_ftp+set}" = set; then
8063 enableval=$enable_protocol_ftp;
8064 if test "$enableval" = yes; then
8065 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8067 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8072 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8077 eval "$wx_cv_use_protocol_ftp"
8079 if test x
"$enablestring" = xdisable
; then
8080 if test $wxUSE_PROTOCOL_FTP = yes; then
8086 result
=$wxUSE_PROTOCOL_FTP
8089 { echo "$as_me:$LINENO: result: $result" >&5
8090 echo "${ECHO_T}$result" >&6; }
8094 defaultval
=$wxUSE_ALL_FEATURES
8095 if test -z "$defaultval"; then
8096 if test x
"$enablestring" = xdisable
; then
8103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8105 # Check whether --enable-protocol_file was given.
8106 if test "${enable_protocol_file+set}" = set; then
8107 enableval
=$enable_protocol_file;
8108 if test "$enableval" = yes; then
8109 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8111 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8116 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8121 eval "$wx_cv_use_protocol_file"
8123 if test x"$enablestring" = xdisable; then
8124 if test $wxUSE_PROTOCOL_FILE = yes; then
8130 result=$wxUSE_PROTOCOL_FILE
8133 { echo "$as_me:$LINENO: result: $result" >&5
8134 echo "${ECHO_T}$result" >&6; }
8139 defaultval=$wxUSE_ALL_FEATURES
8140 if test -z "$defaultval"; then
8141 if test x"$enablestring" = xdisable; then
8148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8149 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8150 # Check whether --enable-threads was given.
8151 if test "${enable_threads+set}" = set; then
8152 enableval=$enable_threads;
8153 if test "$enableval" = yes; then
8154 wx_cv_use_threads='wxUSE_THREADS
=yes'
8156 wx_cv_use_threads='wxUSE_THREADS
=no
'
8161 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8166 eval "$wx_cv_use_threads"
8168 if test x"$enablestring" = xdisable; then
8169 if test $wxUSE_THREADS = yes; then
8175 result=$wxUSE_THREADS
8178 { echo "$as_me:$LINENO: result
: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8185 if test -z "$defaultval"; then
8186 if test x"$enablestring" = xdisable; then
8193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8194 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8195 # Check whether --enable-iniconf was given.
8196 if test "${enable_iniconf+set}" = set; then
8197 enableval=$enable_iniconf;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8201 wx_cv_use_iniconf='wxUSE_INICONF=no'
8206 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8211 eval "$wx_cv_use_iniconf"
8213 if test x
"$enablestring" = xdisable
; then
8214 if test $wxUSE_INICONF = yes; then
8220 result
=$wxUSE_INICONF
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8228 defaultval
=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x
"$enablestring" = xdisable
; then
8237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8239 # Check whether --enable-regkey was given.
8240 if test "${enable_regkey+set}" = set; then
8241 enableval
=$enable_regkey;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8245 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8250 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8255 eval "$wx_cv_use_regkey"
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_REGKEY = yes; then
8264 result=$wxUSE_REGKEY
8267 { echo "$as_me:$LINENO: result: $result" >&5
8268 echo "${ECHO_T}$result" >&6; }
8271 if test "$wxUSE_GUI" = "yes"; then
8276 defaultval=$wxUSE_ALL_FEATURES
8277 if test -z "$defaultval"; then
8278 if test x"$enablestring" = xdisable; then
8285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8287 # Check whether --enable-docview was given.
8288 if test "${enable_docview+set}" = set; then
8289 enableval=$enable_docview;
8290 if test "$enableval" = yes; then
8291 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8293 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8298 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8303 eval "$wx_cv_use_docview"
8305 if test x"$enablestring" = xdisable; then
8306 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8312 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8315 { echo "$as_me:$LINENO: result
: $result" >&5
8316 echo "${ECHO_T}$result" >&6; }
8320 defaultval=$wxUSE_ALL_FEATURES
8321 if test -z "$defaultval"; then
8322 if test x"$enablestring" = xdisable; then
8329 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8330 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8331 # Check whether --enable-help was given.
8332 if test "${enable_help+set}" = set; then
8333 enableval=$enable_help;
8334 if test "$enableval" = yes; then
8335 wx_cv_use_help='wxUSE_HELP=yes'
8337 wx_cv_use_help='wxUSE_HELP=no'
8342 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8347 eval "$wx_cv_use_help"
8349 if test x
"$enablestring" = xdisable
; then
8350 if test $wxUSE_HELP = yes; then
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8364 defaultval
=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x
"$enablestring" = xdisable
; then
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8375 # Check whether --enable-mshtmlhelp was given.
8376 if test "${enable_mshtmlhelp+set}" = set; then
8377 enableval
=$enable_mshtmlhelp;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8381 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8386 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8391 eval "$wx_cv_use_mshtmlhelp"
8393 if test x"$enablestring" = xdisable; then
8394 if test $wxUSE_MS_HTML_HELP = yes; then
8400 result=$wxUSE_MS_HTML_HELP
8403 { echo "$as_me:$LINENO: result: $result" >&5
8404 echo "${ECHO_T}$result" >&6; }
8408 defaultval=$wxUSE_ALL_FEATURES
8409 if test -z "$defaultval"; then
8410 if test x"$enablestring" = xdisable; then
8417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8419 # Check whether --enable-html was given.
8420 if test "${enable_html+set}" = set; then
8421 enableval=$enable_html;
8422 if test "$enableval" = yes; then
8423 wx_cv_use_html='wxUSE_HTML
=yes'
8425 wx_cv_use_html='wxUSE_HTML
=no
'
8430 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8435 eval "$wx_cv_use_html"
8437 if test x"$enablestring" = xdisable; then
8438 if test $wxUSE_HTML = yes; then
8447 { echo "$as_me:$LINENO: result
: $result" >&5
8448 echo "${ECHO_T}$result" >&6; }
8452 defaultval=$wxUSE_ALL_FEATURES
8453 if test -z "$defaultval"; then
8454 if test x"$enablestring" = xdisable; then
8461 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8462 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8463 # Check whether --enable-htmlhelp was given.
8464 if test "${enable_htmlhelp+set}" = set; then
8465 enableval=$enable_htmlhelp;
8466 if test "$enableval" = yes; then
8467 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8469 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8474 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8479 eval "$wx_cv_use_htmlhelp"
8481 if test x
"$enablestring" = xdisable
; then
8482 if test $wxUSE_WXHTML_HELP = yes; then
8488 result
=$wxUSE_WXHTML_HELP
8491 { echo "$as_me:$LINENO: result: $result" >&5
8492 echo "${ECHO_T}$result" >&6; }
8496 defaultval
=$wxUSE_ALL_FEATURES
8497 if test -z "$defaultval"; then
8498 if test x
"$enablestring" = xdisable
; then
8505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8507 # Check whether --enable-xrc was given.
8508 if test "${enable_xrc+set}" = set; then
8509 enableval
=$enable_xrc;
8510 if test "$enableval" = yes; then
8511 wx_cv_use_xrc
='wxUSE_XRC=yes'
8513 wx_cv_use_xrc
='wxUSE_XRC=no'
8518 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8523 eval "$wx_cv_use_xrc"
8525 if test x"$enablestring" = xdisable; then
8526 if test $wxUSE_XRC = yes; then
8535 { echo "$as_me:$LINENO: result: $result" >&5
8536 echo "${ECHO_T}$result" >&6; }
8540 defaultval=$wxUSE_ALL_FEATURES
8541 if test -z "$defaultval"; then
8542 if test x"$enablestring" = xdisable; then
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8551 # Check whether --enable-aui was given.
8552 if test "${enable_aui+set}" = set; then
8553 enableval=$enable_aui;
8554 if test "$enableval" = yes; then
8555 wx_cv_use_aui='wxUSE_AUI
=yes'
8557 wx_cv_use_aui='wxUSE_AUI
=no
'
8562 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8567 eval "$wx_cv_use_aui"
8569 if test x"$enablestring" = xdisable; then
8570 if test $wxUSE_AUI = yes; then
8579 { echo "$as_me:$LINENO: result
: $result" >&5
8580 echo "${ECHO_T}$result" >&6; }
8584 defaultval=$wxUSE_ALL_FEATURES
8585 if test -z "$defaultval"; then
8586 if test x"$enablestring" = xdisable; then
8593 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8594 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8595 # Check whether --enable-propgrid was given.
8596 if test "${enable_propgrid+set}" = set; then
8597 enableval=$enable_propgrid;
8598 if test "$enableval" = yes; then
8599 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8601 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8606 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8611 eval "$wx_cv_use_propgrid"
8613 if test x
"$enablestring" = xdisable
; then
8614 if test $wxUSE_PROPGRID = yes; then
8620 result
=$wxUSE_PROPGRID
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8628 defaultval
=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x
"$enablestring" = xdisable
; then
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8639 # Check whether --enable-stc was given.
8640 if test "${enable_stc+set}" = set; then
8641 enableval
=$enable_stc;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_stc
='wxUSE_STC=yes'
8645 wx_cv_use_stc
='wxUSE_STC=no'
8650 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8655 eval "$wx_cv_use_stc"
8657 if test x"$enablestring" = xdisable; then
8658 if test $wxUSE_STC = yes; then
8667 { echo "$as_me:$LINENO: result: $result" >&5
8668 echo "${ECHO_T}$result" >&6; }
8672 defaultval=$wxUSE_ALL_FEATURES
8673 if test -z "$defaultval"; then
8674 if test x"$enablestring" = xdisable; then
8681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8682 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8683 # Check whether --enable-constraints was given.
8684 if test "${enable_constraints+set}" = set; then
8685 enableval=$enable_constraints;
8686 if test "$enableval" = yes; then
8687 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8689 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8694 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8699 eval "$wx_cv_use_constraints"
8701 if test x"$enablestring" = xdisable; then
8702 if test $wxUSE_CONSTRAINTS = yes; then
8708 result=$wxUSE_CONSTRAINTS
8711 { echo "$as_me:$LINENO: result
: $result" >&5
8712 echo "${ECHO_T}$result" >&6; }
8716 defaultval=$wxUSE_ALL_FEATURES
8717 if test -z "$defaultval"; then
8718 if test x"$enablestring" = xdisable; then
8725 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8726 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8727 # Check whether --enable-loggui was given.
8728 if test "${enable_loggui+set}" = set; then
8729 enableval=$enable_loggui;
8730 if test "$enableval" = yes; then
8731 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8733 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8738 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8743 eval "$wx_cv_use_loggui"
8745 if test x
"$enablestring" = xdisable
; then
8746 if test $wxUSE_LOGGUI = yes; then
8752 result
=$wxUSE_LOGGUI
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8760 defaultval
=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x
"$enablestring" = xdisable
; then
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8771 # Check whether --enable-logwin was given.
8772 if test "${enable_logwin+set}" = set; then
8773 enableval
=$enable_logwin;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8777 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8782 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8787 eval "$wx_cv_use_logwin"
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_LOGWINDOW = yes; then
8796 result=$wxUSE_LOGWINDOW
8799 { echo "$as_me:$LINENO: result: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8804 defaultval=$wxUSE_ALL_FEATURES
8805 if test -z "$defaultval"; then
8806 if test x"$enablestring" = xdisable; then
8813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8815 # Check whether --enable-logdialog was given.
8816 if test "${enable_logdialog+set}" = set; then
8817 enableval=$enable_logdialog;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8821 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8826 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8831 eval "$wx_cv_use_logdialog"
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_LOGDIALOG = yes; then
8840 result=$wxUSE_LOGDIALOG
8843 { echo "$as_me:$LINENO: result
: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8857 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8858 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8859 # Check whether --enable-mdi was given.
8860 if test "${enable_mdi+set}" = set; then
8861 enableval=$enable_mdi;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_mdi='wxUSE_MDI=yes'
8865 wx_cv_use_mdi='wxUSE_MDI=no'
8870 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8875 eval "$wx_cv_use_mdi"
8877 if test x
"$enablestring" = xdisable
; then
8878 if test $wxUSE_MDI = yes; then
8887 { echo "$as_me:$LINENO: result: $result" >&5
8888 echo "${ECHO_T}$result" >&6; }
8892 defaultval
=$wxUSE_ALL_FEATURES
8893 if test -z "$defaultval"; then
8894 if test x
"$enablestring" = xdisable
; then
8901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8903 # Check whether --enable-mdidoc was given.
8904 if test "${enable_mdidoc+set}" = set; then
8905 enableval
=$enable_mdidoc;
8906 if test "$enableval" = yes; then
8907 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8909 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8914 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8919 eval "$wx_cv_use_mdidoc"
8921 if test x"$enablestring" = xdisable; then
8922 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8928 result=$wxUSE_MDI_ARCHITECTURE
8931 { echo "$as_me:$LINENO: result: $result" >&5
8932 echo "${ECHO_T}$result" >&6; }
8936 defaultval=$wxUSE_ALL_FEATURES
8937 if test -z "$defaultval"; then
8938 if test x"$enablestring" = xdisable; then
8945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8947 # Check whether --enable-mediactrl was given.
8948 if test "${enable_mediactrl+set}" = set; then
8949 enableval=$enable_mediactrl;
8950 if test "$enableval" = yes; then
8951 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8953 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8958 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8963 eval "$wx_cv_use_mediactrl"
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_MEDIACTRL = yes; then
8972 result=$wxUSE_MEDIACTRL
8975 { echo "$as_me:$LINENO: result
: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8989 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8990 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8991 # Check whether --enable-gstreamer8 was given.
8992 if test "${enable_gstreamer8+set}" = set; then
8993 enableval=$enable_gstreamer8;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8997 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9002 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9007 eval "$wx_cv_use_gstreamer8"
9009 if test x
"$enablestring" = xdisable
; then
9010 if test $wxUSE_GSTREAMER8 = yes; then
9016 result
=$wxUSE_GSTREAMER8
9019 { echo "$as_me:$LINENO: result: $result" >&5
9020 echo "${ECHO_T}$result" >&6; }
9024 defaultval
=$wxUSE_ALL_FEATURES
9025 if test -z "$defaultval"; then
9026 if test x
"$enablestring" = xdisable
; then
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9035 # Check whether --enable-webkit was given.
9036 if test "${enable_webkit+set}" = set; then
9037 enableval
=$enable_webkit;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9041 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9046 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9051 eval "$wx_cv_use_webkit"
9053 if test x"$enablestring" = xdisable; then
9054 if test $wxUSE_WEBKIT = yes; then
9060 result=$wxUSE_WEBKIT
9063 { echo "$as_me:$LINENO: result: $result" >&5
9064 echo "${ECHO_T}$result" >&6; }
9068 defaultval=$wxUSE_ALL_FEATURES
9069 if test -z "$defaultval"; then
9070 if test x"$enablestring" = xdisable; then
9077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9079 # Check whether --enable-richtext was given.
9080 if test "${enable_richtext+set}" = set; then
9081 enableval=$enable_richtext;
9082 if test "$enableval" = yes; then
9083 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9085 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9090 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9095 eval "$wx_cv_use_richtext"
9097 if test x"$enablestring" = xdisable; then
9098 if test $wxUSE_RICHTEXT = yes; then
9104 result=$wxUSE_RICHTEXT
9107 { echo "$as_me:$LINENO: result
: $result" >&5
9108 echo "${ECHO_T}$result" >&6; }
9112 defaultval=$wxUSE_ALL_FEATURES
9113 if test -z "$defaultval"; then
9114 if test x"$enablestring" = xdisable; then
9121 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9122 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9123 # Check whether --enable-graphics_ctx was given.
9124 if test "${enable_graphics_ctx+set}" = set; then
9125 enableval=$enable_graphics_ctx;
9126 if test "$enableval" = yes; then
9127 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9129 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9134 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9139 eval "$wx_cv_use_graphics_ctx"
9141 if test x
"$enablestring" = xdisable
; then
9142 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9148 result
=$wxUSE_GRAPHICS_CONTEXT
9151 { echo "$as_me:$LINENO: result: $result" >&5
9152 echo "${ECHO_T}$result" >&6; }
9156 defaultval
=$wxUSE_ALL_FEATURES
9157 if test -z "$defaultval"; then
9158 if test x
"$enablestring" = xdisable
; then
9165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9167 # Check whether --enable-postscript was given.
9168 if test "${enable_postscript+set}" = set; then
9169 enableval
=$enable_postscript;
9170 if test "$enableval" = yes; then
9171 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9173 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9178 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9183 eval "$wx_cv_use_postscript"
9185 if test x"$enablestring" = xdisable; then
9186 if test $wxUSE_POSTSCRIPT = yes; then
9192 result=$wxUSE_POSTSCRIPT
9195 { echo "$as_me:$LINENO: result: $result" >&5
9196 echo "${ECHO_T}$result" >&6; }
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9211 # Check whether --enable-printarch was given.
9212 if test "${enable_printarch+set}" = set; then
9213 enableval=$enable_printarch;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9217 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9222 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9227 eval "$wx_cv_use_printarch"
9229 if test x"$enablestring" = xdisable; then
9230 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9236 result=$wxUSE_PRINTING_ARCHITECTURE
9239 { echo "$as_me:$LINENO: result
: $result" >&5
9240 echo "${ECHO_T}$result" >&6; }
9244 defaultval=$wxUSE_ALL_FEATURES
9245 if test -z "$defaultval"; then
9246 if test x"$enablestring" = xdisable; then
9253 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9254 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9255 # Check whether --enable-svg was given.
9256 if test "${enable_svg+set}" = set; then
9257 enableval=$enable_svg;
9258 if test "$enableval" = yes; then
9259 wx_cv_use_svg='wxUSE_SVG=yes'
9261 wx_cv_use_svg='wxUSE_SVG=no'
9266 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9271 eval "$wx_cv_use_svg"
9273 if test x
"$enablestring" = xdisable
; then
9274 if test $wxUSE_SVG = yes; then
9283 { echo "$as_me:$LINENO: result: $result" >&5
9284 echo "${ECHO_T}$result" >&6; }
9290 defaultval
=$wxUSE_ALL_FEATURES
9291 if test -z "$defaultval"; then
9292 if test x
"$enablestring" = xdisable
; then
9299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9301 # Check whether --enable-clipboard was given.
9302 if test "${enable_clipboard+set}" = set; then
9303 enableval
=$enable_clipboard;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9307 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9312 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9317 eval "$wx_cv_use_clipboard"
9319 if test x"$enablestring" = xdisable; then
9320 if test $wxUSE_CLIPBOARD = yes; then
9326 result=$wxUSE_CLIPBOARD
9329 { echo "$as_me:$LINENO: result: $result" >&5
9330 echo "${ECHO_T}$result" >&6; }
9334 defaultval=$wxUSE_ALL_FEATURES
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9345 # Check whether --enable-dnd was given.
9346 if test "${enable_dnd+set}" = set; then
9347 enableval=$enable_dnd;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9351 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9356 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9361 eval "$wx_cv_use_dnd"
9363 if test x"$enablestring" = xdisable; then
9364 if test $wxUSE_DRAG_AND_DROP = yes; then
9370 result=$wxUSE_DRAG_AND_DROP
9373 { echo "$as_me:$LINENO: result
: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9378 defaultval=$wxUSE_ALL_FEATURES
9379 if test -z "$defaultval"; then
9380 if test x"$enablestring" = xdisable; then
9387 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9388 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9389 # Check whether --enable-metafile was given.
9390 if test "${enable_metafile+set}" = set; then
9391 enableval=$enable_metafile;
9392 if test "$enableval" = yes; then
9393 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9395 wx_cv_use_metafile='wxUSE_METAFILE=no'
9400 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9405 eval "$wx_cv_use_metafile"
9407 if test x
"$enablestring" = xdisable
; then
9408 if test $wxUSE_METAFILE = yes; then
9414 result
=$wxUSE_METAFILE
9417 { echo "$as_me:$LINENO: result: $result" >&5
9418 echo "${ECHO_T}$result" >&6; }
9422 DEFAULT_wxUSE_CONTROLS
=none
9424 enablestring
=disable
9426 if test -z "$defaultval"; then
9427 if test x
"$enablestring" = xdisable
; then
9434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9436 # Check whether --enable-controls was given.
9437 if test "${enable_controls+set}" = set; then
9438 enableval
=$enable_controls;
9439 if test "$enableval" = yes; then
9440 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9442 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9447 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9452 eval "$wx_cv_use_controls"
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_CONTROLS = yes; then
9461 result=$wxUSE_CONTROLS
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9468 if test "$wxUSE_CONTROLS" = "yes"; then
9469 DEFAULT_wxUSE_ACCEL=yes
9470 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9471 DEFAULT_wxUSE_BMPBUTTON=yes
9472 DEFAULT_wxUSE_BUTTON=yes
9473 DEFAULT_wxUSE_CALCTRL=yes
9474 DEFAULT_wxUSE_CARET=yes
9475 DEFAULT_wxUSE_COMBOBOX=yes
9476 DEFAULT_wxUSE_CHECKBOX=yes
9477 DEFAULT_wxUSE_CHECKLISTBOX=yes
9478 DEFAULT_wxUSE_CHOICE=yes
9479 DEFAULT_wxUSE_CHOICEBOOK=yes
9480 DEFAULT_wxUSE_COLLPANE=yes
9481 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9482 DEFAULT_wxUSE_COMBOBOX=yes
9483 DEFAULT_wxUSE_DATEPICKCTRL=yes
9484 DEFAULT_wxUSE_DISPLAY=yes
9485 DEFAULT_wxUSE_DETECT_SM=yes
9486 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9487 DEFAULT_wxUSE_FILECTRL=yes
9488 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9489 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9490 DEFAULT_wxUSE_GAUGE=yes
9491 DEFAULT_wxUSE_GRID=yes
9492 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9493 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9494 DEFAULT_wxUSE_IMAGLIST=yes
9495 DEFAULT_wxUSE_LISTBOOK=yes
9496 DEFAULT_wxUSE_LISTBOX=yes
9497 DEFAULT_wxUSE_LISTCTRL=yes
9498 DEFAULT_wxUSE_NOTEBOOK=yes
9499 DEFAULT_wxUSE_RADIOBOX=yes
9500 DEFAULT_wxUSE_RADIOBTN=yes
9501 DEFAULT_wxUSE_SASH=yes
9502 DEFAULT_wxUSE_SCROLLBAR=yes
9503 DEFAULT_wxUSE_SEARCHCTRL=yes
9504 DEFAULT_wxUSE_SLIDER=yes
9505 DEFAULT_wxUSE_SPINBTN=yes
9506 DEFAULT_wxUSE_SPINCTRL=yes
9507 DEFAULT_wxUSE_SPLITTER=yes
9508 DEFAULT_wxUSE_STATBMP=yes
9509 DEFAULT_wxUSE_STATBOX=yes
9510 DEFAULT_wxUSE_STATLINE=yes
9511 DEFAULT_wxUSE_STATUSBAR=yes
9512 DEFAULT_wxUSE_TAB_DIALOG=yes
9513 DEFAULT_wxUSE_TOGGLEBTN=yes
9514 DEFAULT_wxUSE_TOOLBAR=yes
9515 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9516 DEFAULT_wxUSE_TOOLTIPS=yes
9517 DEFAULT_wxUSE_TREEBOOK=yes
9518 DEFAULT_wxUSE_TOOLBOOK=yes
9519 DEFAULT_wxUSE_TREECTRL=yes
9520 DEFAULT_wxUSE_POPUPWIN=yes
9521 DEFAULT_wxUSE_TIPWINDOW=yes
9522 elif test "$wxUSE_CONTROLS" = "no"; then
9523 DEFAULT_wxUSE_ACCEL=no
9524 DEFAULT_wxUSE_ANIMATIONCTRL=no
9525 DEFAULT_wxUSE_BMPBUTTON=no
9526 DEFAULT_wxUSE_BUTTON=no
9527 DEFAULT_wxUSE_CALCTRL=no
9528 DEFAULT_wxUSE_CARET=no
9529 DEFAULT_wxUSE_COLLPANE=no
9530 DEFAULT_wxUSE_COMBOBOX=no
9531 DEFAULT_wxUSE_CHECKBOX=no
9532 DEFAULT_wxUSE_CHECKLISTBOX=no
9533 DEFAULT_wxUSE_CHOICE=no
9534 DEFAULT_wxUSE_CHOICEBOOK=no
9535 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9536 DEFAULT_wxUSE_COMBOBOX=no
9537 DEFAULT_wxUSE_DATEPICKCTRL=no
9538 DEFAULT_wxUSE_DISPLAY=no
9539 DEFAULT_wxUSE_DETECT_SM=no
9540 DEFAULT_wxUSE_DIRPICKERCTRL=no
9541 DEFAULT_wxUSE_FILECTRL=no
9542 DEFAULT_wxUSE_FILEPICKERCTRL=no
9543 DEFAULT_wxUSE_FONTPICKERCTRL=no
9544 DEFAULT_wxUSE_GAUGE=no
9545 DEFAULT_wxUSE_GRID=no
9546 DEFAULT_wxUSE_HYPERLINKCTRL=no
9547 DEFAULT_wxUSE_DATAVIEWCTRL=no
9548 DEFAULT_wxUSE_IMAGLIST=no
9549 DEFAULT_wxUSE_LISTBOOK=no
9550 DEFAULT_wxUSE_LISTBOX=no
9551 DEFAULT_wxUSE_LISTCTRL=no
9552 DEFAULT_wxUSE_NOTEBOOK=no
9553 DEFAULT_wxUSE_RADIOBOX=no
9554 DEFAULT_wxUSE_RADIOBTN=no
9555 DEFAULT_wxUSE_SASH=no
9556 DEFAULT_wxUSE_SCROLLBAR=no
9557 DEFAULT_wxUSE_SEARCHCTRL=no
9558 DEFAULT_wxUSE_SLIDER=no
9559 DEFAULT_wxUSE_SPINBTN=no
9560 DEFAULT_wxUSE_SPINCTRL=no
9561 DEFAULT_wxUSE_SPLITTER=no
9562 DEFAULT_wxUSE_STATBMP=no
9563 DEFAULT_wxUSE_STATBOX=no
9564 DEFAULT_wxUSE_STATLINE=no
9565 DEFAULT_wxUSE_STATUSBAR=no
9566 DEFAULT_wxUSE_TAB_DIALOG=no
9567 DEFAULT_wxUSE_TOGGLEBTN=no
9568 DEFAULT_wxUSE_TOOLBAR=no
9569 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9570 DEFAULT_wxUSE_TOOLTIPS=no
9571 DEFAULT_wxUSE_TREEBOOK=no
9572 DEFAULT_wxUSE_TOOLBOOK=no
9573 DEFAULT_wxUSE_TREECTRL=no
9574 DEFAULT_wxUSE_POPUPWIN=no
9575 DEFAULT_wxUSE_TIPWINDOW=no
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9591 # Check whether --enable-accel was given.
9592 if test "${enable_accel+set}" = set; then
9593 enableval=$enable_accel;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9597 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9602 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9607 eval "$wx_cv_use_accel"
9609 if test x"$enablestring" = xdisable; then
9610 if test $wxUSE_ACCEL = yes; then
9619 { echo "$as_me:$LINENO: result
: $result" >&5
9620 echo "${ECHO_T}$result" >&6; }
9624 defaultval=$wxUSE_ALL_FEATURES
9625 if test -z "$defaultval"; then
9626 if test x"$enablestring" = xdisable; then
9633 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9634 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9635 # Check whether --enable-animatectrl was given.
9636 if test "${enable_animatectrl+set}" = set; then
9637 enableval=$enable_animatectrl;
9638 if test "$enableval" = yes; then
9639 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9641 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9646 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9651 eval "$wx_cv_use_animatectrl"
9653 if test x
"$enablestring" = xdisable
; then
9654 if test $wxUSE_ANIMATIONCTRL = yes; then
9660 result
=$wxUSE_ANIMATIONCTRL
9663 { echo "$as_me:$LINENO: result: $result" >&5
9664 echo "${ECHO_T}$result" >&6; }
9668 defaultval
=$wxUSE_ALL_FEATURES
9669 if test -z "$defaultval"; then
9670 if test x
"$enablestring" = xdisable
; then
9677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9679 # Check whether --enable-button was given.
9680 if test "${enable_button+set}" = set; then
9681 enableval
=$enable_button;
9682 if test "$enableval" = yes; then
9683 wx_cv_use_button
='wxUSE_BUTTON=yes'
9685 wx_cv_use_button
='wxUSE_BUTTON=no'
9690 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9695 eval "$wx_cv_use_button"
9697 if test x"$enablestring" = xdisable; then
9698 if test $wxUSE_BUTTON = yes; then
9704 result=$wxUSE_BUTTON
9707 { echo "$as_me:$LINENO: result: $result" >&5
9708 echo "${ECHO_T}$result" >&6; }
9712 defaultval=$wxUSE_ALL_FEATURES
9713 if test -z "$defaultval"; then
9714 if test x"$enablestring" = xdisable; then
9721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9723 # Check whether --enable-bmpbutton was given.
9724 if test "${enable_bmpbutton+set}" = set; then
9725 enableval=$enable_bmpbutton;
9726 if test "$enableval" = yes; then
9727 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9729 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9734 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9739 eval "$wx_cv_use_bmpbutton"
9741 if test x"$enablestring" = xdisable; then
9742 if test $wxUSE_BMPBUTTON = yes; then
9748 result=$wxUSE_BMPBUTTON
9751 { echo "$as_me:$LINENO: result
: $result" >&5
9752 echo "${ECHO_T}$result" >&6; }
9756 defaultval=$wxUSE_ALL_FEATURES
9757 if test -z "$defaultval"; then
9758 if test x"$enablestring" = xdisable; then
9765 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9766 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9767 # Check whether --enable-bmpcombobox was given.
9768 if test "${enable_bmpcombobox+set}" = set; then
9769 enableval=$enable_bmpcombobox;
9770 if test "$enableval" = yes; then
9771 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9773 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9778 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9783 eval "$wx_cv_use_bmpcombobox"
9785 if test x
"$enablestring" = xdisable
; then
9786 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9792 result
=$wxUSE_BITMAPCOMBOBOX
9795 { echo "$as_me:$LINENO: result: $result" >&5
9796 echo "${ECHO_T}$result" >&6; }
9800 defaultval
=$wxUSE_ALL_FEATURES
9801 if test -z "$defaultval"; then
9802 if test x
"$enablestring" = xdisable
; then
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9811 # Check whether --enable-calendar was given.
9812 if test "${enable_calendar+set}" = set; then
9813 enableval
=$enable_calendar;
9814 if test "$enableval" = yes; then
9815 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9817 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9822 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9827 eval "$wx_cv_use_calendar"
9829 if test x"$enablestring" = xdisable; then
9830 if test $wxUSE_CALCTRL = yes; then
9836 result=$wxUSE_CALCTRL
9839 { echo "$as_me:$LINENO: result: $result" >&5
9840 echo "${ECHO_T}$result" >&6; }
9844 defaultval=$wxUSE_ALL_FEATURES
9845 if test -z "$defaultval"; then
9846 if test x"$enablestring" = xdisable; then
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9855 # Check whether --enable-caret was given.
9856 if test "${enable_caret+set}" = set; then
9857 enableval=$enable_caret;
9858 if test "$enableval" = yes; then
9859 wx_cv_use_caret='wxUSE_CARET
=yes'
9861 wx_cv_use_caret='wxUSE_CARET
=no
'
9866 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9871 eval "$wx_cv_use_caret"
9873 if test x"$enablestring" = xdisable; then
9874 if test $wxUSE_CARET = yes; then
9883 { echo "$as_me:$LINENO: result
: $result" >&5
9884 echo "${ECHO_T}$result" >&6; }
9888 defaultval=$wxUSE_ALL_FEATURES
9889 if test -z "$defaultval"; then
9890 if test x"$enablestring" = xdisable; then
9897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9898 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9899 # Check whether --enable-checkbox was given.
9900 if test "${enable_checkbox+set}" = set; then
9901 enableval=$enable_checkbox;
9902 if test "$enableval" = yes; then
9903 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9905 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9910 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9915 eval "$wx_cv_use_checkbox"
9917 if test x
"$enablestring" = xdisable
; then
9918 if test $wxUSE_CHECKBOX = yes; then
9924 result
=$wxUSE_CHECKBOX
9927 { echo "$as_me:$LINENO: result: $result" >&5
9928 echo "${ECHO_T}$result" >&6; }
9932 defaultval
=$wxUSE_ALL_FEATURES
9933 if test -z "$defaultval"; then
9934 if test x
"$enablestring" = xdisable
; then
9941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9943 # Check whether --enable-checklst was given.
9944 if test "${enable_checklst+set}" = set; then
9945 enableval
=$enable_checklst;
9946 if test "$enableval" = yes; then
9947 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9949 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9954 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9959 eval "$wx_cv_use_checklst"
9961 if test x"$enablestring" = xdisable; then
9962 if test $wxUSE_CHECKLST = yes; then
9968 result=$wxUSE_CHECKLST
9971 { echo "$as_me:$LINENO: result: $result" >&5
9972 echo "${ECHO_T}$result" >&6; }
9976 defaultval=$wxUSE_ALL_FEATURES
9977 if test -z "$defaultval"; then
9978 if test x"$enablestring" = xdisable; then
9985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9987 # Check whether --enable-choice was given.
9988 if test "${enable_choice+set}" = set; then
9989 enableval=$enable_choice;
9990 if test "$enableval" = yes; then
9991 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9993 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9998 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10003 eval "$wx_cv_use_choice"
10005 if test x"$enablestring" = xdisable; then
10006 if test $wxUSE_CHOICE = yes; then
10012 result=$wxUSE_CHOICE
10015 { echo "$as_me:$LINENO: result
: $result" >&5
10016 echo "${ECHO_T}$result" >&6; }
10020 defaultval=$wxUSE_ALL_FEATURES
10021 if test -z "$defaultval"; then
10022 if test x"$enablestring" = xdisable; then
10029 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10030 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10031 # Check whether --enable-choicebook was given.
10032 if test "${enable_choicebook+set}" = set; then
10033 enableval=$enable_choicebook;
10034 if test "$enableval" = yes; then
10035 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10037 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10042 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10047 eval "$wx_cv_use_choicebook"
10049 if test x
"$enablestring" = xdisable
; then
10050 if test $wxUSE_CHOICEBOOK = yes; then
10056 result
=$wxUSE_CHOICEBOOK
10059 { echo "$as_me:$LINENO: result: $result" >&5
10060 echo "${ECHO_T}$result" >&6; }
10064 defaultval
=$wxUSE_ALL_FEATURES
10065 if test -z "$defaultval"; then
10066 if test x
"$enablestring" = xdisable
; then
10073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10075 # Check whether --enable-collpane was given.
10076 if test "${enable_collpane+set}" = set; then
10077 enableval
=$enable_collpane;
10078 if test "$enableval" = yes; then
10079 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10081 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10086 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10091 eval "$wx_cv_use_collpane"
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_COLLPANE = yes; then
10100 result=$wxUSE_COLLPANE
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10119 # Check whether --enable-colourpicker was given.
10120 if test "${enable_colourpicker+set}" = set; then
10121 enableval=$enable_colourpicker;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10125 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10130 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10135 eval "$wx_cv_use_colourpicker"
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_COLOURPICKERCTRL = yes; then
10144 result=$wxUSE_COLOURPICKERCTRL
10147 { echo "$as_me:$LINENO: result
: $result" >&5
10148 echo "${ECHO_T}$result" >&6; }
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10161 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10162 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10163 # Check whether --enable-combobox was given.
10164 if test "${enable_combobox+set}" = set; then
10165 enableval=$enable_combobox;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10169 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10174 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10179 eval "$wx_cv_use_combobox"
10181 if test x
"$enablestring" = xdisable
; then
10182 if test $wxUSE_COMBOBOX = yes; then
10188 result
=$wxUSE_COMBOBOX
10191 { echo "$as_me:$LINENO: result: $result" >&5
10192 echo "${ECHO_T}$result" >&6; }
10196 defaultval
=$wxUSE_ALL_FEATURES
10197 if test -z "$defaultval"; then
10198 if test x
"$enablestring" = xdisable
; then
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10207 # Check whether --enable-comboctrl was given.
10208 if test "${enable_comboctrl+set}" = set; then
10209 enableval
=$enable_comboctrl;
10210 if test "$enableval" = yes; then
10211 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10213 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10218 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10223 eval "$wx_cv_use_comboctrl"
10225 if test x"$enablestring" = xdisable; then
10226 if test $wxUSE_COMBOCTRL = yes; then
10232 result=$wxUSE_COMBOCTRL
10235 { echo "$as_me:$LINENO: result: $result" >&5
10236 echo "${ECHO_T}$result" >&6; }
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10251 # Check whether --enable-datepick was given.
10252 if test "${enable_datepick+set}" = set; then
10253 enableval=$enable_datepick;
10254 if test "$enableval" = yes; then
10255 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10257 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10262 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10267 eval "$wx_cv_use_datepick"
10269 if test x"$enablestring" = xdisable; then
10270 if test $wxUSE_DATEPICKCTRL = yes; then
10276 result=$wxUSE_DATEPICKCTRL
10279 { echo "$as_me:$LINENO: result
: $result" >&5
10280 echo "${ECHO_T}$result" >&6; }
10284 defaultval=$wxUSE_ALL_FEATURES
10285 if test -z "$defaultval"; then
10286 if test x"$enablestring" = xdisable; then
10293 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10294 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10295 # Check whether --enable-dirpicker was given.
10296 if test "${enable_dirpicker+set}" = set; then
10297 enableval=$enable_dirpicker;
10298 if test "$enableval" = yes; then
10299 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10306 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10311 eval "$wx_cv_use_dirpicker"
10313 if test x
"$enablestring" = xdisable
; then
10314 if test $wxUSE_DIRPICKERCTRL = yes; then
10320 result
=$wxUSE_DIRPICKERCTRL
10323 { echo "$as_me:$LINENO: result: $result" >&5
10324 echo "${ECHO_T}$result" >&6; }
10328 defaultval
=$wxUSE_ALL_FEATURES
10329 if test -z "$defaultval"; then
10330 if test x
"$enablestring" = xdisable
; then
10337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10339 # Check whether --enable-display was given.
10340 if test "${enable_display+set}" = set; then
10341 enableval
=$enable_display;
10342 if test "$enableval" = yes; then
10343 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10345 wx_cv_use_display
='wxUSE_DISPLAY=no'
10350 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10355 eval "$wx_cv_use_display"
10357 if test x"$enablestring" = xdisable; then
10358 if test $wxUSE_DISPLAY = yes; then
10364 result=$wxUSE_DISPLAY
10367 { echo "$as_me:$LINENO: result: $result" >&5
10368 echo "${ECHO_T}$result" >&6; }
10372 defaultval=$wxUSE_ALL_FEATURES
10373 if test -z "$defaultval"; then
10374 if test x"$enablestring" = xdisable; then
10381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10383 # Check whether --enable-detect_sm was given.
10384 if test "${enable_detect_sm+set}" = set; then
10385 enableval=$enable_detect_sm;
10386 if test "$enableval" = yes; then
10387 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10389 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10394 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10399 eval "$wx_cv_use_detect_sm"
10401 if test x"$enablestring" = xdisable; then
10402 if test $wxUSE_DETECT_SM = yes; then
10408 result=$wxUSE_DETECT_SM
10411 { echo "$as_me:$LINENO: result
: $result" >&5
10412 echo "${ECHO_T}$result" >&6; }
10416 defaultval=$wxUSE_ALL_FEATURES
10417 if test -z "$defaultval"; then
10418 if test x"$enablestring" = xdisable; then
10425 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10426 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10427 # Check whether --enable-editablebox was given.
10428 if test "${enable_editablebox+set}" = set; then
10429 enableval=$enable_editablebox;
10430 if test "$enableval" = yes; then
10431 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10433 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10438 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10443 eval "$wx_cv_use_editablebox"
10445 if test x
"$enablestring" = xdisable
; then
10446 if test $wxUSE_EDITABLELISTBOX = yes; then
10452 result
=$wxUSE_EDITABLELISTBOX
10455 { echo "$as_me:$LINENO: result: $result" >&5
10456 echo "${ECHO_T}$result" >&6; }
10460 defaultval
=$wxUSE_ALL_FEATURES
10461 if test -z "$defaultval"; then
10462 if test x
"$enablestring" = xdisable
; then
10469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10470 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10471 # Check whether --enable-filepicker was given.
10472 if test "${enable_filepicker+set}" = set; then
10473 enableval
=$enable_filepicker;
10474 if test "$enableval" = yes; then
10475 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10477 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10482 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10487 eval "$wx_cv_use_filepicker"
10489 if test x"$enablestring" = xdisable; then
10490 if test $wxUSE_FILEPICKERCTRL = yes; then
10496 result=$wxUSE_FILEPICKERCTRL
10499 { echo "$as_me:$LINENO: result: $result" >&5
10500 echo "${ECHO_T}$result" >&6; }
10504 defaultval=$wxUSE_ALL_FEATURES
10505 if test -z "$defaultval"; then
10506 if test x"$enablestring" = xdisable; then
10513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10515 # Check whether --enable-filectrl was given.
10516 if test "${enable_filectrl+set}" = set; then
10517 enableval=$enable_filectrl;
10518 if test "$enableval" = yes; then
10519 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10521 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10526 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10531 eval "$wx_cv_use_filectrl"
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_FILECTRL = yes; then
10540 result=$wxUSE_FILECTRL
10543 { echo "$as_me:$LINENO: result
: $result" >&5
10544 echo "${ECHO_T}$result" >&6; }
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10557 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10558 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10559 # Check whether --enable-fontpicker was given.
10560 if test "${enable_fontpicker+set}" = set; then
10561 enableval=$enable_fontpicker;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10565 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10570 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10575 eval "$wx_cv_use_fontpicker"
10577 if test x
"$enablestring" = xdisable
; then
10578 if test $wxUSE_FONTPICKERCTRL = yes; then
10584 result
=$wxUSE_FONTPICKERCTRL
10587 { echo "$as_me:$LINENO: result: $result" >&5
10588 echo "${ECHO_T}$result" >&6; }
10592 defaultval
=$wxUSE_ALL_FEATURES
10593 if test -z "$defaultval"; then
10594 if test x
"$enablestring" = xdisable
; then
10601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10602 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10603 # Check whether --enable-gauge was given.
10604 if test "${enable_gauge+set}" = set; then
10605 enableval
=$enable_gauge;
10606 if test "$enableval" = yes; then
10607 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10609 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10614 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10619 eval "$wx_cv_use_gauge"
10621 if test x"$enablestring" = xdisable; then
10622 if test $wxUSE_GAUGE = yes; then
10628 result=$wxUSE_GAUGE
10631 { echo "$as_me:$LINENO: result: $result" >&5
10632 echo "${ECHO_T}$result" >&6; }
10636 defaultval=$wxUSE_ALL_FEATURES
10637 if test -z "$defaultval"; then
10638 if test x"$enablestring" = xdisable; then
10645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10646 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10647 # Check whether --enable-grid was given.
10648 if test "${enable_grid+set}" = set; then
10649 enableval=$enable_grid;
10650 if test "$enableval" = yes; then
10651 wx_cv_use_grid='wxUSE_GRID
=yes'
10653 wx_cv_use_grid='wxUSE_GRID
=no
'
10658 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10663 eval "$wx_cv_use_grid"
10665 if test x"$enablestring" = xdisable; then
10666 if test $wxUSE_GRID = yes; then
10675 { echo "$as_me:$LINENO: result
: $result" >&5
10676 echo "${ECHO_T}$result" >&6; }
10680 defaultval=$wxUSE_ALL_FEATURES
10681 if test -z "$defaultval"; then
10682 if test x"$enablestring" = xdisable; then
10689 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10690 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10691 # Check whether --enable-dataviewctrl was given.
10692 if test "${enable_dataviewctrl+set}" = set; then
10693 enableval=$enable_dataviewctrl;
10694 if test "$enableval" = yes; then
10695 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10697 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10702 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10707 eval "$wx_cv_use_dataviewctrl"
10709 if test x
"$enablestring" = xdisable
; then
10710 if test $wxUSE_DATAVIEWCTRL = yes; then
10716 result
=$wxUSE_DATAVIEWCTRL
10719 { echo "$as_me:$LINENO: result: $result" >&5
10720 echo "${ECHO_T}$result" >&6; }
10724 defaultval
=$wxUSE_ALL_FEATURES
10725 if test -z "$defaultval"; then
10726 if test x
"$enablestring" = xdisable
; then
10733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10734 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10735 # Check whether --enable-hyperlink was given.
10736 if test "${enable_hyperlink+set}" = set; then
10737 enableval
=$enable_hyperlink;
10738 if test "$enableval" = yes; then
10739 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10741 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10746 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10751 eval "$wx_cv_use_hyperlink"
10753 if test x"$enablestring" = xdisable; then
10754 if test $wxUSE_HYPERLINKCTRL = yes; then
10760 result=$wxUSE_HYPERLINKCTRL
10763 { echo "$as_me:$LINENO: result: $result" >&5
10764 echo "${ECHO_T}$result" >&6; }
10768 defaultval=$wxUSE_ALL_FEATURES
10769 if test -z "$defaultval"; then
10770 if test x"$enablestring" = xdisable; then
10777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10778 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10779 # Check whether --enable-imaglist was given.
10780 if test "${enable_imaglist+set}" = set; then
10781 enableval=$enable_imaglist;
10782 if test "$enableval" = yes; then
10783 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10785 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10790 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10795 eval "$wx_cv_use_imaglist"
10797 if test x"$enablestring" = xdisable; then
10798 if test $wxUSE_IMAGLIST = yes; then
10804 result=$wxUSE_IMAGLIST
10807 { echo "$as_me:$LINENO: result
: $result" >&5
10808 echo "${ECHO_T}$result" >&6; }
10812 defaultval=$wxUSE_ALL_FEATURES
10813 if test -z "$defaultval"; then
10814 if test x"$enablestring" = xdisable; then
10821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10822 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10823 # Check whether --enable-listbook was given.
10824 if test "${enable_listbook+set}" = set; then
10825 enableval=$enable_listbook;
10826 if test "$enableval" = yes; then
10827 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10829 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10834 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10839 eval "$wx_cv_use_listbook"
10841 if test x
"$enablestring" = xdisable
; then
10842 if test $wxUSE_LISTBOOK = yes; then
10848 result
=$wxUSE_LISTBOOK
10851 { echo "$as_me:$LINENO: result: $result" >&5
10852 echo "${ECHO_T}$result" >&6; }
10856 defaultval
=$wxUSE_ALL_FEATURES
10857 if test -z "$defaultval"; then
10858 if test x
"$enablestring" = xdisable
; then
10865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10866 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10867 # Check whether --enable-listbox was given.
10868 if test "${enable_listbox+set}" = set; then
10869 enableval
=$enable_listbox;
10870 if test "$enableval" = yes; then
10871 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10873 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10878 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10883 eval "$wx_cv_use_listbox"
10885 if test x"$enablestring" = xdisable; then
10886 if test $wxUSE_LISTBOX = yes; then
10892 result=$wxUSE_LISTBOX
10895 { echo "$as_me:$LINENO: result: $result" >&5
10896 echo "${ECHO_T}$result" >&6; }
10900 defaultval=$wxUSE_ALL_FEATURES
10901 if test -z "$defaultval"; then
10902 if test x"$enablestring" = xdisable; then
10909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10911 # Check whether --enable-listctrl was given.
10912 if test "${enable_listctrl+set}" = set; then
10913 enableval=$enable_listctrl;
10914 if test "$enableval" = yes; then
10915 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10917 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10922 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10927 eval "$wx_cv_use_listctrl"
10929 if test x"$enablestring" = xdisable; then
10930 if test $wxUSE_LISTCTRL = yes; then
10936 result=$wxUSE_LISTCTRL
10939 { echo "$as_me:$LINENO: result
: $result" >&5
10940 echo "${ECHO_T}$result" >&6; }
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10953 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10954 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10955 # Check whether --enable-notebook was given.
10956 if test "${enable_notebook+set}" = set; then
10957 enableval=$enable_notebook;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10961 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10966 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10971 eval "$wx_cv_use_notebook"
10973 if test x
"$enablestring" = xdisable
; then
10974 if test $wxUSE_NOTEBOOK = yes; then
10980 result
=$wxUSE_NOTEBOOK
10983 { echo "$as_me:$LINENO: result: $result" >&5
10984 echo "${ECHO_T}$result" >&6; }
10988 defaultval
=$wxUSE_ALL_FEATURES
10989 if test -z "$defaultval"; then
10990 if test x
"$enablestring" = xdisable
; then
10997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10998 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10999 # Check whether --enable-notifmsg was given.
11000 if test "${enable_notifmsg+set}" = set; then
11001 enableval
=$enable_notifmsg;
11002 if test "$enableval" = yes; then
11003 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11005 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11010 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11015 eval "$wx_cv_use_notifmsg"
11017 if test x"$enablestring" = xdisable; then
11018 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11024 result=$wxUSE_NOTIFICATION_MESSAGE
11027 { echo "$as_me:$LINENO: result: $result" >&5
11028 echo "${ECHO_T}$result" >&6; }
11032 defaultval=$wxUSE_ALL_FEATURES
11033 if test -z "$defaultval"; then
11034 if test x"$enablestring" = xdisable; then
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11043 # Check whether --enable-odcombobox was given.
11044 if test "${enable_odcombobox+set}" = set; then
11045 enableval=$enable_odcombobox;
11046 if test "$enableval" = yes; then
11047 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11049 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11054 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11059 eval "$wx_cv_use_odcombobox"
11061 if test x"$enablestring" = xdisable; then
11062 if test $wxUSE_ODCOMBOBOX = yes; then
11068 result=$wxUSE_ODCOMBOBOX
11071 { echo "$as_me:$LINENO: result
: $result" >&5
11072 echo "${ECHO_T}$result" >&6; }
11076 defaultval=$wxUSE_ALL_FEATURES
11077 if test -z "$defaultval"; then
11078 if test x"$enablestring" = xdisable; then
11085 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11086 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11087 # Check whether --enable-radiobox was given.
11088 if test "${enable_radiobox+set}" = set; then
11089 enableval=$enable_radiobox;
11090 if test "$enableval" = yes; then
11091 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11098 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11103 eval "$wx_cv_use_radiobox"
11105 if test x
"$enablestring" = xdisable
; then
11106 if test $wxUSE_RADIOBOX = yes; then
11112 result
=$wxUSE_RADIOBOX
11115 { echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11120 defaultval
=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x
"$enablestring" = xdisable
; then
11129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11131 # Check whether --enable-radiobtn was given.
11132 if test "${enable_radiobtn+set}" = set; then
11133 enableval
=$enable_radiobtn;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11137 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11142 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11147 eval "$wx_cv_use_radiobtn"
11149 if test x"$enablestring" = xdisable; then
11150 if test $wxUSE_RADIOBTN = yes; then
11156 result=$wxUSE_RADIOBTN
11159 { echo "$as_me:$LINENO: result: $result" >&5
11160 echo "${ECHO_T}$result" >&6; }
11164 defaultval=$wxUSE_ALL_FEATURES
11165 if test -z "$defaultval"; then
11166 if test x"$enablestring" = xdisable; then
11173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11174 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11175 # Check whether --enable-sash was given.
11176 if test "${enable_sash+set}" = set; then
11177 enableval=$enable_sash;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_sash='wxUSE_SASH
=yes'
11181 wx_cv_use_sash='wxUSE_SASH
=no
'
11186 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11191 eval "$wx_cv_use_sash"
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_SASH = yes; then
11203 { echo "$as_me:$LINENO: result
: $result" >&5
11204 echo "${ECHO_T}$result" >&6; }
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11217 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11218 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11219 # Check whether --enable-scrollbar was given.
11220 if test "${enable_scrollbar+set}" = set; then
11221 enableval=$enable_scrollbar;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11225 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11230 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11235 eval "$wx_cv_use_scrollbar"
11237 if test x
"$enablestring" = xdisable
; then
11238 if test $wxUSE_SCROLLBAR = yes; then
11244 result
=$wxUSE_SCROLLBAR
11247 { echo "$as_me:$LINENO: result: $result" >&5
11248 echo "${ECHO_T}$result" >&6; }
11252 defaultval
=$wxUSE_ALL_FEATURES
11253 if test -z "$defaultval"; then
11254 if test x
"$enablestring" = xdisable
; then
11261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11262 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11263 # Check whether --enable-searchctrl was given.
11264 if test "${enable_searchctrl+set}" = set; then
11265 enableval
=$enable_searchctrl;
11266 if test "$enableval" = yes; then
11267 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11269 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11274 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11279 eval "$wx_cv_use_searchctrl"
11281 if test x"$enablestring" = xdisable; then
11282 if test $wxUSE_SEARCHCTRL = yes; then
11288 result=$wxUSE_SEARCHCTRL
11291 { echo "$as_me:$LINENO: result: $result" >&5
11292 echo "${ECHO_T}$result" >&6; }
11296 defaultval=$wxUSE_ALL_FEATURES
11297 if test -z "$defaultval"; then
11298 if test x"$enablestring" = xdisable; then
11305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11306 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11307 # Check whether --enable-slider was given.
11308 if test "${enable_slider+set}" = set; then
11309 enableval=$enable_slider;
11310 if test "$enableval" = yes; then
11311 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11313 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11318 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11323 eval "$wx_cv_use_slider"
11325 if test x"$enablestring" = xdisable; then
11326 if test $wxUSE_SLIDER = yes; then
11332 result=$wxUSE_SLIDER
11335 { echo "$as_me:$LINENO: result
: $result" >&5
11336 echo "${ECHO_T}$result" >&6; }
11340 defaultval=$wxUSE_ALL_FEATURES
11341 if test -z "$defaultval"; then
11342 if test x"$enablestring" = xdisable; then
11349 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11350 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11351 # Check whether --enable-spinbtn was given.
11352 if test "${enable_spinbtn+set}" = set; then
11353 enableval=$enable_spinbtn;
11354 if test "$enableval" = yes; then
11355 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11357 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11362 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11367 eval "$wx_cv_use_spinbtn"
11369 if test x
"$enablestring" = xdisable
; then
11370 if test $wxUSE_SPINBTN = yes; then
11376 result
=$wxUSE_SPINBTN
11379 { echo "$as_me:$LINENO: result: $result" >&5
11380 echo "${ECHO_T}$result" >&6; }
11384 defaultval
=$wxUSE_ALL_FEATURES
11385 if test -z "$defaultval"; then
11386 if test x
"$enablestring" = xdisable
; then
11393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11394 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11395 # Check whether --enable-spinctrl was given.
11396 if test "${enable_spinctrl+set}" = set; then
11397 enableval
=$enable_spinctrl;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11401 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11406 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11411 eval "$wx_cv_use_spinctrl"
11413 if test x"$enablestring" = xdisable; then
11414 if test $wxUSE_SPINCTRL = yes; then
11420 result=$wxUSE_SPINCTRL
11423 { echo "$as_me:$LINENO: result: $result" >&5
11424 echo "${ECHO_T}$result" >&6; }
11428 defaultval=$wxUSE_ALL_FEATURES
11429 if test -z "$defaultval"; then
11430 if test x"$enablestring" = xdisable; then
11437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11438 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11439 # Check whether --enable-splitter was given.
11440 if test "${enable_splitter+set}" = set; then
11441 enableval=$enable_splitter;
11442 if test "$enableval" = yes; then
11443 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11445 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11450 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11455 eval "$wx_cv_use_splitter"
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_SPLITTER = yes; then
11464 result=$wxUSE_SPLITTER
11467 { echo "$as_me:$LINENO: result
: $result" >&5
11468 echo "${ECHO_T}$result" >&6; }
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11482 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11483 # Check whether --enable-statbmp was given.
11484 if test "${enable_statbmp+set}" = set; then
11485 enableval=$enable_statbmp;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11489 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11494 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11499 eval "$wx_cv_use_statbmp"
11501 if test x
"$enablestring" = xdisable
; then
11502 if test $wxUSE_STATBMP = yes; then
11508 result
=$wxUSE_STATBMP
11511 { echo "$as_me:$LINENO: result: $result" >&5
11512 echo "${ECHO_T}$result" >&6; }
11516 defaultval
=$wxUSE_ALL_FEATURES
11517 if test -z "$defaultval"; then
11518 if test x
"$enablestring" = xdisable
; then
11525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11526 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11527 # Check whether --enable-statbox was given.
11528 if test "${enable_statbox+set}" = set; then
11529 enableval
=$enable_statbox;
11530 if test "$enableval" = yes; then
11531 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11533 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11538 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11543 eval "$wx_cv_use_statbox"
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_STATBOX = yes; then
11552 result=$wxUSE_STATBOX
11555 { echo "$as_me:$LINENO: result: $result" >&5
11556 echo "${ECHO_T}$result" >&6; }
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11570 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11571 # Check whether --enable-statline was given.
11572 if test "${enable_statline+set}" = set; then
11573 enableval=$enable_statline;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11577 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11582 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11587 eval "$wx_cv_use_statline"
11589 if test x"$enablestring" = xdisable; then
11590 if test $wxUSE_STATLINE = yes; then
11596 result=$wxUSE_STATLINE
11599 { echo "$as_me:$LINENO: result
: $result" >&5
11600 echo "${ECHO_T}$result" >&6; }
11604 defaultval=$wxUSE_ALL_FEATURES
11605 if test -z "$defaultval"; then
11606 if test x"$enablestring" = xdisable; then
11613 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11614 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11615 # Check whether --enable-stattext was given.
11616 if test "${enable_stattext+set}" = set; then
11617 enableval=$enable_stattext;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11621 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11626 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11631 eval "$wx_cv_use_stattext"
11633 if test x
"$enablestring" = xdisable
; then
11634 if test $wxUSE_STATTEXT = yes; then
11640 result
=$wxUSE_STATTEXT
11643 { echo "$as_me:$LINENO: result: $result" >&5
11644 echo "${ECHO_T}$result" >&6; }
11648 defaultval
=$wxUSE_ALL_FEATURES
11649 if test -z "$defaultval"; then
11650 if test x
"$enablestring" = xdisable
; then
11657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11658 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11659 # Check whether --enable-statusbar was given.
11660 if test "${enable_statusbar+set}" = set; then
11661 enableval
=$enable_statusbar;
11662 if test "$enableval" = yes; then
11663 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11665 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11670 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11675 eval "$wx_cv_use_statusbar"
11677 if test x"$enablestring" = xdisable; then
11678 if test $wxUSE_STATUSBAR = yes; then
11684 result=$wxUSE_STATUSBAR
11687 { echo "$as_me:$LINENO: result: $result" >&5
11688 echo "${ECHO_T}$result" >&6; }
11692 defaultval=$wxUSE_ALL_FEATURES
11693 if test -z "$defaultval"; then
11694 if test x"$enablestring" = xdisable; then
11701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11702 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11703 # Check whether --enable-tabdialog was given.
11704 if test "${enable_tabdialog+set}" = set; then
11705 enableval=$enable_tabdialog;
11706 if test "$enableval" = yes; then
11707 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11709 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11714 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11719 eval "$wx_cv_use_tabdialog"
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_TAB_DIALOG = yes; then
11728 result=$wxUSE_TAB_DIALOG
11731 { echo "$as_me:$LINENO: result
: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11746 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11747 # Check whether --enable-taskbaricon was given.
11748 if test "${enable_taskbaricon+set}" = set; then
11749 enableval=$enable_taskbaricon;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11753 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11758 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11763 eval "$wx_cv_use_taskbaricon"
11765 if test x
"$enablestring" = xdisable
; then
11766 if test $wxUSE_TASKBARICON = yes; then
11772 result
=$wxUSE_TASKBARICON
11775 { echo "$as_me:$LINENO: result: $result" >&5
11776 echo "${ECHO_T}$result" >&6; }
11780 defaultval
=$wxUSE_ALL_FEATURES
11781 if test -z "$defaultval"; then
11782 if test x
"$enablestring" = xdisable
; then
11789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11790 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11791 # Check whether --enable-textctrl was given.
11792 if test "${enable_textctrl+set}" = set; then
11793 enableval
=$enable_textctrl;
11794 if test "$enableval" = yes; then
11795 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11797 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11802 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11807 eval "$wx_cv_use_textctrl"
11809 if test x"$enablestring" = xdisable; then
11810 if test $wxUSE_TEXTCTRL = yes; then
11816 result=$wxUSE_TEXTCTRL
11819 { echo "$as_me:$LINENO: result: $result" >&5
11820 echo "${ECHO_T}$result" >&6; }
11824 defaultval=$wxUSE_ALL_FEATURES
11825 if test -z "$defaultval"; then
11826 if test x"$enablestring" = xdisable; then
11833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11834 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11835 # Check whether --enable-togglebtn was given.
11836 if test "${enable_togglebtn+set}" = set; then
11837 enableval=$enable_togglebtn;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11841 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11846 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11851 eval "$wx_cv_use_togglebtn"
11853 if test x"$enablestring" = xdisable; then
11854 if test $wxUSE_TOGGLEBTN = yes; then
11860 result=$wxUSE_TOGGLEBTN
11863 { echo "$as_me:$LINENO: result
: $result" >&5
11864 echo "${ECHO_T}$result" >&6; }
11868 defaultval=$wxUSE_ALL_FEATURES
11869 if test -z "$defaultval"; then
11870 if test x"$enablestring" = xdisable; then
11877 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11878 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11879 # Check whether --enable-toolbar was given.
11880 if test "${enable_toolbar+set}" = set; then
11881 enableval=$enable_toolbar;
11882 if test "$enableval" = yes; then
11883 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11885 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11890 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11895 eval "$wx_cv_use_toolbar"
11897 if test x
"$enablestring" = xdisable
; then
11898 if test $wxUSE_TOOLBAR = yes; then
11904 result
=$wxUSE_TOOLBAR
11907 { echo "$as_me:$LINENO: result: $result" >&5
11908 echo "${ECHO_T}$result" >&6; }
11912 defaultval
=$wxUSE_ALL_FEATURES
11913 if test -z "$defaultval"; then
11914 if test x
"$enablestring" = xdisable
; then
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11923 # Check whether --enable-tbarnative was given.
11924 if test "${enable_tbarnative+set}" = set; then
11925 enableval
=$enable_tbarnative;
11926 if test "$enableval" = yes; then
11927 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11929 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11934 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11939 eval "$wx_cv_use_tbarnative"
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11948 result=$wxUSE_TOOLBAR_NATIVE
11951 { echo "$as_me:$LINENO: result: $result" >&5
11952 echo "${ECHO_T}$result" >&6; }
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11966 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11967 # Check whether --enable-treebook was given.
11968 if test "${enable_treebook+set}" = set; then
11969 enableval=$enable_treebook;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11973 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11978 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11983 eval "$wx_cv_use_treebook"
11985 if test x"$enablestring" = xdisable; then
11986 if test $wxUSE_TREEBOOK = yes; then
11992 result=$wxUSE_TREEBOOK
11995 { echo "$as_me:$LINENO: result
: $result" >&5
11996 echo "${ECHO_T}$result" >&6; }
12000 defaultval=$wxUSE_ALL_FEATURES
12001 if test -z "$defaultval"; then
12002 if test x"$enablestring" = xdisable; then
12009 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12010 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12011 # Check whether --enable-toolbook was given.
12012 if test "${enable_toolbook+set}" = set; then
12013 enableval=$enable_toolbook;
12014 if test "$enableval" = yes; then
12015 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12017 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12022 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12027 eval "$wx_cv_use_toolbook"
12029 if test x
"$enablestring" = xdisable
; then
12030 if test $wxUSE_TOOLBOOK = yes; then
12036 result
=$wxUSE_TOOLBOOK
12039 { echo "$as_me:$LINENO: result: $result" >&5
12040 echo "${ECHO_T}$result" >&6; }
12044 defaultval
=$wxUSE_ALL_FEATURES
12045 if test -z "$defaultval"; then
12046 if test x
"$enablestring" = xdisable
; then
12053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12055 # Check whether --enable-treectrl was given.
12056 if test "${enable_treectrl+set}" = set; then
12057 enableval
=$enable_treectrl;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12061 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12066 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12071 eval "$wx_cv_use_treectrl"
12073 if test x"$enablestring" = xdisable; then
12074 if test $wxUSE_TREECTRL = yes; then
12080 result=$wxUSE_TREECTRL
12083 { echo "$as_me:$LINENO: result: $result" >&5
12084 echo "${ECHO_T}$result" >&6; }
12088 defaultval=$wxUSE_ALL_FEATURES
12089 if test -z "$defaultval"; then
12090 if test x"$enablestring" = xdisable; then
12097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12099 # Check whether --enable-tipwindow was given.
12100 if test "${enable_tipwindow+set}" = set; then
12101 enableval=$enable_tipwindow;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12105 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12110 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12115 eval "$wx_cv_use_tipwindow"
12117 if test x"$enablestring" = xdisable; then
12118 if test $wxUSE_TIPWINDOW = yes; then
12124 result=$wxUSE_TIPWINDOW
12127 { echo "$as_me:$LINENO: result
: $result" >&5
12128 echo "${ECHO_T}$result" >&6; }
12132 defaultval=$wxUSE_ALL_FEATURES
12133 if test -z "$defaultval"; then
12134 if test x"$enablestring" = xdisable; then
12141 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
12142 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
12143 # Check whether --enable-popupwin was given.
12144 if test "${enable_popupwin+set}" = set; then
12145 enableval=$enable_popupwin;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12149 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12154 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12159 eval "$wx_cv_use_popupwin"
12161 if test x
"$enablestring" = xdisable
; then
12162 if test $wxUSE_POPUPWIN = yes; then
12168 result
=$wxUSE_POPUPWIN
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12178 defaultval
=$wxUSE_ALL_FEATURES
12179 if test -z "$defaultval"; then
12180 if test x
"$enablestring" = xdisable
; then
12187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12188 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12189 # Check whether --enable-commondlg was given.
12190 if test "${enable_commondlg+set}" = set; then
12191 enableval
=$enable_commondlg;
12192 if test "$enableval" = yes; then
12193 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12195 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12200 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12205 eval "$wx_cv_use_commondlg"
12207 if test x"$enablestring" = xdisable; then
12208 if test $wxUSE_COMMONDLGS = yes; then
12214 result=$wxUSE_COMMONDLGS
12217 { echo "$as_me:$LINENO: result: $result" >&5
12218 echo "${ECHO_T}$result" >&6; }
12222 defaultval=$wxUSE_ALL_FEATURES
12223 if test -z "$defaultval"; then
12224 if test x"$enablestring" = xdisable; then
12231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12232 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12233 # Check whether --enable-aboutdlg was given.
12234 if test "${enable_aboutdlg+set}" = set; then
12235 enableval=$enable_aboutdlg;
12236 if test "$enableval" = yes; then
12237 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12239 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12244 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12249 eval "$wx_cv_use_aboutdlg"
12251 if test x"$enablestring" = xdisable; then
12252 if test $wxUSE_ABOUTDLG = yes; then
12258 result=$wxUSE_ABOUTDLG
12261 { echo "$as_me:$LINENO: result
: $result" >&5
12262 echo "${ECHO_T}$result" >&6; }
12266 defaultval=$wxUSE_ALL_FEATURES
12267 if test -z "$defaultval"; then
12268 if test x"$enablestring" = xdisable; then
12275 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12276 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12277 # Check whether --enable-choicedlg was given.
12278 if test "${enable_choicedlg+set}" = set; then
12279 enableval=$enable_choicedlg;
12280 if test "$enableval" = yes; then
12281 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12283 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12288 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12293 eval "$wx_cv_use_choicedlg"
12295 if test x
"$enablestring" = xdisable
; then
12296 if test $wxUSE_CHOICEDLG = yes; then
12302 result
=$wxUSE_CHOICEDLG
12305 { echo "$as_me:$LINENO: result: $result" >&5
12306 echo "${ECHO_T}$result" >&6; }
12310 defaultval
=$wxUSE_ALL_FEATURES
12311 if test -z "$defaultval"; then
12312 if test x
"$enablestring" = xdisable
; then
12319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12320 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12321 # Check whether --enable-coldlg was given.
12322 if test "${enable_coldlg+set}" = set; then
12323 enableval
=$enable_coldlg;
12324 if test "$enableval" = yes; then
12325 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12327 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12332 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12337 eval "$wx_cv_use_coldlg"
12339 if test x"$enablestring" = xdisable; then
12340 if test $wxUSE_COLOURDLG = yes; then
12346 result=$wxUSE_COLOURDLG
12349 { echo "$as_me:$LINENO: result: $result" >&5
12350 echo "${ECHO_T}$result" >&6; }
12354 defaultval=$wxUSE_ALL_FEATURES
12355 if test -z "$defaultval"; then
12356 if test x"$enablestring" = xdisable; then
12363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12364 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12365 # Check whether --enable-filedlg was given.
12366 if test "${enable_filedlg+set}" = set; then
12367 enableval=$enable_filedlg;
12368 if test "$enableval" = yes; then
12369 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12371 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12376 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12381 eval "$wx_cv_use_filedlg"
12383 if test x"$enablestring" = xdisable; then
12384 if test $wxUSE_FILEDLG = yes; then
12390 result=$wxUSE_FILEDLG
12393 { echo "$as_me:$LINENO: result
: $result" >&5
12394 echo "${ECHO_T}$result" >&6; }
12398 defaultval=$wxUSE_ALL_FEATURES
12399 if test -z "$defaultval"; then
12400 if test x"$enablestring" = xdisable; then
12407 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12408 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12409 # Check whether --enable-finddlg was given.
12410 if test "${enable_finddlg+set}" = set; then
12411 enableval=$enable_finddlg;
12412 if test "$enableval" = yes; then
12413 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12415 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12420 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12425 eval "$wx_cv_use_finddlg"
12427 if test x
"$enablestring" = xdisable
; then
12428 if test $wxUSE_FINDREPLDLG = yes; then
12434 result
=$wxUSE_FINDREPLDLG
12437 { echo "$as_me:$LINENO: result: $result" >&5
12438 echo "${ECHO_T}$result" >&6; }
12442 defaultval
=$wxUSE_ALL_FEATURES
12443 if test -z "$defaultval"; then
12444 if test x
"$enablestring" = xdisable
; then
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12453 # Check whether --enable-fontdlg was given.
12454 if test "${enable_fontdlg+set}" = set; then
12455 enableval
=$enable_fontdlg;
12456 if test "$enableval" = yes; then
12457 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12459 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12464 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12469 eval "$wx_cv_use_fontdlg"
12471 if test x"$enablestring" = xdisable; then
12472 if test $wxUSE_FONTDLG = yes; then
12478 result=$wxUSE_FONTDLG
12481 { echo "$as_me:$LINENO: result: $result" >&5
12482 echo "${ECHO_T}$result" >&6; }
12486 defaultval=$wxUSE_ALL_FEATURES
12487 if test -z "$defaultval"; then
12488 if test x"$enablestring" = xdisable; then
12495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12496 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12497 # Check whether --enable-dirdlg was given.
12498 if test "${enable_dirdlg+set}" = set; then
12499 enableval=$enable_dirdlg;
12500 if test "$enableval" = yes; then
12501 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12503 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12508 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12513 eval "$wx_cv_use_dirdlg"
12515 if test x"$enablestring" = xdisable; then
12516 if test $wxUSE_DIRDLG = yes; then
12522 result=$wxUSE_DIRDLG
12525 { echo "$as_me:$LINENO: result
: $result" >&5
12526 echo "${ECHO_T}$result" >&6; }
12530 defaultval=$wxUSE_ALL_FEATURES
12531 if test -z "$defaultval"; then
12532 if test x"$enablestring" = xdisable; then
12539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12540 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12541 # Check whether --enable-msgdlg was given.
12542 if test "${enable_msgdlg+set}" = set; then
12543 enableval=$enable_msgdlg;
12544 if test "$enableval" = yes; then
12545 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12547 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12552 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12557 eval "$wx_cv_use_msgdlg"
12559 if test x
"$enablestring" = xdisable
; then
12560 if test $wxUSE_MSGDLG = yes; then
12566 result
=$wxUSE_MSGDLG
12569 { echo "$as_me:$LINENO: result: $result" >&5
12570 echo "${ECHO_T}$result" >&6; }
12574 defaultval
=$wxUSE_ALL_FEATURES
12575 if test -z "$defaultval"; then
12576 if test x
"$enablestring" = xdisable
; then
12583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12584 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12585 # Check whether --enable-numberdlg was given.
12586 if test "${enable_numberdlg+set}" = set; then
12587 enableval
=$enable_numberdlg;
12588 if test "$enableval" = yes; then
12589 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12591 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12596 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12601 eval "$wx_cv_use_numberdlg"
12603 if test x"$enablestring" = xdisable; then
12604 if test $wxUSE_NUMBERDLG = yes; then
12610 result=$wxUSE_NUMBERDLG
12613 { echo "$as_me:$LINENO: result: $result" >&5
12614 echo "${ECHO_T}$result" >&6; }
12618 defaultval=$wxUSE_ALL_FEATURES
12619 if test -z "$defaultval"; then
12620 if test x"$enablestring" = xdisable; then
12627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12628 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12629 # Check whether --enable-splash was given.
12630 if test "${enable_splash+set}" = set; then
12631 enableval=$enable_splash;
12632 if test "$enableval" = yes; then
12633 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12635 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12640 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12645 eval "$wx_cv_use_splash"
12647 if test x"$enablestring" = xdisable; then
12648 if test $wxUSE_SPLASH = yes; then
12654 result=$wxUSE_SPLASH
12657 { echo "$as_me:$LINENO: result
: $result" >&5
12658 echo "${ECHO_T}$result" >&6; }
12662 defaultval=$wxUSE_ALL_FEATURES
12663 if test -z "$defaultval"; then
12664 if test x"$enablestring" = xdisable; then
12671 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12672 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12673 # Check whether --enable-textdlg was given.
12674 if test "${enable_textdlg+set}" = set; then
12675 enableval=$enable_textdlg;
12676 if test "$enableval" = yes; then
12677 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12679 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12684 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12689 eval "$wx_cv_use_textdlg"
12691 if test x
"$enablestring" = xdisable
; then
12692 if test $wxUSE_TEXTDLG = yes; then
12698 result
=$wxUSE_TEXTDLG
12701 { echo "$as_me:$LINENO: result: $result" >&5
12702 echo "${ECHO_T}$result" >&6; }
12706 defaultval
=$wxUSE_ALL_FEATURES
12707 if test -z "$defaultval"; then
12708 if test x
"$enablestring" = xdisable
; then
12715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12716 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12717 # Check whether --enable-tipdlg was given.
12718 if test "${enable_tipdlg+set}" = set; then
12719 enableval
=$enable_tipdlg;
12720 if test "$enableval" = yes; then
12721 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12723 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12728 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12733 eval "$wx_cv_use_tipdlg"
12735 if test x"$enablestring" = xdisable; then
12736 if test $wxUSE_STARTUP_TIPS = yes; then
12742 result=$wxUSE_STARTUP_TIPS
12745 { echo "$as_me:$LINENO: result: $result" >&5
12746 echo "${ECHO_T}$result" >&6; }
12750 defaultval=$wxUSE_ALL_FEATURES
12751 if test -z "$defaultval"; then
12752 if test x"$enablestring" = xdisable; then
12759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12760 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12761 # Check whether --enable-progressdlg was given.
12762 if test "${enable_progressdlg+set}" = set; then
12763 enableval=$enable_progressdlg;
12764 if test "$enableval" = yes; then
12765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12767 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12772 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12777 eval "$wx_cv_use_progressdlg"
12779 if test x"$enablestring" = xdisable; then
12780 if test $wxUSE_PROGRESSDLG = yes; then
12786 result=$wxUSE_PROGRESSDLG
12789 { echo "$as_me:$LINENO: result
: $result" >&5
12790 echo "${ECHO_T}$result" >&6; }
12794 defaultval=$wxUSE_ALL_FEATURES
12795 if test -z "$defaultval"; then
12796 if test x"$enablestring" = xdisable; then
12803 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12804 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12805 # Check whether --enable-wizarddlg was given.
12806 if test "${enable_wizarddlg+set}" = set; then
12807 enableval=$enable_wizarddlg;
12808 if test "$enableval" = yes; then
12809 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12811 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12816 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12821 eval "$wx_cv_use_wizarddlg"
12823 if test x
"$enablestring" = xdisable
; then
12824 if test $wxUSE_WIZARDDLG = yes; then
12830 result
=$wxUSE_WIZARDDLG
12833 { echo "$as_me:$LINENO: result: $result" >&5
12834 echo "${ECHO_T}$result" >&6; }
12840 defaultval
=$wxUSE_ALL_FEATURES
12841 if test -z "$defaultval"; then
12842 if test x
"$enablestring" = xdisable
; then
12849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12850 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12851 # Check whether --enable-menus was given.
12852 if test "${enable_menus+set}" = set; then
12853 enableval
=$enable_menus;
12854 if test "$enableval" = yes; then
12855 wx_cv_use_menus
='wxUSE_MENUS=yes'
12857 wx_cv_use_menus
='wxUSE_MENUS=no'
12862 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12867 eval "$wx_cv_use_menus"
12869 if test x"$enablestring" = xdisable; then
12870 if test $wxUSE_MENUS = yes; then
12876 result=$wxUSE_MENUS
12879 { echo "$as_me:$LINENO: result: $result" >&5
12880 echo "${ECHO_T}$result" >&6; }
12884 defaultval=$wxUSE_ALL_FEATURES
12885 if test -z "$defaultval"; then
12886 if test x"$enablestring" = xdisable; then
12893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12894 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12895 # Check whether --enable-miniframe was given.
12896 if test "${enable_miniframe+set}" = set; then
12897 enableval=$enable_miniframe;
12898 if test "$enableval" = yes; then
12899 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12901 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12906 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12911 eval "$wx_cv_use_miniframe"
12913 if test x"$enablestring" = xdisable; then
12914 if test $wxUSE_MINIFRAME = yes; then
12920 result=$wxUSE_MINIFRAME
12923 { echo "$as_me:$LINENO: result
: $result" >&5
12924 echo "${ECHO_T}$result" >&6; }
12928 defaultval=$wxUSE_ALL_FEATURES
12929 if test -z "$defaultval"; then
12930 if test x"$enablestring" = xdisable; then
12937 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12938 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12939 # Check whether --enable-tooltips was given.
12940 if test "${enable_tooltips+set}" = set; then
12941 enableval=$enable_tooltips;
12942 if test "$enableval" = yes; then
12943 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12945 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12950 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12955 eval "$wx_cv_use_tooltips"
12957 if test x
"$enablestring" = xdisable
; then
12958 if test $wxUSE_TOOLTIPS = yes; then
12964 result
=$wxUSE_TOOLTIPS
12967 { echo "$as_me:$LINENO: result: $result" >&5
12968 echo "${ECHO_T}$result" >&6; }
12972 defaultval
=$wxUSE_ALL_FEATURES
12973 if test -z "$defaultval"; then
12974 if test x
"$enablestring" = xdisable
; then
12981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12982 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12983 # Check whether --enable-splines was given.
12984 if test "${enable_splines+set}" = set; then
12985 enableval
=$enable_splines;
12986 if test "$enableval" = yes; then
12987 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12989 wx_cv_use_splines
='wxUSE_SPLINES=no'
12994 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12999 eval "$wx_cv_use_splines"
13001 if test x"$enablestring" = xdisable; then
13002 if test $wxUSE_SPLINES = yes; then
13008 result=$wxUSE_SPLINES
13011 { echo "$as_me:$LINENO: result: $result" >&5
13012 echo "${ECHO_T}$result" >&6; }
13016 defaultval=$wxUSE_ALL_FEATURES
13017 if test -z "$defaultval"; then
13018 if test x"$enablestring" = xdisable; then
13025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13026 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13027 # Check whether --enable-mousewheel was given.
13028 if test "${enable_mousewheel+set}" = set; then
13029 enableval=$enable_mousewheel;
13030 if test "$enableval" = yes; then
13031 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13033 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13038 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13043 eval "$wx_cv_use_mousewheel"
13045 if test x"$enablestring" = xdisable; then
13046 if test $wxUSE_MOUSEWHEEL = yes; then
13052 result=$wxUSE_MOUSEWHEEL
13055 { echo "$as_me:$LINENO: result
: $result" >&5
13056 echo "${ECHO_T}$result" >&6; }
13060 defaultval=$wxUSE_ALL_FEATURES
13061 if test -z "$defaultval"; then
13062 if test x"$enablestring" = xdisable; then
13069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13070 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13071 # Check whether --enable-validators was given.
13072 if test "${enable_validators+set}" = set; then
13073 enableval=$enable_validators;
13074 if test "$enableval" = yes; then
13075 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13077 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13082 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13087 eval "$wx_cv_use_validators"
13089 if test x
"$enablestring" = xdisable
; then
13090 if test $wxUSE_VALIDATORS = yes; then
13096 result
=$wxUSE_VALIDATORS
13099 { echo "$as_me:$LINENO: result: $result" >&5
13100 echo "${ECHO_T}$result" >&6; }
13104 defaultval
=$wxUSE_ALL_FEATURES
13105 if test -z "$defaultval"; then
13106 if test x
"$enablestring" = xdisable
; then
13113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13114 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13115 # Check whether --enable-busyinfo was given.
13116 if test "${enable_busyinfo+set}" = set; then
13117 enableval
=$enable_busyinfo;
13118 if test "$enableval" = yes; then
13119 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13121 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13126 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13131 eval "$wx_cv_use_busyinfo"
13133 if test x"$enablestring" = xdisable; then
13134 if test $wxUSE_BUSYINFO = yes; then
13140 result=$wxUSE_BUSYINFO
13143 { echo "$as_me:$LINENO: result: $result" >&5
13144 echo "${ECHO_T}$result" >&6; }
13148 defaultval=$wxUSE_ALL_FEATURES
13149 if test -z "$defaultval"; then
13150 if test x"$enablestring" = xdisable; then
13157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13158 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13159 # Check whether --enable-joystick was given.
13160 if test "${enable_joystick+set}" = set; then
13161 enableval=$enable_joystick;
13162 if test "$enableval" = yes; then
13163 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13165 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13170 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13175 eval "$wx_cv_use_joystick"
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_JOYSTICK = yes; then
13184 result=$wxUSE_JOYSTICK
13187 { echo "$as_me:$LINENO: result
: $result" >&5
13188 echo "${ECHO_T}$result" >&6; }
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13201 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13202 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13203 # Check whether --enable-metafile was given.
13204 if test "${enable_metafile+set}" = set; then
13205 enableval=$enable_metafile;
13206 if test "$enableval" = yes; then
13207 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13209 wx_cv_use_metafile='wxUSE_METAFILE=no'
13214 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13219 eval "$wx_cv_use_metafile"
13221 if test x
"$enablestring" = xdisable
; then
13222 if test $wxUSE_METAFILE = yes; then
13228 result
=$wxUSE_METAFILE
13231 { echo "$as_me:$LINENO: result: $result" >&5
13232 echo "${ECHO_T}$result" >&6; }
13236 defaultval
=$wxUSE_ALL_FEATURES
13237 if test -z "$defaultval"; then
13238 if test x
"$enablestring" = xdisable
; then
13245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13246 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13247 # Check whether --enable-dragimage was given.
13248 if test "${enable_dragimage+set}" = set; then
13249 enableval
=$enable_dragimage;
13250 if test "$enableval" = yes; then
13251 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13253 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13258 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13263 eval "$wx_cv_use_dragimage"
13265 if test x"$enablestring" = xdisable; then
13266 if test $wxUSE_DRAGIMAGE = yes; then
13272 result=$wxUSE_DRAGIMAGE
13275 { echo "$as_me:$LINENO: result: $result" >&5
13276 echo "${ECHO_T}$result" >&6; }
13280 defaultval=$wxUSE_ALL_FEATURES
13281 if test -z "$defaultval"; then
13282 if test x"$enablestring" = xdisable; then
13289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13290 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13291 # Check whether --enable-accessibility was given.
13292 if test "${enable_accessibility+set}" = set; then
13293 enableval=$enable_accessibility;
13294 if test "$enableval" = yes; then
13295 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13297 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13302 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13307 eval "$wx_cv_use_accessibility"
13309 if test x"$enablestring" = xdisable; then
13310 if test $wxUSE_ACCESSIBILITY = yes; then
13316 result=$wxUSE_ACCESSIBILITY
13319 { echo "$as_me:$LINENO: result
: $result" >&5
13320 echo "${ECHO_T}$result" >&6; }
13326 defaultval=$wxUSE_ALL_FEATURES
13327 if test -z "$defaultval"; then
13328 if test x"$enablestring" = xdisable; then
13335 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13336 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13337 # Check whether --enable-palette was given.
13338 if test "${enable_palette+set}" = set; then
13339 enableval=$enable_palette;
13340 if test "$enableval" = yes; then
13341 wx_cv_use_palette='wxUSE_PALETTE=yes'
13343 wx_cv_use_palette='wxUSE_PALETTE=no'
13348 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13353 eval "$wx_cv_use_palette"
13355 if test x
"$enablestring" = xdisable
; then
13356 if test $wxUSE_PALETTE = yes; then
13362 result
=$wxUSE_PALETTE
13365 { echo "$as_me:$LINENO: result: $result" >&5
13366 echo "${ECHO_T}$result" >&6; }
13370 defaultval
=$wxUSE_ALL_FEATURES
13371 if test -z "$defaultval"; then
13372 if test x
"$enablestring" = xdisable
; then
13379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13380 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13381 # Check whether --enable-image was given.
13382 if test "${enable_image+set}" = set; then
13383 enableval
=$enable_image;
13384 if test "$enableval" = yes; then
13385 wx_cv_use_image
='wxUSE_IMAGE=yes'
13387 wx_cv_use_image
='wxUSE_IMAGE=no'
13392 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13397 eval "$wx_cv_use_image"
13399 if test x"$enablestring" = xdisable; then
13400 if test $wxUSE_IMAGE = yes; then
13406 result=$wxUSE_IMAGE
13409 { echo "$as_me:$LINENO: result: $result" >&5
13410 echo "${ECHO_T}$result" >&6; }
13414 defaultval=$wxUSE_ALL_FEATURES
13415 if test -z "$defaultval"; then
13416 if test x"$enablestring" = xdisable; then
13423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13424 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13425 # Check whether --enable-gif was given.
13426 if test "${enable_gif+set}" = set; then
13427 enableval=$enable_gif;
13428 if test "$enableval" = yes; then
13429 wx_cv_use_gif='wxUSE_GIF
=yes'
13431 wx_cv_use_gif='wxUSE_GIF
=no
'
13436 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13441 eval "$wx_cv_use_gif"
13443 if test x"$enablestring" = xdisable; then
13444 if test $wxUSE_GIF = yes; then
13453 { echo "$as_me:$LINENO: result
: $result" >&5
13454 echo "${ECHO_T}$result" >&6; }
13458 defaultval=$wxUSE_ALL_FEATURES
13459 if test -z "$defaultval"; then
13460 if test x"$enablestring" = xdisable; then
13467 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13468 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13469 # Check whether --enable-pcx was given.
13470 if test "${enable_pcx+set}" = set; then
13471 enableval=$enable_pcx;
13472 if test "$enableval" = yes; then
13473 wx_cv_use_pcx='wxUSE_PCX=yes'
13475 wx_cv_use_pcx='wxUSE_PCX=no'
13480 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13485 eval "$wx_cv_use_pcx"
13487 if test x
"$enablestring" = xdisable
; then
13488 if test $wxUSE_PCX = yes; then
13497 { echo "$as_me:$LINENO: result: $result" >&5
13498 echo "${ECHO_T}$result" >&6; }
13502 defaultval
=$wxUSE_ALL_FEATURES
13503 if test -z "$defaultval"; then
13504 if test x
"$enablestring" = xdisable
; then
13511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13512 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13513 # Check whether --enable-tga was given.
13514 if test "${enable_tga+set}" = set; then
13515 enableval
=$enable_tga;
13516 if test "$enableval" = yes; then
13517 wx_cv_use_tga
='wxUSE_TGA=yes'
13519 wx_cv_use_tga
='wxUSE_TGA=no'
13524 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13529 eval "$wx_cv_use_tga"
13531 if test x"$enablestring" = xdisable; then
13532 if test $wxUSE_TGA = yes; then
13541 { echo "$as_me:$LINENO: result: $result" >&5
13542 echo "${ECHO_T}$result" >&6; }
13546 defaultval=$wxUSE_ALL_FEATURES
13547 if test -z "$defaultval"; then
13548 if test x"$enablestring" = xdisable; then
13555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13556 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13557 # Check whether --enable-iff was given.
13558 if test "${enable_iff+set}" = set; then
13559 enableval=$enable_iff;
13560 if test "$enableval" = yes; then
13561 wx_cv_use_iff='wxUSE_IFF
=yes'
13563 wx_cv_use_iff='wxUSE_IFF
=no
'
13568 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13573 eval "$wx_cv_use_iff"
13575 if test x"$enablestring" = xdisable; then
13576 if test $wxUSE_IFF = yes; then
13585 { echo "$as_me:$LINENO: result
: $result" >&5
13586 echo "${ECHO_T}$result" >&6; }
13590 defaultval=$wxUSE_ALL_FEATURES
13591 if test -z "$defaultval"; then
13592 if test x"$enablestring" = xdisable; then
13599 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13600 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13601 # Check whether --enable-pnm was given.
13602 if test "${enable_pnm+set}" = set; then
13603 enableval=$enable_pnm;
13604 if test "$enableval" = yes; then
13605 wx_cv_use_pnm='wxUSE_PNM=yes'
13607 wx_cv_use_pnm='wxUSE_PNM=no'
13612 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13617 eval "$wx_cv_use_pnm"
13619 if test x
"$enablestring" = xdisable
; then
13620 if test $wxUSE_PNM = yes; then
13629 { echo "$as_me:$LINENO: result: $result" >&5
13630 echo "${ECHO_T}$result" >&6; }
13634 defaultval
=$wxUSE_ALL_FEATURES
13635 if test -z "$defaultval"; then
13636 if test x
"$enablestring" = xdisable
; then
13643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13644 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13645 # Check whether --enable-xpm was given.
13646 if test "${enable_xpm+set}" = set; then
13647 enableval
=$enable_xpm;
13648 if test "$enableval" = yes; then
13649 wx_cv_use_xpm
='wxUSE_XPM=yes'
13651 wx_cv_use_xpm
='wxUSE_XPM=no'
13656 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13661 eval "$wx_cv_use_xpm"
13663 if test x"$enablestring" = xdisable; then
13664 if test $wxUSE_XPM = yes; then
13673 { echo "$as_me:$LINENO: result: $result" >&5
13674 echo "${ECHO_T}$result" >&6; }
13678 defaultval=$wxUSE_ALL_FEATURES
13679 if test -z "$defaultval"; then
13680 if test x"$enablestring" = xdisable; then
13687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13688 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13689 # Check whether --enable-ico_cur was given.
13690 if test "${enable_ico_cur+set}" = set; then
13691 enableval=$enable_ico_cur;
13692 if test "$enableval" = yes; then
13693 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13695 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13700 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13705 eval "$wx_cv_use_ico_cur"
13707 if test x"$enablestring" = xdisable; then
13708 if test $wxUSE_ICO_CUR = yes; then
13714 result=$wxUSE_ICO_CUR
13717 { echo "$as_me:$LINENO: result
: $result" >&5
13718 echo "${ECHO_T}$result" >&6; }
13724 defaultval=$wxUSE_ALL_FEATURES
13725 if test -z "$defaultval"; then
13726 if test x"$enablestring" = xdisable; then
13733 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13734 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13735 # Check whether --enable-dccache was given.
13736 if test "${enable_dccache+set}" = set; then
13737 enableval=$enable_dccache;
13738 if test "$enableval" = yes; then
13739 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13741 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13746 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13751 eval "$wx_cv_use_dccache"
13753 if test x
"$enablestring" = xdisable
; then
13754 if test $wxUSE_DC_CACHEING = yes; then
13760 result
=$wxUSE_DC_CACHEING
13763 { echo "$as_me:$LINENO: result: $result" >&5
13764 echo "${ECHO_T}$result" >&6; }
13768 defaultval
=$wxUSE_ALL_FEATURES
13769 if test -z "$defaultval"; then
13770 if test x
"$enablestring" = xdisable
; then
13777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13778 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13779 # Check whether --enable-ps-in-msw was given.
13780 if test "${enable_ps_in_msw+set}" = set; then
13781 enableval
=$enable_ps_in_msw;
13782 if test "$enableval" = yes; then
13783 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13785 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13790 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13795 eval "$wx_cv_use_ps_in_msw"
13797 if test x"$enablestring" = xdisable; then
13798 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13804 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13807 { echo "$as_me:$LINENO: result: $result" >&5
13808 echo "${ECHO_T}$result" >&6; }
13812 defaultval=$wxUSE_ALL_FEATURES
13813 if test -z "$defaultval"; then
13814 if test x"$enablestring" = xdisable; then
13821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13822 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13823 # Check whether --enable-ownerdrawn was given.
13824 if test "${enable_ownerdrawn+set}" = set; then
13825 enableval=$enable_ownerdrawn;
13826 if test "$enableval" = yes; then
13827 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13829 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13834 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13839 eval "$wx_cv_use_ownerdrawn"
13841 if test x"$enablestring" = xdisable; then
13842 if test $wxUSE_OWNER_DRAWN = yes; then
13848 result=$wxUSE_OWNER_DRAWN
13851 { echo "$as_me:$LINENO: result
: $result" >&5
13852 echo "${ECHO_T}$result" >&6; }
13856 defaultval=$wxUSE_ALL_FEATURES
13857 if test -z "$defaultval"; then
13858 if test x"$enablestring" = xdisable; then
13865 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13866 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13867 # Check whether --enable-uxtheme was given.
13868 if test "${enable_uxtheme+set}" = set; then
13869 enableval=$enable_uxtheme;
13870 if test "$enableval" = yes; then
13871 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13873 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13878 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13883 eval "$wx_cv_use_uxtheme"
13885 if test x
"$enablestring" = xdisable
; then
13886 if test $wxUSE_UXTHEME = yes; then
13892 result
=$wxUSE_UXTHEME
13895 { echo "$as_me:$LINENO: result: $result" >&5
13896 echo "${ECHO_T}$result" >&6; }
13900 defaultval
=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x
"$enablestring" = xdisable
; then
13909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13910 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13911 # Check whether --enable-wxdib was given.
13912 if test "${enable_wxdib+set}" = set; then
13913 enableval
=$enable_wxdib;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13917 wx_cv_use_wxdib
='wxUSE_DIB=no'
13922 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13927 eval "$wx_cv_use_wxdib"
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_DIB = yes; then
13939 { echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6; }
13943 if test "$wxUSE_MSW" != 1; then
13944 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13949 defaultval=$wxUSE_ALL_FEATURES
13950 if test -z "$defaultval"; then
13951 if test x"$enablestring" = xdisable; then
13958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13959 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13960 # Check whether --enable-autoidman was given.
13961 if test "${enable_autoidman+set}" = set; then
13962 enableval=$enable_autoidman;
13963 if test "$enableval" = yes; then
13964 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
13966 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
13971 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13976 eval "$wx_cv_use_autoidman"
13978 if test x"$enablestring" = xdisable; then
13979 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13985 result=$wxUSE_AUTOID_MANAGEMENT
13988 { echo "$as_me:$LINENO: result
: $result" >&5
13989 echo "${ECHO_T}$result" >&6; }
13995 cat >confcache <<\_ACEOF
13996 # This file is a shell script that caches the results of configure
13997 # tests run on this system so they can be shared between configure
13998 # scripts and configure runs, see configure's option --config-cache.
13999 # It is not useful on other systems. If it contains results you don't
14000 # want to keep, you may remove or edit it.
14002 # config.status only pays attention to the cache file if you give it
14003 # the --recheck option to rerun configure.
14005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14007 # following values.
14011 # The following way of writing the cache mishandles newlines in values,
14012 # but we know of no workaround that is simple, portable, and efficient.
14013 # So, we kill variables containing newlines.
14014 # Ultrix sh set writes to stderr and can't be redirected directly,
14015 # and sets the high bit in the cache file unless we assign to the vars.
14017 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14018 eval ac_val=\$$ac_var
14022 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14023 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14026 _ | IFS | as_nl) ;; #(
14027 *) $as_unset $ac_var ;;
14033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14034 *${as_nl}ac_space=\ *)
14035 # `set' does not quote correctly, so add quotes (double-quote
14036 # substitution turns \\\\ into \\, and sed turns \\ into \).
14039 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14042 # `set' quotes correctly as required by POSIX, so do not add quotes.
14043 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14057 if test -w "$cache_file"; then
14058 test "x
$cache_file" != "x
/dev
/null
" &&
14059 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14060 echo "$as_me: updating cache
$cache_file" >&6;}
14061 cat confcache >$cache_file
14063 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14064 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14074 ac_cpp='$CPP $CPPFLAGS'
14075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14078 if test -n "$ac_tool_prefix"; then
14079 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14080 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14081 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14082 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14083 if test "${ac_cv_prog_CC+set}" = set; then
14084 echo $ECHO_N "(cached
) $ECHO_C" >&6
14086 if test -n "$CC"; then
14087 ac_cv_prog_CC="$CC" # Let the user override the test.
14089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14090 for as_dir in $PATH
14093 test -z "$as_dir" && as_dir=.
14094 for ac_exec_ext in '' $ac_executable_extensions; do
14095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14096 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14097 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14107 if test -n "$CC"; then
14108 { echo "$as_me:$LINENO: result
: $CC" >&5
14109 echo "${ECHO_T}$CC" >&6; }
14111 { echo "$as_me:$LINENO: result
: no
" >&5
14112 echo "${ECHO_T}no
" >&6; }
14117 if test -z "$ac_cv_prog_CC"; then
14119 # Extract the first word of "gcc
", so it can be a program name with args.
14120 set dummy gcc; ac_word=$2
14121 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14122 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14123 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14124 echo $ECHO_N "(cached
) $ECHO_C" >&6
14126 if test -n "$ac_ct_CC"; then
14127 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14130 for as_dir in $PATH
14133 test -z "$as_dir" && as_dir=.
14134 for ac_exec_ext in '' $ac_executable_extensions; do
14135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14136 ac_cv_prog_ac_ct_CC="gcc
"
14137 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14147 if test -n "$ac_ct_CC"; then
14148 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14149 echo "${ECHO_T}$ac_ct_CC" >&6; }
14151 { echo "$as_me:$LINENO: result
: no
" >&5
14152 echo "${ECHO_T}no
" >&6; }
14155 if test "x
$ac_ct_CC" = x; then
14158 case $cross_compiling:$ac_tool_warned in
14160 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14161 whose name does not start with the
host triplet. If you think this
14162 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14163 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14164 whose name does not start with the
host triplet. If you think this
14165 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14166 ac_tool_warned=yes ;;
14171 CC="$ac_cv_prog_CC"
14174 if test -z "$CC"; then
14175 if test -n "$ac_tool_prefix"; then
14176 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14177 set dummy ${ac_tool_prefix}cc; ac_word=$2
14178 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14180 if test "${ac_cv_prog_CC+set}" = set; then
14181 echo $ECHO_N "(cached
) $ECHO_C" >&6
14183 if test -n "$CC"; then
14184 ac_cv_prog_CC="$CC" # Let the user override the test.
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14193 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14204 if test -n "$CC"; then
14205 { echo "$as_me:$LINENO: result
: $CC" >&5
14206 echo "${ECHO_T}$CC" >&6; }
14208 { echo "$as_me:$LINENO: result
: no
" >&5
14209 echo "${ECHO_T}no
" >&6; }
14215 if test -z "$CC"; then
14216 # Extract the first word of "cc
", so it can be a program name with args.
14217 set dummy cc; ac_word=$2
14218 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14219 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14220 if test "${ac_cv_prog_CC+set}" = set; then
14221 echo $ECHO_N "(cached
) $ECHO_C" >&6
14223 if test -n "$CC"; then
14224 ac_cv_prog_CC="$CC" # Let the user override the test.
14226 ac_prog_rejected=no
14227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14228 for as_dir in $PATH
14231 test -z "$as_dir" && as_dir=.
14232 for ac_exec_ext in '' $ac_executable_extensions; do
14233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14234 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14235 ac_prog_rejected=yes
14239 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14246 if test $ac_prog_rejected = yes; then
14247 # We found a bogon in the path, so make sure we never use it.
14248 set dummy $ac_cv_prog_CC
14250 if test $# != 0; then
14251 # We chose a different compiler from the bogus one.
14252 # However, it has the same basename, so the bogon will be chosen
14253 # first if we set CC to just the basename; use the full file name.
14255 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14261 if test -n "$CC"; then
14262 { echo "$as_me:$LINENO: result
: $CC" >&5
14263 echo "${ECHO_T}$CC" >&6; }
14265 { echo "$as_me:$LINENO: result
: no
" >&5
14266 echo "${ECHO_T}no
" >&6; }
14271 if test -z "$CC"; then
14272 if test -n "$ac_tool_prefix"; then
14273 for ac_prog in cl.exe
14275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14277 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14278 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14279 if test "${ac_cv_prog_CC+set}" = set; then
14280 echo $ECHO_N "(cached
) $ECHO_C" >&6
14282 if test -n "$CC"; then
14283 ac_cv_prog_CC="$CC" # Let the user override the test.
14285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14286 for as_dir in $PATH
14289 test -z "$as_dir" && as_dir=.
14290 for ac_exec_ext in '' $ac_executable_extensions; do
14291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14292 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14293 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14303 if test -n "$CC"; then
14304 { echo "$as_me:$LINENO: result
: $CC" >&5
14305 echo "${ECHO_T}$CC" >&6; }
14307 { echo "$as_me:$LINENO: result
: no
" >&5
14308 echo "${ECHO_T}no
" >&6; }
14312 test -n "$CC" && break
14315 if test -z "$CC"; then
14317 for ac_prog in cl.exe
14319 # Extract the first word of "$ac_prog", so it can be a program name with args.
14320 set dummy $ac_prog; ac_word=$2
14321 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14322 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14324 echo $ECHO_N "(cached
) $ECHO_C" >&6
14326 if test -n "$ac_ct_CC"; then
14327 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14330 for as_dir in $PATH
14333 test -z "$as_dir" && as_dir=.
14334 for ac_exec_ext in '' $ac_executable_extensions; do
14335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14336 ac_cv_prog_ac_ct_CC="$ac_prog"
14337 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14347 if test -n "$ac_ct_CC"; then
14348 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14349 echo "${ECHO_T}$ac_ct_CC" >&6; }
14351 { echo "$as_me:$LINENO: result
: no
" >&5
14352 echo "${ECHO_T}no
" >&6; }
14356 test -n "$ac_ct_CC" && break
14359 if test "x
$ac_ct_CC" = x; then
14362 case $cross_compiling:$ac_tool_warned in
14364 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14365 whose name does not start with the
host triplet. If you think this
14366 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14367 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14368 whose name does not start with the
host triplet. If you think this
14369 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14370 ac_tool_warned=yes ;;
14379 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14380 See \
`config.log' for more details." >&5
14381 echo "$as_me: error: no acceptable C compiler found in \$PATH
14382 See \`config.log
' for more details." >&2;}
14383 { (exit 1); exit 1; }; }
14385 # Provide some information about the compiler.
14386 echo "$as_me:$LINENO: checking for C compiler version" >&5
14387 ac_compiler=`set X $ac_compile; echo $2`
14388 { (ac_try="$ac_compiler --version >&5"
14389 case "(($ac_try" in
14390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14391 *) ac_try_echo=$ac_try;;
14393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14394 (eval "$ac_compiler --version >&5") 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }
14398 { (ac_try="$ac_compiler -v >&5"
14399 case "(($ac_try" in
14400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14401 *) ac_try_echo=$ac_try;;
14403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14404 (eval "$ac_compiler -v >&5") 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }
14408 { (ac_try="$ac_compiler -V >&5"
14409 case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_compiler -V >&5") 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }
14419 cat >conftest.$ac_ext <<_ACEOF
14422 cat confdefs.h >>conftest.$ac_ext
14423 cat >>conftest.$ac_ext <<_ACEOF
14424 /* end confdefs.h. */
14434 ac_clean_files_save=$ac_clean_files
14435 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14436 # Try to create an executable without -o first, disregard a.out.
14437 # It will help us diagnose broken compilers, and finding out an intuition
14439 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14440 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14441 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14443 # List of possible output files, starting from the most likely.
14444 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14445 # only as a last resort. b.out is created by i960 compilers.
14446 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14448 # The IRIX 6 linker writes into existing files which may not be
14449 # executable, retaining their permissions. Remove them first so a
14450 # subsequent execution test works.
14452 for ac_file
in $ac_files
14455 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14456 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14461 if { (ac_try
="$ac_link_default"
14462 case "(($ac_try" in
14463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14464 *) ac_try_echo=$ac_try;;
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_link_default") 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; then
14471 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14472 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14473 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14474 # so that the user can short-circuit this test for compilers unknown to
14476 for ac_file in $ac_files ''
14478 test -f "$ac_file" || continue
14480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14483 # We found the default executable, but exeext='' is most
14487 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14489 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14491 # We set ac_cv_exeext here because the later test for it is not
14492 # safe: cross compilers may not add the suffix if given an `-o'
14493 # argument, so we may need to know it at that point already.
14494 # Even if this section looks crufty: it has the advantage of
14495 # actually working.
14501 test "$ac_cv_exeext" = no && ac_cv_exeext=
14507 { echo "$as_me:$LINENO: result: $ac_file" >&5
14508 echo "${ECHO_T}$ac_file" >&6; }
14509 if test -z "$ac_file"; then
14510 echo "$as_me: failed program was:" >&5
14511 sed 's
/^
/| /' conftest.$ac_ext >&5
14513 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14514 See \`config.log' for more details.
" >&5
14515 echo "$as_me: error
: C compiler cannot create executables
14516 See \
`config.log' for more details." >&2;}
14517 { (exit 77); exit 77; }; }
14520 ac_exeext=$ac_cv_exeext
14522 # Check that the compiler produces executables we can run. If not, either
14523 # the compiler is broken, or we cross compile.
14524 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14525 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14526 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14527 # If not cross compiling, check that we can run a simple program.
14528 if test "$cross_compiling" != yes; then
14529 if { ac_try='./$ac_file'
14530 { (case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14532 *) ac_try_echo
=$ac_try;;
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_try") 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14541 if test "$cross_compiling" = maybe
; then
14542 cross_compiling
=yes
14544 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14545 If you meant to cross compile, use \`--host'.
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot run C compiled programs.
14548 If you meant to cross compile, use \`--host'.
14549 See \`config.log' for more details." >&2;}
14550 { (exit 1); exit 1; }; }
14554 { echo "$as_me:$LINENO: result: yes" >&5
14555 echo "${ECHO_T}yes" >&6; }
14557 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14558 ac_clean_files
=$ac_clean_files_save
14559 # Check that the compiler produces executables we can run. If not, either
14560 # the compiler is broken, or we cross compile.
14561 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14562 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14563 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14564 echo "${ECHO_T}$cross_compiling" >&6; }
14566 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14567 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14568 if { (ac_try
="$ac_link"
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_link") 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; then
14578 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
14579 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
14580 # work properly (i.e., refer to `conftest.exe'), while it won't with
14582 for ac_file
in conftest.exe conftest conftest.
*; do
14583 test -f "$ac_file" || continue
14585 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14586 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14592 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14593 See \`config.log' for more details." >&5
14594 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14595 See \`config.log' for more details." >&2;}
14596 { (exit 1); exit 1; }; }
14599 rm -f conftest
$ac_cv_exeext
14600 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14601 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14603 rm -f conftest.
$ac_ext
14604 EXEEXT
=$ac_cv_exeext
14606 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14607 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14608 if test "${ac_cv_objext+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 cat >conftest.
$ac_ext <<_ACEOF
14614 cat confdefs.h
>>conftest.
$ac_ext
14615 cat >>conftest.
$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14626 rm -f conftest.o conftest.obj
14627 if { (ac_try
="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; then
14637 for ac_file in conftest.o conftest.obj conftest.*; do
14638 test -f "$ac_file" || continue;
14640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14641 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14649 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14650 See \`config.log
' for more details." >&5
14651 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14652 See \`config.log' for more details.
" >&2;}
14653 { (exit 1); exit 1; }; }
14656 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14658 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14659 echo "${ECHO_T}$ac_cv_objext" >&6; }
14660 OBJEXT=$ac_cv_objext
14662 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14663 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14664 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14665 echo $ECHO_N "(cached
) $ECHO_C" >&6
14667 cat >conftest.$ac_ext <<_ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14694 grep -v '^ *+' conftest.er1 >conftest.err
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14698 (exit $ac_status); } && {
14699 test -z "$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14701 } && test -s conftest.$ac_objext; then
14702 ac_compiler_gnu=yes
14704 echo "$as_me: failed program was
:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14711 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14714 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14715 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14716 GCC=`test $ac_compiler_gnu = yes && echo yes`
14717 ac_test_CFLAGS=${CFLAGS+set}
14718 ac_save_CFLAGS=$CFLAGS
14719 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14720 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14721 if test "${ac_cv_prog_cc_g+set}" = set; then
14722 echo $ECHO_N "(cached
) $ECHO_C" >&6
14724 ac_save_c_werror_flag=$ac_c_werror_flag
14725 ac_c_werror_flag=yes
14728 cat >conftest.$ac_ext <<_ACEOF
14731 cat confdefs.h >>conftest.$ac_ext
14732 cat >>conftest.$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14743 rm -f conftest.$ac_objext
14744 if { (ac_try="$ac_compile"
14745 case "(($ac_try" in
14746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14747 *) ac_try_echo=$ac_try;;
14749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14750 (eval "$ac_compile") 2>conftest.er1
14752 grep -v '^ *+' conftest.er1 >conftest.err
14754 cat conftest.err >&5
14755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14756 (exit $ac_status); } && {
14757 test -z "$ac_c_werror_flag" ||
14758 test ! -s conftest.err
14759 } && test -s conftest.$ac_objext; then
14760 ac_cv_prog_cc_g=yes
14762 echo "$as_me: failed program was
:" >&5
14763 sed 's/^/| /' conftest.$ac_ext >&5
14766 cat >conftest.$ac_ext <<_ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14781 rm -f conftest.$ac_objext
14782 if { (ac_try="$ac_compile"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14785 *) ac_try_echo=$ac_try;;
14787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14788 (eval "$ac_compile") 2>conftest.er1
14790 grep -v '^ *+' conftest.er1 >conftest.err
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14794 (exit $ac_status); } && {
14795 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest.$ac_objext; then
14800 echo "$as_me: failed program was
:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14803 ac_c_werror_flag=$ac_save_c_werror_flag
14805 cat >conftest.$ac_ext <<_ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14820 rm -f conftest.$ac_objext
14821 if { (ac_try="$ac_compile"
14822 case "(($ac_try" in
14823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14824 *) ac_try_echo=$ac_try;;
14826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14827 (eval "$ac_compile") 2>conftest.er1
14829 grep -v '^ *+' conftest.er1 >conftest.err
14831 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14833 (exit $ac_status); } && {
14834 test -z "$ac_c_werror_flag" ||
14835 test ! -s conftest.err
14836 } && test -s conftest.$ac_objext; then
14837 ac_cv_prog_cc_g=yes
14839 echo "$as_me: failed program was
:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14852 ac_c_werror_flag=$ac_save_c_werror_flag
14854 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14855 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14856 if test "$ac_test_CFLAGS" = set; then
14857 CFLAGS=$ac_save_CFLAGS
14858 elif test $ac_cv_prog_cc_g = yes; then
14859 if test "$GCC" = yes; then
14865 if test "$GCC" = yes; then
14871 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14872 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14873 if test "${ac_cv_prog_cc_c89+set}" = set; then
14874 echo $ECHO_N "(cached
) $ECHO_C" >&6
14876 ac_cv_prog_cc_c89=no
14878 cat >conftest.$ac_ext <<_ACEOF
14881 cat confdefs.h >>conftest.$ac_ext
14882 cat >>conftest.$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 #include <stdarg.h>
14886 #include <sys/types.h>
14887 #include <sys/stat.h>
14888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14889 struct buf { int x; };
14890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14891 static char *e (p, i)
14897 static char *f (char * (*g) (char **, int), char **p, ...)
14902 s = g (p, va_arg (v,int));
14907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14908 function prototypes and stuff, but not '\xHH' hex character constants.
14909 These don't provoke an error unfortunately, instead are silently treated
14910 as 'x'. The following induces an error, until -std is added to get
14911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14912 array size at least. It's necessary to write '\x00'==0 to get something
14913 that's true only with -std. */
14914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14916 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14917 inside strings and character constants. */
14919 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14921 int test (int i, double x);
14922 struct s1 {int (*f) (int a);};
14923 struct s2 {int (*f) (double a);};
14924 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14930 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14935 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14936 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14938 CC="$ac_save_CC $ac_arg"
14939 rm -f conftest.$ac_objext
14940 if { (ac_try="$ac_compile"
14941 case "(($ac_try" in
14942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14943 *) ac_try_echo=$ac_try;;
14945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14946 (eval "$ac_compile") 2>conftest.er1
14948 grep -v '^ *+' conftest.er1 >conftest.err
14950 cat conftest.err >&5
14951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14952 (exit $ac_status); } && {
14953 test -z "$ac_c_werror_flag" ||
14954 test ! -s conftest.err
14955 } && test -s conftest.$ac_objext; then
14956 ac_cv_prog_cc_c89=$ac_arg
14958 echo "$as_me: failed program was
:" >&5
14959 sed 's/^/| /' conftest.$ac_ext >&5
14964 rm -f core conftest.err conftest.$ac_objext
14965 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14967 rm -f conftest.$ac_ext
14972 case "x
$ac_cv_prog_cc_c89" in
14974 { echo "$as_me:$LINENO: result
: none needed
" >&5
14975 echo "${ECHO_T}none needed
" >&6; } ;;
14977 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14978 echo "${ECHO_T}unsupported
" >&6; } ;;
14980 CC="$CC $ac_cv_prog_cc_c89"
14981 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14982 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15001 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15002 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15003 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15004 echo $ECHO_N "(cached
) $ECHO_C" >&6
15006 cat >conftest.$ac_ext <<_ACEOF
15009 cat confdefs.h >>conftest.$ac_ext
15010 cat >>conftest.$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15017 #ifndef __INTEL_COMPILER
15025 rm -f conftest.$ac_objext
15026 if { (ac_try="$ac_compile"
15027 case "(($ac_try" in
15028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15029 *) ac_try_echo=$ac_try;;
15031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15032 (eval "$ac_compile") 2>conftest.er1
15034 grep -v '^ *+' conftest.er1 >conftest.err
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15038 (exit $ac_status); } && {
15039 test -z "$ac_c_werror_flag" ||
15040 test ! -s conftest.err
15041 } && test -s conftest.$ac_objext; then
15042 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15044 echo "$as_me: failed program was
:" >&5
15045 sed 's/^/| /' conftest.$ac_ext >&5
15047 bakefile_cv_c_compiler___INTEL_COMPILER=no
15051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15055 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15056 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15057 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15063 ac_cpp='$CPP $CPPFLAGS'
15064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15071 if test "x
$GCC" != "xyes
"; then
15072 if test "xCC
" = "xC
"; then
15073 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15074 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15075 if test "${bakefile_cv_c_exto+set}" = set; then
15076 echo $ECHO_N "(cached
) $ECHO_C" >&6
15078 cat >conftest.$ac_ext <<_ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15093 rm -f conftest.$ac_objext conftest.$ac_ext.o
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>&5
15097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15098 (exit $ac_status); }; then
15099 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15101 conftest.$ac_ext.o)
15102 bakefile_cv_c_exto="-ext o
"
15109 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15110 See \
`config.log' for more details." >&5
15111 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15112 See \`config.log
' for more details." >&2;}
15113 { (exit 1); exit 1; }; }
15117 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15120 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15121 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15122 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15123 if test "c" = "c"; then
15124 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15126 if test "c" = "cxx"; then
15127 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15131 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15132 unset ac_cv_prog_cc_g
15133 ac_test_CFLAGS=${CFLAGS+set}
15134 ac_save_CFLAGS=$CFLAGS
15135 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15136 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_cc_g+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 ac_save_c_werror_flag=$ac_c_werror_flag
15141 ac_c_werror_flag=yes
15144 cat >conftest.$ac_ext <<_ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15159 rm -f conftest.$ac_objext
15160 if { (ac_try="$ac_compile"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_compile") 2>conftest.er1
15168 grep -v '^
*+' conftest.er1 >conftest.err
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_c_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest.$ac_objext; then
15176 ac_cv_prog_cc_g=yes
15178 echo "$as_me: failed program was:" >&5
15179 sed 's
/^
/| /' conftest.$ac_ext >&5
15182 cat >conftest.$ac_ext <<_ACEOF
15185 cat confdefs.h >>conftest.$ac_ext
15186 cat >>conftest.$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15197 rm -f conftest.$ac_objext
15198 if { (ac_try="$ac_compile"
15199 case "(($ac_try" in
15200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15201 *) ac_try_echo=$ac_try;;
15203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15204 (eval "$ac_compile") 2>conftest.er1
15206 grep -v '^
*+' conftest.er1 >conftest.err
15208 cat conftest.err >&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } && {
15211 test -z "$ac_c_werror_flag" ||
15212 test ! -s conftest.err
15213 } && test -s conftest.$ac_objext; then
15216 echo "$as_me: failed program was:" >&5
15217 sed 's
/^
/| /' conftest.$ac_ext >&5
15219 ac_c_werror_flag=$ac_save_c_werror_flag
15221 cat >conftest.$ac_ext <<_ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15236 rm -f conftest.$ac_objext
15237 if { (ac_try="$ac_compile"
15238 case "(($ac_try" in
15239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15240 *) ac_try_echo=$ac_try;;
15242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15243 (eval "$ac_compile") 2>conftest.er1
15245 grep -v '^
*+' conftest.er1 >conftest.err
15247 cat conftest.err >&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } && {
15250 test -z "$ac_c_werror_flag" ||
15251 test ! -s conftest.err
15252 } && test -s conftest.$ac_objext; then
15253 ac_cv_prog_cc_g=yes
15255 echo "$as_me: failed program was:" >&5
15256 sed 's
/^
/| /' conftest.$ac_ext >&5
15261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15268 ac_c_werror_flag=$ac_save_c_werror_flag
15270 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15272 if test "$ac_test_CFLAGS" = set; then
15273 CFLAGS=$ac_save_CFLAGS
15274 elif test $ac_cv_prog_cc_g = yes; then
15275 if test "$GCC" = yes; then
15281 if test "$GCC" = yes; then
15295 ac_cpp='$CPP $CPPFLAGS'
15296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15300 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15301 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15302 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 cat >conftest.$ac_ext <<_ACEOF
15308 cat confdefs.h >>conftest.$ac_ext
15309 cat >>conftest.$ac_ext <<_ACEOF
15310 /* end confdefs.h. */
15324 rm -f conftest.$ac_objext
15325 if { (ac_try="$ac_compile"
15326 case "(($ac_try" in
15327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15328 *) ac_try_echo=$ac_try;;
15330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15331 (eval "$ac_compile") 2>conftest.er1
15333 grep -v '^
*+' conftest.er1 >conftest.err
15335 cat conftest.err >&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } && {
15338 test -z "$ac_c_werror_flag" ||
15339 test ! -s conftest.err
15340 } && test -s conftest.$ac_objext; then
15341 bakefile_cv_c_compiler___xlC__=yes
15343 echo "$as_me: failed program was:" >&5
15344 sed 's
/^
/| /' conftest.$ac_ext >&5
15346 bakefile_cv_c_compiler___xlC__=no
15350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15354 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15355 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15356 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15362 ac_cpp='$CPP $CPPFLAGS'
15363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15364 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15375 ac_cpp='$CPP $CPPFLAGS'
15376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15380 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15381 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15382 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 cat >conftest.$ac_ext <<_ACEOF
15388 cat confdefs.h >>conftest.$ac_ext
15389 cat >>conftest.$ac_ext <<_ACEOF
15390 /* end confdefs.h. */
15404 rm -f conftest.$ac_objext
15405 if { (ac_try="$ac_compile"
15406 case "(($ac_try" in
15407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_compile") 2>conftest.er1
15413 grep -v '^
*+' conftest.er1 >conftest.err
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } && {
15418 test -z "$ac_c_werror_flag" ||
15419 test ! -s conftest.err
15420 } && test -s conftest.$ac_objext; then
15421 bakefile_cv_c_compiler___MWERKS__=yes
15423 echo "$as_me: failed program was:" >&5
15424 sed 's
/^
/| /' conftest.$ac_ext >&5
15426 bakefile_cv_c_compiler___MWERKS__=no
15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15434 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15435 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15436 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15442 ac_cpp='$CPP $CPPFLAGS'
15443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15444 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15454 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15457 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15458 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15459 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 cat >conftest.$ac_ext <<_ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15481 rm -f conftest.$ac_objext
15482 if { (ac_try="$ac_compile"
15483 case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15490 grep -v '^
*+' conftest.er1 >conftest.err
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 bakefile_cv_c_compiler___xlC__=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's
/^
/| /' conftest.$ac_ext >&5
15503 bakefile_cv_c_compiler___xlC__=no
15507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15512 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15513 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15519 ac_cpp='$CPP $CPPFLAGS'
15520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15521 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15534 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15538 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15539 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 cat >conftest.$ac_ext <<_ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15553 #ifndef _SGI_COMPILER_VERSION
15561 rm -f conftest.$ac_objext
15562 if { (ac_try="$ac_compile"
15563 case "(($ac_try" in
15564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15565 *) ac_try_echo=$ac_try;;
15567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15568 (eval "$ac_compile") 2>conftest.er1
15570 grep -v '^
*+' conftest.er1 >conftest.err
15572 cat conftest.err >&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } && {
15575 test -z "$ac_c_werror_flag" ||
15576 test ! -s conftest.err
15577 } && test -s conftest.$ac_objext; then
15578 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15580 echo "$as_me: failed program was:" >&5
15581 sed 's
/^
/| /' conftest.$ac_ext >&5
15583 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15591 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15592 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15593 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15599 ac_cpp='$CPP $CPPFLAGS'
15600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15601 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15614 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15617 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15618 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15619 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15650 grep -v '^
*+' conftest.er1 >conftest.err
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_c_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 bakefile_cv_c_compiler___SUNPRO_C=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's
/^
/| /' conftest.$ac_ext >&5
15663 bakefile_cv_c_compiler___SUNPRO_C=no
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15671 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15672 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15673 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15681 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15694 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15698 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15699 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6
15702 cat >conftest.$ac_ext <<_ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15721 rm -f conftest.$ac_objext
15722 if { (ac_try="$ac_compile"
15723 case "(($ac_try" in
15724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_compile") 2>conftest.er1
15730 grep -v '^
*+' conftest.er1 >conftest.err
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest.$ac_objext; then
15738 bakefile_cv_c_compiler___HP_cc=yes
15740 echo "$as_me: failed program was:" >&5
15741 sed 's
/^
/| /' conftest.$ac_ext >&5
15743 bakefile_cv_c_compiler___HP_cc=no
15747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15751 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15752 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15753 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15759 ac_cpp='$CPP $CPPFLAGS'
15760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15761 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15772 ac_cpp='$CPP $CPPFLAGS'
15773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15774 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15777 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15778 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15779 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15780 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 cat >conftest.$ac_ext <<_ACEOF
15785 cat confdefs.h >>conftest.$ac_ext
15786 cat >>conftest.$ac_ext <<_ACEOF
15787 /* end confdefs.h. */
15801 rm -f conftest.$ac_objext
15802 if { (ac_try="$ac_compile"
15803 case "(($ac_try" in
15804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15805 *) ac_try_echo=$ac_try;;
15807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15808 (eval "$ac_compile") 2>conftest.er1
15810 grep -v '^
*+' conftest.er1 >conftest.err
15812 cat conftest.err >&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); } && {
15815 test -z "$ac_c_werror_flag" ||
15816 test ! -s conftest.err
15817 } && test -s conftest.$ac_objext; then
15818 bakefile_cv_c_compiler___DECC=yes
15820 echo "$as_me: failed program was:" >&5
15821 sed 's
/^
/| /' conftest.$ac_ext >&5
15823 bakefile_cv_c_compiler___DECC=no
15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15831 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15832 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15833 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15841 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15854 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15857 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15858 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15859 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 cat >conftest.$ac_ext <<_ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15881 rm -f conftest.$ac_objext
15882 if { (ac_try="$ac_compile"
15883 case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_compile") 2>conftest.er1
15890 grep -v '^
*+' conftest.er1 >conftest.err
15892 cat conftest.err >&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } && {
15895 test -z "$ac_c_werror_flag" ||
15896 test ! -s conftest.err
15897 } && test -s conftest.$ac_objext; then
15898 bakefile_cv_c_compiler___SUNPRO_C=yes
15900 echo "$as_me: failed program was:" >&5
15901 sed 's
/^
/| /' conftest.$ac_ext >&5
15903 bakefile_cv_c_compiler___SUNPRO_C=no
15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15912 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15913 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15919 ac_cpp='$CPP $CPPFLAGS'
15920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15921 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15935 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15937 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15938 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15939 # On Suns, sometimes $CPP names a directory.
15940 if test -n "$CPP" && test -d "$CPP"; then
15943 if test -z "$CPP"; then
15944 if test "${ac_cv_prog_CPP+set}" = set; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 # Double quotes because CPP needs to be expanded
15948 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15950 ac_preproc_ok=false
15951 for ac_c_preproc_warn_flag in '' yes
15953 # Use a header file that comes with gcc, so configuring glibc
15954 # with a fresh cross-compiler works.
15955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15956 # <limits.h> exists even on freestanding compilers.
15957 # On the NeXT, cc -E runs the code through the compiler's parser
,
15958 # not just through cpp. "Syntax error" is here to catch this case.
15959 cat >conftest.
$ac_ext <<_ACEOF
15962 cat confdefs.h
>>conftest.
$ac_ext
15963 cat >>conftest.
$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15966 # include <limits.h>
15968 # include <assert.h>
15972 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
15985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15986 test ! -s conftest.err
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15993 # Broken: fails on valid input.
15997 rm -f conftest.err conftest.$ac_ext
15999 # OK, works on sane cases. Now check whether nonexistent headers
16000 # can be detected and how.
16001 cat >conftest.$ac_ext <<_ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 #include <ac_nonexistent.h>
16009 if { (ac_try="$ac_cpp conftest.$ac_ext"
16010 case "(($ac_try" in
16011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16012 *) ac_try_echo
=$ac_try;;
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16017 grep -v '^ *+' conftest.er1
>conftest.err
16019 cat conftest.err
>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } >/dev
/null
&& {
16022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16023 test ! -s conftest.err
16025 # Broken: success on invalid input.
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16031 # Passes both tests.
16036 rm -f conftest.err conftest.
$ac_ext
16039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16040 rm -f conftest.err conftest.
$ac_ext
16041 if $ac_preproc_ok; then
16046 ac_cv_prog_CPP
=$CPP
16049 CPP
=$ac_cv_prog_CPP
16051 ac_cv_prog_CPP
=$CPP
16053 { echo "$as_me:$LINENO: result: $CPP" >&5
16054 echo "${ECHO_T}$CPP" >&6; }
16055 ac_preproc_ok
=false
16056 for ac_c_preproc_warn_flag
in '' yes
16058 # Use a header file that comes with gcc, so configuring glibc
16059 # with a fresh cross-compiler works.
16060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16061 # <limits.h> exists even on freestanding compilers.
16062 # On the NeXT, cc -E runs the code through the compiler's parser,
16063 # not just through cpp. "Syntax error" is here to catch this case.
16064 cat >conftest.
$ac_ext <<_ACEOF
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16071 # include <limits.h>
16073 # include <assert.h>
16077 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16078 case "(($ac_try" in
16079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16085 grep -v '^ *+' conftest.er1 >conftest.err
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } >/dev/null && {
16090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16091 test ! -s conftest.err
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16098 # Broken: fails on valid input.
16102 rm -f conftest.err conftest.$ac_ext
16104 # OK, works on sane cases. Now check whether nonexistent headers
16105 # can be detected and how.
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 #include <ac_nonexistent.h>
16114 if { (ac_try="$ac_cpp conftest.$ac_ext"
16115 case "(($ac_try" in
16116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16117 *) ac_try_echo
=$ac_try;;
16119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16122 grep -v '^ *+' conftest.er1
>conftest.err
16124 cat conftest.err
>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); } >/dev
/null
&& {
16127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16128 test ! -s conftest.err
16130 # Broken: success on invalid input.
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 # Passes both tests.
16141 rm -f conftest.err conftest.
$ac_ext
16144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16145 rm -f conftest.err conftest.
$ac_ext
16146 if $ac_preproc_ok; then
16149 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16150 See \`config.log' for more details." >&5
16151 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16152 See \`config.log' for more details." >&2;}
16153 { (exit 1); exit 1; }; }
16157 ac_cpp
='$CPP $CPPFLAGS'
16158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16163 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16164 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16165 if test "${ac_cv_path_GREP+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 # Extract the first word of "grep ggrep" to use in msg output
16169 if test -z "$GREP"; then
16170 set dummy
grep ggrep
; ac_prog_name
=$2
16171 if test "${ac_cv_path_GREP+set}" = set; then
16172 echo $ECHO_N "(cached) $ECHO_C" >&6
16174 ac_path_GREP_found
=false
16175 # Loop through the user's path and test for each of PROGNAME-LIST
16176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16177 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16180 test -z "$as_dir" && as_dir
=.
16181 for ac_prog
in grep ggrep
; do
16182 for ac_exec_ext
in '' $ac_executable_extensions; do
16183 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16184 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16185 # Check for GNU ac_path_GREP and select it if it is found.
16186 # Check for GNU $ac_path_GREP
16187 case `"$ac_path_GREP" --version 2>&1` in
16189 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16192 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16195 cat "conftest.in" "conftest.in" >"conftest.tmp"
16196 mv "conftest.tmp" "conftest.in"
16197 cp "conftest.in" "conftest.nl"
16198 echo 'GREP' >> "conftest.nl"
16199 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16200 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16201 ac_count
=`expr $ac_count + 1`
16202 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16203 # Best one so far, save it but keep looking for a better one
16204 ac_cv_path_GREP
="$ac_path_GREP"
16205 ac_path_GREP_max
=$ac_count
16207 # 10*(2^10) chars as input seems more than enough
16208 test $ac_count -gt 10 && break
16210 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16214 $ac_path_GREP_found && break 3
16224 GREP
="$ac_cv_path_GREP"
16225 if test -z "$GREP"; then
16226 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16227 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16228 { (exit 1); exit 1; }; }
16232 ac_cv_path_GREP
=$GREP
16237 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16238 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16239 GREP
="$ac_cv_path_GREP"
16242 { echo "$as_me:$LINENO: checking for egrep" >&5
16243 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16244 if test "${ac_cv_path_EGREP+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16248 then ac_cv_path_EGREP
="$GREP -E"
16250 # Extract the first word of "egrep" to use in msg output
16251 if test -z "$EGREP"; then
16252 set dummy
egrep; ac_prog_name
=$2
16253 if test "${ac_cv_path_EGREP+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 ac_path_EGREP_found
=false
16257 # Loop through the user's path and test for each of PROGNAME-LIST
16258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16259 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16262 test -z "$as_dir" && as_dir
=.
16263 for ac_prog
in egrep; do
16264 for ac_exec_ext
in '' $ac_executable_extensions; do
16265 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16266 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16267 # Check for GNU ac_path_EGREP and select it if it is found.
16268 # Check for GNU $ac_path_EGREP
16269 case `"$ac_path_EGREP" --version 2>&1` in
16271 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16274 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16277 cat "conftest.in" "conftest.in" >"conftest.tmp"
16278 mv "conftest.tmp" "conftest.in"
16279 cp "conftest.in" "conftest.nl"
16280 echo 'EGREP' >> "conftest.nl"
16281 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16282 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16283 ac_count
=`expr $ac_count + 1`
16284 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16285 # Best one so far, save it but keep looking for a better one
16286 ac_cv_path_EGREP
="$ac_path_EGREP"
16287 ac_path_EGREP_max
=$ac_count
16289 # 10*(2^10) chars as input seems more than enough
16290 test $ac_count -gt 10 && break
16292 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16296 $ac_path_EGREP_found && break 3
16306 EGREP
="$ac_cv_path_EGREP"
16307 if test -z "$EGREP"; then
16308 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16309 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16310 { (exit 1); exit 1; }; }
16314 ac_cv_path_EGREP
=$EGREP
16320 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16321 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16322 EGREP
="$ac_cv_path_EGREP"
16325 if test $ac_cv_c_compiler_gnu = yes; then
16326 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16327 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16328 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 ac_pattern
="Autoconf.*'x'"
16332 cat >conftest.
$ac_ext <<_ACEOF
16335 cat confdefs.h
>>conftest.
$ac_ext
16336 cat >>conftest.
$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16342 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16343 ac_cv_prog_gcc_traditional
=yes
16345 ac_cv_prog_gcc_traditional
=no
16350 if test $ac_cv_prog_gcc_traditional = no
; then
16351 cat >conftest.
$ac_ext <<_ACEOF
16354 cat confdefs.h
>>conftest.
$ac_ext
16355 cat >>conftest.
$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 #include <termio.h>
16360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16361 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16362 ac_cv_prog_gcc_traditional
=yes
16368 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16369 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16370 if test $ac_cv_prog_gcc_traditional = yes; then
16371 CC
="$CC -traditional"
16376 CXXFLAGS
=${CXXFLAGS:=}
16381 ac_cpp
='$CXXCPP $CPPFLAGS'
16382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16385 if test -z "$CXX"; then
16386 if test -n "$CCC"; then
16389 if test -n "$ac_tool_prefix"; then
16390 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16393 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16396 if test "${ac_cv_prog_CXX+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16399 if test -n "$CXX"; then
16400 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16403 for as_dir
in $PATH
16406 test -z "$as_dir" && as_dir
=.
16407 for ac_exec_ext
in '' $ac_executable_extensions; do
16408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16409 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16419 CXX
=$ac_cv_prog_CXX
16420 if test -n "$CXX"; then
16421 { echo "$as_me:$LINENO: result: $CXX" >&5
16422 echo "${ECHO_T}$CXX" >&6; }
16424 { echo "$as_me:$LINENO: result: no" >&5
16425 echo "${ECHO_T}no" >&6; }
16429 test -n "$CXX" && break
16432 if test -z "$CXX"; then
16434 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16436 # Extract the first word of "$ac_prog", so it can be a program name with args.
16437 set dummy
$ac_prog; ac_word
=$2
16438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16440 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 if test -n "$ac_ct_CXX"; then
16444 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16447 for as_dir
in $PATH
16450 test -z "$as_dir" && as_dir
=.
16451 for ac_exec_ext
in '' $ac_executable_extensions; do
16452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16453 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16463 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16464 if test -n "$ac_ct_CXX"; then
16465 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16466 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16468 { echo "$as_me:$LINENO: result: no" >&5
16469 echo "${ECHO_T}no" >&6; }
16473 test -n "$ac_ct_CXX" && break
16476 if test "x$ac_ct_CXX" = x
; then
16479 case $cross_compiling:$ac_tool_warned in
16481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16482 whose name does not start with the host triplet. If you think this
16483 configuration is useful to you, please write to autoconf@gnu.org." >&5
16484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16485 whose name does not start with the host triplet. If you think this
16486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16487 ac_tool_warned
=yes ;;
16495 # Provide some information about the compiler.
16496 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16497 ac_compiler
=`set X $ac_compile; echo $2`
16498 { (ac_try
="$ac_compiler --version >&5"
16499 case "(($ac_try" in
16500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compiler --version >&5") 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }
16508 { (ac_try="$ac_compiler -v >&5"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16511 *) ac_try_echo
=$ac_try;;
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_compiler -v >&5") 2>&5
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }
16518 { (ac_try
="$ac_compiler -V >&5"
16519 case "(($ac_try" in
16520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16521 *) ac_try_echo=$ac_try;;
16523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16524 (eval "$ac_compiler -V >&5") 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }
16529 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16530 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16531 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 cat >conftest.$ac_ext <<_ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16552 rm -f conftest.$ac_objext
16553 if { (ac_try="$ac_compile"
16554 case "(($ac_try" in
16555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16556 *) ac_try_echo
=$ac_try;;
16558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16559 (eval "$ac_compile") 2>conftest.er1
16561 grep -v '^ *+' conftest.er1
>conftest.err
16563 cat conftest.err
>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && {
16566 test -z "$ac_cxx_werror_flag" ||
16567 test ! -s conftest.err
16568 } && test -s conftest.
$ac_objext; then
16569 ac_compiler_gnu
=yes
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.
$ac_ext >&5
16577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16578 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16581 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16582 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16583 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16584 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16585 ac_save_CXXFLAGS
=$CXXFLAGS
16586 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16587 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16588 if test "${ac_cv_prog_cxx_g+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16592 ac_cxx_werror_flag
=yes
16593 ac_cv_prog_cxx_g
=no
16595 cat >conftest.
$ac_ext <<_ACEOF
16598 cat confdefs.h
>>conftest.
$ac_ext
16599 cat >>conftest.
$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16610 rm -f conftest.
$ac_objext
16611 if { (ac_try
="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16619 grep -v '^ *+' conftest.er1 >conftest.err
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_cxx_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 ac_cv_prog_cxx_g=yes
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16633 cat >conftest.$ac_ext <<_ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16648 rm -f conftest.$ac_objext
16649 if { (ac_try="$ac_compile"
16650 case "(($ac_try" in
16651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16652 *) ac_try_echo
=$ac_try;;
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_compile") 2>conftest.er1
16657 grep -v '^ *+' conftest.er1
>conftest.err
16659 cat conftest.err
>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } && {
16662 test -z "$ac_cxx_werror_flag" ||
16663 test ! -s conftest.err
16664 } && test -s conftest.
$ac_objext; then
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.
$ac_ext >&5
16670 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16672 cat >conftest.
$ac_ext <<_ACEOF
16675 cat confdefs.h
>>conftest.
$ac_ext
16676 cat >>conftest.
$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16687 rm -f conftest.
$ac_objext
16688 if { (ac_try
="$ac_compile"
16689 case "(($ac_try" in
16690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16691 *) ac_try_echo=$ac_try;;
16693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16694 (eval "$ac_compile") 2>conftest.er1
16696 grep -v '^ *+' conftest.er1 >conftest.err
16698 cat conftest.err >&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } && {
16701 test -z "$ac_cxx_werror_flag" ||
16702 test ! -s conftest.err
16703 } && test -s conftest.$ac_objext; then
16704 ac_cv_prog_cxx_g=yes
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.$ac_ext >&5
16712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16719 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16721 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16722 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16723 if test "$ac_test_CXXFLAGS" = set; then
16724 CXXFLAGS=$ac_save_CXXFLAGS
16725 elif test $ac_cv_prog_cxx_g = yes; then
16726 if test "$GXX" = yes; then
16732 if test "$GXX" = yes; then
16739 ac_cpp='$CPP $CPPFLAGS'
16740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16748 ac_cpp='$CXXCPP $CPPFLAGS'
16749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16753 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16754 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16755 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 cat >conftest.$ac_ext <<_ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16769 #ifndef __INTEL_COMPILER
16777 rm -f conftest.$ac_objext
16778 if { (ac_try="$ac_compile"
16779 case "(($ac_try" in
16780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16781 *) ac_try_echo
=$ac_try;;
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_compile") 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } && {
16791 test -z "$ac_cxx_werror_flag" ||
16792 test ! -s conftest.err
16793 } && test -s conftest.
$ac_objext; then
16794 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.
$ac_ext >&5
16799 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16807 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16808 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16809 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16815 ac_cpp
='$CPP $CPPFLAGS'
16816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16823 if test "x$GCXX" != "xyes"; then
16824 if test "xCXX" = "xC"; then
16825 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16826 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16827 if test "${bakefile_cv_c_exto+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 cat >conftest.
$ac_ext <<_ACEOF
16833 cat confdefs.h
>>conftest.
$ac_ext
16834 cat >>conftest.
$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16845 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16847 (eval $ac_compile) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; then
16851 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16853 conftest.
$ac_ext.o
)
16854 bakefile_cv_c_exto
="-ext o"
16861 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16862 See \`config.log' for more details." >&5
16863 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16864 See \`config.log' for more details." >&2;}
16865 { (exit 1); exit 1; }; }
16869 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16872 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16873 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16874 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16875 if test "c" = "c"; then
16876 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16878 if test "c" = "cxx"; then
16879 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16883 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16884 unset ac_cv_prog_cc_g
16885 ac_test_CFLAGS
=${CFLAGS+set}
16886 ac_save_CFLAGS
=$CFLAGS
16887 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16888 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16889 if test "${ac_cv_prog_cc_g+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 ac_save_c_werror_flag
=$ac_c_werror_flag
16893 ac_c_werror_flag
=yes
16896 cat >conftest.
$ac_ext <<_ACEOF
16899 cat confdefs.h
>>conftest.
$ac_ext
16900 cat >>conftest.
$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16911 rm -f conftest.
$ac_objext
16912 if { (ac_try
="$ac_compile"
16913 case "(($ac_try" in
16914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_compile") 2>conftest.er1
16920 grep -v '^ *+' conftest.er1 >conftest.err
16922 cat conftest.err >&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } && {
16925 test -z "$ac_c_werror_flag" ||
16926 test ! -s conftest.err
16927 } && test -s conftest.$ac_objext; then
16928 ac_cv_prog_cc_g=yes
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16934 cat >conftest.$ac_ext <<_ACEOF
16937 cat confdefs.h >>conftest.$ac_ext
16938 cat >>conftest.$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16949 rm -f conftest.$ac_objext
16950 if { (ac_try="$ac_compile"
16951 case "(($ac_try" in
16952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16953 *) ac_try_echo
=$ac_try;;
16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956 (eval "$ac_compile") 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } && {
16963 test -z "$ac_c_werror_flag" ||
16964 test ! -s conftest.err
16965 } && test -s conftest.
$ac_objext; then
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.
$ac_ext >&5
16971 ac_c_werror_flag
=$ac_save_c_werror_flag
16973 cat >conftest.
$ac_ext <<_ACEOF
16976 cat confdefs.h
>>conftest.
$ac_ext
16977 cat >>conftest.
$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16988 rm -f conftest.
$ac_objext
16989 if { (ac_try
="$ac_compile"
16990 case "(($ac_try" in
16991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_compile") 2>conftest.er1
16997 grep -v '^ *+' conftest.er1 >conftest.err
16999 cat conftest.err >&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && {
17002 test -z "$ac_c_werror_flag" ||
17003 test ! -s conftest.err
17004 } && test -s conftest.$ac_objext; then
17005 ac_cv_prog_cc_g=yes
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020 ac_c_werror_flag=$ac_save_c_werror_flag
17022 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17023 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17024 if test "$ac_test_CFLAGS" = set; then
17025 CFLAGS=$ac_save_CFLAGS
17026 elif test $ac_cv_prog_cc_g = yes; then
17027 if test "$GCC" = yes; then
17033 if test "$GCC" = yes; then
17047 ac_cpp='$CXXCPP $CPPFLAGS'
17048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17052 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17053 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17054 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 cat >conftest.$ac_ext <<_ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17076 rm -f conftest.$ac_objext
17077 if { (ac_try="$ac_compile"
17078 case "(($ac_try" in
17079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17080 *) ac_try_echo
=$ac_try;;
17082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17083 (eval "$ac_compile") 2>conftest.er1
17085 grep -v '^ *+' conftest.er1
>conftest.err
17087 cat conftest.err
>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } && {
17090 test -z "$ac_cxx_werror_flag" ||
17091 test ! -s conftest.err
17092 } && test -s conftest.
$ac_objext; then
17093 bakefile_cv_cxx_compiler___xlC__
=yes
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.
$ac_ext >&5
17098 bakefile_cv_cxx_compiler___xlC__
=no
17102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17106 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17107 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17108 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17114 ac_cpp
='$CPP $CPPFLAGS'
17115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17127 ac_cpp
='$CXXCPP $CPPFLAGS'
17128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17132 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17133 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17134 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 cat >conftest.
$ac_ext <<_ACEOF
17140 cat confdefs.h
>>conftest.
$ac_ext
17141 cat >>conftest.
$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17156 rm -f conftest.
$ac_objext
17157 if { (ac_try
="$ac_compile"
17158 case "(($ac_try" in
17159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17160 *) ac_try_echo=$ac_try;;
17162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17163 (eval "$ac_compile") 2>conftest.er1
17165 grep -v '^ *+' conftest.er1 >conftest.err
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } && {
17170 test -z "$ac_cxx_werror_flag" ||
17171 test ! -s conftest.err
17172 } && test -s conftest.$ac_objext; then
17173 bakefile_cv_cxx_compiler___MWERKS__=yes
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17178 bakefile_cv_cxx_compiler___MWERKS__=no
17182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17186 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17187 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17188 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17204 ac_cpp='$CXXCPP $CPPFLAGS'
17205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17209 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17210 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17211 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 cat >conftest.$ac_ext <<_ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17233 rm -f conftest.$ac_objext
17234 if { (ac_try="$ac_compile"
17235 case "(($ac_try" in
17236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17237 *) ac_try_echo
=$ac_try;;
17239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_compile") 2>conftest.er1
17242 grep -v '^ *+' conftest.er1
>conftest.err
17244 cat conftest.err
>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_cxx_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest.
$ac_objext; then
17250 bakefile_cv_cxx_compiler___xlC__
=yes
17252 echo "$as_me: failed program was:" >&5
17253 sed 's/^/| /' conftest.
$ac_ext >&5
17255 bakefile_cv_cxx_compiler___xlC__
=no
17259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17263 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17264 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17265 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17271 ac_cpp
='$CPP $CPPFLAGS'
17272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17284 ac_cpp
='$CXXCPP $CPPFLAGS'
17285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17289 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17290 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17291 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17305 #ifndef _SGI_COMPILER_VERSION
17313 rm -f conftest.
$ac_objext
17314 if { (ac_try
="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17322 grep -v '^ *+' conftest.er1 >conftest.err
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_cxx_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17335 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17344 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17345 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17351 ac_cpp='$CPP $CPPFLAGS'
17352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17364 ac_cpp='$CXXCPP $CPPFLAGS'
17365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17369 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17370 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17371 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17372 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 cat >conftest.$ac_ext <<_ACEOF
17377 cat confdefs.h >>conftest.$ac_ext
17378 cat >>conftest.$ac_ext <<_ACEOF
17379 /* end confdefs.h. */
17385 #ifndef __SUNPRO_CC
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17397 *) ac_try_echo
=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17402 grep -v '^ *+' conftest.er1
>conftest.err
17404 cat conftest.err
>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.
$ac_objext; then
17410 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.
$ac_ext >&5
17415 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17423 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17424 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17425 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17431 ac_cpp
='$CPP $CPPFLAGS'
17432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17444 ac_cpp
='$CXXCPP $CPPFLAGS'
17445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17449 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17450 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17451 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 cat >conftest.
$ac_ext <<_ACEOF
17457 cat confdefs.h
>>conftest.
$ac_ext
17458 cat >>conftest.
$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17473 rm -f conftest.
$ac_objext
17474 if { (ac_try
="$ac_compile"
17475 case "(($ac_try" in
17476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17477 *) ac_try_echo=$ac_try;;
17479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17480 (eval "$ac_compile") 2>conftest.er1
17482 grep -v '^ *+' conftest.er1 >conftest.err
17484 cat conftest.err >&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } && {
17487 test -z "$ac_cxx_werror_flag" ||
17488 test ! -s conftest.err
17489 } && test -s conftest.$ac_objext; then
17490 bakefile_cv_cxx_compiler___HP_aCC=yes
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17495 bakefile_cv_cxx_compiler___HP_aCC=no
17499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17504 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17505 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17511 ac_cpp='$CPP $CPPFLAGS'
17512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17524 ac_cpp='$CXXCPP $CPPFLAGS'
17525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17529 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17530 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17531 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 cat >conftest.$ac_ext <<_ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17553 rm -f conftest.$ac_objext
17554 if { (ac_try="$ac_compile"
17555 case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17557 *) ac_try_echo
=$ac_try;;
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_compile") 2>conftest.er1
17562 grep -v '^ *+' conftest.er1
>conftest.err
17564 cat conftest.err
>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } && {
17567 test -z "$ac_cxx_werror_flag" ||
17568 test ! -s conftest.err
17569 } && test -s conftest.
$ac_objext; then
17570 bakefile_cv_cxx_compiler___DECCXX
=yes
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.
$ac_ext >&5
17575 bakefile_cv_cxx_compiler___DECCXX
=no
17579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17583 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17584 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17585 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17591 ac_cpp
='$CPP $CPPFLAGS'
17592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17604 ac_cpp
='$CXXCPP $CPPFLAGS'
17605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17609 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17610 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17611 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 cat >conftest.
$ac_ext <<_ACEOF
17617 cat confdefs.h
>>conftest.
$ac_ext
17618 cat >>conftest.
$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17625 #ifndef __SUNPRO_CC
17633 rm -f conftest.
$ac_objext
17634 if { (ac_try
="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17642 grep -v '^ *+' conftest.er1 >conftest.err
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_cxx_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17650 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17664 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17665 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17671 ac_cpp='$CPP $CPPFLAGS'
17672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17684 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17685 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17686 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17687 { (exit 1); exit 1; }; }
17690 if test "x$SUNCXX" != xyes; then
17691 if test -n "$ac_tool_prefix"; then
17692 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17693 set dummy ${ac_tool_prefix}ar; ac_word=$2
17694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17696 if test "${ac_cv_prog_AR+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 if test -n "$AR"; then
17700 ac_cv_prog_AR="$AR" # Let the user override the test.
17702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17703 for as_dir in $PATH
17706 test -z "$as_dir" && as_dir=.
17707 for ac_exec_ext in '' $ac_executable_extensions; do
17708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17709 ac_cv_prog_AR="${ac_tool_prefix}ar"
17710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17720 if test -n "$AR"; then
17721 { echo "$as_me:$LINENO: result: $AR" >&5
17722 echo "${ECHO_T}$AR" >&6; }
17724 { echo "$as_me:$LINENO: result: no" >&5
17725 echo "${ECHO_T}no" >&6; }
17730 if test -z "$ac_cv_prog_AR"; then
17732 # Extract the first word of "ar", so it can be a program name with args.
17733 set dummy ar; ac_word=$2
17734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17736 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 if test -n "$ac_ct_AR"; then
17740 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17743 for as_dir in $PATH
17746 test -z "$as_dir" && as_dir=.
17747 for ac_exec_ext in '' $ac_executable_extensions; do
17748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17749 ac_cv_prog_ac_ct_AR="ar"
17750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17760 if test -n "$ac_ct_AR"; then
17761 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17762 echo "${ECHO_T}$ac_ct_AR" >&6; }
17764 { echo "$as_me:$LINENO: result: no" >&5
17765 echo "${ECHO_T}no" >&6; }
17768 if test "x$ac_ct_AR" = x; then
17771 case $cross_compiling:$ac_tool_warned in
17773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17774 whose name does not start with the host triplet. If you think this
17775 configuration is useful to you, please write to autoconf@gnu.org." >&5
17776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17777 whose name does not start with the host triplet. If you think this
17778 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17779 ac_tool_warned=yes ;;
17784 AR="$ac_cv_prog_AR"
17787 if test "x$AR" = "x" ; then
17788 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17789 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17790 { (exit 1); exit 1; }; }
17794 retest_macosx_linking=no
17796 #if test "$wxUSE_MAC" = 1; then
17797 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17798 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17799 # Implicitly turn on the new --with-macosx-sdk using the default
17800 # SDK which provides the behavior this option has always had.
17801 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17802 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17803 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17804 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17805 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17806 wxUSE_MACOSX_SDK=yes
17809 # Complain to user if he specified an argument to --enable-universal_binary
17810 # and also 1) specified --with-macosx-sdk using the default (yes) or
17811 # 2) specified --with-macosx-sdk using a path or 3) specified
17812 # --without-macosx-sdk (no).
17813 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17814 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17815 See \`config.log
' for more details." >&5
17816 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17817 See \`config.log' for more details.
" >&2;}
17818 { (exit 1); exit 1; }; }
17820 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17821 # special-case the empty string because the below test simply
17822 # converts "no
" to the empty string anyway.
17823 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17824 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17825 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17828 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17829 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17830 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17831 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17832 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17833 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17834 retest_macosx_linking=yes
17836 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17837 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17842 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17844 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17845 # TODO: Search for most recent SDK and use it.
17846 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17850 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17851 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17852 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17853 if ! test -d "$wxUSE_MACOSX_SDK"; then
17854 { { echo "$as_me:$LINENO: error
: not found
17855 See \
`config.log' for more details." >&5
17856 echo "$as_me: error: not found
17857 See \`config.log
' for more details." >&2;}
17858 { (exit 1); exit 1; }; }
17860 { echo "$as_me:$LINENO: result: exists" >&5
17861 echo "${ECHO_T}exists" >&6; }
17863 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17864 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17865 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17866 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17867 retest_macosx_linking=yes
17870 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17871 wxUSE_MACOSX_VERSION_MIN=
17872 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17873 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17874 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17875 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17877 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/'`
17879 # If that failed, try again with the new key
17880 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17882 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/'`
17886 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17887 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17888 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17889 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17891 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17892 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17893 wxUSE_MACOSX_VERSION_MIN=
17896 wxUSE_MACOSX_VERSION_MIN=
17898 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17899 if test "$wxUSE_MAC" = 1; then
17900 # otherwise configure stops on leopard for universal_binary
17901 wxUSE_MACOSX_VERSION_MIN=10.4
17905 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17906 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17907 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17908 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17909 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17910 retest_macosx_linking=yes
17913 if test "x$retest_macosx_linking" = "xyes"; then
17915 ac_cpp='$CPP $CPPFLAGS'
17916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17917 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17920 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17921 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17922 cat >conftest.$ac_ext <<_ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17937 rm -f conftest.$ac_objext conftest$ac_exeext
17938 if { (ac_try="$ac_link"
17939 case "(($ac_try" in
17940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17941 *) ac_try_echo=$ac_try;;
17943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17944 (eval "$ac_link") 2>conftest.er1
17946 grep -v '^
*+' conftest.er1 >conftest.err
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } && {
17951 test -z "$ac_c_werror_flag" ||
17952 test ! -s conftest.err
17953 } && test -s conftest$ac_exeext &&
17954 $as_test_x conftest$ac_exeext; then
17955 { echo "$as_me:$LINENO: result: yes" >&5
17956 echo "${ECHO_T}yes" >&6; }
17958 echo "$as_me: failed program was:" >&5
17959 sed 's
/^
/| /' conftest.$ac_ext >&5
17961 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17962 See \`config.log' for more details.
" >&5
17963 echo "$as_me: error
: no. Try a different SDK
17964 See \
`config.log' for more details." >&2;}
17965 { (exit 1); exit 1; }; }; exit 1
17968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17969 conftest$ac_exeext conftest.$ac_ext
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17978 ac_cpp='$CXXCPP $CPPFLAGS'
17979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17983 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17984 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17985 cat >conftest.$ac_ext <<_ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
18000 rm -f conftest.$ac_objext conftest$ac_exeext
18001 if { (ac_try="$ac_link"
18002 case "(($ac_try" in
18003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18004 *) ac_try_echo
=$ac_try;;
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_link") 2>conftest.er1
18009 grep -v '^ *+' conftest.er1
>conftest.err
18011 cat conftest.err
>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_cxx_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest
$ac_exeext &&
18017 $as_test_x conftest
$ac_exeext; then
18018 { echo "$as_me:$LINENO: result: yes" >&5
18019 echo "${ECHO_T}yes" >&6; }
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.
$ac_ext >&5
18024 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18025 See \`config.log' for more details." >&5
18026 echo "$as_me: error: no. Try a different SDK
18027 See \`config.log' for more details." >&2;}
18028 { (exit 1); exit 1; }; }; exit 1
18031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18032 conftest
$ac_exeext conftest.
$ac_ext
18034 ac_cpp
='$CPP $CPPFLAGS'
18035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18045 INSTALL_PROGRAM
="cp -fp"
18046 INSTALL_DATA
="cp -fp"
18053 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18054 CXXFLAGS
="-qunique $CXXFLAGS"
18058 powerpc
-*-darwin* )
18059 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18060 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18061 cat >conftest.
$ac_ext <<_ACEOF
18064 cat confdefs.h
>>conftest.
$ac_ext
18065 cat >>conftest.
$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18071 #ifndef __POWERPC__
18072 choke me for lack of PowerPC
18079 rm -f conftest.
$ac_objext
18080 if { (ac_try
="$ac_compile"
18081 case "(($ac_try" in
18082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compile") 2>conftest.er1
18088 grep -v '^ *+' conftest.er1 >conftest.err
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && {
18093 test -z "$ac_c_werror_flag" ||
18094 test ! -s conftest.err
18095 } && test -s conftest.$ac_objext; then
18096 { echo "$as_me:$LINENO: result: yes" >&5
18097 echo "${ECHO_T}yes" >&6; }
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18102 { echo "$as_me:$LINENO: result: no" >&5
18103 echo "${ECHO_T}no" >&6; }
18104 cat >>confdefs.h <<\_ACEOF
18105 #define __POWERPC__ 1
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18118 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18119 cat >conftest.$ac_ext <<_ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #include <CoreFoundation/CFBase.h>
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18139 *) ac_try_echo
=$ac_try;;
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18144 grep -v '^ *+' conftest.er1
>conftest.err
18146 cat conftest.err
>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.
$ac_objext; then
18152 { echo "$as_me:$LINENO: result: yes" >&5
18153 echo "${ECHO_T}yes" >&6; }
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.
$ac_ext >&5
18158 { echo "$as_me:$LINENO: result: no" >&5
18159 echo "${ECHO_T}no" >&6; }
18160 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18161 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18162 cat >conftest.
$ac_ext <<_ACEOF
18165 cat confdefs.h
>>conftest.
$ac_ext
18166 cat >>conftest.
$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 #define __CF_USE_FRAMEWORK_INCLUDES__
18169 #include <CoreFoundation/CFBase.h>
18179 rm -f conftest.
$ac_objext
18180 if { (ac_try
="$ac_compile"
18181 case "(($ac_try" in
18182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_compile") 2>conftest.er1
18188 grep -v '^ *+' conftest.er1 >conftest.err
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_c_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest.$ac_objext; then
18196 { echo "$as_me:$LINENO: result: yes" >&5
18197 echo "${ECHO_T}yes" >&6; }
18198 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18204 See \`config.log
' for more details." >&5
18205 echo "$as_me: error: no. CoreFoundation not available.
18206 See \`config.log' for more details.
" >&2;}
18207 { (exit 1); exit 1; }; }
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 doesnt_want_win32=0
18224 if test "$wxUSE_MSW" = 1 ; then
18227 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18228 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18229 if test "${wx_cv_nocygwin+set}" = set; then
18230 echo $ECHO_N "(cached
) $ECHO_C" >&6
18233 cat >conftest.$ac_ext <<_ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18252 rm -f conftest.$ac_objext
18253 if { (ac_try="$ac_compile"
18254 case "(($ac_try" in
18255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18256 *) ac_try_echo=$ac_try;;
18258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18259 (eval "$ac_compile") 2>conftest.er1
18261 grep -v '^ *+' conftest.er1 >conftest.err
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18265 (exit $ac_status); } && {
18266 test -z "$ac_c_werror_flag" ||
18267 test ! -s conftest.err
18268 } && test -s conftest.$ac_objext; then
18271 echo "$as_me: failed program was
:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18283 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18285 if test "$wx_cv_nocygwin" = "yes"; then
18288 doesnt_want_win32=1
18291 if test "$wants_win32" = 1 ; then
18292 BAKEFILE_FORCE_PLATFORM=win32
18300 if test "$wxUSE_WINE" = "yes"; then
18302 LDFLAGS_GUI="-mwindows"
18305 if test "$wants_win32" = 1 ; then
18308 cat >>confdefs.h <<\_ACEOF
18309 #define __WIN32__ 1
18312 cat >>confdefs.h <<\_ACEOF
18313 #define __WIN95__ 1
18316 cat >>confdefs.h <<\_ACEOF
18317 #define __WINDOWS__ 1
18320 cat >>confdefs.h <<\_ACEOF
18321 #define __GNUWIN32__ 1
18324 cat >>confdefs.h <<\_ACEOF
18329 if test "$doesnt_want_win32" = 1 ; then
18334 if test "$USE_UNIX" = 1 ; then
18336 cat >>confdefs.h <<\_ACEOF
18343 *-pc-os2_emx | *-pc-os2-emx )
18344 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18345 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18346 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18347 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18348 echo $ECHO_N "(cached
) $ECHO_C" >&6
18350 ac_check_lib_save_LIBS=$LIBS
18351 LIBS="-lcExt $LIBS"
18352 cat >conftest.$ac_ext <<_ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18374 rm -f conftest.$ac_objext conftest$ac_exeext
18375 if { (ac_try="$ac_link"
18376 case "(($ac_try" in
18377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18378 *) ac_try_echo=$ac_try;;
18380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18381 (eval "$ac_link") 2>conftest.er1
18383 grep -v '^ *+' conftest.er1 >conftest.err
18385 cat conftest.err >&5
18386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18387 (exit $ac_status); } && {
18388 test -z "$ac_c_werror_flag" ||
18389 test ! -s conftest.err
18390 } && test -s conftest$ac_exeext &&
18391 $as_test_x conftest$ac_exeext; then
18392 ac_cv_lib_cExt_drand48=yes
18394 echo "$as_me: failed program was
:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18397 ac_cv_lib_cExt_drand48=no
18400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18404 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18405 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18406 if test $ac_cv_lib_cExt_drand48 = yes; then
18407 LIBS="$LIBS -lcExt"
18411 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18413 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18414 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18415 if test "${wx_cv_gccversion+set}" = set; then
18416 echo $ECHO_N "(cached
) $ECHO_C" >&6
18419 if test "$cross_compiling" = yes; then
18420 wx_cv_gccversion="EMX2
"
18423 cat >conftest.$ac_ext <<_ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18434 FILE *f=fopen("conftestval
", "w
");
18439 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18441 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18451 rm -f conftest$ac_exeext
18452 if { (ac_try="$ac_link"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_link") 2>&5
18460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18462 { (case "(($ac_try" in
18463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18464 *) ac_try_echo=$ac_try;;
18466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18467 (eval "$ac_try") 2>&5
18469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18470 (exit $ac_status); }; }; then
18471 wx_cv_gccversion=`cat conftestval`
18473 echo "$as_me: program exited with status
$ac_status" >&5
18474 echo "$as_me: failed program was
:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18477 ( exit $ac_status )
18478 wx_cv_gccversion="EMX2
"
18480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18486 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18487 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18488 if test "$wx_cv_gccversion" = "EMX2
"; then
18489 LIBS="$LIBS -lstdcpp"
18490 LDFLAGS="$LDFLAGS -Zsysv-signals"
18492 if test "$wx_cv_gccversion" = "EMX3
"; then
18493 LIBS="$LIBS -lstdcxx -lgcc"
18494 LDFLAGS="$LDFLAGS -Zsysv-signals"
18496 LIBS="$LIBS -lstdc++"
18499 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18500 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18501 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18508 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18509 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18510 if test "${ac_cv_string_strcasecmp+set}" = set; then
18511 echo $ECHO_N "(cached
) $ECHO_C" >&6
18514 cat >conftest.$ac_ext <<_ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18521 #include <string.h>
18527 strcasecmp("foo
", "bar
");
18533 rm -f conftest.$ac_objext conftest$ac_exeext
18534 if { (ac_try="$ac_link"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_link") 2>conftest.er1
18542 grep -v '^ *+' conftest.er1 >conftest.err
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_c_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest$ac_exeext &&
18550 $as_test_x conftest$ac_exeext; then
18551 ac_cv_string_strcasecmp=yes
18553 echo "$as_me: failed program was
:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18556 ac_cv_string_strcasecmp=no
18560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18561 conftest$ac_exeext conftest.$ac_ext
18564 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18565 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18567 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18568 cat >>confdefs.h <<\_ACEOF
18569 #define HAVE_STRCASECMP_IN_STRING_H 1
18573 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18574 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18575 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18576 echo $ECHO_N "(cached
) $ECHO_C" >&6
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18586 #include <strings.h>
18592 strcasecmp("foo
", "bar
");
18598 rm -f conftest.$ac_objext conftest$ac_exeext
18599 if { (ac_try="$ac_link"
18600 case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_link") 2>conftest.er1
18607 grep -v '^ *+' conftest.er1 >conftest.err
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18611 (exit $ac_status); } && {
18612 test -z "$ac_c_werror_flag" ||
18613 test ! -s conftest.err
18614 } && test -s conftest$ac_exeext &&
18615 $as_test_x conftest$ac_exeext; then
18616 ac_cv_strings_strcasecmp=yes
18618 echo "$as_me: failed program was
:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18621 ac_cv_strings_strcasecmp=no
18625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18626 conftest$ac_exeext conftest.$ac_ext
18629 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18630 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18632 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18633 cat >>confdefs.h <<\_ACEOF
18634 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18638 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18639 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18640 { (exit 1); exit 1; }; }
18648 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18649 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18650 if test "${ac_cv_header_stdc+set}" = set; then
18651 echo $ECHO_N "(cached
) $ECHO_C" >&6
18653 cat >conftest.$ac_ext <<_ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 #include <stdlib.h>
18660 #include <stdarg.h>
18661 #include <string.h>
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18681 grep -v '^ *+' conftest.er1 >conftest.err
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_header_stdc=yes
18691 echo "$as_me: failed program was
:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_header_stdc=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 if test $ac_cv_header_stdc = yes; then
18700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18701 cat >conftest.$ac_ext <<_ACEOF
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 #include <string.h>
18710 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18711 $EGREP "memchr
" >/dev/null 2>&1; then
18714 ac_cv_header_stdc=no
18720 if test $ac_cv_header_stdc = yes; then
18721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18722 cat >conftest.$ac_ext <<_ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <stdlib.h>
18731 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18732 $EGREP "free
" >/dev/null 2>&1; then
18735 ac_cv_header_stdc=no
18741 if test $ac_cv_header_stdc = yes; then
18742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18743 if test "$cross_compiling" = yes; then
18746 cat >conftest.$ac_ext <<_ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18753 #include <stdlib.h>
18754 #if ((' ' & 0x0FF) == 0x020)
18755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18758 # define ISLOWER(c) \
18759 (('a' <= (c) && (c) <= 'i') \
18760 || ('j' <= (c) && (c) <= 'r') \
18761 || ('s' <= (c) && (c) <= 'z'))
18762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18770 for (i = 0; i < 256; i++)
18771 if (XOR (islower (i), ISLOWER (i))
18772 || toupper (i) != TOUPPER (i))
18777 rm -f conftest$ac_exeext
18778 if { (ac_try="$ac_link"
18779 case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_link") 2>&5
18786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18788 { (case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_try") 2>&5
18795 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18796 (exit $ac_status); }; }; then
18799 echo "$as_me: program exited with status
$ac_status" >&5
18800 echo "$as_me: failed program was
:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18803 ( exit $ac_status )
18804 ac_cv_header_stdc=no
18806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18812 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18813 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18814 if test $ac_cv_header_stdc = yes; then
18816 cat >>confdefs.h <<\_ACEOF
18817 #define STDC_HEADERS 1
18822 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18832 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18833 inttypes.h stdint.h unistd.h
18835 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18836 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18837 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18838 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18839 echo $ECHO_N "(cached
) $ECHO_C" >&6
18841 cat >conftest.$ac_ext <<_ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 $ac_includes_default
18849 #include <$ac_header>
18851 rm -f conftest.$ac_objext
18852 if { (ac_try="$ac_compile"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18857 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_compile") 2>conftest.er1
18860 grep -v '^ *+' conftest.er1 >conftest.err
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest.$ac_objext; then
18868 eval "$as_ac_Header=yes"
18870 echo "$as_me: failed program was
:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18873 eval "$as_ac_Header=no
"
18876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18878 ac_res=`eval echo '${'$as_ac_Header'}'`
18879 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18880 echo "${ECHO_T}$ac_res" >&6; }
18881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18882 cat >>confdefs.h <<_ACEOF
18883 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18893 for ac_header in langinfo.h wchar.h
18895 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18896 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18897 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18898 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18899 echo $ECHO_N "(cached
) $ECHO_C" >&6
18901 cat >conftest.$ac_ext <<_ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18909 #include <$ac_header>
18911 rm -f conftest.$ac_objext
18912 if { (ac_try="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18920 grep -v '^ *+' conftest.er1 >conftest.err
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 eval "$as_ac_Header=yes"
18930 echo "$as_me: failed program was
:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 eval "$as_ac_Header=no
"
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18938 ac_res=`eval echo '${'$as_ac_Header'}'`
18939 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18940 echo "${ECHO_T}$ac_res" >&6; }
18941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18942 cat >>confdefs.h <<_ACEOF
18943 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18951 if test "$ac_cv_header_wchar_h" != "yes"; then
18953 for ac_header in wcstr.h
18955 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18956 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18957 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18958 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18959 echo $ECHO_N "(cached
) $ECHO_C" >&6
18961 cat >conftest.$ac_ext <<_ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18969 #include <$ac_header>
18971 rm -f conftest.$ac_objext
18972 if { (ac_try="$ac_compile"
18973 case "(($ac_try" in
18974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18975 *) ac_try_echo=$ac_try;;
18977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18978 (eval "$ac_compile") 2>conftest.er1
18980 grep -v '^ *+' conftest.er1 >conftest.err
18982 cat conftest.err >&5
18983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18984 (exit $ac_status); } && {
18985 test -z "$ac_c_werror_flag" ||
18986 test ! -s conftest.err
18987 } && test -s conftest.$ac_objext; then
18988 eval "$as_ac_Header=yes"
18990 echo "$as_me: failed program was
:" >&5
18991 sed 's/^/| /' conftest.$ac_ext >&5
18993 eval "$as_ac_Header=no
"
18996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18998 ac_res=`eval echo '${'$as_ac_Header'}'`
18999 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19000 echo "${ECHO_T}$ac_res" >&6; }
19001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19002 cat >>confdefs.h <<_ACEOF
19003 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19013 *-pc-os2_emx | *-pc-os2-emx )
19014 if test $ac_cv_header_langinfo_h = "yes" \
19015 -a \( "$wx_cv_gccversion" = "EMX2
" \
19016 -o "$wx_cv_gccversion" = "EMX3
" \
19017 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19018 LIBS="$LIBS -lintl"
19023 if test "$USE_UNIX" = 1 ; then
19025 for ac_header in sys/select.h
19027 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19028 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19029 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19030 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19031 echo $ECHO_N "(cached
) $ECHO_C" >&6
19033 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 $ac_includes_default
19041 #include <$ac_header>
19043 rm -f conftest.$ac_objext
19044 if { (ac_try="$ac_compile"
19045 case "(($ac_try" in
19046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19047 *) ac_try_echo=$ac_try;;
19049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19050 (eval "$ac_compile") 2>conftest.er1
19052 grep -v '^ *+' conftest.er1 >conftest.err
19054 cat conftest.err >&5
19055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19056 (exit $ac_status); } && {
19057 test -z "$ac_c_werror_flag" ||
19058 test ! -s conftest.err
19059 } && test -s conftest.$ac_objext; then
19060 eval "$as_ac_Header=yes"
19062 echo "$as_me: failed program was
:" >&5
19063 sed 's/^/| /' conftest.$ac_ext >&5
19065 eval "$as_ac_Header=no
"
19068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19070 ac_res=`eval echo '${'$as_ac_Header'}'`
19071 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19072 echo "${ECHO_T}$ac_res" >&6; }
19073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19074 cat >>confdefs.h <<_ACEOF
19075 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19085 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19086 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19087 if test "${ac_cv_c_const+set}" = set; then
19088 echo $ECHO_N "(cached
) $ECHO_C" >&6
19090 cat >conftest.$ac_ext <<_ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19100 /* FIXME: Include the comments suggested by Paul. */
19101 #ifndef __cplusplus
19102 /* Ultrix mips cc rejects this. */
19103 typedef int charset[2];
19105 /* SunOS 4.1.1 cc rejects this. */
19106 char const *const *pcpcc;
19108 /* NEC SVR4.0.2 mips cc rejects this. */
19109 struct point {int x, y;};
19110 static struct point const zero = {0,0};
19111 /* AIX XL C 1.02.0.0 rejects this.
19112 It does not let you subtract one const X* pointer from another in
19113 an arm of an if-expression whose if-part is not a constant
19115 const char *g = "string
";
19116 pcpcc = &g + (g ? g-g : 0);
19117 /* HPUX 7.0 cc rejects these. */
19119 ppc = (char**) pcpcc;
19120 pcpcc = (char const *const *) ppc;
19121 { /* SCO 3.2v4 cc rejects this. */
19123 char const *s = 0 ? (char *) 0 : (char const *) 0;
19128 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19129 int x[] = {25, 17};
19130 const int *foo = &x[0];
19133 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19134 typedef const int *iptr;
19138 { /* AIX XL C 1.02.0.0 rejects this saying
19139 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19140 struct s { int j; const int *ap[3]; };
19141 struct s *b; b->j = 5;
19143 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19144 const int foo = 10;
19145 if (!foo) return 0;
19147 return !cs[0] && !zero.x;
19154 rm -f conftest.$ac_objext
19155 if { (ac_try="$ac_compile"
19156 case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_compile") 2>conftest.er1
19163 grep -v '^ *+' conftest.er1 >conftest.err
19165 cat conftest.err >&5
19166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19167 (exit $ac_status); } && {
19168 test -z "$ac_c_werror_flag" ||
19169 test ! -s conftest.err
19170 } && test -s conftest.$ac_objext; then
19173 echo "$as_me: failed program was
:" >&5
19174 sed 's/^/| /' conftest.$ac_ext >&5
19179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19181 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19182 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19183 if test $ac_cv_c_const = no; then
19185 cat >>confdefs.h <<\_ACEOF
19191 { echo "$as_me:$LINENO: checking
for inline
" >&5
19192 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19193 if test "${ac_cv_c_inline+set}" = set; then
19194 echo $ECHO_N "(cached
) $ECHO_C" >&6
19197 for ac_kw in inline __inline__ __inline; do
19198 cat >conftest.$ac_ext <<_ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 #ifndef __cplusplus
19206 static $ac_kw foo_t static_foo () {return 0; }
19207 $ac_kw foo_t foo () {return 0; }
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19220 grep -v '^ *+' conftest.er1 >conftest.err
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_c_inline=$ac_kw
19230 echo "$as_me: failed program was
:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 test "$ac_cv_c_inline" != no && break
19241 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19242 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19245 case $ac_cv_c_inline in
19248 case $ac_cv_c_inline in
19250 *) ac_val=$ac_cv_c_inline;;
19252 cat >>confdefs.h <<_ACEOF
19253 #ifndef __cplusplus
19254 #define inline $ac_val
19261 { echo "$as_me:$LINENO: checking
for short
" >&5
19262 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19263 if test "${ac_cv_type_short+set}" = set; then
19264 echo $ECHO_N "(cached
) $ECHO_C" >&6
19266 cat >conftest.$ac_ext <<_ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 $ac_includes_default
19273 typedef short ac__type_new_;
19277 if ((ac__type_new_ *) 0)
19279 if (sizeof (ac__type_new_))
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19294 grep -v '^ *+' conftest.er1 >conftest.err
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 ac_cv_type_short=yes
19304 echo "$as_me: failed program was
:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19307 ac_cv_type_short=no
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19312 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19313 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19315 # The cast to long int works around a bug in the HP C Compiler
19316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19318 # This bug is HP SR number 8606223364.
19319 { echo "$as_me:$LINENO: checking size of short
" >&5
19320 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19321 if test "${ac_cv_sizeof_short+set}" = set; then
19322 echo $ECHO_N "(cached
) $ECHO_C" >&6
19324 if test "$cross_compiling" = yes; then
19325 # Depending upon the size, compute the lo and hi bounds.
19326 cat >conftest.$ac_ext <<_ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef short ac__type_sizeof_;
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19353 grep -v '^ *+' conftest.er1 >conftest.err
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19363 cat >conftest.$ac_ext <<_ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef short ac__type_sizeof_;
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1 >conftest.err
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_hi=$ac_mid; break
19400 echo "$as_me: failed program was
:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 ac_lo=`expr $ac_mid + 1`
19404 if test $ac_lo -le $ac_mid; then
19408 ac_mid=`expr 2 '*' $ac_mid + 1`
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19414 echo "$as_me: failed program was
:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef short ac__type_sizeof_;
19428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19435 rm -f conftest.$ac_objext
19436 if { (ac_try="$ac_compile"
19437 case "(($ac_try" in
19438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19439 *) ac_try_echo=$ac_try;;
19441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19442 (eval "$ac_compile") 2>conftest.er1
19444 grep -v '^ *+' conftest.er1 >conftest.err
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19448 (exit $ac_status); } && {
19449 test -z "$ac_c_werror_flag" ||
19450 test ! -s conftest.err
19451 } && test -s conftest.$ac_objext; then
19454 cat >conftest.$ac_ext <<_ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19461 typedef short ac__type_sizeof_;
19465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19472 rm -f conftest.$ac_objext
19473 if { (ac_try="$ac_compile"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_compile") 2>conftest.er1
19481 grep -v '^ *+' conftest.er1 >conftest.err
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest.$ac_objext; then
19489 ac_lo=$ac_mid; break
19491 echo "$as_me: failed program was
:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19494 ac_hi=`expr '(' $ac_mid ')' - 1`
19495 if test $ac_mid -le $ac_hi; then
19499 ac_mid=`expr 2 '*' $ac_mid`
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19505 echo "$as_me: failed program was
:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19515 # Binary search between lo and hi bounds.
19516 while test "x
$ac_lo" != "x
$ac_hi"; do
19517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19518 cat >conftest.$ac_ext <<_ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19525 typedef short ac__type_sizeof_;
19529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19536 rm -f conftest.$ac_objext
19537 if { (ac_try="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19545 grep -v '^ *+' conftest.er1 >conftest.err
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19555 echo "$as_me: failed program was
:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 ac_lo=`expr '(' $ac_mid ')' + 1`
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 ?*) ac_cv_sizeof_short=$ac_lo;;
19565 '') if test "$ac_cv_type_short" = yes; then
19566 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19567 See \
`config.log' for more details." >&5
19568 echo "$as_me: error: cannot compute sizeof (short)
19569 See \`config.log
' for more details." >&2;}
19570 { (exit 77); exit 77; }; }
19572 ac_cv_sizeof_short=0
19576 cat >conftest.$ac_ext <<_ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef short ac__type_sizeof_;
19584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19587 #include <stdlib.h>
19592 FILE *f = fopen ("conftest.val", "w");
19595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19597 long int i = longval ();
19598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19600 fprintf (f, "%ld\n", i);
19604 unsigned long int i = ulongval ();
19605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19607 fprintf (f, "%lu\n", i);
19609 return ferror (f) || fclose (f) != 0;
19615 rm -f conftest$ac_exeext
19616 if { (ac_try="$ac_link"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_link") 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_sizeof_short=`cat conftest.val`
19637 echo "$as_me: program exited with status $ac_status" >&5
19638 echo "$as_me: failed program was:" >&5
19639 sed 's
/^
/| /' conftest.$ac_ext >&5
19641 ( exit $ac_status )
19642 if test "$ac_cv_type_short" = yes; then
19643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19644 See \`config.log' for more details.
" >&5
19645 echo "$as_me: error
: cannot compute sizeof
(short
)
19646 See \
`config.log' for more details." >&2;}
19647 { (exit 77); exit 77; }; }
19649 ac_cv_sizeof_short=0
19652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19657 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19661 cat >>confdefs.h <<_ACEOF
19662 #define SIZEOF_SHORT $ac_cv_sizeof_short
19666 { echo "$as_me:$LINENO: checking for void *" >&5
19667 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_void_p+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef void * ac__type_new_;
19682 if ((ac__type_new_ *) 0)
19684 if (sizeof (ac__type_new_))
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19694 *) ac_try_echo
=$ac_try;;
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19699 grep -v '^ *+' conftest.er1
>conftest.err
19701 cat conftest.err
>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.
$ac_objext; then
19707 ac_cv_type_void_p
=yes
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.
$ac_ext >&5
19712 ac_cv_type_void_p
=no
19715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19717 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19718 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19720 # The cast to long int works around a bug in the HP C Compiler
19721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19723 # This bug is HP SR number 8606223364.
19724 { echo "$as_me:$LINENO: checking size of void *" >&5
19725 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19726 if test "${ac_cv_sizeof_void_p+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 if test "$cross_compiling" = yes; then
19730 # Depending upon the size, compute the lo and hi bounds.
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef void * ac__type_sizeof_;
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19749 rm -f conftest.
$ac_objext
19750 if { (ac_try
="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19758 grep -v '^ *+' conftest.er1 >conftest.err
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef void * ac__type_sizeof_;
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19790 *) ac_try_echo
=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19795 grep -v '^ *+' conftest.er1
>conftest.err
19797 cat conftest.err
>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.
$ac_objext; then
19803 ac_hi
=$ac_mid; break
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.
$ac_ext >&5
19808 ac_lo
=`expr $ac_mid + 1`
19809 if test $ac_lo -le $ac_mid; then
19813 ac_mid
=`expr 2 '*' $ac_mid + 1`
19816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.
$ac_ext >&5
19822 cat >conftest.
$ac_ext <<_ACEOF
19825 cat confdefs.h
>>conftest.
$ac_ext
19826 cat >>conftest.
$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef void * ac__type_sizeof_;
19833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19840 rm -f conftest.
$ac_objext
19841 if { (ac_try
="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19849 grep -v '^ *+' conftest.er1 >conftest.err
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19859 cat >conftest.$ac_ext <<_ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 typedef void * ac__type_sizeof_;
19870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19881 *) ac_try_echo
=$ac_try;;
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19886 grep -v '^ *+' conftest.er1
>conftest.err
19888 cat conftest.err
>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.
$ac_objext; then
19894 ac_lo
=$ac_mid; break
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.
$ac_ext >&5
19899 ac_hi
=`expr '(' $ac_mid ')' - 1`
19900 if test $ac_mid -le $ac_hi; then
19904 ac_mid
=`expr 2 '*' $ac_mid`
19907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.
$ac_ext >&5
19916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19920 # Binary search between lo and hi bounds.
19921 while test "x$ac_lo" != "x$ac_hi"; do
19922 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19923 cat >conftest.
$ac_ext <<_ACEOF
19926 cat confdefs.h
>>conftest.
$ac_ext
19927 cat >>conftest.
$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 $ac_includes_default
19930 typedef void * ac__type_sizeof_;
19934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19941 rm -f conftest.
$ac_objext
19942 if { (ac_try
="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19950 grep -v '^ *+' conftest.er1 >conftest.err
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_c_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.$ac_objext; then
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ac_lo=`expr '(' $ac_mid ')' + 1`
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19970 '') if test "$ac_cv_type_void_p" = yes; then
19971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19972 See \`config.log
' for more details." >&5
19973 echo "$as_me: error: cannot compute sizeof (void *)
19974 See \`config.log' for more details.
" >&2;}
19975 { (exit 77); exit 77; }; }
19977 ac_cv_sizeof_void_p=0
19981 cat >conftest.$ac_ext <<_ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef void * ac__type_sizeof_;
19989 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19992 #include <stdlib.h>
19997 FILE *f = fopen ("conftest.val
", "w
");
20000 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20002 long int i = longval ();
20003 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20005 fprintf (f, "%ld
\n", i);
20009 unsigned long int i = ulongval ();
20010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20012 fprintf (f, "%lu
\n", i);
20014 return ferror (f) || fclose (f) != 0;
20020 rm -f conftest$ac_exeext
20021 if { (ac_try="$ac_link"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_link") 2>&5
20029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_sizeof_void_p=`cat conftest.val`
20042 echo "$as_me: program exited with status
$ac_status" >&5
20043 echo "$as_me: failed program was
:" >&5
20044 sed 's/^/| /' conftest.$ac_ext >&5
20046 ( exit $ac_status )
20047 if test "$ac_cv_type_void_p" = yes; then
20048 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20049 See \
`config.log' for more details." >&5
20050 echo "$as_me: error: cannot compute sizeof (void *)
20051 See \`config.log
' for more details." >&2;}
20052 { (exit 77); exit 77; }; }
20054 ac_cv_sizeof_void_p=0
20057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20061 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20062 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20066 cat >>confdefs.h <<_ACEOF
20067 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20071 { echo "$as_me:$LINENO: checking for int" >&5
20072 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20073 if test "${ac_cv_type_int+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 cat >conftest.$ac_ext <<_ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 typedef int ac__type_new_;
20087 if ((ac__type_new_ *) 0)
20089 if (sizeof (ac__type_new_))
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20104 grep -v '^
*+' conftest.er1 >conftest.err
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20114 echo "$as_me: failed program was:" >&5
20115 sed 's
/^
/| /' conftest.$ac_ext >&5
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20123 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { echo "$as_me:$LINENO: checking size of int" >&5
20130 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20131 if test "${ac_cv_sizeof_int+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 if test "$cross_compiling" = yes; then
20135 # Depending upon the size, compute the lo and hi bounds.
20136 cat >conftest.
$ac_ext <<_ACEOF
20139 cat confdefs.h
>>conftest.
$ac_ext
20140 cat >>conftest.
$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef int ac__type_sizeof_;
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20154 rm -f conftest.
$ac_objext
20155 if { (ac_try
="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20163 grep -v '^ *+' conftest.er1 >conftest.err
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef int ac__type_sizeof_;
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20195 *) ac_try_echo
=$ac_try;;
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20200 grep -v '^ *+' conftest.er1
>conftest.err
20202 cat conftest.err
>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.
$ac_objext; then
20208 ac_hi
=$ac_mid; break
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.
$ac_ext >&5
20213 ac_lo
=`expr $ac_mid + 1`
20214 if test $ac_lo -le $ac_mid; then
20218 ac_mid
=`expr 2 '*' $ac_mid + 1`
20221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.
$ac_ext >&5
20227 cat >conftest.
$ac_ext <<_ACEOF
20230 cat confdefs.h
>>conftest.
$ac_ext
20231 cat >>conftest.
$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef int ac__type_sizeof_;
20238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20245 rm -f conftest.
$ac_objext
20246 if { (ac_try
="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20254 grep -v '^ *+' conftest.er1 >conftest.err
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_c_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20264 cat >conftest.$ac_ext <<_ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef int ac__type_sizeof_;
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20286 *) ac_try_echo
=$ac_try;;
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20291 grep -v '^ *+' conftest.er1
>conftest.err
20293 cat conftest.err
>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.
$ac_objext; then
20299 ac_lo
=$ac_mid; break
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.
$ac_ext >&5
20304 ac_hi
=`expr '(' $ac_mid ')' - 1`
20305 if test $ac_mid -le $ac_hi; then
20309 ac_mid
=`expr 2 '*' $ac_mid`
20312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.
$ac_ext >&5
20321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20325 # Binary search between lo and hi bounds.
20326 while test "x$ac_lo" != "x$ac_hi"; do
20327 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20328 cat >conftest.
$ac_ext <<_ACEOF
20331 cat confdefs.h
>>conftest.
$ac_ext
20332 cat >>conftest.
$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 typedef int ac__type_sizeof_;
20339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20346 rm -f conftest.
$ac_objext
20347 if { (ac_try
="$ac_compile"
20348 case "(($ac_try" in
20349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_compile") 2>conftest.er1
20355 grep -v '^ *+' conftest.er1 >conftest.err
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } && {
20360 test -z "$ac_c_werror_flag" ||
20361 test ! -s conftest.err
20362 } && test -s conftest.$ac_objext; then
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20368 ac_lo=`expr '(' $ac_mid ')' + 1`
20371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20374 ?*) ac_cv_sizeof_int=$ac_lo;;
20375 '') if test "$ac_cv_type_int" = yes; then
20376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20377 See \`config.log
' for more details." >&5
20378 echo "$as_me: error: cannot compute sizeof (int)
20379 See \`config.log' for more details.
" >&2;}
20380 { (exit 77); exit 77; }; }
20386 cat >conftest.$ac_ext <<_ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef int ac__type_sizeof_;
20394 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20397 #include <stdlib.h>
20402 FILE *f = fopen ("conftest.val
", "w
");
20405 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20407 long int i = longval ();
20408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20410 fprintf (f, "%ld
\n", i);
20414 unsigned long int i = ulongval ();
20415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20417 fprintf (f, "%lu
\n", i);
20419 return ferror (f) || fclose (f) != 0;
20425 rm -f conftest$ac_exeext
20426 if { (ac_try="$ac_link"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_link") 2>&5
20434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_sizeof_int=`cat conftest.val`
20447 echo "$as_me: program exited with status
$ac_status" >&5
20448 echo "$as_me: failed program was
:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20451 ( exit $ac_status )
20452 if test "$ac_cv_type_int" = yes; then
20453 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20454 See \
`config.log' for more details." >&5
20455 echo "$as_me: error: cannot compute sizeof (int)
20456 See \`config.log
' for more details." >&2;}
20457 { (exit 77); exit 77; }; }
20462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20466 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20467 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20471 cat >>confdefs.h <<_ACEOF
20472 #define SIZEOF_INT $ac_cv_sizeof_int
20476 { echo "$as_me:$LINENO: checking for long" >&5
20477 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20478 if test "${ac_cv_type_long+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 cat >conftest.$ac_ext <<_ACEOF
20484 cat confdefs.h >>conftest.$ac_ext
20485 cat >>conftest.$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 $ac_includes_default
20488 typedef long ac__type_new_;
20492 if ((ac__type_new_ *) 0)
20494 if (sizeof (ac__type_new_))
20500 rm -f conftest.$ac_objext
20501 if { (ac_try="$ac_compile"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_compile") 2>conftest.er1
20509 grep -v '^
*+' conftest.er1 >conftest.err
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest.$ac_objext; then
20517 ac_cv_type_long=yes
20519 echo "$as_me: failed program was:" >&5
20520 sed 's
/^
/| /' conftest.$ac_ext >&5
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20528 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20530 # The cast to long int works around a bug in the HP C Compiler
20531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20533 # This bug is HP SR number 8606223364.
20534 { echo "$as_me:$LINENO: checking size of long" >&5
20535 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20536 if test "${ac_cv_sizeof_long+set}" = set; then
20537 echo $ECHO_N "(cached) $ECHO_C" >&6
20539 if test "$cross_compiling" = yes; then
20540 # Depending upon the size, compute the lo and hi bounds.
20541 cat >conftest.
$ac_ext <<_ACEOF
20544 cat confdefs.h
>>conftest.
$ac_ext
20545 cat >>conftest.
$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef long ac__type_sizeof_;
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20559 rm -f conftest.
$ac_objext
20560 if { (ac_try
="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1 >conftest.err
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20578 cat >conftest.$ac_ext <<_ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef long ac__type_sizeof_;
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20600 *) ac_try_echo
=$ac_try;;
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20605 grep -v '^ *+' conftest.er1
>conftest.err
20607 cat conftest.err
>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.
$ac_objext; then
20613 ac_hi
=$ac_mid; break
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.
$ac_ext >&5
20618 ac_lo
=`expr $ac_mid + 1`
20619 if test $ac_lo -le $ac_mid; then
20623 ac_mid
=`expr 2 '*' $ac_mid + 1`
20626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.
$ac_ext >&5
20632 cat >conftest.
$ac_ext <<_ACEOF
20635 cat confdefs.h
>>conftest.
$ac_ext
20636 cat >>conftest.
$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef long ac__type_sizeof_;
20643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20650 rm -f conftest.
$ac_objext
20651 if { (ac_try
="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20654 *) ac_try_echo=$ac_try;;
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20659 grep -v '^ *+' conftest.er1 >conftest.err
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.$ac_objext; then
20669 cat >conftest.$ac_ext <<_ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef long ac__type_sizeof_;
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20691 *) ac_try_echo
=$ac_try;;
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20696 grep -v '^ *+' conftest.er1
>conftest.err
20698 cat conftest.err
>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.
$ac_objext; then
20704 ac_lo
=$ac_mid; break
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.
$ac_ext >&5
20709 ac_hi
=`expr '(' $ac_mid ')' - 1`
20710 if test $ac_mid -le $ac_hi; then
20714 ac_mid
=`expr 2 '*' $ac_mid`
20717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.
$ac_ext >&5
20726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20730 # Binary search between lo and hi bounds.
20731 while test "x$ac_lo" != "x$ac_hi"; do
20732 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20733 cat >conftest.
$ac_ext <<_ACEOF
20736 cat confdefs.h
>>conftest.
$ac_ext
20737 cat >>conftest.
$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20740 typedef long ac__type_sizeof_;
20744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20751 rm -f conftest.
$ac_objext
20752 if { (ac_try
="$ac_compile"
20753 case "(($ac_try" in
20754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_compile") 2>conftest.er1
20760 grep -v '^ *+' conftest.er1 >conftest.err
20762 cat conftest.err >&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } && {
20765 test -z "$ac_c_werror_flag" ||
20766 test ! -s conftest.err
20767 } && test -s conftest.$ac_objext; then
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20773 ac_lo=`expr '(' $ac_mid ')' + 1`
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 ?*) ac_cv_sizeof_long=$ac_lo;;
20780 '') if test "$ac_cv_type_long" = yes; then
20781 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20782 See \`config.log
' for more details." >&5
20783 echo "$as_me: error: cannot compute sizeof (long)
20784 See \`config.log' for more details.
" >&2;}
20785 { (exit 77); exit 77; }; }
20787 ac_cv_sizeof_long=0
20791 cat >conftest.$ac_ext <<_ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 $ac_includes_default
20798 typedef long ac__type_sizeof_;
20799 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20800 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20802 #include <stdlib.h>
20807 FILE *f = fopen ("conftest.val
", "w
");
20810 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20812 long int i = longval ();
20813 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20815 fprintf (f, "%ld
\n", i);
20819 unsigned long int i = ulongval ();
20820 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20822 fprintf (f, "%lu
\n", i);
20824 return ferror (f) || fclose (f) != 0;
20830 rm -f conftest$ac_exeext
20831 if { (ac_try="$ac_link"
20832 case "(($ac_try" in
20833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20834 *) ac_try_echo=$ac_try;;
20836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20837 (eval "$ac_link") 2>&5
20839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20841 { (case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_try") 2>&5
20848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_sizeof_long=`cat conftest.val`
20852 echo "$as_me: program exited with status
$ac_status" >&5
20853 echo "$as_me: failed program was
:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20856 ( exit $ac_status )
20857 if test "$ac_cv_type_long" = yes; then
20858 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20859 See \
`config.log' for more details." >&5
20860 echo "$as_me: error: cannot compute sizeof (long)
20861 See \`config.log
' for more details." >&2;}
20862 { (exit 77); exit 77; }; }
20864 ac_cv_sizeof_long=0
20867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20871 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20872 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20876 cat >>confdefs.h <<_ACEOF
20877 #define SIZEOF_LONG $ac_cv_sizeof_long
20881 { echo "$as_me:$LINENO: checking for size_t" >&5
20882 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20883 if test "${ac_cv_type_size_t+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20886 cat >conftest.$ac_ext <<_ACEOF
20889 cat confdefs.h >>conftest.$ac_ext
20890 cat >>conftest.$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 $ac_includes_default
20893 typedef size_t ac__type_new_;
20897 if ((ac__type_new_ *) 0)
20899 if (sizeof (ac__type_new_))
20905 rm -f conftest.$ac_objext
20906 if { (ac_try="$ac_compile"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_compile") 2>conftest.er1
20914 grep -v '^
*+' conftest.er1 >conftest.err
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest.$ac_objext; then
20922 ac_cv_type_size_t=yes
20924 echo "$as_me: failed program was:" >&5
20925 sed 's
/^
/| /' conftest.$ac_ext >&5
20927 ac_cv_type_size_t=no
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20932 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20933 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20935 # The cast to long int works around a bug in the HP C Compiler
20936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20938 # This bug is HP SR number 8606223364.
20939 { echo "$as_me:$LINENO: checking size of size_t" >&5
20940 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20941 if test "${ac_cv_sizeof_size_t+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20944 if test "$cross_compiling" = yes; then
20945 # Depending upon the size, compute the lo and hi bounds.
20946 cat >conftest.
$ac_ext <<_ACEOF
20949 cat confdefs.h
>>conftest.
$ac_ext
20950 cat >>conftest.
$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef size_t ac__type_sizeof_;
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20964 rm -f conftest.
$ac_objext
20965 if { (ac_try
="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20973 grep -v '^ *+' conftest.er1 >conftest.err
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20983 cat >conftest.$ac_ext <<_ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef size_t ac__type_sizeof_;
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21005 *) ac_try_echo
=$ac_try;;
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21010 grep -v '^ *+' conftest.er1
>conftest.err
21012 cat conftest.err
>&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.
$ac_objext; then
21018 ac_hi
=$ac_mid; break
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.
$ac_ext >&5
21023 ac_lo
=`expr $ac_mid + 1`
21024 if test $ac_lo -le $ac_mid; then
21028 ac_mid
=`expr 2 '*' $ac_mid + 1`
21031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.
$ac_ext >&5
21037 cat >conftest.
$ac_ext <<_ACEOF
21040 cat confdefs.h
>>conftest.
$ac_ext
21041 cat >>conftest.
$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 $ac_includes_default
21044 typedef size_t ac__type_sizeof_;
21048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21055 rm -f conftest.
$ac_objext
21056 if { (ac_try
="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_compile") 2>conftest.er1
21064 grep -v '^ *+' conftest.er1 >conftest.err
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } && {
21069 test -z "$ac_c_werror_flag" ||
21070 test ! -s conftest.err
21071 } && test -s conftest.$ac_objext; then
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef size_t ac__type_sizeof_;
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21096 *) ac_try_echo
=$ac_try;;
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21101 grep -v '^ *+' conftest.er1
>conftest.err
21103 cat conftest.err
>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.
$ac_objext; then
21109 ac_lo
=$ac_mid; break
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.
$ac_ext >&5
21114 ac_hi
=`expr '(' $ac_mid ')' - 1`
21115 if test $ac_mid -le $ac_hi; then
21119 ac_mid
=`expr 2 '*' $ac_mid`
21122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.
$ac_ext >&5
21131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21135 # Binary search between lo and hi bounds.
21136 while test "x$ac_lo" != "x$ac_hi"; do
21137 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21138 cat >conftest.
$ac_ext <<_ACEOF
21141 cat confdefs.h
>>conftest.
$ac_ext
21142 cat >>conftest.
$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 $ac_includes_default
21145 typedef size_t ac__type_sizeof_;
21149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21156 rm -f conftest.
$ac_objext
21157 if { (ac_try
="$ac_compile"
21158 case "(($ac_try" in
21159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_compile") 2>conftest.er1
21165 grep -v '^ *+' conftest.er1 >conftest.err
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest.$ac_objext; then
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21178 ac_lo=`expr '(' $ac_mid ')' + 1`
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21185 '') if test "$ac_cv_type_size_t" = yes; then
21186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21187 See \`config.log
' for more details." >&5
21188 echo "$as_me: error: cannot compute sizeof (size_t)
21189 See \`config.log' for more details.
" >&2;}
21190 { (exit 77); exit 77; }; }
21192 ac_cv_sizeof_size_t=0
21196 cat >conftest.$ac_ext <<_ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 typedef size_t ac__type_sizeof_;
21204 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21205 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21207 #include <stdlib.h>
21212 FILE *f = fopen ("conftest.val
", "w
");
21215 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21217 long int i = longval ();
21218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21220 fprintf (f, "%ld
\n", i);
21224 unsigned long int i = ulongval ();
21225 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21227 fprintf (f, "%lu
\n", i);
21229 return ferror (f) || fclose (f) != 0;
21235 rm -f conftest$ac_exeext
21236 if { (ac_try="$ac_link"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_link") 2>&5
21244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21246 { (case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_try") 2>&5
21253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_sizeof_size_t=`cat conftest.val`
21257 echo "$as_me: program exited with status
$ac_status" >&5
21258 echo "$as_me: failed program was
:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21261 ( exit $ac_status )
21262 if test "$ac_cv_type_size_t" = yes; then
21263 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21264 See \
`config.log' for more details." >&5
21265 echo "$as_me: error: cannot compute sizeof (size_t)
21266 See \`config.log
' for more details." >&2;}
21267 { (exit 77); exit 77; }; }
21269 ac_cv_sizeof_size_t=0
21272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21276 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21277 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21281 cat >>confdefs.h <<_ACEOF
21282 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21289 { echo "$as_me:$LINENO: checking for long long" >&5
21290 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21291 if test "${ac_cv_type_long_long+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 cat >conftest.$ac_ext <<_ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 $ac_includes_default
21301 typedef long long ac__type_new_;
21305 if ((ac__type_new_ *) 0)
21307 if (sizeof (ac__type_new_))
21313 rm -f conftest.$ac_objext
21314 if { (ac_try="$ac_compile"
21315 case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 *) ac_try_echo=$ac_try;;
21319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_compile") 2>conftest.er1
21322 grep -v '^
*+' conftest.er1 >conftest.err
21324 cat conftest.err >&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } && {
21327 test -z "$ac_c_werror_flag" ||
21328 test ! -s conftest.err
21329 } && test -s conftest.$ac_objext; then
21330 ac_cv_type_long_long=yes
21332 echo "$as_me: failed program was:" >&5
21333 sed 's
/^
/| /' conftest.$ac_ext >&5
21335 ac_cv_type_long_long=no
21338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21340 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21341 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21343 # The cast to long int works around a bug in the HP C Compiler
21344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21346 # This bug is HP SR number 8606223364.
21347 { echo "$as_me:$LINENO: checking size of long long" >&5
21348 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21349 if test "${ac_cv_sizeof_long_long+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 if test "$cross_compiling" = yes; then
21353 # Depending upon the size, compute the lo and hi bounds.
21354 cat >conftest.
$ac_ext <<_ACEOF
21357 cat confdefs.h
>>conftest.
$ac_ext
21358 cat >>conftest.
$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef long long ac__type_sizeof_;
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21372 rm -f conftest.
$ac_objext
21373 if { (ac_try
="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1 >conftest.err
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21391 cat >conftest.$ac_ext <<_ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 typedef long long ac__type_sizeof_;
21402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21413 *) ac_try_echo
=$ac_try;;
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.
$ac_objext; then
21426 ac_hi
=$ac_mid; break
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.
$ac_ext >&5
21431 ac_lo
=`expr $ac_mid + 1`
21432 if test $ac_lo -le $ac_mid; then
21436 ac_mid
=`expr 2 '*' $ac_mid + 1`
21439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.
$ac_ext >&5
21445 cat >conftest.
$ac_ext <<_ACEOF
21448 cat confdefs.h
>>conftest.
$ac_ext
21449 cat >>conftest.
$ac_ext <<_ACEOF
21450 /* end confdefs.h. */
21451 $ac_includes_default
21452 typedef long long ac__type_sizeof_;
21456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21463 rm -f conftest.
$ac_objext
21464 if { (ac_try
="$ac_compile"
21465 case "(($ac_try" in
21466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21467 *) ac_try_echo=$ac_try;;
21469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21470 (eval "$ac_compile") 2>conftest.er1
21472 grep -v '^ *+' conftest.er1 >conftest.err
21474 cat conftest.err >&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } && {
21477 test -z "$ac_c_werror_flag" ||
21478 test ! -s conftest.err
21479 } && test -s conftest.$ac_objext; then
21482 cat >conftest.$ac_ext <<_ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 $ac_includes_default
21489 typedef long long ac__type_sizeof_;
21493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21500 rm -f conftest.$ac_objext
21501 if { (ac_try="$ac_compile"
21502 case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21504 *) ac_try_echo
=$ac_try;;
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_compile") 2>conftest.er1
21509 grep -v '^ *+' conftest.er1
>conftest.err
21511 cat conftest.err
>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } && {
21514 test -z "$ac_c_werror_flag" ||
21515 test ! -s conftest.err
21516 } && test -s conftest.
$ac_objext; then
21517 ac_lo
=$ac_mid; break
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.
$ac_ext >&5
21522 ac_hi
=`expr '(' $ac_mid ')' - 1`
21523 if test $ac_mid -le $ac_hi; then
21527 ac_mid
=`expr 2 '*' $ac_mid`
21530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.
$ac_ext >&5
21539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21543 # Binary search between lo and hi bounds.
21544 while test "x$ac_lo" != "x$ac_hi"; do
21545 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21546 cat >conftest.
$ac_ext <<_ACEOF
21549 cat confdefs.h
>>conftest.
$ac_ext
21550 cat >>conftest.
$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21553 typedef long long ac__type_sizeof_;
21557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21564 rm -f conftest.
$ac_objext
21565 if { (ac_try
="$ac_compile"
21566 case "(($ac_try" in
21567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_compile") 2>conftest.er1
21573 grep -v '^ *+' conftest.er1 >conftest.err
21575 cat conftest.err >&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } && {
21578 test -z "$ac_c_werror_flag" ||
21579 test ! -s conftest.err
21580 } && test -s conftest.$ac_objext; then
21583 echo "$as_me: failed program was:" >&5
21584 sed 's/^/| /' conftest.$ac_ext >&5
21586 ac_lo=`expr '(' $ac_mid ')' + 1`
21589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21592 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21593 '') if test "$ac_cv_type_long_long" = yes; then
21594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21595 See \`config.log
' for more details." >&5
21596 echo "$as_me: error: cannot compute sizeof (long long)
21597 See \`config.log' for more details.
" >&2;}
21598 { (exit 77); exit 77; }; }
21600 ac_cv_sizeof_long_long=0
21604 cat >conftest.$ac_ext <<_ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 $ac_includes_default
21611 typedef long long ac__type_sizeof_;
21612 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21613 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21615 #include <stdlib.h>
21620 FILE *f = fopen ("conftest.val
", "w
");
21623 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21625 long int i = longval ();
21626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21628 fprintf (f, "%ld
\n", i);
21632 unsigned long int i = ulongval ();
21633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21635 fprintf (f, "%lu
\n", i);
21637 return ferror (f) || fclose (f) != 0;
21643 rm -f conftest$ac_exeext
21644 if { (ac_try="$ac_link"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_link") 2>&5
21652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21654 { (case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_try") 2>&5
21661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21662 (exit $ac_status); }; }; then
21663 ac_cv_sizeof_long_long=`cat conftest.val`
21665 echo "$as_me: program exited with status
$ac_status" >&5
21666 echo "$as_me: failed program was
:" >&5
21667 sed 's/^/| /' conftest.$ac_ext >&5
21669 ( exit $ac_status )
21670 if test "$ac_cv_type_long_long" = yes; then
21671 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21672 See \
`config.log' for more details." >&5
21673 echo "$as_me: error: cannot compute sizeof (long long)
21674 See \`config.log
' for more details." >&2;}
21675 { (exit 77); exit 77; }; }
21677 ac_cv_sizeof_long_long=0
21680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21684 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21685 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21689 cat >>confdefs.h <<_ACEOF
21690 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21696 { echo "$as_me:$LINENO: checking for long long" >&5
21697 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21698 if test "${ac_cv_type_long_long+set}" = set; then
21699 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 cat >conftest.$ac_ext <<_ACEOF
21704 cat confdefs.h >>conftest.$ac_ext
21705 cat >>conftest.$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 $ac_includes_default
21708 typedef long long ac__type_new_;
21712 if ((ac__type_new_ *) 0)
21714 if (sizeof (ac__type_new_))
21720 rm -f conftest.$ac_objext
21721 if { (ac_try="$ac_compile"
21722 case "(($ac_try" in
21723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21724 *) ac_try_echo=$ac_try;;
21726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21727 (eval "$ac_compile") 2>conftest.er1
21729 grep -v '^
*+' conftest.er1 >conftest.err
21731 cat conftest.err >&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } && {
21734 test -z "$ac_c_werror_flag" ||
21735 test ! -s conftest.err
21736 } && test -s conftest.$ac_objext; then
21737 ac_cv_type_long_long=yes
21739 echo "$as_me: failed program was:" >&5
21740 sed 's
/^
/| /' conftest.$ac_ext >&5
21742 ac_cv_type_long_long=no
21745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21748 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21750 # The cast to long int works around a bug in the HP C Compiler
21751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21753 # This bug is HP SR number 8606223364.
21754 { echo "$as_me:$LINENO: checking size of long long" >&5
21755 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21756 if test "${ac_cv_sizeof_long_long+set}" = set; then
21757 echo $ECHO_N "(cached) $ECHO_C" >&6
21759 if test "$cross_compiling" = yes; then
21760 # Depending upon the size, compute the lo and hi bounds.
21761 cat >conftest.
$ac_ext <<_ACEOF
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21779 rm -f conftest.
$ac_objext
21780 if { (ac_try
="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21788 grep -v '^ *+' conftest.er1 >conftest.err
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21798 cat >conftest.$ac_ext <<_ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21820 *) ac_try_echo
=$ac_try;;
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21825 grep -v '^ *+' conftest.er1
>conftest.err
21827 cat conftest.err
>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.
$ac_objext; then
21833 ac_hi
=$ac_mid; break
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_lo
=`expr $ac_mid + 1`
21839 if test $ac_lo -le $ac_mid; then
21843 ac_mid
=`expr 2 '*' $ac_mid + 1`
21846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.
$ac_ext >&5
21852 cat >conftest.
$ac_ext <<_ACEOF
21855 cat confdefs.h
>>conftest.
$ac_ext
21856 cat >>conftest.
$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858 $ac_includes_default
21859 typedef long long ac__type_sizeof_;
21863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21870 rm -f conftest.
$ac_objext
21871 if { (ac_try
="$ac_compile"
21872 case "(($ac_try" in
21873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21874 *) ac_try_echo=$ac_try;;
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21877 (eval "$ac_compile") 2>conftest.er1
21879 grep -v '^ *+' conftest.er1 >conftest.err
21881 cat conftest.err >&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } && {
21884 test -z "$ac_c_werror_flag" ||
21885 test ! -s conftest.err
21886 } && test -s conftest.$ac_objext; then
21889 cat >conftest.$ac_ext <<_ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 typedef long long ac__type_sizeof_;
21900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21907 rm -f conftest.$ac_objext
21908 if { (ac_try="$ac_compile"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21911 *) ac_try_echo
=$ac_try;;
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_compile") 2>conftest.er1
21916 grep -v '^ *+' conftest.er1
>conftest.err
21918 cat conftest.err
>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } && {
21921 test -z "$ac_c_werror_flag" ||
21922 test ! -s conftest.err
21923 } && test -s conftest.
$ac_objext; then
21924 ac_lo
=$ac_mid; break
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.
$ac_ext >&5
21929 ac_hi
=`expr '(' $ac_mid ')' - 1`
21930 if test $ac_mid -le $ac_hi; then
21934 ac_mid
=`expr 2 '*' $ac_mid`
21937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21940 echo "$as_me: failed program was:" >&5
21941 sed 's/^/| /' conftest.
$ac_ext >&5
21946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21950 # Binary search between lo and hi bounds.
21951 while test "x$ac_lo" != "x$ac_hi"; do
21952 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21953 cat >conftest.
$ac_ext <<_ACEOF
21956 cat confdefs.h
>>conftest.
$ac_ext
21957 cat >>conftest.
$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 $ac_includes_default
21960 typedef long long ac__type_sizeof_;
21964 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21971 rm -f conftest.
$ac_objext
21972 if { (ac_try
="$ac_compile"
21973 case "(($ac_try" in
21974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_compile") 2>conftest.er1
21980 grep -v '^ *+' conftest.er1 >conftest.err
21982 cat conftest.err >&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } && {
21985 test -z "$ac_c_werror_flag" ||
21986 test ! -s conftest.err
21987 } && test -s conftest.$ac_objext; then
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21993 ac_lo=`expr '(' $ac_mid ')' + 1`
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22000 '') if test "$ac_cv_type_long_long" = yes; then
22001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22002 See \`config.log
' for more details." >&5
22003 echo "$as_me: error: cannot compute sizeof (long long)
22004 See \`config.log' for more details.
" >&2;}
22005 { (exit 77); exit 77; }; }
22007 ac_cv_sizeof_long_long=0
22011 cat >conftest.$ac_ext <<_ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef long long ac__type_sizeof_;
22019 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22020 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22022 #include <stdlib.h>
22027 FILE *f = fopen ("conftest.val
", "w
");
22030 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22032 long int i = longval ();
22033 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22035 fprintf (f, "%ld
\n", i);
22039 unsigned long int i = ulongval ();
22040 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22042 fprintf (f, "%lu
\n", i);
22044 return ferror (f) || fclose (f) != 0;
22050 rm -f conftest$ac_exeext
22051 if { (ac_try="$ac_link"
22052 case "(($ac_try" in
22053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_link") 2>&5
22059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22061 { (case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_try") 2>&5
22068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22069 (exit $ac_status); }; }; then
22070 ac_cv_sizeof_long_long=`cat conftest.val`
22072 echo "$as_me: program exited with status
$ac_status" >&5
22073 echo "$as_me: failed program was
:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22076 ( exit $ac_status )
22077 if test "$ac_cv_type_long_long" = yes; then
22078 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22079 See \
`config.log' for more details." >&5
22080 echo "$as_me: error: cannot compute sizeof (long long)
22081 See \`config.log
' for more details." >&2;}
22082 { (exit 77); exit 77; }; }
22084 ac_cv_sizeof_long_long=0
22087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22091 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22092 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22096 cat >>confdefs.h <<_ACEOF
22097 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22101 if test "$ac_cv_sizeof_long_long" != 0; then
22102 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22106 { echo "$as_me:$LINENO: checking for long long" >&5
22107 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22108 if test "${ac_cv_type_long_long+set}" = set; then
22109 echo $ECHO_N "(cached) $ECHO_C" >&6
22111 cat >conftest.$ac_ext <<_ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 $ac_includes_default
22118 typedef long long ac__type_new_;
22122 if ((ac__type_new_ *) 0)
22124 if (sizeof (ac__type_new_))
22130 rm -f conftest.$ac_objext
22131 if { (ac_try="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22139 grep -v '^
*+' conftest.er1 >conftest.err
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.$ac_objext; then
22147 ac_cv_type_long_long=yes
22149 echo "$as_me: failed program was:" >&5
22150 sed 's
/^
/| /' conftest.$ac_ext >&5
22152 ac_cv_type_long_long=no
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22158 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22160 # The cast to long int works around a bug in the HP C Compiler
22161 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22162 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22163 # This bug is HP SR number 8606223364.
22164 { echo "$as_me:$LINENO: checking size of long long" >&5
22165 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22166 if test "${ac_cv_sizeof_long_long+set}" = set; then
22167 echo $ECHO_N "(cached) $ECHO_C" >&6
22169 if test "$cross_compiling" = yes; then
22170 # Depending upon the size, compute the lo and hi bounds.
22171 cat >conftest.
$ac_ext <<_ACEOF
22174 cat confdefs.h
>>conftest.
$ac_ext
22175 cat >>conftest.
$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22189 rm -f conftest.
$ac_objext
22190 if { (ac_try
="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22198 grep -v '^ *+' conftest.er1 >conftest.err
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22208 cat >conftest.$ac_ext <<_ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef long long ac__type_sizeof_;
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22230 *) ac_try_echo
=$ac_try;;
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22235 grep -v '^ *+' conftest.er1
>conftest.err
22237 cat conftest.err
>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.
$ac_objext; then
22243 ac_hi
=$ac_mid; break
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22248 ac_lo
=`expr $ac_mid + 1`
22249 if test $ac_lo -le $ac_mid; then
22253 ac_mid
=`expr 2 '*' $ac_mid + 1`
22256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22262 cat >conftest.
$ac_ext <<_ACEOF
22265 cat confdefs.h
>>conftest.
$ac_ext
22266 cat >>conftest.
$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 $ac_includes_default
22269 typedef long long ac__type_sizeof_;
22273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22280 rm -f conftest.
$ac_objext
22281 if { (ac_try
="$ac_compile"
22282 case "(($ac_try" in
22283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22284 *) ac_try_echo=$ac_try;;
22286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287 (eval "$ac_compile") 2>conftest.er1
22289 grep -v '^ *+' conftest.er1 >conftest.err
22291 cat conftest.err >&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } && {
22294 test -z "$ac_c_werror_flag" ||
22295 test ! -s conftest.err
22296 } && test -s conftest.$ac_objext; then
22299 cat >conftest.$ac_ext <<_ACEOF
22302 cat confdefs.h >>conftest.$ac_ext
22303 cat >>conftest.$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22305 $ac_includes_default
22306 typedef long long ac__type_sizeof_;
22310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22317 rm -f conftest.$ac_objext
22318 if { (ac_try="$ac_compile"
22319 case "(($ac_try" in
22320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22321 *) ac_try_echo
=$ac_try;;
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_compile") 2>conftest.er1
22326 grep -v '^ *+' conftest.er1
>conftest.err
22328 cat conftest.err
>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } && {
22331 test -z "$ac_c_werror_flag" ||
22332 test ! -s conftest.err
22333 } && test -s conftest.
$ac_objext; then
22334 ac_lo
=$ac_mid; break
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.
$ac_ext >&5
22339 ac_hi
=`expr '(' $ac_mid ')' - 1`
22340 if test $ac_mid -le $ac_hi; then
22344 ac_mid
=`expr 2 '*' $ac_mid`
22347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.
$ac_ext >&5
22356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22360 # Binary search between lo and hi bounds.
22361 while test "x$ac_lo" != "x$ac_hi"; do
22362 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22363 cat >conftest.
$ac_ext <<_ACEOF
22366 cat confdefs.h
>>conftest.
$ac_ext
22367 cat >>conftest.
$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 $ac_includes_default
22370 typedef long long ac__type_sizeof_;
22374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22381 rm -f conftest.
$ac_objext
22382 if { (ac_try
="$ac_compile"
22383 case "(($ac_try" in
22384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22385 *) ac_try_echo=$ac_try;;
22387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22388 (eval "$ac_compile") 2>conftest.er1
22390 grep -v '^ *+' conftest.er1 >conftest.err
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } && {
22395 test -z "$ac_c_werror_flag" ||
22396 test ! -s conftest.err
22397 } && test -s conftest.$ac_objext; then
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22403 ac_lo=`expr '(' $ac_mid ')' + 1`
22406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22409 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22410 '') if test "$ac_cv_type_long_long" = yes; then
22411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22412 See \`config.log
' for more details." >&5
22413 echo "$as_me: error: cannot compute sizeof (long long)
22414 See \`config.log' for more details.
" >&2;}
22415 { (exit 77); exit 77; }; }
22417 ac_cv_sizeof_long_long=0
22421 cat >conftest.$ac_ext <<_ACEOF
22424 cat confdefs.h >>conftest.$ac_ext
22425 cat >>conftest.$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22427 $ac_includes_default
22428 typedef long long ac__type_sizeof_;
22429 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22430 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22432 #include <stdlib.h>
22437 FILE *f = fopen ("conftest.val
", "w
");
22440 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22442 long int i = longval ();
22443 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22445 fprintf (f, "%ld
\n", i);
22449 unsigned long int i = ulongval ();
22450 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22452 fprintf (f, "%lu
\n", i);
22454 return ferror (f) || fclose (f) != 0;
22460 rm -f conftest$ac_exeext
22461 if { (ac_try="$ac_link"
22462 case "(($ac_try" in
22463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22464 *) ac_try_echo=$ac_try;;
22466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22467 (eval "$ac_link") 2>&5
22469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22471 { (case "(($ac_try" in
22472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22475 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_try") 2>&5
22478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22479 (exit $ac_status); }; }; then
22480 ac_cv_sizeof_long_long=`cat conftest.val`
22482 echo "$as_me: program exited with status
$ac_status" >&5
22483 echo "$as_me: failed program was
:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22486 ( exit $ac_status )
22487 if test "$ac_cv_type_long_long" = yes; then
22488 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22489 See \
`config.log' for more details." >&5
22490 echo "$as_me: error: cannot compute sizeof (long long)
22491 See \`config.log
' for more details." >&2;}
22492 { (exit 77); exit 77; }; }
22494 ac_cv_sizeof_long_long=0
22497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22501 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22502 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22506 cat >>confdefs.h <<_ACEOF
22507 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22513 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22514 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22515 if test "${ac_cv_type_wchar_t+set}" = set; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22518 cat >conftest.$ac_ext <<_ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22525 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22526 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22527 # error "fake wchar_t"
22529 #ifdef HAVE_WCHAR_H
22531 # include <stddef.h>
22533 # include <wchar.h>
22535 #ifdef HAVE_STDLIB_H
22536 # include <stdlib.h>
22542 typedef wchar_t ac__type_new_
;
22546 if ((ac__type_new_
*) 0)
22548 if (sizeof
(ac__type_new_
))
22554 rm -f conftest.
$ac_objext
22555 if { (ac_try
="$ac_compile"
22556 case "(($ac_try" in
22557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22558 *) ac_try_echo=$ac_try;;
22560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22561 (eval "$ac_compile") 2>conftest.er1
22563 grep -v '^ *+' conftest.er1 >conftest.err
22565 cat conftest.err >&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } && {
22568 test -z "$ac_c_werror_flag" ||
22569 test ! -s conftest.err
22570 } && test -s conftest.$ac_objext; then
22571 ac_cv_type_wchar_t=yes
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22576 ac_cv_type_wchar_t=no
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22581 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22582 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22584 # The cast to long int works around a bug in the HP C Compiler
22585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22586 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22587 # This bug is HP SR number 8606223364.
22588 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22589 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22590 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22591 echo $ECHO_N "(cached) $ECHO_C" >&6
22593 if test "$cross_compiling" = yes; then
22594 # Depending upon the size, compute the lo and hi bounds.
22595 cat >conftest.$ac_ext <<_ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22602 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22603 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22604 # error "fake wchar_t"
22606 #ifdef HAVE_WCHAR_H
22608 # include <stddef.h>
22610 # include <wchar.h>
22612 #ifdef HAVE_STDLIB_H
22613 # include <stdlib.h>
22619 typedef wchar_t ac__type_sizeof_
;
22623 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22630 rm -f conftest.
$ac_objext
22631 if { (ac_try
="$ac_compile"
22632 case "(($ac_try" in
22633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22634 *) ac_try_echo=$ac_try;;
22636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22637 (eval "$ac_compile") 2>conftest.er1
22639 grep -v '^ *+' conftest.er1 >conftest.err
22641 cat conftest.err >&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } && {
22644 test -z "$ac_c_werror_flag" ||
22645 test ! -s conftest.err
22646 } && test -s conftest.$ac_objext; then
22649 cat >conftest.$ac_ext <<_ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22656 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22657 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22658 # error "fake wchar_t"
22660 #ifdef HAVE_WCHAR_H
22662 # include <stddef.h>
22664 # include <wchar.h>
22666 #ifdef HAVE_STDLIB_H
22667 # include <stdlib.h>
22673 typedef wchar_t ac__type_sizeof_;
22677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22684 rm -f conftest.$ac_objext
22685 if { (ac_try="$ac_compile"
22686 case "(($ac_try" in
22687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22688 *) ac_try_echo
=$ac_try;;
22690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22691 (eval "$ac_compile") 2>conftest.er1
22693 grep -v '^ *+' conftest.er1
>conftest.err
22695 cat conftest.err
>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && {
22698 test -z "$ac_c_werror_flag" ||
22699 test ! -s conftest.err
22700 } && test -s conftest.
$ac_objext; then
22701 ac_hi
=$ac_mid; break
22703 echo "$as_me: failed program was:" >&5
22704 sed 's/^/| /' conftest.
$ac_ext >&5
22706 ac_lo
=`expr $ac_mid + 1`
22707 if test $ac_lo -le $ac_mid; then
22711 ac_mid
=`expr 2 '*' $ac_mid + 1`
22714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.
$ac_ext >&5
22720 cat >conftest.
$ac_ext <<_ACEOF
22723 cat confdefs.h
>>conftest.
$ac_ext
22724 cat >>conftest.
$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22727 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22728 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22729 # error "fake wchar_t"
22731 #ifdef HAVE_WCHAR_H
22733 # include <stddef.h>
22735 # include <wchar.h>
22737 #ifdef HAVE_STDLIB_H
22738 # include <stdlib.h>
22744 typedef wchar_t ac__type_sizeof_;
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22755 rm -f conftest.
$ac_objext
22756 if { (ac_try
="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22764 grep -v '^ *+' conftest.er1 >conftest.err
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.$ac_objext; then
22774 cat >conftest.$ac_ext <<_ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22781 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22782 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22783 # error "fake wchar_t"
22785 #ifdef HAVE_WCHAR_H
22787 # include <stddef.h>
22789 # include <wchar.h>
22791 #ifdef HAVE_STDLIB_H
22792 # include <stdlib.h>
22798 typedef wchar_t ac__type_sizeof_;
22802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22809 rm -f conftest.$ac_objext
22810 if { (ac_try="$ac_compile"
22811 case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22813 *) ac_try_echo
=$ac_try;;
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_compile") 2>conftest.er1
22818 grep -v '^ *+' conftest.er1
>conftest.err
22820 cat conftest.err
>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && {
22823 test -z "$ac_c_werror_flag" ||
22824 test ! -s conftest.err
22825 } && test -s conftest.
$ac_objext; then
22826 ac_lo
=$ac_mid; break
22828 echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.
$ac_ext >&5
22831 ac_hi
=`expr '(' $ac_mid ')' - 1`
22832 if test $ac_mid -le $ac_hi; then
22836 ac_mid
=`expr 2 '*' $ac_mid`
22839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.
$ac_ext >&5
22848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22852 # Binary search between lo and hi bounds.
22853 while test "x$ac_lo" != "x$ac_hi"; do
22854 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22855 cat >conftest.
$ac_ext <<_ACEOF
22858 cat confdefs.h
>>conftest.
$ac_ext
22859 cat >>conftest.
$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22862 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22863 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22864 # error "fake wchar_t"
22866 #ifdef HAVE_WCHAR_H
22868 # include <stddef.h>
22870 # include <wchar.h>
22872 #ifdef HAVE_STDLIB_H
22873 # include <stdlib.h>
22879 typedef wchar_t ac__type_sizeof_;
22883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22890 rm -f conftest.
$ac_objext
22891 if { (ac_try
="$ac_compile"
22892 case "(($ac_try" in
22893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_compile") 2>conftest.er1
22899 grep -v '^ *+' conftest.er1 >conftest.err
22901 cat conftest.err >&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); } && {
22904 test -z "$ac_c_werror_flag" ||
22905 test ! -s conftest.err
22906 } && test -s conftest.$ac_objext; then
22909 echo "$as_me: failed program was:" >&5
22910 sed 's/^/| /' conftest.$ac_ext >&5
22912 ac_lo=`expr '(' $ac_mid ')' + 1`
22915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22919 '') if test "$ac_cv_type_wchar_t" = yes; then
22920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22921 See \`config.log
' for more details." >&5
22922 echo "$as_me: error: cannot compute sizeof (wchar_t)
22923 See \`config.log' for more details.
" >&2;}
22924 { (exit 77); exit 77; }; }
22926 ac_cv_sizeof_wchar_t=0
22930 cat >conftest.$ac_ext <<_ACEOF
22933 cat confdefs.h >>conftest.$ac_ext
22934 cat >>conftest.$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22937 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22938 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22939 # error "fake wchar_t
"
22941 #ifdef HAVE_WCHAR_H
22943 # include <stddef.h>
22945 # include <wchar.h>
22947 #ifdef HAVE_STDLIB_H
22948 # include <stdlib.h>
22954 typedef wchar_t 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_wchar_t=`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_wchar_t" = yes; then
23014 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23015 See \
`config.log' for more details." >&5
23016 echo "$as_me: error: cannot compute sizeof (wchar_t)
23017 See \`config.log
' for more details." >&2;}
23018 { (exit 77); exit 77; }; }
23020 ac_cv_sizeof_wchar_t=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_wchar_t" >&5
23028 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23032 cat >>confdefs.h <<_ACEOF
23033 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23037 if test "$ac_cv_sizeof_wchar_t" != 0; then
23043 { echo "$as_me:$LINENO: checking for va_copy" >&5
23044 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23045 if test "${wx_cv_func_va_copy+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 ac_cpp='$CXXCPP $CPPFLAGS'
23051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23052 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23055 cat >conftest.$ac_ext <<_ACEOF
23057 #include <stdarg.h>
23058 void foo(char *f, ...)
23072 rm -f conftest.$ac_objext conftest$ac_exeext
23073 if { (ac_try="$ac_link"
23074 case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_link") 2>conftest.er1
23081 grep -v '^
*+' conftest.er1 >conftest.err
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && {
23086 test -z "$ac_cxx_werror_flag" ||
23087 test ! -s conftest.err
23088 } && test -s conftest$ac_exeext &&
23089 $as_test_x conftest$ac_exeext; then
23090 wx_cv_func_va_copy=yes
23092 echo "$as_me: failed program was:" >&5
23093 sed 's
/^
/| /' conftest.$ac_ext >&5
23095 wx_cv_func_va_copy=no
23099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23100 conftest$ac_exeext conftest.$ac_ext
23102 ac_cpp='$CPP $CPPFLAGS'
23103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23111 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23113 if test $wx_cv_func_va_copy = "yes"; then
23114 cat >>confdefs.h <<\_ACEOF
23115 #define HAVE_VA_COPY 1
23119 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23120 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23121 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23125 if test "$cross_compiling" = yes; then
23126 wx_cv_type_va_list_lvalue=yes
23129 cat >conftest.$ac_ext <<_ACEOF
23131 #include <stdarg.h>
23132 int foo(char *f, ...)
23137 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23145 return foo("hi", 17);
23148 rm -f conftest$ac_exeext
23149 if { (ac_try="$ac_link"
23150 case "(($ac_try" in
23151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152 *) ac_try_echo=$ac_try;;
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_link") 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23159 { (case "(($ac_try" in
23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23161 *) ac_try_echo=$ac_try;;
23163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23164 (eval "$ac_try") 2>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; }; then
23168 wx_cv_type_va_list_lvalue=yes
23170 echo "$as_me: program exited with status $ac_status" >&5
23171 echo "$as_me: failed program was:" >&5
23172 sed 's
/^
/| /' conftest.$ac_ext >&5
23174 ( exit $ac_status )
23175 wx_cv_type_va_list_lvalue=no
23177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23184 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23185 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23187 if test $wx_cv_type_va_list_lvalue != "yes"; then
23188 cat >>confdefs.h <<\_ACEOF
23189 #define VA_LIST_IS_ARRAY 1
23195 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23197 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23198 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23199 if test "${wx_cv_have_variadic_macros+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23206 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23209 cat >conftest.$ac_ext <<_ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h. */
23217 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23223 test("%s %d %p", "test", 1, 0);
23230 rm -f conftest.$ac_objext
23231 if { (ac_try="$ac_compile"
23232 case "(($ac_try" in
23233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23234 *) ac_try_echo=$ac_try;;
23236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23237 (eval "$ac_compile") 2>conftest.er1
23239 grep -v '^
*+' conftest.er1 >conftest.err
23241 cat conftest.err >&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } && {
23244 test -z "$ac_cxx_werror_flag" ||
23245 test ! -s conftest.err
23246 } && test -s conftest.$ac_objext; then
23247 wx_cv_have_variadic_macros=yes
23249 echo "$as_me: failed program was:" >&5
23250 sed 's
/^
/| /' conftest.$ac_ext >&5
23252 wx_cv_have_variadic_macros=no
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23258 ac_cpp='$CPP $CPPFLAGS'
23259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23260 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23266 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23267 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23269 if test $wx_cv_have_variadic_macros = "yes"; then
23270 cat >>confdefs.h <<\_ACEOF
23271 #define HAVE_VARIADIC_MACROS 1
23277 # Check whether --enable-largefile was given.
23278 if test "${enable_largefile+set}" = set; then
23279 enableval=$enable_largefile;
23282 if test "$enable_largefile" != no; then
23285 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23286 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23287 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23288 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 cat >conftest.$ac_ext <<_ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 #define _FILE_OFFSET_BITS 64
23298 #include <sys/types.h>
23303 unsigned int field: sizeof(off_t) == 8;
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23319 grep -v '^
*+' conftest.er1 >conftest.err
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_cv_sys_file_offset_bits=64
23329 echo "$as_me: failed program was:" >&5
23330 sed 's
/^
/| /' conftest.$ac_ext >&5
23332 ac_cv_sys_file_offset_bits=no
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23339 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23340 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23342 if test "$ac_cv_sys_file_offset_bits" != no; then
23344 cat >>confdefs.h <<_ACEOF
23345 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23350 if test "x$wx_largefile" != "xyes"; then
23352 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23353 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23354 if test "${ac_cv_sys_large_files+set}" = set; then
23355 echo $ECHO_N "(cached) $ECHO_C" >&6
23358 cat >conftest.$ac_ext <<_ACEOF
23361 cat confdefs.h >>conftest.$ac_ext
23362 cat >>conftest.$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23364 #define _LARGE_FILES 1
23365 #include <sys/types.h>
23370 unsigned int field: sizeof(off_t) == 8;
23377 rm -f conftest.$ac_objext
23378 if { (ac_try="$ac_compile"
23379 case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_compile") 2>conftest.er1
23386 grep -v '^
*+' conftest.er1 >conftest.err
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } && {
23391 test -z "$ac_c_werror_flag" ||
23392 test ! -s conftest.err
23393 } && test -s conftest.$ac_objext; then
23394 ac_cv_sys_large_files=1
23396 echo "$as_me: failed program was:" >&5
23397 sed 's
/^
/| /' conftest.$ac_ext >&5
23399 ac_cv_sys_large_files=no
23402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23406 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23407 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23409 if test "$ac_cv_sys_large_files" != no; then
23411 cat >>confdefs.h <<_ACEOF
23412 #define _LARGE_FILES $ac_cv_sys_large_files
23419 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23420 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23421 if test "x$wx_largefile" = "xyes"; then
23422 cat >>confdefs.h <<\_ACEOF
23423 #define HAVE_LARGEFILE_SUPPORT 1
23427 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23428 echo "${ECHO_T}$wx_largefile" >&6; }
23432 if test "x$wx_largefile" = "xyes"; then
23433 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23434 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23436 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23437 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23438 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23439 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23440 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23446 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23449 cat >conftest.$ac_ext <<_ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23460 #ifndef __STDC_EXT__
23468 rm -f conftest.$ac_objext
23469 if { (ac_try="$ac_compile"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_compile") 2>conftest.er1
23477 grep -v '^
*+' conftest.er1 >conftest.err
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } && {
23482 test -z "$ac_cxx_werror_flag" ||
23483 test ! -s conftest.err
23484 } && test -s conftest.$ac_objext; then
23485 wx_cv_STDC_EXT_required=no
23487 echo "$as_me: failed program was:" >&5
23488 sed 's
/^
/| /' conftest.$ac_ext >&5
23490 wx_cv_STDC_EXT_required=yes
23494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23496 ac_cpp='$CPP $CPPFLAGS'
23497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23498 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23504 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23505 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23506 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23507 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23511 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23513 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23514 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23515 if test "${ac_cv_sys_largefile_source+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 cat >conftest.$ac_ext <<_ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #include <sys/types.h> /* for off_t */
23530 int (*fp) (FILE *, off_t, int) = fseeko;
23531 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23536 rm -f conftest.$ac_objext conftest$ac_exeext
23537 if { (ac_try="$ac_link"
23538 case "(($ac_try" in
23539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23540 *) ac_try_echo=$ac_try;;
23542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23543 (eval "$ac_link") 2>conftest.er1
23545 grep -v '^
*+' conftest.er1 >conftest.err
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } && {
23550 test -z "$ac_c_werror_flag" ||
23551 test ! -s conftest.err
23552 } && test -s conftest$ac_exeext &&
23553 $as_test_x conftest$ac_exeext; then
23554 ac_cv_sys_largefile_source=no; break
23556 echo "$as_me: failed program was:" >&5
23557 sed 's
/^
/| /' conftest.$ac_ext >&5
23562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23563 conftest$ac_exeext conftest.$ac_ext
23564 cat >conftest.$ac_ext <<_ACEOF
23567 cat confdefs.h >>conftest.$ac_ext
23568 cat >>conftest.$ac_ext <<_ACEOF
23569 /* end confdefs.h. */
23570 #define _LARGEFILE_SOURCE 1
23571 #include <sys/types.h> /* for off_t */
23576 int (*fp) (FILE *, off_t, int) = fseeko;
23577 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23582 rm -f conftest.$ac_objext conftest$ac_exeext
23583 if { (ac_try="$ac_link"
23584 case "(($ac_try" in
23585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23586 *) ac_try_echo=$ac_try;;
23588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23589 (eval "$ac_link") 2>conftest.er1
23591 grep -v '^
*+' conftest.er1 >conftest.err
23593 cat conftest.err >&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } && {
23596 test -z "$ac_c_werror_flag" ||
23597 test ! -s conftest.err
23598 } && test -s conftest$ac_exeext &&
23599 $as_test_x conftest$ac_exeext; then
23600 ac_cv_sys_largefile_source=1; break
23602 echo "$as_me: failed program was:" >&5
23603 sed 's
/^
/| /' conftest.$ac_ext >&5
23608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23609 conftest$ac_exeext conftest.$ac_ext
23610 ac_cv_sys_largefile_source=unknown
23614 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23615 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23616 case $ac_cv_sys_largefile_source in #(
23619 cat >>confdefs.h <<_ACEOF
23620 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23626 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23627 # in glibc 2.1.3, but that breaks too many other things.
23628 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23629 if test $ac_cv_sys_largefile_source != unknown; then
23631 cat >>confdefs.h <<\_ACEOF
23632 #define HAVE_FSEEKO 1
23637 if test "$ac_cv_sys_largefile_source" != no; then
23638 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23642 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23643 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23644 if test "${ac_cv_c_bigendian+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 ac_cv_c_bigendian=unknown
23648 # See if sys/param.h defines the BYTE_ORDER macro.
23649 cat >conftest.$ac_ext <<_ACEOF
23652 cat confdefs.h >>conftest.$ac_ext
23653 cat >>conftest.$ac_ext <<_ACEOF
23654 /* end confdefs.h. */
23655 #include <sys/types.h>
23656 #include <sys/param.h>
23661 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23662 bogus endian macros
23668 rm -f conftest.$ac_objext
23669 if { (ac_try="$ac_compile"
23670 case "(($ac_try" in
23671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23672 *) ac_try_echo=$ac_try;;
23674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23675 (eval "$ac_compile") 2>conftest.er1
23677 grep -v '^
*+' conftest.er1 >conftest.err
23679 cat conftest.err >&5
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); } && {
23682 test -z "$ac_c_werror_flag" ||
23683 test ! -s conftest.err
23684 } && test -s conftest.$ac_objext; then
23685 # It does; now see whether it defined to BIG_ENDIAN or not.
23686 cat >conftest.$ac_ext <<_ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692 #include <sys/types.h>
23693 #include <sys/param.h>
23698 #if BYTE_ORDER != BIG_ENDIAN
23705 rm -f conftest.$ac_objext
23706 if { (ac_try="$ac_compile"
23707 case "(($ac_try" in
23708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23709 *) ac_try_echo=$ac_try;;
23711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23712 (eval "$ac_compile") 2>conftest.er1
23714 grep -v '^
*+' conftest.er1 >conftest.err
23716 cat conftest.err >&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } && {
23719 test -z "$ac_c_werror_flag" ||
23720 test ! -s conftest.err
23721 } && test -s conftest.$ac_objext; then
23722 ac_cv_c_bigendian=yes
23724 echo "$as_me: failed program was:" >&5
23725 sed 's
/^
/| /' conftest.$ac_ext >&5
23727 ac_cv_c_bigendian=no
23730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23732 echo "$as_me: failed program was:" >&5
23733 sed 's
/^
/| /' conftest.$ac_ext >&5
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 if test $ac_cv_c_bigendian = unknown; then
23740 if test "$cross_compiling" = yes; then
23741 ac_cv_c_bigendian=unknown
23743 cat >conftest.$ac_ext <<_ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23750 /* Are we little or big endian? From Harbison&Steele. */
23754 char c[sizeof (long)];
23757 exit (u.c[sizeof (long) - 1] == 1);
23760 rm -f conftest$ac_exeext
23761 if { (ac_try="$ac_link"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_link") 2>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23771 { (case "(($ac_try" in
23772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23773 *) ac_try_echo=$ac_try;;
23775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23776 (eval "$ac_try") 2>&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); }; }; then
23780 ac_cv_c_bigendian=no
23782 echo "$as_me: program exited with status $ac_status" >&5
23783 echo "$as_me: failed program was:" >&5
23784 sed 's
/^
/| /' conftest.$ac_ext >&5
23786 ( exit $ac_status )
23787 ac_cv_c_bigendian=yes
23789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23795 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23796 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23797 if test $ac_cv_c_bigendian = unknown; then
23798 { 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
23799 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;}
23801 if test $ac_cv_c_bigendian = yes; then
23802 cat >>confdefs.h <<\_ACEOF
23803 #define WORDS_BIGENDIAN 1
23812 ac_cpp='$CXXCPP $CPPFLAGS'
23813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23814 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23819 for ac_header in iostream
23821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23825 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 cat >conftest.$ac_ext <<_ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23835 #include <$ac_header>
23837 rm -f conftest.$ac_objext
23838 if { (ac_try="$ac_compile"
23839 case "(($ac_try" in
23840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23841 *) ac_try_echo=$ac_try;;
23843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23844 (eval "$ac_compile") 2>conftest.er1
23846 grep -v '^
*+' conftest.er1 >conftest.err
23848 cat conftest.err >&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } && {
23851 test -z "$ac_cxx_werror_flag" ||
23852 test ! -s conftest.err
23853 } && test -s conftest.$ac_objext; then
23854 eval "$as_ac_Header=yes"
23856 echo "$as_me: failed program was:" >&5
23857 sed 's
/^
/| /' conftest.$ac_ext >&5
23859 eval "$as_ac_Header=no"
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864 ac_res=`eval echo '${'$as_ac_Header'}'`
23865 { echo "$as_me:$LINENO: result: $ac_res" >&5
23866 echo "${ECHO_T}$ac_res" >&6; }
23867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23868 cat >>confdefs.h <<_ACEOF
23869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23877 if test "$ac_cv_header_iostream" = "yes" ; then
23880 cat >>confdefs.h <<\_ACEOF
23881 #define wxUSE_IOSTREAMH 1
23887 ac_cpp='$CPP $CPPFLAGS'
23888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23889 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23895 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23896 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23897 if test "${wx_cv_explicit+set}" = set; then
23898 echo $ECHO_N "(cached) $ECHO_C" >&6
23903 ac_cpp='$CXXCPP $CPPFLAGS'
23904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23905 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909 cat >conftest.$ac_ext <<_ACEOF
23912 cat confdefs.h >>conftest.$ac_ext
23913 cat >>conftest.$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23916 class Foo { public: explicit Foo(int) {} };
23928 rm -f conftest.$ac_objext
23929 if { (ac_try="$ac_compile"
23930 case "(($ac_try" in
23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23932 *) ac_try_echo=$ac_try;;
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23935 (eval "$ac_compile") 2>conftest.er1
23937 grep -v '^
*+' conftest.er1 >conftest.err
23939 cat conftest.err >&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } && {
23942 test -z "$ac_cxx_werror_flag" ||
23943 test ! -s conftest.err
23944 } && test -s conftest.$ac_objext; then
23946 cat >conftest.$ac_ext <<_ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23953 class Foo { public: explicit Foo(int) {} };
23954 static void TakeFoo(const Foo& foo) { }
23967 rm -f conftest.$ac_objext
23968 if { (ac_try="$ac_compile"
23969 case "(($ac_try" in
23970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23971 *) ac_try_echo=$ac_try;;
23973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23974 (eval "$ac_compile") 2>conftest.er1
23976 grep -v '^
*+' conftest.er1 >conftest.err
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } && {
23981 test -z "$ac_cxx_werror_flag" ||
23982 test ! -s conftest.err
23983 } && test -s conftest.$ac_objext; then
23986 echo "$as_me: failed program was:" >&5
23987 sed 's
/^
/| /' conftest.$ac_ext >&5
23993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23996 echo "$as_me: failed program was:" >&5
23997 sed 's
/^
/| /' conftest.$ac_ext >&5
24003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006 ac_cpp='$CPP $CPPFLAGS'
24007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24008 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24013 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24014 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24016 if test "$wx_cv_explicit" = "yes"; then
24017 cat >>confdefs.h <<\_ACEOF
24018 #define HAVE_EXPLICIT 1
24024 if test "x$SUNCXX" = xyes; then
24025 CXXFLAGS="-features=tmplife $CXXFLAGS"
24028 if test "x$SUNCC" = xyes; then
24029 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24032 if test "x$SGICC" = "xyes"; then
24033 CFLAGS="-woff 3970 $CFLAGS"
24035 if test "x$SGICXX" = "xyes"; then
24036 CXXFLAGS="-woff 3970 $CXXFLAGS"
24039 if test "x$HPCC" = "xyes"; then
24040 CFLAGS="+W 2011,2450 $CFLAGS"
24042 if test "x$HPCXX" = "xyes"; then
24043 CXXFLAGS="+W 2340 $CXXFLAGS"
24046 if test "x$COMPAQCXX" = "xyes"; then
24047 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24053 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24057 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24058 if test "$wxUSE_UNICODE" = "yes"; then
24059 std_string="std::wstring"
24060 char_type="wchar_t"
24062 std_string="std::string"
24066 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24067 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24068 if test "${wx_cv_class_stdstring+set}" = set; then
24069 echo $ECHO_N "(cached) $ECHO_C" >&6
24072 cat >conftest.$ac_ext <<_ACEOF
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24087 rm -f conftest.$ac_objext
24088 if { (ac_try="$ac_compile"
24089 case "(($ac_try" in
24090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24091 *) ac_try_echo=$ac_try;;
24093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24094 (eval "$ac_compile") 2>conftest.er1
24096 grep -v '^
*+' conftest.er1 >conftest.err
24098 cat conftest.err >&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); } && {
24101 test -z "$ac_cxx_werror_flag" ||
24102 test ! -s conftest.err
24103 } && test -s conftest.$ac_objext; then
24104 wx_cv_class_stdstring=yes
24106 echo "$as_me: failed program was:" >&5
24107 sed 's
/^
/| /' conftest.$ac_ext >&5
24109 wx_cv_class_stdstring=no
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24118 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24120 if test "$wx_cv_class_stdstring" = yes; then
24121 if test "$wxUSE_UNICODE" = "yes"; then
24122 cat >>confdefs.h <<\_ACEOF
24123 #define HAVE_STD_WSTRING 1
24128 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24129 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24130 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24134 cat >conftest.$ac_ext <<_ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24141 #ifdef HAVE_WCHAR_H
24143 # include <stddef.h>
24145 # include <wchar.h>
24147 #ifdef HAVE_STDLIB_H
24148 # include <stdlib.h>
24156 std::basic_string<$char_type> foo;
24157 const $char_type* dummy = foo.c_str();
24162 rm -f conftest.$ac_objext
24163 if { (ac_try="$ac_compile"
24164 case "(($ac_try" in
24165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24166 *) ac_try_echo=$ac_try;;
24168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24169 (eval "$ac_compile") 2>conftest.er1
24171 grep -v '^
*+' conftest.er1 >conftest.err
24173 cat conftest.err >&5
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); } && {
24176 test -z "$ac_cxx_werror_flag" ||
24177 test ! -s conftest.err
24178 } && test -s conftest.$ac_objext; then
24179 wx_cv_class_stdbasicstring=yes
24181 echo "$as_me: failed program was:" >&5
24182 sed 's
/^
/| /' conftest.$ac_ext >&5
24184 wx_cv_class_stdbasicstring=no
24188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24192 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24193 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24195 if test "$wx_cv_class_stdbasicstring" != yes; then
24196 if test "$wxUSE_STL" = "yes"; then
24197 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24198 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24199 { (exit 1); exit 1; }; }
24200 elif test "$wxUSE_STD_STRING" = "yes"; then
24201 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24202 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24203 { (exit 1); exit 1; }; }
24205 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24206 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24207 wxUSE_STD_STRING=no
24213 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24214 { echo "$as_me:$LINENO: checking for std::istream" >&5
24215 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24216 if test "${ac_cv_type_std__istream+set}" = set; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24219 cat >conftest.$ac_ext <<_ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 #include <iostream>
24227 typedef std::istream ac__type_new_;
24231 if ((ac__type_new_ *) 0)
24233 if (sizeof (ac__type_new_))
24239 rm -f conftest.$ac_objext
24240 if { (ac_try="$ac_compile"
24241 case "(($ac_try" in
24242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24243 *) ac_try_echo=$ac_try;;
24245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24246 (eval "$ac_compile") 2>conftest.er1
24248 grep -v '^
*+' conftest.er1 >conftest.err
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } && {
24253 test -z "$ac_cxx_werror_flag" ||
24254 test ! -s conftest.err
24255 } && test -s conftest.$ac_objext; then
24256 ac_cv_type_std__istream=yes
24258 echo "$as_me: failed program was:" >&5
24259 sed 's
/^
/| /' conftest.$ac_ext >&5
24261 ac_cv_type_std__istream=no
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24266 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24267 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24268 if test $ac_cv_type_std__istream = yes; then
24270 cat >>confdefs.h <<_ACEOF
24271 #define HAVE_STD__ISTREAM 1
24276 wxUSE_STD_IOSTREAM=no
24278 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24279 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24280 if test "${ac_cv_type_std__ostream+set}" = set; then
24281 echo $ECHO_N "(cached) $ECHO_C" >&6
24283 cat >conftest.$ac_ext <<_ACEOF
24286 cat confdefs.h >>conftest.$ac_ext
24287 cat >>conftest.$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24289 #include <iostream>
24291 typedef std::ostream ac__type_new_;
24295 if ((ac__type_new_ *) 0)
24297 if (sizeof (ac__type_new_))
24303 rm -f conftest.$ac_objext
24304 if { (ac_try="$ac_compile"
24305 case "(($ac_try" in
24306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24307 *) ac_try_echo=$ac_try;;
24309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24310 (eval "$ac_compile") 2>conftest.er1
24312 grep -v '^
*+' conftest.er1 >conftest.err
24314 cat conftest.err >&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } && {
24317 test -z "$ac_cxx_werror_flag" ||
24318 test ! -s conftest.err
24319 } && test -s conftest.$ac_objext; then
24320 ac_cv_type_std__ostream=yes
24322 echo "$as_me: failed program was:" >&5
24323 sed 's
/^
/| /' conftest.$ac_ext >&5
24325 ac_cv_type_std__ostream=no
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24330 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24331 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24332 if test $ac_cv_type_std__ostream = yes; then
24334 cat >>confdefs.h <<_ACEOF
24335 #define HAVE_STD__OSTREAM 1
24340 wxUSE_STD_IOSTREAM=no
24344 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24345 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24346 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24347 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24348 { (exit 1); exit 1; }; }
24350 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24351 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24356 if test "$wxUSE_STL" = "yes"; then
24357 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24358 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24359 if test "${wx_cv_lib_stl+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24362 cat >conftest.$ac_ext <<_ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24369 #include <functional>
24370 #include <algorithm>
24376 std::vector<int> moo;
24377 std::list<int> foo;
24378 std::vector<int>::iterator it =
24379 std::find_if(moo.begin(), moo.end(),
24380 std::bind2nd(std::less<int>(), 3));
24385 rm -f conftest.$ac_objext
24386 if { (ac_try="$ac_compile"
24387 case "(($ac_try" in
24388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24389 *) ac_try_echo=$ac_try;;
24391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24392 (eval "$ac_compile") 2>conftest.er1
24394 grep -v '^
*+' conftest.er1 >conftest.err
24396 cat conftest.err >&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } && {
24399 test -z "$ac_cxx_werror_flag" ||
24400 test ! -s conftest.err
24401 } && test -s conftest.$ac_objext; then
24404 echo "$as_me: failed program was:" >&5
24405 sed 's
/^
/| /' conftest.$ac_ext >&5
24411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24414 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24415 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24417 if test "$wx_cv_lib_stl" != yes; then
24418 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24419 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24420 { (exit 1); exit 1; }; }
24423 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24424 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24425 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24426 echo $ECHO_N "(cached) $ECHO_C" >&6
24428 cat >conftest.$ac_ext <<_ACEOF
24431 cat confdefs.h >>conftest.$ac_ext
24432 cat >>conftest.$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24438 std::string foo, bar;
24440 foo.compare(1, 1, bar);
24441 foo.compare(1, 1, bar, 1, 1);
24443 foo.compare(1, 1, "");
24444 foo.compare(1, 1, "", 2);
24449 rm -f conftest.$ac_objext
24450 if { (ac_try="$ac_compile"
24451 case "(($ac_try" in
24452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24453 *) ac_try_echo=$ac_try;;
24455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24456 (eval "$ac_compile") 2>conftest.er1
24458 grep -v '^
*+' conftest.er1 >conftest.err
24460 cat conftest.err >&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); } && {
24463 test -z "$ac_cxx_werror_flag" ||
24464 test ! -s conftest.err
24465 } && test -s conftest.$ac_objext; then
24466 wx_cv_func_stdstring_compare=yes
24468 echo "$as_me: failed program was:" >&5
24469 sed 's
/^
/| /' conftest.$ac_ext >&5
24471 wx_cv_func_stdstring_compare=no
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24478 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24479 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24481 if test "$wx_cv_func_stdstring_compare" = yes; then
24482 cat >>confdefs.h <<\_ACEOF
24483 #define HAVE_STD_STRING_COMPARE 1
24488 if test "$wx_cv_class_gnuhashmapset" = yes; then
24489 cat >>confdefs.h <<\_ACEOF
24490 #define HAVE_EXT_HASH_MAP 1
24493 cat >>confdefs.h <<\_ACEOF
24494 #define HAVE_GNU_CXX_HASH_MAP 1
24499 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24500 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24501 if test "${ac_cv_header_unordered_map+set}" = set; then
24502 echo $ECHO_N "(cached) $ECHO_C" >&6
24504 cat >conftest.$ac_ext <<_ACEOF
24507 cat confdefs.h >>conftest.$ac_ext
24508 cat >>conftest.$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24513 #include <unordered_map>
24515 rm -f conftest.$ac_objext
24516 if { (ac_try="$ac_compile"
24517 case "(($ac_try" in
24518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24519 *) ac_try_echo=$ac_try;;
24521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24522 (eval "$ac_compile") 2>conftest.er1
24524 grep -v '^
*+' conftest.er1 >conftest.err
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } && {
24529 test -z "$ac_cxx_werror_flag" ||
24530 test ! -s conftest.err
24531 } && test -s conftest.$ac_objext; then
24532 ac_cv_header_unordered_map=yes
24534 echo "$as_me: failed program was:" >&5
24535 sed 's
/^
/| /' conftest.$ac_ext >&5
24537 ac_cv_header_unordered_map=no
24540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24543 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24544 if test $ac_cv_header_unordered_map = yes; then
24545 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24546 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24547 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 cat >conftest.$ac_ext <<_ACEOF
24553 cat confdefs.h >>conftest.$ac_ext
24554 cat >>conftest.$ac_ext <<_ACEOF
24555 /* end confdefs.h. */
24556 #include <unordered_map>
24557 #include <unordered_set>
24561 std::unordered_map<double*, char*> test1;
24562 std::unordered_set<char*> test2;
24567 rm -f conftest.$ac_objext
24568 if { (ac_try="$ac_compile"
24569 case "(($ac_try" in
24570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24571 *) ac_try_echo=$ac_try;;
24573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24574 (eval "$ac_compile") 2>conftest.er1
24576 grep -v '^
*+' conftest.er1 >conftest.err
24578 cat conftest.err >&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } && {
24581 test -z "$ac_cxx_werror_flag" ||
24582 test ! -s conftest.err
24583 } && test -s conftest.$ac_objext; then
24584 wx_cv_class_stdunorderedmapset=yes
24586 echo "$as_me: failed program was:" >&5
24587 sed 's
/^
/| /' conftest.$ac_ext >&5
24589 wx_cv_class_stdunorderedmapset=no
24592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24597 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24602 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24603 cat >>confdefs.h <<\_ACEOF
24604 #define HAVE_STD_UNORDERED_MAP 1
24607 cat >>confdefs.h <<\_ACEOF
24608 #define HAVE_STD_UNORDERED_SET 1
24612 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24613 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24614 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24615 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. */
24626 #include <tr1/unordered_map>
24628 rm -f conftest.$ac_objext
24629 if { (ac_try="$ac_compile"
24630 case "(($ac_try" in
24631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24632 *) ac_try_echo=$ac_try;;
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_compile") 2>conftest.er1
24637 grep -v '^
*+' conftest.er1 >conftest.err
24639 cat conftest.err >&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } && {
24642 test -z "$ac_cxx_werror_flag" ||
24643 test ! -s conftest.err
24644 } && test -s conftest.$ac_objext; then
24645 ac_cv_header_tr1_unordered_map=yes
24647 echo "$as_me: failed program was:" >&5
24648 sed 's
/^
/| /' conftest.$ac_ext >&5
24650 ac_cv_header_tr1_unordered_map=no
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24656 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24657 if test $ac_cv_header_tr1_unordered_map = yes; then
24658 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24659 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24660 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 cat >conftest.$ac_ext <<_ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 #include <tr1/unordered_map>
24670 #include <tr1/unordered_set>
24674 std::tr1::unordered_map<double*, char*> test1;
24675 std::tr1::unordered_set<char*> test2;
24676 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24677 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24683 rm -f conftest.
$ac_objext
24684 if { (ac_try
="$ac_compile"
24685 case "(($ac_try" in
24686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24687 *) ac_try_echo=$ac_try;;
24689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24690 (eval "$ac_compile") 2>conftest.er1
24692 grep -v '^ *+' conftest.er1 >conftest.err
24694 cat conftest.err >&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } && {
24697 test -z "$ac_cxx_werror_flag" ||
24698 test ! -s conftest.err
24699 } && test -s conftest.$ac_objext; then
24700 wx_cv_class_tr1unorderedmapset=yes
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24705 wx_cv_class_tr1unorderedmapset=no
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24712 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24713 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24718 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24719 cat >>confdefs.h <<\_ACEOF
24720 #define HAVE_TR1_UNORDERED_MAP 1
24723 cat >>confdefs.h <<\_ACEOF
24724 #define HAVE_TR1_UNORDERED_SET 1
24728 { echo "$as_me:$LINENO: checking for hash_map" >&5
24729 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24730 if test "${ac_cv_header_hash_map+set}" = set; then
24731 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 cat >conftest.$ac_ext <<_ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24742 #include <hash_map>
24744 rm -f conftest.$ac_objext
24745 if { (ac_try="$ac_compile"
24746 case "(($ac_try" in
24747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24748 *) ac_try_echo
=$ac_try;;
24750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24751 (eval "$ac_compile") 2>conftest.er1
24753 grep -v '^ *+' conftest.er1
>conftest.err
24755 cat conftest.err
>&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); } && {
24758 test -z "$ac_cxx_werror_flag" ||
24759 test ! -s conftest.err
24760 } && test -s conftest.
$ac_objext; then
24761 ac_cv_header_hash_map
=yes
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.
$ac_ext >&5
24766 ac_cv_header_hash_map
=no
24769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24771 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24772 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24773 if test $ac_cv_header_hash_map = yes; then
24774 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24775 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24776 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 cat >conftest.
$ac_ext <<_ACEOF
24782 cat confdefs.h
>>conftest.
$ac_ext
24783 cat >>conftest.
$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24785 #include <hash_map>
24786 #include <hash_set>
24790 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24791 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24796 rm -f conftest.
$ac_objext
24797 if { (ac_try
="$ac_compile"
24798 case "(($ac_try" in
24799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24800 *) ac_try_echo=$ac_try;;
24802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24803 (eval "$ac_compile") 2>conftest.er1
24805 grep -v '^ *+' conftest.er1 >conftest.err
24807 cat conftest.err >&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); } && {
24810 test -z "$ac_cxx_werror_flag" ||
24811 test ! -s conftest.err
24812 } && test -s conftest.$ac_objext; then
24813 wx_cv_class_stdhashmapset=yes
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24818 wx_cv_class_stdhashmapset=no
24821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24826 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24831 if test "$wx_cv_class_stdhashmapset" = yes; then
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_HASH_MAP 1
24836 cat >>confdefs.h <<\_ACEOF
24837 #define HAVE_STD_HASH_MAP 1
24842 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24843 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24844 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 cat >conftest.$ac_ext <<_ACEOF
24850 cat confdefs.h >>conftest.$ac_ext
24851 cat >>conftest.$ac_ext <<_ACEOF
24852 /* end confdefs.h. */
24856 #include <ext/hash_map>
24858 rm -f conftest.$ac_objext
24859 if { (ac_try="$ac_compile"
24860 case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24862 *) ac_try_echo
=$ac_try;;
24864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24865 (eval "$ac_compile") 2>conftest.er1
24867 grep -v '^ *+' conftest.er1
>conftest.err
24869 cat conftest.err
>&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_cxx_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest.
$ac_objext; then
24875 ac_cv_header_ext_hash_map
=yes
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.
$ac_ext >&5
24880 ac_cv_header_ext_hash_map
=no
24883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24885 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24886 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24887 if test $ac_cv_header_ext_hash_map = yes; then
24888 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24889 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24890 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24891 echo $ECHO_N "(cached) $ECHO_C" >&6
24893 cat >conftest.
$ac_ext <<_ACEOF
24896 cat confdefs.h
>>conftest.
$ac_ext
24897 cat >>conftest.
$ac_ext <<_ACEOF
24898 /* end confdefs.h. */
24899 #include <ext/hash_map>
24900 #include <ext/hash_set>
24904 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24905 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24910 rm -f conftest.
$ac_objext
24911 if { (ac_try
="$ac_compile"
24912 case "(($ac_try" in
24913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24914 *) ac_try_echo=$ac_try;;
24916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24917 (eval "$ac_compile") 2>conftest.er1
24919 grep -v '^ *+' conftest.er1 >conftest.err
24921 cat conftest.err >&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && {
24924 test -z "$ac_cxx_werror_flag" ||
24925 test ! -s conftest.err
24926 } && test -s conftest.$ac_objext; then
24927 wx_cv_class_gnuhashmapset=yes
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24932 wx_cv_class_gnuhashmapset=no
24935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24939 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24940 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24951 if test -n "$GCC"; then
24952 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24953 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24954 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 cat >conftest.$ac_ext <<_ACEOF
24961 cat confdefs.h >>conftest.$ac_ext
24962 cat >>conftest.$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24969 unsigned int value=0;
24970 /* wxAtomicInc doesn't use return value here */
24971 __sync_fetch_and_add(&value, 2);
24972 __sync_sub_and_fetch(&value, 1);
24973 /* but wxAtomicDec does, so mimic that: */
24974 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24980 rm -f conftest.$ac_objext conftest$ac_exeext
24981 if { (ac_try="$ac_link"
24982 case "(($ac_try" in
24983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24984 *) ac_try_echo
=$ac_try;;
24986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24987 (eval "$ac_link") 2>conftest.er1
24989 grep -v '^ *+' conftest.er1
>conftest.err
24991 cat conftest.err
>&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } && {
24994 test -z "$ac_cxx_werror_flag" ||
24995 test ! -s conftest.err
24996 } && test -s conftest
$ac_exeext &&
24997 $as_test_x conftest
$ac_exeext; then
24998 wx_cv_cc_gcc_atomic_builtins
=yes
25000 echo "$as_me: failed program was:" >&5
25001 sed 's/^/| /' conftest.
$ac_ext >&5
25003 wx_cv_cc_gcc_atomic_builtins
=no
25006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25007 conftest
$ac_exeext conftest.
$ac_ext
25011 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25012 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25013 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25014 cat >>confdefs.h
<<\_ACEOF
25015 #define HAVE_GCC_ATOMIC_BUILTINS 1
25023 ac_cpp
='$CPP $CPPFLAGS'
25024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25031 /usr/local/include \
25032 /usr/local/X11/include \
25033 /usr/local/include/X11 \
25034 /usr/local/X11R6/include \
25035 /usr/local/include/X11R6 \
25037 /usr/Motif-2.1/include \
25038 /usr/Motif-1.2/include \
25039 /usr/include/Motif1.2 \
25042 /usr/openwin/include \
25046 /usr/X11R6/include \
25047 /usr/X11R6.4/include \
25049 /usr/include/X11R6 \
25054 /usr/XFree86/include/X11 \
25057 /usr/local/X1R5/include \
25058 /usr/local/include/X11R5 \
25059 /usr/X11R5/include \
25060 /usr/include/X11R5 \
25062 /usr/local/X11R4/include \
25063 /usr/local/include/X11R4 \
25064 /usr/X11R4/include \
25065 /usr/include/X11R4 \
25067 /usr/openwin/share/include"
25069 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25070 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25074 if test "${wx_cv_std_libpath+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25078 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25079 for e
in a so sl dylib dll.a
; do
25081 if test -f $libc; then
25084 cat >conftest.
$ac_ext <<_ACEOF
25085 int main() { return 0; }
25087 rm -f conftest.
$ac_objext conftest
$ac_exeext
25088 if { (ac_try
="$ac_link"
25089 case "(($ac_try" in
25090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_link") 2>conftest.er1
25096 grep -v '^ *+' conftest.er1 >conftest.err
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_c_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest$ac_exeext &&
25104 $as_test_x conftest$ac_exeext; then
25105 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25114 conftest$ac_exeext conftest.$ac_ext
25116 if test "x$wx_cv_std_libpath" != "x"; then
25122 if test "x$wx_cv_std_libpath" = "x"; then
25123 wx_cv_std_libpath="lib"
25132 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25133 wx_cv_std_libpath="lib/64"
25135 wx_cv_std_libpath="lib"
25140 if test "$ac_cv_sizeof_void_p" = 8 -a \
25141 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25142 wx_cv_std_libpath="lib64"
25144 wx_cv_std_libpath="lib"
25149 wx_cv_std_libpath="lib";
25153 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25154 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25156 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25158 if test "$build" != "$host" -a "$GCC" = yes; then
25159 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25160 cross_root=`dirname $cross_root`
25161 cross_root=`dirname $cross_root`
25163 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25164 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25165 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25167 if test -z "$PKG_CONFIG_PATH"; then
25168 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25169 export PKG_CONFIG_PATH
25172 if test -z "$x_includes" -o "$x_includes" = NONE; then
25175 for ac_dir in $SEARCH_INCLUDE /usr/include;
25177 if test -f "$ac_dir/X11/Intrinsic.h"; then
25178 ac_find_includes=$ac_dir
25183 x_includes=$ac_find_includes
25185 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25188 for ac_dir in $SEARCH_LIB;
25190 for ac_extension in a so sl dylib dll.a; do
25191 if test -f "$ac_dir/libXt.$ac_extension"; then
25192 ac_find_libraries=$ac_dir
25198 x_libraries=$ac_find_libraries
25204 cat >confcache <<\_ACEOF
25205 # This file is a shell script that caches the results of configure
25206 # tests run on this system so they can be shared between configure
25207 # scripts and configure runs, see configure's option --config-cache.
25208 # It is not useful on other systems. If it contains results you don't
25209 # want to keep, you may remove or edit it.
25211 # config.status only pays attention to the cache file if you give it
25212 # the --recheck option to rerun configure.
25214 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25216 # following values.
25220 # The following way of writing the cache mishandles newlines in values,
25221 # but we know of no workaround that is simple, portable, and efficient.
25222 # So, we kill variables containing newlines.
25223 # Ultrix sh set writes to stderr and can't be redirected directly,
25224 # and sets the high bit in the cache file unless we assign to the vars.
25226 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25227 eval ac_val
=\$
$ac_var
25231 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25232 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25235 _
| IFS
| as_nl
) ;; #(
25236 *) $as_unset $ac_var ;;
25242 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25243 *${as_nl}ac_space
=\
*)
25244 # `set' does not quote correctly, so add quotes (double-quote
25245 # substitution turns \\\\ into \\, and sed turns \\ into \).
25248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25251 # `set' quotes correctly as required by POSIX, so do not add quotes.
25252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25261 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25263 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25265 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25266 if test -w "$cache_file"; then
25267 test "x$cache_file" != "x/dev/null" &&
25268 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25269 echo "$as_me: updating cache $cache_file" >&6;}
25270 cat confcache
>$cache_file
25272 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25273 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25278 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25279 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25280 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25281 if test "${wx_cv_lib_glibc21+set}" = set; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25285 cat >conftest.
$ac_ext <<_ACEOF
25288 cat confdefs.h
>>conftest.
$ac_ext
25289 cat >>conftest.
$ac_ext <<_ACEOF
25290 /* end confdefs.h. */
25291 #include <features.h>
25296 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25304 rm -f conftest.
$ac_objext
25305 if { (ac_try
="$ac_compile"
25306 case "(($ac_try" in
25307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25308 *) ac_try_echo=$ac_try;;
25310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25311 (eval "$ac_compile") 2>conftest.er1
25313 grep -v '^ *+' conftest.er1 >conftest.err
25315 cat conftest.err >&5
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); } && {
25318 test -z "$ac_c_werror_flag" ||
25319 test ! -s conftest.err
25320 } && test -s conftest.$ac_objext; then
25322 wx_cv_lib_glibc21=yes
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25329 wx_cv_lib_glibc21=no
25334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25337 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25338 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25339 if test "$wx_cv_lib_glibc21" = "yes"; then
25340 cat >>confdefs.h <<\_ACEOF
25341 #define wxHAVE_GLIBC2 1
25347 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25348 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25349 cat >>confdefs.h <<\_ACEOF
25350 #define _GNU_SOURCE 1
25361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25364 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25367 cat >conftest.$ac_ext <<_ACEOF
25370 cat confdefs.h >>conftest.$ac_ext
25371 cat >>conftest.$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25375 #define $ac_func innocuous_$ac_func
25377 /* System header to define __stub macros and hopefully few prototypes,
25378 which can conflict with char $ac_func (); below.
25379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25380 <limits.h> exists even on freestanding compilers. */
25383 # include <limits.h>
25385 # include <assert.h>
25390 /* Override any GCC internal prototype to avoid an error.
25391 Use char because int might match the return type of a GCC
25392 builtin and then its argument prototype would still apply. */
25397 /* The GNU C library defines this for functions which it implements
25398 to always fail with ENOSYS. Some functions are actually named
25399 something starting with __ and the normal name is an alias. */
25400 #if defined __stub_$ac_func || defined __stub___$ac_func
25407 return $ac_func ();
25412 rm -f conftest.$ac_objext conftest$ac_exeext
25413 if { (ac_try="$ac_link"
25414 case "(($ac_try" in
25415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25416 *) ac_try_echo
=$ac_try;;
25418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25419 (eval "$ac_link") 2>conftest.er1
25421 grep -v '^ *+' conftest.er1
>conftest.err
25423 cat conftest.err
>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } && {
25426 test -z "$ac_c_werror_flag" ||
25427 test ! -s conftest.err
25428 } && test -s conftest
$ac_exeext &&
25429 $as_test_x conftest
$ac_exeext; then
25430 eval "$as_ac_var=yes"
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.
$ac_ext >&5
25435 eval "$as_ac_var=no"
25438 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25439 conftest
$ac_exeext conftest.
$ac_ext
25441 ac_res
=`eval echo '${'$as_ac_var'}'`
25442 { echo "$as_me:$LINENO: result: $ac_res" >&5
25443 echo "${ECHO_T}$ac_res" >&6; }
25444 if test `eval echo '${'$as_ac_var'}'` = yes; then
25445 cat >>confdefs.h
<<_ACEOF
25446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25453 for ac_func
in floor
25455 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25458 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25459 echo $ECHO_N "(cached) $ECHO_C" >&6
25461 cat >conftest.
$ac_ext <<_ACEOF
25464 cat confdefs.h
>>conftest.
$ac_ext
25465 cat >>conftest.
$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25469 #define $ac_func innocuous_$ac_func
25471 /* System header to define __stub macros and hopefully few prototypes,
25472 which can conflict with char $ac_func (); below.
25473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25474 <limits.h> exists even on freestanding compilers. */
25477 # include <limits.h>
25479 # include <assert.h>
25484 /* Override any GCC internal prototype to avoid an error.
25485 Use char because int might match the return type of a GCC
25486 builtin and then its argument prototype would still apply. */
25491 /* The GNU C library defines this for functions which it implements
25492 to always fail with ENOSYS. Some functions are actually named
25493 something starting with __ and the normal name is an alias. */
25494 #if defined __stub_$ac_func || defined __stub___$ac_func
25501 return $ac_func ();
25506 rm -f conftest.
$ac_objext conftest
$ac_exeext
25507 if { (ac_try
="$ac_link"
25508 case "(($ac_try" in
25509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25510 *) ac_try_echo=$ac_try;;
25512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25513 (eval "$ac_link") 2>conftest.er1
25515 grep -v '^ *+' conftest.er1 >conftest.err
25517 cat conftest.err >&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); } && {
25520 test -z "$ac_c_werror_flag" ||
25521 test ! -s conftest.err
25522 } && test -s conftest$ac_exeext &&
25523 $as_test_x conftest$ac_exeext; then
25524 eval "$as_ac_var=yes"
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25529 eval "$as_ac_var=no"
25532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25533 conftest$ac_exeext conftest.$ac_ext
25535 ac_res=`eval echo '${'$as_ac_var'}'`
25536 { echo "$as_me:$LINENO: result: $ac_res" >&5
25537 echo "${ECHO_T}$ac_res" >&6; }
25538 if test `eval echo '${'$as_ac_var'}'` = yes; then
25539 cat >>confdefs.h <<_ACEOF
25540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25546 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25547 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25548 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25549 { echo "$as_me:$LINENO: result: yes" >&5
25550 echo "${ECHO_T}yes" >&6; }
25552 { echo "$as_me:$LINENO: result: no" >&5
25553 echo "${ECHO_T}no" >&6; }
25555 # use different functions to avoid configure caching
25561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25567 cat >conftest.$ac_ext <<_ACEOF
25570 cat confdefs.h >>conftest.$ac_ext
25571 cat >>conftest.$ac_ext <<_ACEOF
25572 /* end confdefs.h. */
25573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25575 #define $ac_func innocuous_$ac_func
25577 /* System header to define __stub macros and hopefully few prototypes,
25578 which can conflict with char $ac_func (); below.
25579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25580 <limits.h> exists even on freestanding compilers. */
25583 # include <limits.h>
25585 # include <assert.h>
25590 /* Override any GCC internal prototype to avoid an error.
25591 Use char because int might match the return type of a GCC
25592 builtin and then its argument prototype would still apply. */
25597 /* The GNU C library defines this for functions which it implements
25598 to always fail with ENOSYS. Some functions are actually named
25599 something starting with __ and the normal name is an alias. */
25600 #if defined __stub_$ac_func || defined __stub___$ac_func
25607 return $ac_func ();
25612 rm -f conftest.$ac_objext conftest$ac_exeext
25613 if { (ac_try="$ac_link"
25614 case "(($ac_try" in
25615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25616 *) ac_try_echo
=$ac_try;;
25618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25619 (eval "$ac_link") 2>conftest.er1
25621 grep -v '^ *+' conftest.er1
>conftest.err
25623 cat conftest.err
>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } && {
25626 test -z "$ac_c_werror_flag" ||
25627 test ! -s conftest.err
25628 } && test -s conftest
$ac_exeext &&
25629 $as_test_x conftest
$ac_exeext; then
25630 eval "$as_ac_var=yes"
25632 echo "$as_me: failed program was:" >&5
25633 sed 's/^/| /' conftest.
$ac_ext >&5
25635 eval "$as_ac_var=no"
25638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25639 conftest
$ac_exeext conftest.
$ac_ext
25641 ac_res
=`eval echo '${'$as_ac_var'}'`
25642 { echo "$as_me:$LINENO: result: $ac_res" >&5
25643 echo "${ECHO_T}$ac_res" >&6; }
25644 if test `eval echo '${'$as_ac_var'}'` = yes; then
25645 cat >>confdefs.h
<<_ACEOF
25646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25653 for ac_func
in ceil
25655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25658 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 cat >conftest.
$ac_ext <<_ACEOF
25664 cat confdefs.h
>>conftest.
$ac_ext
25665 cat >>conftest.
$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25669 #define $ac_func innocuous_$ac_func
25671 /* System header to define __stub macros and hopefully few prototypes,
25672 which can conflict with char $ac_func (); below.
25673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25674 <limits.h> exists even on freestanding compilers. */
25677 # include <limits.h>
25679 # include <assert.h>
25684 /* Override any GCC internal prototype to avoid an error.
25685 Use char because int might match the return type of a GCC
25686 builtin and then its argument prototype would still apply. */
25691 /* The GNU C library defines this for functions which it implements
25692 to always fail with ENOSYS. Some functions are actually named
25693 something starting with __ and the normal name is an alias. */
25694 #if defined __stub_$ac_func || defined __stub___$ac_func
25701 return $ac_func ();
25706 rm -f conftest.
$ac_objext conftest
$ac_exeext
25707 if { (ac_try
="$ac_link"
25708 case "(($ac_try" in
25709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25710 *) ac_try_echo=$ac_try;;
25712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25713 (eval "$ac_link") 2>conftest.er1
25715 grep -v '^ *+' conftest.er1 >conftest.err
25717 cat conftest.err >&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } && {
25720 test -z "$ac_c_werror_flag" ||
25721 test ! -s conftest.err
25722 } && test -s conftest$ac_exeext &&
25723 $as_test_x conftest$ac_exeext; then
25724 eval "$as_ac_var=yes"
25726 echo "$as_me: failed program was:" >&5
25727 sed 's/^/| /' conftest.$ac_ext >&5
25729 eval "$as_ac_var=no"
25732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25733 conftest$ac_exeext conftest.$ac_ext
25735 ac_res=`eval echo '${'$as_ac_var'}'`
25736 { echo "$as_me:$LINENO: result: $ac_res" >&5
25737 echo "${ECHO_T}$ac_res" >&6; }
25738 if test `eval echo '${'$as_ac_var'}'` = yes; then
25739 cat >>confdefs.h <<_ACEOF
25740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25746 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25747 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25748 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25749 { echo "$as_me:$LINENO: result: yes" >&5
25750 echo "${ECHO_T}yes" >&6; }
25752 { echo "$as_me:$LINENO: result: no" >&5
25753 echo "${ECHO_T}no" >&6; }
25754 # not sure we should warn the user, crash, etc.
25759 ac_cpp='$CXXCPP $CPPFLAGS'
25760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25764 if test "wxUSE_UNICODE" = "yes"; then
25766 for wx_func in wcstoull
25768 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25769 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25770 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25771 echo $ECHO_N "(cached) $ECHO_C" >&6
25774 cat >conftest.$ac_ext <<_ACEOF
25778 cat confdefs.h >>conftest.$ac_ext
25779 cat >>conftest.$ac_ext <<_ACEOF
25780 /* end confdefs.h. */
25783 $ac_includes_default
25799 rm -f conftest.$ac_objext conftest$ac_exeext
25800 if { (ac_try="$ac_link"
25801 case "(($ac_try" in
25802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25803 *) ac_try_echo
=$ac_try;;
25805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25806 (eval "$ac_link") 2>conftest.er1
25808 grep -v '^ *+' conftest.er1
>conftest.err
25810 cat conftest.err
>&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); } && {
25813 test -z "$ac_cxx_werror_flag" ||
25814 test ! -s conftest.err
25815 } && test -s conftest
$ac_exeext &&
25816 $as_test_x conftest
$ac_exeext; then
25817 eval wx_cv_func_
$wx_func=yes
25819 echo "$as_me: failed program was:" >&5
25820 sed 's/^/| /' conftest.
$ac_ext >&5
25822 eval wx_cv_func_
$wx_func=no
25825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25826 conftest
$ac_exeext conftest.
$ac_ext
25829 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25830 { echo "$as_me:$LINENO: result: $ac_res" >&5
25831 echo "${ECHO_T}$ac_res" >&6; }
25833 if eval test \
$wx_cv_func_$wx_func = yes
25835 cat >>confdefs.h
<<_ACEOF
25836 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25848 for wx_func
in strtoull
25850 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25851 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25852 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25856 cat >conftest.
$ac_ext <<_ACEOF
25860 cat confdefs.h
>>conftest.
$ac_ext
25861 cat >>conftest.
$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25865 $ac_includes_default
25881 rm -f conftest.
$ac_objext conftest
$ac_exeext
25882 if { (ac_try
="$ac_link"
25883 case "(($ac_try" in
25884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_link") 2>conftest.er1
25890 grep -v '^ *+' conftest.er1 >conftest.err
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_cxx_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest$ac_exeext &&
25898 $as_test_x conftest$ac_exeext; then
25899 eval wx_cv_func_$wx_func=yes
25901 echo "$as_me: failed program was:" >&5
25902 sed 's/^/| /' conftest.$ac_ext >&5
25904 eval wx_cv_func_$wx_func=no
25907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25908 conftest$ac_exeext conftest.$ac_ext
25911 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25912 { echo "$as_me:$LINENO: result: $ac_res" >&5
25913 echo "${ECHO_T}$ac_res" >&6; }
25915 if eval test \$wx_cv_func_$wx_func = yes
25917 cat >>confdefs.h <<_ACEOF
25918 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25930 ac_cpp='$CPP $CPPFLAGS'
25931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25938 if test "$wxUSE_REGEX" != "no"; then
25939 cat >>confdefs.h <<\_ACEOF
25940 #define wxUSE_REGEX 1
25944 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25945 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25946 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25947 wxUSE_REGEX=builtin
25950 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25951 { echo "$as_me:$LINENO: checking for regex.h" >&5
25952 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25953 if test "${ac_cv_header_regex_h+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25956 cat >conftest.$ac_ext <<_ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25966 rm -f conftest.$ac_objext
25967 if { (ac_try="$ac_compile"
25968 case "(($ac_try" in
25969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25970 *) ac_try_echo
=$ac_try;;
25972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25973 (eval "$ac_compile") 2>conftest.er1
25975 grep -v '^ *+' conftest.er1
>conftest.err
25977 cat conftest.err
>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } && {
25980 test -z "$ac_c_werror_flag" ||
25981 test ! -s conftest.err
25982 } && test -s conftest.
$ac_objext; then
25983 ac_cv_header_regex_h
=yes
25985 echo "$as_me: failed program was:" >&5
25986 sed 's/^/| /' conftest.
$ac_ext >&5
25988 ac_cv_header_regex_h
=no
25991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25993 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25994 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25995 if test $ac_cv_header_regex_h = yes; then
25998 for ac_func
in regcomp re_search
26000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26001 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26003 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26004 echo $ECHO_N "(cached) $ECHO_C" >&6
26006 cat >conftest.
$ac_ext <<_ACEOF
26009 cat confdefs.h
>>conftest.
$ac_ext
26010 cat >>conftest.
$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26014 #define $ac_func innocuous_$ac_func
26016 /* System header to define __stub macros and hopefully few prototypes,
26017 which can conflict with char $ac_func (); below.
26018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26019 <limits.h> exists even on freestanding compilers. */
26022 # include <limits.h>
26024 # include <assert.h>
26029 /* Override any GCC internal prototype to avoid an error.
26030 Use char because int might match the return type of a GCC
26031 builtin and then its argument prototype would still apply. */
26036 /* The GNU C library defines this for functions which it implements
26037 to always fail with ENOSYS. Some functions are actually named
26038 something starting with __ and the normal name is an alias. */
26039 #if defined __stub_$ac_func || defined __stub___$ac_func
26046 return $ac_func ();
26051 rm -f conftest.
$ac_objext conftest
$ac_exeext
26052 if { (ac_try
="$ac_link"
26053 case "(($ac_try" in
26054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26055 *) ac_try_echo=$ac_try;;
26057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26058 (eval "$ac_link") 2>conftest.er1
26060 grep -v '^ *+' conftest.er1 >conftest.err
26062 cat conftest.err >&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } && {
26065 test -z "$ac_c_werror_flag" ||
26066 test ! -s conftest.err
26067 } && test -s conftest$ac_exeext &&
26068 $as_test_x conftest$ac_exeext; then
26069 eval "$as_ac_var=yes"
26071 echo "$as_me: failed program was:" >&5
26072 sed 's/^/| /' conftest.$ac_ext >&5
26074 eval "$as_ac_var=no"
26077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26078 conftest$ac_exeext conftest.$ac_ext
26080 ac_res=`eval echo '${'$as_ac_var'}'`
26081 { echo "$as_me:$LINENO: result: $ac_res" >&5
26082 echo "${ECHO_T}$ac_res" >&6; }
26083 if test `eval echo '${'$as_ac_var'}'` = yes; then
26084 cat >>confdefs.h <<_ACEOF
26085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26095 if test "x$ac_cv_func_regcomp" != "xyes"; then
26096 if test "$wxUSE_REGEX" = "sys" ; then
26097 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26098 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26099 { (exit 1); exit 1; }; }
26101 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26102 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26103 wxUSE_REGEX=builtin
26107 cat >>confdefs.h <<\_ACEOF
26108 #define WX_NO_REGEX_ADVANCED 1
26117 if test "$wxUSE_ZLIB" != "no" ; then
26118 cat >>confdefs.h <<\_ACEOF
26119 #define wxUSE_ZLIB 1
26123 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26124 if test "$USE_DARWIN" = 1; then
26125 system_zlib_h_ok="yes"
26127 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26128 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26129 if test "${ac_cv_header_zlib_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 if test "$cross_compiling" = yes; then
26133 unset ac_cv_header_zlib_h
26136 cat >conftest.$ac_ext <<_ACEOF
26139 cat confdefs.h >>conftest.$ac_ext
26140 cat >>conftest.$ac_ext <<_ACEOF
26141 /* end confdefs.h. */
26148 FILE *f=fopen("conftestval", "w");
26151 ZLIB_VERSION[0] == '1' &&
26152 (ZLIB_VERSION[2] > '1' ||
26153 (ZLIB_VERSION[2] == '1' &&
26154 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26159 rm -f conftest$ac_exeext
26160 if { (ac_try="$ac_link"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26163 *) ac_try_echo
=$ac_try;;
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_link") 2>&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26170 { (case "(($ac_try" in
26171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26172 *) ac_try_echo=$ac_try;;
26174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26175 (eval "$ac_try") 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; }; then
26179 ac_cv_header_zlib_h=`cat conftestval
`
26181 echo "$as_me: program exited with status $ac_status" >&5
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26185 ( exit $ac_status )
26186 ac_cv_header_zlib_h=no
26188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26194 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26195 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26196 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26197 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26198 if test "${ac_cv_header_zlib_h+set}" = set; then
26199 echo $ECHO_N "(cached) $ECHO_C" >&6
26201 cat >conftest.$ac_ext <<_ACEOF
26204 cat confdefs.h >>conftest.$ac_ext
26205 cat >>conftest.$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26211 rm -f conftest.$ac_objext
26212 if { (ac_try="$ac_compile"
26213 case "(($ac_try" in
26214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26215 *) ac_try_echo
=$ac_try;;
26217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26218 (eval "$ac_compile") 2>conftest.er1
26220 grep -v '^ *+' conftest.er1
>conftest.err
26222 cat conftest.err
>&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } && {
26225 test -z "$ac_c_werror_flag" ||
26226 test ! -s conftest.err
26227 } && test -s conftest.
$ac_objext; then
26228 ac_cv_header_zlib_h
=yes
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.
$ac_ext >&5
26233 ac_cv_header_zlib_h
=no
26236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26238 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26239 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26243 system_zlib_h_ok
=$ac_cv_header_zlib_h
26246 if test "$system_zlib_h_ok" = "yes"; then
26247 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26248 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26249 if test "${ac_cv_lib_z_deflate+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 ac_check_lib_save_LIBS
=$LIBS
26254 cat >conftest.
$ac_ext <<_ACEOF
26257 cat confdefs.h
>>conftest.
$ac_ext
26258 cat >>conftest.
$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26261 /* Override any GCC internal prototype to avoid an error.
26262 Use char because int might match the return type of a GCC
26263 builtin and then its argument prototype would still apply. */
26276 rm -f conftest.
$ac_objext conftest
$ac_exeext
26277 if { (ac_try
="$ac_link"
26278 case "(($ac_try" in
26279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26280 *) ac_try_echo=$ac_try;;
26282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26283 (eval "$ac_link") 2>conftest.er1
26285 grep -v '^ *+' conftest.er1 >conftest.err
26287 cat conftest.err >&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); } && {
26290 test -z "$ac_c_werror_flag" ||
26291 test ! -s conftest.err
26292 } && test -s conftest$ac_exeext &&
26293 $as_test_x conftest$ac_exeext; then
26294 ac_cv_lib_z_deflate=yes
26296 echo "$as_me: failed program was:" >&5
26297 sed 's/^/| /' conftest.$ac_ext >&5
26299 ac_cv_lib_z_deflate=no
26302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26303 conftest$ac_exeext conftest.$ac_ext
26304 LIBS=$ac_check_lib_save_LIBS
26306 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26307 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26308 if test $ac_cv_lib_z_deflate = yes; then
26314 if test "x$ZLIB_LINK" = "x" ; then
26315 if test "$wxUSE_ZLIB" = "sys" ; then
26316 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26317 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26318 { (exit 1); exit 1; }; }
26320 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26321 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26332 if test "$wxUSE_LIBPNG" != "no" ; then
26333 cat >>confdefs.h <<\_ACEOF
26334 #define wxUSE_LIBPNG 1
26338 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26339 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26340 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26344 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26345 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26346 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26347 wxUSE_LIBPNG=builtin
26350 if test "$wxUSE_MGL" != 1 ; then
26351 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26352 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26353 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26354 if test "${ac_cv_header_png_h+set}" = set; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26357 if test "$cross_compiling" = yes; then
26358 unset ac_cv_header_png_h
26361 cat >conftest.$ac_ext <<_ACEOF
26364 cat confdefs.h >>conftest.$ac_ext
26365 cat >>conftest.$ac_ext <<_ACEOF
26366 /* end confdefs.h. */
26373 FILE *f=fopen("conftestval", "w");
26376 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26381 rm -f conftest$ac_exeext
26382 if { (ac_try="$ac_link"
26383 case "(($ac_try" in
26384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26385 *) ac_try_echo
=$ac_try;;
26387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26388 (eval "$ac_link") 2>&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26392 { (case "(($ac_try" in
26393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_try") 2>&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); }; }; then
26401 ac_cv_header_png_h=`cat conftestval
`
26403 echo "$as_me: program exited with status $ac_status" >&5
26404 echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.$ac_ext >&5
26407 ( exit $ac_status )
26408 ac_cv_header_png_h=no
26410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26416 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26417 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26418 { echo "$as_me:$LINENO: checking for png.h" >&5
26419 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26420 if test "${ac_cv_header_png_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 cat >conftest.$ac_ext <<_ACEOF
26426 cat confdefs.h >>conftest.$ac_ext
26427 cat >>conftest.$ac_ext <<_ACEOF
26428 /* end confdefs.h. */
26433 rm -f conftest.$ac_objext
26434 if { (ac_try="$ac_compile"
26435 case "(($ac_try" in
26436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26437 *) ac_try_echo
=$ac_try;;
26439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26440 (eval "$ac_compile") 2>conftest.er1
26442 grep -v '^ *+' conftest.er1
>conftest.err
26444 cat conftest.err
>&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } && {
26447 test -z "$ac_c_werror_flag" ||
26448 test ! -s conftest.err
26449 } && test -s conftest.
$ac_objext; then
26450 ac_cv_header_png_h
=yes
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.
$ac_ext >&5
26455 ac_cv_header_png_h
=no
26458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26460 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26461 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26465 if test "$ac_cv_header_png_h" = "yes"; then
26466 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26467 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26468 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 ac_check_lib_save_LIBS
=$LIBS
26472 LIBS
="-lpng -lz -lm $LIBS"
26473 cat >conftest.
$ac_ext <<_ACEOF
26476 cat confdefs.h
>>conftest.
$ac_ext
26477 cat >>conftest.
$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26480 /* Override any GCC internal prototype to avoid an error.
26481 Use char because int might match the return type of a GCC
26482 builtin and then its argument prototype would still apply. */
26486 char png_check_sig ();
26490 return png_check_sig ();
26495 rm -f conftest.
$ac_objext conftest
$ac_exeext
26496 if { (ac_try
="$ac_link"
26497 case "(($ac_try" in
26498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_link") 2>conftest.er1
26504 grep -v '^ *+' conftest.er1 >conftest.err
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && {
26509 test -z "$ac_c_werror_flag" ||
26510 test ! -s conftest.err
26511 } && test -s conftest$ac_exeext &&
26512 $as_test_x conftest$ac_exeext; then
26513 ac_cv_lib_png_png_check_sig=yes
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26518 ac_cv_lib_png_png_check_sig=no
26521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26522 conftest$ac_exeext conftest.$ac_ext
26523 LIBS=$ac_check_lib_save_LIBS
26525 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26526 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26527 if test $ac_cv_lib_png_png_check_sig = yes; then
26528 PNG_LINK=" -lpng -lz"
26533 if test "x$PNG_LINK" = "x" ; then
26534 if test "$wxUSE_LIBPNG" = "sys" ; then
26535 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26536 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26537 { (exit 1); exit 1; }; }
26539 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26540 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26541 wxUSE_LIBPNG=builtin
26552 if test "$wxUSE_LIBJPEG" != "no" ; then
26553 cat >>confdefs.h <<\_ACEOF
26554 #define wxUSE_LIBJPEG 1
26558 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26559 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26560 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26564 if test "$wxUSE_MGL" != 1 ; then
26565 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26566 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26567 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26568 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26569 echo $ECHO_N "(cached) $ECHO_C" >&6
26571 cat >conftest.$ac_ext <<_ACEOF
26574 cat confdefs.h >>conftest.$ac_ext
26575 cat >>conftest.$ac_ext <<_ACEOF
26576 /* end confdefs.h. */
26578 #undef HAVE_STDLIB_H
26580 #include <jpeglib.h>
26591 rm -f conftest.$ac_objext
26592 if { (ac_try="$ac_compile"
26593 case "(($ac_try" in
26594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26595 *) ac_try_echo
=$ac_try;;
26597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26598 (eval "$ac_compile") 2>conftest.er1
26600 grep -v '^ *+' conftest.er1
>conftest.err
26602 cat conftest.err
>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } && {
26605 test -z "$ac_c_werror_flag" ||
26606 test ! -s conftest.err
26607 } && test -s conftest.
$ac_objext; then
26608 ac_cv_header_jpeglib_h
=yes
26610 echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.
$ac_ext >&5
26613 ac_cv_header_jpeglib_h
=no
26617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26621 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26622 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26624 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26625 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26626 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26627 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26630 ac_check_lib_save_LIBS
=$LIBS
26631 LIBS
="-ljpeg $LIBS"
26632 cat >conftest.
$ac_ext <<_ACEOF
26635 cat confdefs.h
>>conftest.
$ac_ext
26636 cat >>conftest.
$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26639 /* Override any GCC internal prototype to avoid an error.
26640 Use char because int might match the return type of a GCC
26641 builtin and then its argument prototype would still apply. */
26645 char jpeg_read_header ();
26649 return jpeg_read_header ();
26654 rm -f conftest.
$ac_objext conftest
$ac_exeext
26655 if { (ac_try
="$ac_link"
26656 case "(($ac_try" in
26657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26658 *) ac_try_echo=$ac_try;;
26660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26661 (eval "$ac_link") 2>conftest.er1
26663 grep -v '^ *+' conftest.er1 >conftest.err
26665 cat conftest.err >&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } && {
26668 test -z "$ac_c_werror_flag" ||
26669 test ! -s conftest.err
26670 } && test -s conftest$ac_exeext &&
26671 $as_test_x conftest$ac_exeext; then
26672 ac_cv_lib_jpeg_jpeg_read_header=yes
26674 echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26677 ac_cv_lib_jpeg_jpeg_read_header=no
26680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26681 conftest$ac_exeext conftest.$ac_ext
26682 LIBS=$ac_check_lib_save_LIBS
26684 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26685 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26686 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26687 JPEG_LINK=" -ljpeg"
26692 if test "x$JPEG_LINK" = "x" ; then
26693 if test "$wxUSE_LIBJPEG" = "sys" ; then
26694 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26695 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26696 { (exit 1); exit 1; }; }
26698 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26699 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26700 wxUSE_LIBJPEG=builtin
26705 if test "$wxUSE_MSW" = 1; then
26706 { echo "$as_me:$LINENO: checking for boolean" >&5
26707 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26708 if test "${ac_cv_type_boolean+set}" = set; then
26709 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 cat >conftest.$ac_ext <<_ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26717 #include <windows.h>
26719 typedef boolean ac__type_new_;
26723 if ((ac__type_new_ *) 0)
26725 if (sizeof (ac__type_new_))
26731 rm -f conftest.$ac_objext
26732 if { (ac_try="$ac_compile"
26733 case "(($ac_try" in
26734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26735 *) ac_try_echo
=$ac_try;;
26737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26738 (eval "$ac_compile") 2>conftest.er1
26740 grep -v '^ *+' conftest.er1
>conftest.err
26742 cat conftest.err
>&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } && {
26745 test -z "$ac_c_werror_flag" ||
26746 test ! -s conftest.err
26747 } && test -s conftest.
$ac_objext; then
26748 ac_cv_type_boolean
=yes
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.
$ac_ext >&5
26753 ac_cv_type_boolean
=no
26756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26758 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26759 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26760 if test $ac_cv_type_boolean = yes; then
26762 cat >>confdefs.h
<<_ACEOF
26763 #define HAVE_BOOLEAN 1
26767 { echo "$as_me:$LINENO: checking for boolean" >&5
26768 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26769 if test "${ac_cv_type_boolean+set}" = set; then
26770 echo $ECHO_N "(cached) $ECHO_C" >&6
26772 cat >conftest.
$ac_ext <<_ACEOF
26775 cat confdefs.h
>>conftest.
$ac_ext
26776 cat >>conftest.
$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26779 #undef HAVE_BOOLEAN
26781 #include <jpeglib.h>
26784 typedef boolean ac__type_new_;
26788 if ((ac__type_new_ *) 0)
26790 if (sizeof (ac__type_new_))
26796 rm -f conftest.
$ac_objext
26797 if { (ac_try
="$ac_compile"
26798 case "(($ac_try" in
26799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26800 *) ac_try_echo=$ac_try;;
26802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26803 (eval "$ac_compile") 2>conftest.er1
26805 grep -v '^ *+' conftest.er1 >conftest.err
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } && {
26810 test -z "$ac_c_werror_flag" ||
26811 test ! -s conftest.err
26812 } && test -s conftest.$ac_objext; then
26813 ac_cv_type_boolean=yes
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.$ac_ext >&5
26818 ac_cv_type_boolean=no
26821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26823 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26824 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26826 # The cast to long int works around a bug in the HP C Compiler
26827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26828 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26829 # This bug is HP SR number 8606223364.
26830 { echo "$as_me:$LINENO: checking size of boolean" >&5
26831 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26832 if test "${ac_cv_sizeof_boolean+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26835 if test "$cross_compiling" = yes; then
26836 # Depending upon the size, compute the lo and hi bounds.
26837 cat >conftest.$ac_ext <<_ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26844 #undef HAVE_BOOLEAN
26846 #include <jpeglib.h>
26849 typedef boolean ac__type_sizeof_;
26853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26860 rm -f conftest.$ac_objext
26861 if { (ac_try="$ac_compile"
26862 case "(($ac_try" in
26863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26864 *) ac_try_echo=$ac_try;;
26866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26867 (eval "$ac_compile") 2>conftest.er1
26869 grep -v '^
*+' conftest.er1 >conftest.err
26871 cat conftest.err >&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); } && {
26874 test -z "$ac_c_werror_flag" ||
26875 test ! -s conftest.err
26876 } && test -s conftest.$ac_objext; then
26879 cat >conftest.$ac_ext <<_ACEOF
26882 cat confdefs.h >>conftest.$ac_ext
26883 cat >>conftest.$ac_ext <<_ACEOF
26884 /* end confdefs.h. */
26886 #undef HAVE_BOOLEAN
26888 #include <jpeglib.h>
26891 typedef boolean ac__type_sizeof_;
26895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26902 rm -f conftest.$ac_objext
26903 if { (ac_try="$ac_compile"
26904 case "(($ac_try" in
26905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26906 *) ac_try_echo=$ac_try;;
26908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26909 (eval "$ac_compile") 2>conftest.er1
26911 grep -v '^
*+' conftest.er1 >conftest.err
26913 cat conftest.err >&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } && {
26916 test -z "$ac_c_werror_flag" ||
26917 test ! -s conftest.err
26918 } && test -s conftest.$ac_objext; then
26919 ac_hi=$ac_mid; break
26921 echo "$as_me: failed program was:" >&5
26922 sed 's
/^
/| /' conftest.$ac_ext >&5
26924 ac_lo=`expr $ac_mid + 1`
26925 if test $ac_lo -le $ac_mid; then
26929 ac_mid=`expr 2 '*' $ac_mid + 1`
26932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26935 echo "$as_me: failed program was:" >&5
26936 sed 's
/^
/| /' conftest.$ac_ext >&5
26938 cat >conftest.$ac_ext <<_ACEOF
26941 cat confdefs.h >>conftest.$ac_ext
26942 cat >>conftest.$ac_ext <<_ACEOF
26943 /* end confdefs.h. */
26945 #undef HAVE_BOOLEAN
26947 #include <jpeglib.h>
26950 typedef boolean ac__type_sizeof_;
26954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26961 rm -f conftest.$ac_objext
26962 if { (ac_try="$ac_compile"
26963 case "(($ac_try" in
26964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26965 *) ac_try_echo=$ac_try;;
26967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26968 (eval "$ac_compile") 2>conftest.er1
26970 grep -v '^
*+' conftest.er1 >conftest.err
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } && {
26975 test -z "$ac_c_werror_flag" ||
26976 test ! -s conftest.err
26977 } && test -s conftest.$ac_objext; then
26980 cat >conftest.$ac_ext <<_ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26987 #undef HAVE_BOOLEAN
26989 #include <jpeglib.h>
26992 typedef boolean ac__type_sizeof_;
26996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27003 rm -f conftest.$ac_objext
27004 if { (ac_try="$ac_compile"
27005 case "(($ac_try" in
27006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27007 *) ac_try_echo=$ac_try;;
27009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27010 (eval "$ac_compile") 2>conftest.er1
27012 grep -v '^
*+' conftest.er1 >conftest.err
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } && {
27017 test -z "$ac_c_werror_flag" ||
27018 test ! -s conftest.err
27019 } && test -s conftest.$ac_objext; then
27020 ac_lo=$ac_mid; break
27022 echo "$as_me: failed program was:" >&5
27023 sed 's
/^
/| /' conftest.$ac_ext >&5
27025 ac_hi=`expr '(' $ac_mid ')' - 1`
27026 if test $ac_mid -le $ac_hi; then
27030 ac_mid=`expr 2 '*' $ac_mid`
27033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27036 echo "$as_me: failed program was:" >&5
27037 sed 's
/^
/| /' conftest.$ac_ext >&5
27042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046 # Binary search between lo and hi bounds.
27047 while test "x$ac_lo" != "x$ac_hi"; do
27048 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27049 cat >conftest.$ac_ext <<_ACEOF
27052 cat confdefs.h >>conftest.$ac_ext
27053 cat >>conftest.$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27056 #undef HAVE_BOOLEAN
27058 #include <jpeglib.h>
27061 typedef boolean ac__type_sizeof_;
27065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27072 rm -f conftest.$ac_objext
27073 if { (ac_try="$ac_compile"
27074 case "(($ac_try" in
27075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27076 *) ac_try_echo=$ac_try;;
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_compile") 2>conftest.er1
27081 grep -v '^
*+' conftest.er1 >conftest.err
27083 cat conftest.err >&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } && {
27086 test -z "$ac_c_werror_flag" ||
27087 test ! -s conftest.err
27088 } && test -s conftest.$ac_objext; then
27091 echo "$as_me: failed program was:" >&5
27092 sed 's
/^
/| /' conftest.$ac_ext >&5
27094 ac_lo=`expr '(' $ac_mid ')' + 1`
27097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27100 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27101 '') if test "$ac_cv_type_boolean" = yes; then
27102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27103 See \`config.log' for more details.
" >&5
27104 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27105 See \
`config.log' for more details." >&2;}
27106 { (exit 77); exit 77; }; }
27108 ac_cv_sizeof_boolean=0
27112 cat >conftest.$ac_ext <<_ACEOF
27115 cat confdefs.h >>conftest.$ac_ext
27116 cat >>conftest.$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27119 #undef HAVE_BOOLEAN
27121 #include <jpeglib.h>
27124 typedef boolean ac__type_sizeof_;
27125 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27126 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27128 #include <stdlib.h>
27133 FILE *f = fopen ("conftest.val", "w");
27136 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27138 long int i = longval ();
27139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27141 fprintf (f, "%ld\n", i);
27145 unsigned long int i = ulongval ();
27146 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27148 fprintf (f, "%lu\n", i);
27150 return ferror (f) || fclose (f) != 0;
27156 rm -f conftest$ac_exeext
27157 if { (ac_try="$ac_link"
27158 case "(($ac_try" in
27159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27160 *) ac_try_echo
=$ac_try;;
27162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27163 (eval "$ac_link") 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27167 { (case "(($ac_try" in
27168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27169 *) ac_try_echo=$ac_try;;
27171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27172 (eval "$ac_try") 2>&5
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); }; }; then
27176 ac_cv_sizeof_boolean=`cat conftest.val
`
27178 echo "$as_me: program exited with status $ac_status" >&5
27179 echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.$ac_ext >&5
27182 ( exit $ac_status )
27183 if test "$ac_cv_type_boolean" = yes; then
27184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27185 See \`config.log
' for more details." >&5
27186 echo "$as_me: error: cannot compute sizeof (boolean)
27187 See \`config.log' for more details.
" >&2;}
27188 { (exit 77); exit 77; }; }
27190 ac_cv_sizeof_boolean=0
27193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27197 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27198 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27202 cat >>confdefs.h <<_ACEOF
27203 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27207 cat >>confdefs.h <<_ACEOF
27208 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27222 TIFF_PREREQ_LINKS=-lm
27223 if test "$wxUSE_LIBTIFF" != "no
" ; then
27224 cat >>confdefs.h <<\_ACEOF
27225 #define wxUSE_LIBTIFF 1
27229 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27230 if test "$wxUSE_LIBJPEG" = "sys
"; then
27231 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27233 if test "$wxUSE_ZLIB" = "sys
"; then
27234 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27236 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27237 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27238 if test "${ac_cv_header_tiffio_h+set}" = set; then
27239 echo $ECHO_N "(cached
) $ECHO_C" >&6
27241 cat >conftest.$ac_ext <<_ACEOF
27244 cat confdefs.h >>conftest.$ac_ext
27245 cat >>conftest.$ac_ext <<_ACEOF
27246 /* end confdefs.h. */
27250 #include <tiffio.h>
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27261 grep -v '^ *+' conftest.er1 >conftest.err
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_c_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 ac_cv_header_tiffio_h=yes
27271 echo "$as_me: failed program was
:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27274 ac_cv_header_tiffio_h=no
27277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27279 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27280 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27281 if test $ac_cv_header_tiffio_h = yes; then
27283 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27284 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27285 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27286 echo $ECHO_N "(cached
) $ECHO_C" >&6
27288 ac_check_lib_save_LIBS=$LIBS
27289 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27290 cat >conftest.$ac_ext <<_ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27297 /* Override any GCC internal prototype to avoid an error.
27298 Use char because int might match the return type of a GCC
27299 builtin and then its argument prototype would still apply. */
27307 return TIFFError ();
27312 rm -f conftest.$ac_objext conftest$ac_exeext
27313 if { (ac_try="$ac_link"
27314 case "(($ac_try" in
27315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27316 *) ac_try_echo=$ac_try;;
27318 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27319 (eval "$ac_link") 2>conftest.er1
27321 grep -v '^ *+' conftest.er1 >conftest.err
27323 cat conftest.err >&5
27324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27325 (exit $ac_status); } && {
27326 test -z "$ac_c_werror_flag" ||
27327 test ! -s conftest.err
27328 } && test -s conftest$ac_exeext &&
27329 $as_test_x conftest$ac_exeext; then
27330 ac_cv_lib_tiff_TIFFError=yes
27332 echo "$as_me: failed program was
:" >&5
27333 sed 's/^/| /' conftest.$ac_ext >&5
27335 ac_cv_lib_tiff_TIFFError=no
27338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27339 conftest$ac_exeext conftest.$ac_ext
27340 LIBS=$ac_check_lib_save_LIBS
27342 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27343 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27344 if test $ac_cv_lib_tiff_TIFFError = yes; then
27345 TIFF_LINK=" -ltiff"
27353 if test "x
$TIFF_LINK" = "x
" ; then
27354 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27355 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27356 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27357 { (exit 1); exit 1; }; }
27359 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27360 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27361 wxUSE_LIBTIFF=builtin
27367 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27368 if test "$wxUSE_LIBJPEG" = "no
"; then
27369 ac_configure_args="$ac_configure_args --disable-jpeg"
27371 subdirs="$subdirs src
/tiff
"
27377 if test "$wxUSE_WCHAR_T" != "yes"; then
27378 if test "$wxUSE_EXPAT" != "no
"; then
27379 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27380 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27383 if test "$wxUSE_XML" != "no
"; then
27384 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27385 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27390 if test "$wxUSE_EXPAT" != "no
"; then
27392 cat >>confdefs.h <<\_ACEOF
27393 #define wxUSE_EXPAT 1
27396 cat >>confdefs.h <<\_ACEOF
27397 #define wxUSE_XML 1
27401 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27402 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27403 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27404 if test "${ac_cv_header_expat_h+set}" = set; then
27405 echo $ECHO_N "(cached
) $ECHO_C" >&6
27407 cat >conftest.$ac_ext <<_ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27417 rm -f conftest.$ac_objext
27418 if { (ac_try="$ac_compile"
27419 case "(($ac_try" in
27420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27421 *) ac_try_echo=$ac_try;;
27423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27424 (eval "$ac_compile") 2>conftest.er1
27426 grep -v '^ *+' conftest.er1 >conftest.err
27428 cat conftest.err >&5
27429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27430 (exit $ac_status); } && {
27431 test -z "$ac_c_werror_flag" ||
27432 test ! -s conftest.err
27433 } && test -s conftest.$ac_objext; then
27434 ac_cv_header_expat_h=yes
27436 echo "$as_me: failed program was
:" >&5
27437 sed 's/^/| /' conftest.$ac_ext >&5
27439 ac_cv_header_expat_h=no
27442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27444 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27445 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27446 if test $ac_cv_header_expat_h = yes; then
27451 if test "x
$found_expat_h" = "x1
"; then
27452 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27453 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27454 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27455 echo $ECHO_N "(cached
) $ECHO_C" >&6
27459 ac_cpp='$CXXCPP $CPPFLAGS'
27460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27464 cat >conftest.$ac_ext <<_ACEOF
27467 cat confdefs.h >>conftest.$ac_ext
27468 cat >>conftest.$ac_ext <<_ACEOF
27469 /* end confdefs.h. */
27479 rm -f conftest.$ac_objext
27480 if { (ac_try="$ac_compile"
27481 case "(($ac_try" in
27482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27483 *) ac_try_echo=$ac_try;;
27485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27486 (eval "$ac_compile") 2>conftest.er1
27488 grep -v '^ *+' conftest.er1 >conftest.err
27490 cat conftest.err >&5
27491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27492 (exit $ac_status); } && {
27493 test -z "$ac_cxx_werror_flag" ||
27494 test ! -s conftest.err
27495 } && test -s conftest.$ac_objext; then
27496 wx_cv_expat_is_not_broken=yes
27498 echo "$as_me: failed program was
:" >&5
27499 sed 's/^/| /' conftest.$ac_ext >&5
27501 wx_cv_expat_is_not_broken=no
27505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27507 ac_cpp='$CPP $CPPFLAGS'
27508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27515 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27516 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27517 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27518 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27519 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27520 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27521 echo $ECHO_N "(cached
) $ECHO_C" >&6
27523 ac_check_lib_save_LIBS=$LIBS
27524 LIBS="-lexpat $LIBS"
27525 cat >conftest.$ac_ext <<_ACEOF
27528 cat confdefs.h >>conftest.$ac_ext
27529 cat >>conftest.$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27532 /* Override any GCC internal prototype to avoid an error.
27533 Use char because int might match the return type of a GCC
27534 builtin and then its argument prototype would still apply. */
27538 char XML_ParserCreate ();
27542 return XML_ParserCreate ();
27547 rm -f conftest.$ac_objext conftest$ac_exeext
27548 if { (ac_try="$ac_link"
27549 case "(($ac_try" in
27550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27551 *) ac_try_echo=$ac_try;;
27553 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27554 (eval "$ac_link") 2>conftest.er1
27556 grep -v '^ *+' conftest.er1 >conftest.err
27558 cat conftest.err >&5
27559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27560 (exit $ac_status); } && {
27561 test -z "$ac_c_werror_flag" ||
27562 test ! -s conftest.err
27563 } && test -s conftest$ac_exeext &&
27564 $as_test_x conftest$ac_exeext; then
27565 ac_cv_lib_expat_XML_ParserCreate=yes
27567 echo "$as_me: failed program was
:" >&5
27568 sed 's/^/| /' conftest.$ac_ext >&5
27570 ac_cv_lib_expat_XML_ParserCreate=no
27573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27574 conftest$ac_exeext conftest.$ac_ext
27575 LIBS=$ac_check_lib_save_LIBS
27577 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27578 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27579 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27580 EXPAT_LINK=" -lexpat"
27585 if test "x
$EXPAT_LINK" = "x
" ; then
27586 if test "$wxUSE_EXPAT" = "sys
" ; then
27587 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27588 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27589 { (exit 1); exit 1; }; }
27591 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27592 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27593 wxUSE_EXPAT=builtin
27599 if test "$wxUSE_EXPAT" = "builtin" ; then
27600 subdirs="$subdirs src
/expat
"
27607 if test "$wxUSE_LIBMSPACK" != "no
"; then
27608 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27609 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27610 if test "${ac_cv_header_mspack_h+set}" = set; then
27611 echo $ECHO_N "(cached
) $ECHO_C" >&6
27613 cat >conftest.$ac_ext <<_ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27621 #include <mspack.h>
27623 rm -f conftest.$ac_objext
27624 if { (ac_try="$ac_compile"
27625 case "(($ac_try" in
27626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27627 *) ac_try_echo=$ac_try;;
27629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27630 (eval "$ac_compile") 2>conftest.er1
27632 grep -v '^ *+' conftest.er1 >conftest.err
27634 cat conftest.err >&5
27635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27636 (exit $ac_status); } && {
27637 test -z "$ac_c_werror_flag" ||
27638 test ! -s conftest.err
27639 } && test -s conftest.$ac_objext; then
27640 ac_cv_header_mspack_h=yes
27642 echo "$as_me: failed program was
:" >&5
27643 sed 's/^/| /' conftest.$ac_ext >&5
27645 ac_cv_header_mspack_h=no
27648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27650 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27651 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27652 if test $ac_cv_header_mspack_h = yes; then
27657 if test "x
$found_mspack_h" = "x1
"; then
27658 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27659 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27660 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27661 echo $ECHO_N "(cached
) $ECHO_C" >&6
27663 ac_check_lib_save_LIBS=$LIBS
27664 LIBS="-lmspack $LIBS"
27665 cat >conftest.$ac_ext <<_ACEOF
27668 cat confdefs.h >>conftest.$ac_ext
27669 cat >>conftest.$ac_ext <<_ACEOF
27670 /* end confdefs.h. */
27672 /* Override any GCC internal prototype to avoid an error.
27673 Use char because int might match the return type of a GCC
27674 builtin and then its argument prototype would still apply. */
27678 char mspack_create_chm_decompressor ();
27682 return mspack_create_chm_decompressor ();
27687 rm -f conftest.$ac_objext conftest$ac_exeext
27688 if { (ac_try="$ac_link"
27689 case "(($ac_try" in
27690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27691 *) ac_try_echo=$ac_try;;
27693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27694 (eval "$ac_link") 2>conftest.er1
27696 grep -v '^ *+' conftest.er1 >conftest.err
27698 cat conftest.err >&5
27699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27700 (exit $ac_status); } && {
27701 test -z "$ac_c_werror_flag" ||
27702 test ! -s conftest.err
27703 } && test -s conftest$ac_exeext &&
27704 $as_test_x conftest$ac_exeext; then
27705 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27707 echo "$as_me: failed program was
:" >&5
27708 sed 's/^/| /' conftest.$ac_ext >&5
27710 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27714 conftest$ac_exeext conftest.$ac_ext
27715 LIBS=$ac_check_lib_save_LIBS
27717 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27718 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27719 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27720 MSPACK_LINK=" -lmspack"
27724 if test "x
$MSPACK_LINK" = "x
" ; then
27729 if test "$wxUSE_LIBMSPACK" != "no
"; then
27730 cat >>confdefs.h <<\_ACEOF
27731 #define wxUSE_LIBMSPACK 1
27745 if test "$USE_WIN32" = 1 ; then
27747 for ac_header in w32api.h
27749 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27750 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27751 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27752 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27753 echo $ECHO_N "(cached
) $ECHO_C" >&6
27755 cat >conftest.$ac_ext <<_ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27763 #include <$ac_header>
27765 rm -f conftest.$ac_objext
27766 if { (ac_try="$ac_compile"
27767 case "(($ac_try" in
27768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_compile") 2>conftest.er1
27774 grep -v '^ *+' conftest.er1 >conftest.err
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27778 (exit $ac_status); } && {
27779 test -z "$ac_c_werror_flag" ||
27780 test ! -s conftest.err
27781 } && test -s conftest.$ac_objext; then
27782 eval "$as_ac_Header=yes"
27784 echo "$as_me: failed program was
:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27787 eval "$as_ac_Header=no
"
27790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27792 ac_res=`eval echo '${'$as_ac_Header'}'`
27793 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27794 echo "${ECHO_T}$ac_res" >&6; }
27795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27796 cat >>confdefs.h <<_ACEOF
27797 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27804 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27805 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27806 if test "${ac_cv_header_windows_h+set}" = set; then
27807 echo $ECHO_N "(cached
) $ECHO_C" >&6
27809 cat >conftest.$ac_ext <<_ACEOF
27812 cat confdefs.h >>conftest.$ac_ext
27813 cat >>conftest.$ac_ext <<_ACEOF
27814 /* end confdefs.h. */
27817 #include <windows.h>
27819 rm -f conftest.$ac_objext
27820 if { (ac_try="$ac_compile"
27821 case "(($ac_try" in
27822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27823 *) ac_try_echo=$ac_try;;
27825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27826 (eval "$ac_compile") 2>conftest.er1
27828 grep -v '^ *+' conftest.er1 >conftest.err
27830 cat conftest.err >&5
27831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27832 (exit $ac_status); } && {
27833 test -z "$ac_c_werror_flag" ||
27834 test ! -s conftest.err
27835 } && test -s conftest.$ac_objext; then
27836 ac_cv_header_windows_h=yes
27838 echo "$as_me: failed program was
:" >&5
27839 sed 's/^/| /' conftest.$ac_ext >&5
27841 ac_cv_header_windows_h=no
27844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27846 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27847 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27848 if test $ac_cv_header_windows_h = yes; then
27852 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27853 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27854 { (exit 1); exit 1; }; }
27861 x86_64-*-mingw32* )
27862 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27865 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27868 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27869 LIBS="$LIBS -loleacc"
27874 LIBS="$LIBS -lkernel32 -luser32"
27877 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27878 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27880 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27882 WIN32INSTALL=win32install
27884 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27885 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27886 if test "${ac_cv_header_pbt_h+set}" = set; then
27887 echo $ECHO_N "(cached
) $ECHO_C" >&6
27889 cat >conftest.$ac_ext <<_ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27899 rm -f conftest.$ac_objext
27900 if { (ac_try="$ac_compile"
27901 case "(($ac_try" in
27902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27903 *) ac_try_echo=$ac_try;;
27905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27906 (eval "$ac_compile") 2>conftest.er1
27908 grep -v '^ *+' conftest.er1 >conftest.err
27910 cat conftest.err >&5
27911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27912 (exit $ac_status); } && {
27913 test -z "$ac_c_werror_flag" ||
27914 test ! -s conftest.err
27915 } && test -s conftest.$ac_objext; then
27916 ac_cv_header_pbt_h=yes
27918 echo "$as_me: failed program was
:" >&5
27919 sed 's/^/| /' conftest.$ac_ext >&5
27921 ac_cv_header_pbt_h=no
27924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27926 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27927 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27928 if test $ac_cv_header_pbt_h = yes; then
27931 cat >>confdefs.h <<\_ACEOF
27932 #define NEED_PBT_H 1
27940 if test "$wxUSE_GUI" = "yes"; then
27950 if test "$wxUSE_COCOA" = 1 ; then
27951 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27952 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27953 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27954 wxUSE_PRINTING_ARCHITECTURE=no
27956 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27957 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27958 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27959 wxUSE_DRAG_AND_DROP=no
27961 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27962 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27963 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27968 if test "$wxUSE_MSW" = 1 ; then
27974 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27978 if test "$wxUSE_GTK" = 1; then
27979 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27980 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27982 gtk_version_cached=1
27983 if test "${wx_cv_lib_gtk+set}" = set; then
27984 echo $ECHO_N "(cached
) $ECHO_C" >&6
27987 gtk_version_cached=0
27988 { echo "$as_me:$LINENO: result
: " >&5
27989 echo "${ECHO_T}" >&6; }
27992 if test "$wxUSE_THREADS" = "yes"; then
27993 GTK_MODULES=gthread
27997 if test "x
$wxGTK_VERSION" != "x1
"
28001 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28006 # Check whether --enable-gtktest was given.
28007 if test "${enable_gtktest+set}" = set; then
28008 enableval=$enable_gtktest;
28014 pkg_config_args=gtk+-2.0
28015 for module in . $GTK_MODULES
28019 pkg_config_args="$pkg_config_args gthread
-2.0
"
28026 # Extract the first word of "pkg
-config", so it can be a program name with args.
28027 set dummy pkg-config; ac_word=$2
28028 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28029 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28030 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28031 echo $ECHO_N "(cached
) $ECHO_C" >&6
28033 case $PKG_CONFIG in
28035 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28039 for as_dir in $PATH
28042 test -z "$as_dir" && as_dir=.
28043 for ac_exec_ext in '' $ac_executable_extensions; do
28044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28045 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28046 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28058 if test -n "$PKG_CONFIG"; then
28059 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28060 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28062 { echo "$as_me:$LINENO: result
: no
" >&5
28063 echo "${ECHO_T}no
" >&6; }
28068 if test x$PKG_CONFIG != xno ; then
28069 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28072 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28080 min_gtk_version=2.4.0
28081 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28082 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28084 if test x$PKG_CONFIG != xno ; then
28085 ## don't try to run the test against uninstalled libtool libs
28086 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28087 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28091 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28098 if test x"$no_gtk" = x ; then
28099 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28100 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28101 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28103 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28105 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28106 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28107 if test "x
$enable_gtktest" = "xyes
" ; then
28108 ac_save_CFLAGS="$CFLAGS"
28109 ac_save_LIBS="$LIBS"
28110 CFLAGS="$CFLAGS $GTK_CFLAGS"
28111 LIBS="$GTK_LIBS $LIBS"
28113 if test "$cross_compiling" = yes; then
28114 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28116 cat >conftest.$ac_ext <<_ACEOF
28119 cat confdefs.h >>conftest.$ac_ext
28120 cat >>conftest.$ac_ext <<_ACEOF
28121 /* end confdefs.h. */
28123 #include <gtk/gtk.h>
28125 #include <stdlib.h>
28130 int major, minor, micro;
28133 system ("touch conf.gtktest
");
28135 /* HP/UX 9 (%@#!) writes to sscanf strings */
28136 tmp_version = g_strdup("$min_gtk_version");
28137 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28138 printf("%s
, bad version string
\n", "$min_gtk_version");
28142 if ((gtk_major_version != $gtk_config_major_version) ||
28143 (gtk_minor_version != $gtk_config_minor_version) ||
28144 (gtk_micro_version != $gtk_config_micro_version))
28146 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28147 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28148 gtk_major_version, gtk_minor_version, gtk_micro_version);
28149 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28150 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28151 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28152 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28153 printf("*** required on your system.
\n");
28154 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28155 printf("*** to point to the correct configuration files
\n");
28157 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28158 (gtk_minor_version != GTK_MINOR_VERSION) ||
28159 (gtk_micro_version != GTK_MICRO_VERSION))
28161 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28162 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28163 printf("*** library
(version
%d.
%d.
%d
)\n",
28164 gtk_major_version, gtk_minor_version, gtk_micro_version);
28168 if ((gtk_major_version > major) ||
28169 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28170 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28176 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28177 gtk_major_version, gtk_minor_version, gtk_micro_version);
28178 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28179 major, minor, micro);
28180 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28182 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28183 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28184 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28185 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28186 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28187 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28188 printf("*** so that the correct libraries are found
at run
-time))\n");
28195 rm -f conftest$ac_exeext
28196 if { (ac_try="$ac_link"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_link") 2>&5
28204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28206 { (case "(($ac_try" in
28207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28208 *) ac_try_echo=$ac_try;;
28210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28211 (eval "$ac_try") 2>&5
28213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28214 (exit $ac_status); }; }; then
28217 echo "$as_me: program exited with status
$ac_status" >&5
28218 echo "$as_me: failed program was
:" >&5
28219 sed 's/^/| /' conftest.$ac_ext >&5
28221 ( exit $ac_status )
28224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28228 CFLAGS="$ac_save_CFLAGS"
28229 LIBS="$ac_save_LIBS"
28232 if test "x
$no_gtk" = x ; then
28233 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28234 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28237 { echo "$as_me:$LINENO: result
: no
" >&5
28238 echo "${ECHO_T}no
" >&6; }
28239 if test "$PKG_CONFIG" = "no
" ; then
28240 echo "*** A new enough version of pkg
-config was not found.
"
28241 echo "*** See http
://pkgconfig.sourceforge.net
"
28243 if test -f conf.gtktest ; then
28246 echo "*** Could not run GTK
+ test program
, checking why...
"
28247 ac_save_CFLAGS="$CFLAGS"
28248 ac_save_LIBS="$LIBS"
28249 CFLAGS="$CFLAGS $GTK_CFLAGS"
28250 LIBS="$LIBS $GTK_LIBS"
28251 cat >conftest.$ac_ext <<_ACEOF
28254 cat confdefs.h >>conftest.$ac_ext
28255 cat >>conftest.$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28258 #include <gtk/gtk.h>
28264 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28269 rm -f conftest.$ac_objext conftest$ac_exeext
28270 if { (ac_try="$ac_link"
28271 case "(($ac_try" in
28272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28273 *) ac_try_echo=$ac_try;;
28275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28276 (eval "$ac_link") 2>conftest.er1
28278 grep -v '^ *+' conftest.er1 >conftest.err
28280 cat conftest.err >&5
28281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28282 (exit $ac_status); } && {
28283 test -z "$ac_c_werror_flag" ||
28284 test ! -s conftest.err
28285 } && test -s conftest$ac_exeext &&
28286 $as_test_x conftest$ac_exeext; then
28287 echo "*** The
test program compiled
, but did not run. This usually means
"
28288 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28289 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28290 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28291 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28292 echo "*** is required on your system"
28294 echo "*** If you have an old version installed, it is best to remove it, although"
28295 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28297 echo "$as_me: failed program was:" >&5
28298 sed 's
/^
/| /' conftest.$ac_ext >&5
28300 echo "*** The test program failed to compile or link. See the file config.log for the"
28301 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28305 conftest$ac_exeext conftest.$ac_ext
28306 CFLAGS="$ac_save_CFLAGS"
28307 LIBS="$ac_save_LIBS"
28321 if test "$wxUSE_SHARED" != "yes"; then
28322 GTK_LIBS="$GTK_LIBS -lX11"
28327 if test -z "$wx_cv_lib_gtk"; then
28328 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28330 # Check whether --with-gtk-prefix was given.
28331 if test "${with_gtk_prefix+set}" = set; then
28332 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28334 gtk_config_prefix=""
28338 # Check whether --with-gtk-exec-prefix was given.
28339 if test "${with_gtk_exec_prefix+set}" = set; then
28340 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28342 gtk_config_exec_prefix=""
28345 # Check whether --enable-gtktest was given.
28346 if test "${enable_gtktest+set}" = set; then
28347 enableval=$enable_gtktest;
28353 for module in . $GTK_MODULES
28357 gtk_config_args="$gtk_config_args gthread"
28362 if test x$gtk_config_exec_prefix != x ; then
28363 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28364 if test x${GTK_CONFIG+set} != xset ; then
28365 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28368 if test x$gtk_config_prefix != x ; then
28369 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28370 if test x${GTK_CONFIG+set} != xset ; then
28371 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28375 # Extract the first word of "gtk-config", so it can be a program name with args.
28376 set dummy gtk-config; ac_word=$2
28377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28379 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28382 case $GTK_CONFIG in
28384 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28388 for as_dir in $PATH
28391 test -z "$as_dir" && as_dir=.
28392 for ac_exec_ext in '' $ac_executable_extensions; do
28393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28394 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28402 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28406 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28407 if test -n "$GTK_CONFIG"; then
28408 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28409 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28411 { echo "$as_me:$LINENO: result: no" >&5
28412 echo "${ECHO_T}no" >&6; }
28416 min_gtk_version=1.2.7
28417 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28418 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28420 if test "$GTK_CONFIG" = "no" ; then
28423 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28424 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28425 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28426 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28427 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28428 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28429 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28430 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28431 if test "x$enable_gtktest" = "xyes" ; then
28432 ac_save_CFLAGS="$CFLAGS"
28433 ac_save_LIBS="$LIBS"
28434 CFLAGS="$CFLAGS $GTK_CFLAGS"
28435 LIBS="$GTK_LIBS $LIBS"
28437 if test "$cross_compiling" = yes; then
28438 echo $ac_n "cross compiling; assumed OK... $ac_c"
28440 cat >conftest.$ac_ext <<_ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28447 #include <gtk/gtk.h>
28449 #include <stdlib.h>
28454 int major, minor, micro;
28457 system ("touch conf.gtktest");
28459 /* HP/UX 9 (%@#!) writes to sscanf strings */
28460 tmp_version = g_strdup("$min_gtk_version");
28461 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28462 printf("%s, bad version string\n", "$min_gtk_version");
28466 if ((gtk_major_version != $gtk_config_major_version) ||
28467 (gtk_minor_version != $gtk_config_minor_version) ||
28468 (gtk_micro_version != $gtk_config_micro_version))
28470 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28471 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28472 gtk_major_version, gtk_minor_version, gtk_micro_version);
28473 printf ("*** was found! If gtk-config was correct, then it is best\n");
28474 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28475 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28476 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28477 printf("*** required on your system.\n");
28478 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28479 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28480 printf("*** before re-running configure\n");
28482 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28483 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28484 (gtk_minor_version != GTK_MINOR_VERSION) ||
28485 (gtk_micro_version != GTK_MICRO_VERSION))
28487 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28488 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28489 printf("*** library (version %d.%d.%d)\n",
28490 gtk_major_version, gtk_minor_version, gtk_micro_version);
28492 #endif /* defined (GTK_MAJOR_VERSION) ... */
28495 if ((gtk_major_version > major) ||
28496 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28497 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28503 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28504 gtk_major_version, gtk_minor_version, gtk_micro_version);
28505 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28506 major, minor, micro);
28507 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28509 printf("*** If you have already installed a sufficiently new version, this error\n");
28510 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28511 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28512 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28513 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28514 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28515 printf("*** so that the correct libraries are found at run-time))\n");
28522 rm -f conftest$ac_exeext
28523 if { (ac_try="$ac_link"
28524 case "(($ac_try" in
28525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28526 *) ac_try_echo=$ac_try;;
28528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28529 (eval "$ac_link") 2>&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28533 { (case "(($ac_try" in
28534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28535 *) ac_try_echo=$ac_try;;
28537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538 (eval "$ac_try") 2>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; }; then
28544 echo "$as_me: program exited with status $ac_status" >&5
28545 echo "$as_me: failed program was:" >&5
28546 sed 's
/^
/| /' conftest.$ac_ext >&5
28548 ( exit $ac_status )
28551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28555 CFLAGS="$ac_save_CFLAGS"
28556 LIBS="$ac_save_LIBS"
28559 if test "x$no_gtk" = x ; then
28560 { echo "$as_me:$LINENO: result: yes" >&5
28561 echo "${ECHO_T}yes" >&6; }
28562 wx_cv_lib_gtk=1.2.7
28564 { echo "$as_me:$LINENO: result: no" >&5
28565 echo "${ECHO_T}no" >&6; }
28566 if test "$GTK_CONFIG" = "no" ; then
28567 echo "*** The gtk-config script installed by GTK could not be found"
28568 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28569 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28570 echo "*** full path to gtk-config."
28572 if test -f conf.gtktest ; then
28575 echo "*** Could not run GTK test program, checking why..."
28576 CFLAGS="$CFLAGS $GTK_CFLAGS"
28577 LIBS="$LIBS $GTK_LIBS"
28578 cat >conftest.$ac_ext <<_ACEOF
28581 cat confdefs.h >>conftest.$ac_ext
28582 cat >>conftest.$ac_ext <<_ACEOF
28583 /* end confdefs.h. */
28585 #include <gtk/gtk.h>
28591 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28596 rm -f conftest.$ac_objext conftest$ac_exeext
28597 if { (ac_try="$ac_link"
28598 case "(($ac_try" in
28599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28600 *) ac_try_echo=$ac_try;;
28602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28603 (eval "$ac_link") 2>conftest.er1
28605 grep -v '^
*+' conftest.er1 >conftest.err
28607 cat conftest.err >&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); } && {
28610 test -z "$ac_c_werror_flag" ||
28611 test ! -s conftest.err
28612 } && test -s conftest$ac_exeext &&
28613 $as_test_x conftest$ac_exeext; then
28614 echo "*** The test program compiled, but did not run. This usually means"
28615 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28616 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28617 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28618 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28619 echo "*** is required on your system
"
28621 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28622 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28624 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28625 echo "*** came with the system with the
command"
28627 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28629 echo "$as_me: failed program was
:" >&5
28630 sed 's/^/| /' conftest.$ac_ext >&5
28632 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28633 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28634 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28635 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28639 conftest$ac_exeext conftest.$ac_ext
28640 CFLAGS="$ac_save_CFLAGS"
28641 LIBS="$ac_save_LIBS"
28653 if test -z "$wx_cv_lib_gtk"; then
28655 # Check whether --with-gtk-prefix was given.
28656 if test "${with_gtk_prefix+set}" = set; then
28657 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28659 gtk_config_prefix=""
28663 # Check whether --with-gtk-exec-prefix was given.
28664 if test "${with_gtk_exec_prefix+set}" = set; then
28665 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28667 gtk_config_exec_prefix=""
28670 # Check whether --enable-gtktest was given.
28671 if test "${enable_gtktest+set}" = set; then
28672 enableval=$enable_gtktest;
28678 for module in . $GTK_MODULES
28682 gtk_config_args="$gtk_config_args gthread
"
28687 if test x$gtk_config_exec_prefix != x ; then
28688 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28689 if test x${GTK_CONFIG+set} != xset ; then
28690 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28693 if test x$gtk_config_prefix != x ; then
28694 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28695 if test x${GTK_CONFIG+set} != xset ; then
28696 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28700 # Extract the first word of "gtk
-config", so it can be a program name with args.
28701 set dummy gtk-config; ac_word=$2
28702 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28703 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28704 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28705 echo $ECHO_N "(cached
) $ECHO_C" >&6
28707 case $GTK_CONFIG in
28709 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28713 for as_dir in $PATH
28716 test -z "$as_dir" && as_dir=.
28717 for ac_exec_ext in '' $ac_executable_extensions; do
28718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28719 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28720 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28727 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28731 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28732 if test -n "$GTK_CONFIG"; then
28733 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28734 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28736 { echo "$as_me:$LINENO: result
: no
" >&5
28737 echo "${ECHO_T}no
" >&6; }
28741 min_gtk_version=1.2.3
28742 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28743 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28745 if test "$GTK_CONFIG" = "no
" ; then
28748 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28749 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28750 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28751 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28752 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28753 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28754 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28755 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28756 if test "x
$enable_gtktest" = "xyes
" ; then
28757 ac_save_CFLAGS="$CFLAGS"
28758 ac_save_LIBS="$LIBS"
28759 CFLAGS="$CFLAGS $GTK_CFLAGS"
28760 LIBS="$GTK_LIBS $LIBS"
28762 if test "$cross_compiling" = yes; then
28763 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28765 cat >conftest.$ac_ext <<_ACEOF
28768 cat confdefs.h >>conftest.$ac_ext
28769 cat >>conftest.$ac_ext <<_ACEOF
28770 /* end confdefs.h. */
28772 #include <gtk/gtk.h>
28774 #include <stdlib.h>
28779 int major, minor, micro;
28782 system ("touch conf.gtktest
");
28784 /* HP/UX 9 (%@#!) writes to sscanf strings */
28785 tmp_version = g_strdup("$min_gtk_version");
28786 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28787 printf("%s
, bad version string
\n", "$min_gtk_version");
28791 if ((gtk_major_version != $gtk_config_major_version) ||
28792 (gtk_minor_version != $gtk_config_minor_version) ||
28793 (gtk_micro_version != $gtk_config_micro_version))
28795 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28796 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28797 gtk_major_version, gtk_minor_version, gtk_micro_version);
28798 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28799 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28800 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28801 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28802 printf("*** required on your system.
\n");
28803 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28804 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28805 printf("*** before re
-running configure
\n");
28807 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28808 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28809 (gtk_minor_version != GTK_MINOR_VERSION) ||
28810 (gtk_micro_version != GTK_MICRO_VERSION))
28812 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28813 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28814 printf("*** library
(version
%d.
%d.
%d
)\n",
28815 gtk_major_version, gtk_minor_version, gtk_micro_version);
28817 #endif /* defined (GTK_MAJOR_VERSION) ... */
28820 if ((gtk_major_version > major) ||
28821 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28822 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28828 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28829 gtk_major_version, gtk_minor_version, gtk_micro_version);
28830 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28831 major, minor, micro);
28832 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28834 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28835 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28836 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28837 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28838 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28839 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28840 printf("*** so that the correct libraries are found
at run
-time))\n");
28847 rm -f conftest$ac_exeext
28848 if { (ac_try="$ac_link"
28849 case "(($ac_try" in
28850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28851 *) ac_try_echo=$ac_try;;
28853 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28854 (eval "$ac_link") 2>&5
28856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28858 { (case "(($ac_try" in
28859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28860 *) ac_try_echo=$ac_try;;
28862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28863 (eval "$ac_try") 2>&5
28865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28866 (exit $ac_status); }; }; then
28869 echo "$as_me: program exited with status
$ac_status" >&5
28870 echo "$as_me: failed program was
:" >&5
28871 sed 's/^/| /' conftest.$ac_ext >&5
28873 ( exit $ac_status )
28876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28880 CFLAGS="$ac_save_CFLAGS"
28881 LIBS="$ac_save_LIBS"
28884 if test "x
$no_gtk" = x ; then
28885 { echo "$as_me:$LINENO: result
: yes" >&5
28886 echo "${ECHO_T}yes" >&6; }
28887 wx_cv_lib_gtk=1.2.3
28889 { echo "$as_me:$LINENO: result
: no
" >&5
28890 echo "${ECHO_T}no
" >&6; }
28891 if test "$GTK_CONFIG" = "no
" ; then
28892 echo "*** The gtk
-config script installed by GTK could not be found
"
28893 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28894 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28895 echo "*** full path to gtk
-config.
"
28897 if test -f conf.gtktest ; then
28900 echo "*** Could not run GTK
test program
, checking why...
"
28901 CFLAGS="$CFLAGS $GTK_CFLAGS"
28902 LIBS="$LIBS $GTK_LIBS"
28903 cat >conftest.$ac_ext <<_ACEOF
28906 cat confdefs.h >>conftest.$ac_ext
28907 cat >>conftest.$ac_ext <<_ACEOF
28908 /* end confdefs.h. */
28910 #include <gtk/gtk.h>
28916 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28921 rm -f conftest.$ac_objext conftest$ac_exeext
28922 if { (ac_try="$ac_link"
28923 case "(($ac_try" in
28924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28925 *) ac_try_echo=$ac_try;;
28927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28928 (eval "$ac_link") 2>conftest.er1
28930 grep -v '^ *+' conftest.er1 >conftest.err
28932 cat conftest.err >&5
28933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28934 (exit $ac_status); } && {
28935 test -z "$ac_c_werror_flag" ||
28936 test ! -s conftest.err
28937 } && test -s conftest$ac_exeext &&
28938 $as_test_x conftest$ac_exeext; then
28939 echo "*** The
test program compiled
, but did not run. This usually means
"
28940 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28941 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28942 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28943 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28944 echo "*** is required on your system"
28946 echo "*** If you have an old version installed, it is best to remove it, although"
28947 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28949 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28950 echo "*** came with the system with the command"
28952 echo "*** rpm --erase --nodeps gtk gtk-devel"
28954 echo "$as_me: failed program was:" >&5
28955 sed 's
/^
/| /' conftest.$ac_ext >&5
28957 echo "*** The test program failed to compile or link. See the file config.log for the"
28958 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28959 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28960 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28964 conftest$ac_exeext conftest.$ac_ext
28965 CFLAGS="$ac_save_CFLAGS"
28966 LIBS="$ac_save_LIBS"
28981 if test -z "$wx_cv_lib_gtk"; then
28984 wx_cv_cflags_gtk=$GTK_CFLAGS
28985 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28992 if test "$gtk_version_cached" = 1; then
28993 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28994 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28997 case "$wx_cv_lib_gtk" in
29006 *) { { echo "$as_me:$LINENO: error:
29007 The development files for GTK+ were not found. For GTK+ 2, please
29008 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29009 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29010 and that the version is 1.2.3 or above. Also check that the
29011 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29012 --libs' are in the LD_LIBRARY_PATH or equivalent.
29014 echo "$as_me: error:
29015 The development files for GTK+ were not found. For GTK+ 2, please
29016 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29017 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29018 and that the version is 1.2.3 or above. Also check that the
29019 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29020 --libs' are in the LD_LIBRARY_PATH or equivalent.
29022 { (exit 1); exit 1; }; }
29026 if test "$WXGTK2" = 1; then
29027 save_CFLAGS="$CFLAGS"
29029 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29030 LIBS="$LIBS $wx_cv_libs_gtk"
29032 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29033 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29034 cat >conftest.$ac_ext <<_ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29041 #include <gtk/gtk.h>
29047 #if !GTK_CHECK_VERSION(2,10,0)
29055 rm -f conftest.$ac_objext
29056 if { (ac_try="$ac_compile"
29057 case "(($ac_try" in
29058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29059 *) ac_try_echo=$ac_try;;
29061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29062 (eval "$ac_compile") 2>conftest.er1
29064 grep -v '^
*+' conftest.er1 >conftest.err
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } && {
29069 test -z "$ac_c_werror_flag" ||
29070 test ! -s conftest.err
29071 } && test -s conftest.$ac_objext; then
29073 cat >>confdefs.h <<\_ACEOF
29074 #define __WXGTK210__ 1
29077 cat >>confdefs.h <<\_ACEOF
29078 #define __WXGTK26__ 1
29081 { echo "$as_me:$LINENO: result: yes" >&5
29082 echo "${ECHO_T}yes" >&6; }
29086 echo "$as_me: failed program was:" >&5
29087 sed 's
/^
/| /' conftest.$ac_ext >&5
29090 { echo "$as_me:$LINENO: result: no" >&5
29091 echo "${ECHO_T}no" >&6; }
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29098 if test "$ac_wxgtk210" = 0; then
29099 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29100 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29101 cat >conftest.$ac_ext <<_ACEOF
29104 cat confdefs.h >>conftest.$ac_ext
29105 cat >>conftest.$ac_ext <<_ACEOF
29106 /* end confdefs.h. */
29108 #include <gtk/gtk.h>
29114 #if !GTK_CHECK_VERSION(2,6,0)
29122 rm -f conftest.$ac_objext
29123 if { (ac_try="$ac_compile"
29124 case "(($ac_try" in
29125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29126 *) ac_try_echo=$ac_try;;
29128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29129 (eval "$ac_compile") 2>conftest.er1
29131 grep -v '^
*+' conftest.er1 >conftest.err
29133 cat conftest.err >&5
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); } && {
29136 test -z "$ac_c_werror_flag" ||
29137 test ! -s conftest.err
29138 } && test -s conftest.$ac_objext; then
29140 cat >>confdefs.h <<\_ACEOF
29141 #define __WXGTK26__ 1
29144 { echo "$as_me:$LINENO: result: yes" >&5
29145 echo "${ECHO_T}yes" >&6; }
29149 echo "$as_me: failed program was:" >&5
29150 sed 's
/^
/| /' conftest.$ac_ext >&5
29153 { echo "$as_me:$LINENO: result: no" >&5
29154 echo "${ECHO_T}no" >&6; }
29159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29162 CFLAGS="$save_CFLAGS"
29165 if test "$wxUSE_UNICODE" = "yes"; then
29166 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29167 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29171 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29172 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29173 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29176 ac_check_lib_save_LIBS=$LIBS
29178 cat >conftest.$ac_ext <<_ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29185 /* Override any GCC internal prototype to avoid an error.
29186 Use char because int might match the return type of a GCC
29187 builtin and then its argument prototype would still apply. */
29191 char gdk_im_open ();
29195 return gdk_im_open ();
29200 rm -f conftest.$ac_objext conftest$ac_exeext
29201 if { (ac_try="$ac_link"
29202 case "(($ac_try" in
29203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29204 *) ac_try_echo=$ac_try;;
29206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29207 (eval "$ac_link") 2>conftest.er1
29209 grep -v '^
*+' conftest.er1 >conftest.err
29211 cat conftest.err >&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } && {
29214 test -z "$ac_c_werror_flag" ||
29215 test ! -s conftest.err
29216 } && test -s conftest$ac_exeext &&
29217 $as_test_x conftest$ac_exeext; then
29218 ac_cv_lib_gdk_gdk_im_open=yes
29220 echo "$as_me: failed program was:" >&5
29221 sed 's
/^
/| /' conftest.$ac_ext >&5
29223 ac_cv_lib_gdk_gdk_im_open=no
29226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29227 conftest$ac_exeext conftest.$ac_ext
29228 LIBS=$ac_check_lib_save_LIBS
29230 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29231 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29232 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29233 cat >>confdefs.h <<\_ACEOF
29240 if test "$USE_DARWIN" != 1; then
29242 for ac_func in poll
29244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 cat >conftest.$ac_ext <<_ACEOF
29253 cat confdefs.h >>conftest.$ac_ext
29254 cat >>conftest.$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29258 #define $ac_func innocuous_$ac_func
29260 /* System header to define __stub macros and hopefully few prototypes,
29261 which can conflict with char $ac_func (); below.
29262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29263 <limits.h> exists even on freestanding compilers. */
29266 # include <limits.h>
29268 # include <assert.h>
29273 /* Override any GCC internal prototype to avoid an error.
29274 Use char because int might match the return type of a GCC
29275 builtin and then its argument prototype would still apply. */
29280 /* The GNU C library defines this for functions which it implements
29281 to always fail with ENOSYS. Some functions are actually named
29282 something starting with __ and the normal name is an alias. */
29283 #if defined __stub_$ac_func || defined __stub___$ac_func
29290 return $ac_func ();
29295 rm -f conftest.$ac_objext conftest$ac_exeext
29296 if { (ac_try="$ac_link"
29297 case "(($ac_try" in
29298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29299 *) ac_try_echo=$ac_try;;
29301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29302 (eval "$ac_link") 2>conftest.er1
29304 grep -v '^
*+' conftest.er1 >conftest.err
29306 cat conftest.err >&5
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); } && {
29309 test -z "$ac_c_werror_flag" ||
29310 test ! -s conftest.err
29311 } && test -s conftest$ac_exeext &&
29312 $as_test_x conftest$ac_exeext; then
29313 eval "$as_ac_var=yes"
29315 echo "$as_me: failed program was:" >&5
29316 sed 's
/^
/| /' conftest.$ac_ext >&5
29318 eval "$as_ac_var=no"
29321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29322 conftest$ac_exeext conftest.$ac_ext
29324 ac_res=`eval echo '${'$as_ac_var'}'`
29325 { echo "$as_me:$LINENO: result: $ac_res" >&5
29326 echo "${ECHO_T}$ac_res" >&6; }
29327 if test `eval echo '${'$as_ac_var'}'` = yes; then
29328 cat >>confdefs.h <<_ACEOF
29329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29338 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29339 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29341 AFMINSTALL=afminstall
29345 if test "$wxUSE_GPE" = "yes"; then
29346 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29347 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29350 for ac_dir in $SEARCH_LIB;
29352 for ac_extension in a so sl dylib dll.a; do
29353 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29354 ac_find_libraries=$ac_dir
29360 if test "$ac_find_libraries" != "" ; then
29362 if test "$ac_find_libraries" = "default location"; then
29365 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29367 if test $result = 0; then
29370 ac_path_to_link=" -L$ac_find_libraries"
29374 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29376 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29377 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29379 { echo "$as_me:$LINENO: result: not found" >&5
29380 echo "${ECHO_T}not found" >&6; }
29386 if test "$wxUSE_MGL" = 1; then
29387 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29388 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29389 if test "x$MGL_ROOT" = x ; then
29390 { echo "$as_me:$LINENO: result: not found" >&5
29391 echo "${ECHO_T}not found" >&6; }
29392 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29393 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29394 { (exit 1); exit 1; }; }
29396 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29397 echo "${ECHO_T}$MGL_ROOT" >&6; }
29400 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29401 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29404 if test "x$wxUSE_SHARED" = xyes ; then
29405 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29407 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29411 mgl_os_candidates="dos32/dj2"
29414 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29415 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29416 { (exit 1); exit 1; }; }
29422 for mgl_os_i in $mgl_os_candidates ; do
29423 if test "x$mgl_os" = x ; then
29424 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29425 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29426 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29431 if test "x$mgl_lib_type" = x ; then
29432 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29433 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29434 mgl_lib_type=release
29441 if test "x$mgl_os" = x ; then
29442 { echo "$as_me:$LINENO: result: not found" >&5
29443 echo "${ECHO_T}not found" >&6; }
29444 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29445 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29446 { (exit 1); exit 1; }; }
29448 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29449 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29451 wxUSE_UNIVERSAL="yes"
29453 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29454 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29456 AFMINSTALL=afminstall
29461 if test "$wxUSE_DFB" = 1; then
29464 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29465 if test -n "$ac_tool_prefix"; then
29466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29467 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29473 case $PKG_CONFIG in
29475 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29479 for as_dir in $PATH
29482 test -z "$as_dir" && as_dir=.
29483 for ac_exec_ext in '' $ac_executable_extensions; do
29484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29485 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29496 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29497 if test -n "$PKG_CONFIG"; then
29498 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29499 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29501 { echo "$as_me:$LINENO: result: no" >&5
29502 echo "${ECHO_T}no" >&6; }
29507 if test -z "$ac_cv_path_PKG_CONFIG"; then
29508 ac_pt_PKG_CONFIG=$PKG_CONFIG
29509 # Extract the first word of "pkg-config", so it can be a program name with args.
29510 set dummy pkg-config; ac_word=$2
29511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29513 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29516 case $ac_pt_PKG_CONFIG in
29518 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29522 for as_dir in $PATH
29525 test -z "$as_dir" && as_dir=.
29526 for ac_exec_ext in '' $ac_executable_extensions; do
29527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29528 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29539 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29540 if test -n "$ac_pt_PKG_CONFIG"; then
29541 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29542 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29544 { echo "$as_me:$LINENO: result: no" >&5
29545 echo "${ECHO_T}no" >&6; }
29548 if test "x$ac_pt_PKG_CONFIG" = x; then
29551 case $cross_compiling:$ac_tool_warned in
29553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29554 whose name does not start with the host triplet. If you think this
29555 configuration is useful to you, please write to autoconf@gnu.org." >&5
29556 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29557 whose name does not start with the host triplet. If you think this
29558 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29559 ac_tool_warned=yes ;;
29561 PKG_CONFIG=$ac_pt_PKG_CONFIG
29564 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29568 if test -n "$PKG_CONFIG"; then
29569 _pkg_min_version=0.9.0
29570 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29571 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29572 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29573 { echo "$as_me:$LINENO: result: yes" >&5
29574 echo "${ECHO_T}yes" >&6; }
29576 { echo "$as_me:$LINENO: result: no" >&5
29577 echo "${ECHO_T}no" >&6; }
29585 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29586 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29588 if test -n "$PKG_CONFIG"; then
29589 if test -n "$DIRECTFB_CFLAGS"; then
29590 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29592 if test -n "$PKG_CONFIG" && \
29593 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29594 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); }; then
29598 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29606 if test -n "$PKG_CONFIG"; then
29607 if test -n "$DIRECTFB_LIBS"; then
29608 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29610 if test -n "$PKG_CONFIG" && \
29611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29612 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; then
29616 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29627 if test $pkg_failed = yes; then
29629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29630 _pkg_short_errors_supported=yes
29632 _pkg_short_errors_supported=no
29634 if test $_pkg_short_errors_supported = yes; then
29635 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29637 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29639 # Put the nasty error message in config.log where it belongs
29640 echo "$DIRECTFB_PKG_ERRORS" >&5
29643 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29644 echo "$as_me: error: DirectFB not found." >&2;}
29645 { (exit 1); exit 1; }; }
29648 elif test $pkg_failed = untried; then
29650 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29651 echo "$as_me: error: DirectFB not found." >&2;}
29652 { (exit 1); exit 1; }; }
29656 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29657 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29658 { echo "$as_me:$LINENO: result: yes" >&5
29659 echo "${ECHO_T}yes" >&6; }
29661 wxUSE_UNIVERSAL="yes"
29662 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29663 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29670 if test "$wxUSE_MICROWIN" = 1; then
29671 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29672 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29673 if test "x$MICROWINDOWS" = x ; then
29674 { echo "$as_me:$LINENO: result: not found" >&5
29675 echo "${ECHO_T}not found" >&6; }
29676 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29677 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29678 { (exit 1); exit 1; }; }
29680 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29681 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29684 if test -f $MICROWINDOWS/lib/libmwin.a; then
29685 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29686 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29688 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29689 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29690 { (exit 1); exit 1; }; }
29693 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29694 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29696 wxUSE_UNIVERSAL="yes"
29698 AFMINSTALL=afminstall
29700 GUIDIST=MICROWIN_DIST
29702 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29705 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29706 { echo "$as_me:$LINENO: checking for X" >&5
29707 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29710 # Check whether --with-x was given.
29711 if test "${with_x+set}" = set; then
29715 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29716 if test "x$with_x" = xno; then
29717 # The user explicitly disabled X.
29720 case $x_includes,$x_libraries in #(
29721 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29722 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29723 { (exit 1); exit 1; }; };; #(
29724 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29725 echo $ECHO_N "(cached) $ECHO_C" >&6
29727 # One or both of the vars are not set, and there is no cached value.
29728 ac_x_includes=no ac_x_libraries=no
29729 rm -f -r conftest.dir
29730 if mkdir conftest.dir; then
29732 cat >Imakefile <<'_ACEOF'
29734 @echo incroot='${INCROOT}'
29736 @echo usrlibdir='${USRLIBDIR}'
29738 @echo libdir='${LIBDIR}'
29740 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29741 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29742 for ac_var in incroot usrlibdir libdir; do
29743 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29745 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29746 for ac_extension in a so sl; do
29747 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29748 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29749 ac_im_usrlibdir=$ac_im_libdir; break
29752 # Screen out bogus values from the imake configuration. They are
29753 # bogus both because they are the default anyway, and because
29754 # using them would break gcc on systems where it needs fixed includes.
29755 case $ac_im_incroot in
29756 /usr/include) ac_x_includes= ;;
29757 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29759 case $ac_im_usrlibdir in
29760 /usr/lib | /lib) ;;
29761 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29765 rm -f -r conftest.dir
29768 # Standard set of common directories for X headers.
29769 # Check X11 before X11Rn because it is often a symlink to the current release.
29781 /usr
/local
/X
11/include
29782 /usr
/local
/X
11R
6/include
29783 /usr
/local
/X
11R
5/include
29784 /usr
/local
/X
11R
4/include
29786 /usr
/local
/include
/X11
29787 /usr
/local
/include
/X11R6
29788 /usr
/local
/include
/X11R5
29789 /usr
/local
/include
/X11R4
29793 /usr
/XFree
86/include
/X11
29797 /usr
/unsupported
/include
29798 /usr
/athena
/include
29799 /usr
/local
/x
11r
5/include
29800 /usr
/lpp
/Xamples
/include
29802 /usr
/openwin
/include
29803 /usr
/openwin
/share
/include
'
29805 if test "$ac_x_includes" = no; then
29806 # Guess where to find include files, by looking for Xlib.h.
29807 # First, try using that file with no special directory specified.
29808 cat >conftest.$ac_ext <<_ACEOF
29811 cat confdefs.h >>conftest.$ac_ext
29812 cat >>conftest.$ac_ext <<_ACEOF
29813 /* end confdefs.h. */
29814 #include <X11/Xlib.h>
29816 if { (ac_try="$ac_cpp conftest.$ac_ext"
29817 case "(($ac_try" in
29818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29819 *) ac_try_echo=$ac_try;;
29821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29824 grep -v '^
*+' conftest.er1 >conftest.err
29826 cat conftest.err >&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); } >/dev/null && {
29829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29830 test ! -s conftest.err
29832 # We can compile using X headers with no special include directory.
29835 echo "$as_me: failed program was:" >&5
29836 sed 's
/^
/| /' conftest.$ac_ext >&5
29838 for ac_dir in $ac_x_header_dirs; do
29839 if test -r "$ac_dir/X11/Xlib.h"; then
29840 ac_x_includes=$ac_dir
29846 rm -f conftest.err conftest.$ac_ext
29847 fi # $ac_x_includes = no
29849 if test "$ac_x_libraries" = no; then
29850 # Check for the libraries.
29851 # See if we find them without any special options.
29852 # Don't add to
$LIBS permanently.
29855 cat >conftest.
$ac_ext <<_ACEOF
29858 cat confdefs.h
>>conftest.
$ac_ext
29859 cat >>conftest.
$ac_ext <<_ACEOF
29860 /* end confdefs.h. */
29861 #include <X11/Xlib.h>
29870 rm -f conftest.
$ac_objext conftest
$ac_exeext
29871 if { (ac_try
="$ac_link"
29872 case "(($ac_try" in
29873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29874 *) ac_try_echo=$ac_try;;
29876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29877 (eval "$ac_link") 2>conftest.er1
29879 grep -v '^ *+' conftest.er1 >conftest.err
29881 cat conftest.err >&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); } && {
29884 test -z "$ac_c_werror_flag" ||
29885 test ! -s conftest.err
29886 } && test -s conftest$ac_exeext &&
29887 $as_test_x conftest$ac_exeext; then
29889 # We can link X programs with no special library path.
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29896 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29898 # Don't even attempt the hair of trying to link an X program!
29899 for ac_extension in a so sl; do
29900 if test -r "$ac_dir/libX11.$ac_extension"; then
29901 ac_x_libraries=$ac_dir
29908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29909 conftest$ac_exeext conftest.$ac_ext
29910 fi # $ac_x_libraries = no
29912 case $ac_x_includes,$ac_x_libraries in #(
29913 no,* | *,no | *\'*)
29914 # Didn't find X, or a directory has "'" in its name.
29915 ac_cv_have_x="have_x=no";; #(
29917 # Record where we found X for the cache.
29918 ac_cv_have_x="have_x=yes\
29919 ac_x_includes='$ac_x_includes'\
29920 ac_x_libraries='$ac_x_libraries'"
29926 eval "$ac_cv_have_x"
29929 if test "$have_x" != yes; then
29930 { echo "$as_me:$LINENO: result: $have_x" >&5
29931 echo "${ECHO_T}$have_x" >&6; }
29934 # If each of the values was on the command line, it overrides each guess.
29935 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29936 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29937 # Update the cache value to reflect the command line values.
29938 ac_cv_have_x="have_x=yes\
29939 ac_x_includes='$x_includes'\
29940 ac_x_libraries='$x_libraries'"
29941 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29942 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29945 if test "$no_x" = yes; then
29946 # Not all programs may use this symbol, but it does not hurt to define it.
29948 cat >>confdefs.h <<\_ACEOF
29949 #define X_DISPLAY_MISSING 1
29952 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29954 if test -n "$x_includes"; then
29955 X_CFLAGS="$X_CFLAGS -I$x_includes"
29958 # It would also be nice to do this for all -L options, not just this one.
29959 if test -n "$x_libraries"; then
29960 X_LIBS="$X_LIBS -L$x_libraries"
29961 # For Solaris; some versions of Sun CC require a space after -R and
29962 # others require no space. Words are not sufficient . . . .
29963 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29964 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29965 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29966 ac_xsave_c_werror_flag=$ac_c_werror_flag
29967 ac_c_werror_flag=yes
29968 cat >conftest.$ac_ext <<_ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29983 rm -f conftest.$ac_objext conftest$ac_exeext
29984 if { (ac_try="$ac_link"
29985 case "(($ac_try" in
29986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29987 *) ac_try_echo
=$ac_try;;
29989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29990 (eval "$ac_link") 2>conftest.er1
29992 grep -v '^ *+' conftest.er1
>conftest.err
29994 cat conftest.err
>&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } && {
29997 test -z "$ac_c_werror_flag" ||
29998 test ! -s conftest.err
29999 } && test -s conftest
$ac_exeext &&
30000 $as_test_x conftest
$ac_exeext; then
30001 { echo "$as_me:$LINENO: result: no" >&5
30002 echo "${ECHO_T}no" >&6; }
30003 X_LIBS
="$X_LIBS -R$x_libraries"
30005 echo "$as_me: failed program was:" >&5
30006 sed 's/^/| /' conftest.
$ac_ext >&5
30008 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30009 cat >conftest.
$ac_ext <<_ACEOF
30012 cat confdefs.h
>>conftest.
$ac_ext
30013 cat >>conftest.
$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30024 rm -f conftest.
$ac_objext conftest
$ac_exeext
30025 if { (ac_try
="$ac_link"
30026 case "(($ac_try" in
30027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30028 *) ac_try_echo=$ac_try;;
30030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30031 (eval "$ac_link") 2>conftest.er1
30033 grep -v '^ *+' conftest.er1 >conftest.err
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } && {
30038 test -z "$ac_c_werror_flag" ||
30039 test ! -s conftest.err
30040 } && test -s conftest$ac_exeext &&
30041 $as_test_x conftest$ac_exeext; then
30042 { echo "$as_me:$LINENO: result: yes" >&5
30043 echo "${ECHO_T}yes" >&6; }
30044 X_LIBS="$X_LIBS -R $x_libraries"
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30049 { echo "$as_me:$LINENO: result: neither works" >&5
30050 echo "${ECHO_T}neither works" >&6; }
30053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30054 conftest$ac_exeext conftest.$ac_ext
30057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30058 conftest$ac_exeext conftest.$ac_ext
30059 ac_c_werror_flag=$ac_xsave_c_werror_flag
30060 LIBS=$ac_xsave_LIBS
30063 # Check for system-dependent libraries X programs must link with.
30064 # Do this before checking for the system-independent R6 libraries
30065 # (-lICE), since we may need -lsocket or whatever for X linking.
30067 if test "$ISC" = yes; then
30068 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30070 # Martyn Johnson says this is needed for Ultrix, if the X
30071 # libraries were built with DECnet support. And Karl Berry says
30072 # the Alpha needs dnet_stub (dnet does not exist).
30073 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30074 cat >conftest.$ac_ext <<_ACEOF
30077 cat confdefs.h >>conftest.$ac_ext
30078 cat >>conftest.$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30081 /* Override any GCC internal prototype to avoid an error.
30082 Use char because int might match the return type of a GCC
30083 builtin and then its argument prototype would still apply. */
30087 char XOpenDisplay ();
30091 return XOpenDisplay ();
30096 rm -f conftest.$ac_objext conftest$ac_exeext
30097 if { (ac_try="$ac_link"
30098 case "(($ac_try" in
30099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30100 *) ac_try_echo
=$ac_try;;
30102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30103 (eval "$ac_link") 2>conftest.er1
30105 grep -v '^ *+' conftest.er1
>conftest.err
30107 cat conftest.err
>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } && {
30110 test -z "$ac_c_werror_flag" ||
30111 test ! -s conftest.err
30112 } && test -s conftest
$ac_exeext &&
30113 $as_test_x conftest
$ac_exeext; then
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.
$ac_ext >&5
30119 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30120 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30121 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30122 echo $ECHO_N "(cached) $ECHO_C" >&6
30124 ac_check_lib_save_LIBS
=$LIBS
30125 LIBS
="-ldnet $LIBS"
30126 cat >conftest.
$ac_ext <<_ACEOF
30129 cat confdefs.h
>>conftest.
$ac_ext
30130 cat >>conftest.
$ac_ext <<_ACEOF
30131 /* end confdefs.h. */
30133 /* Override any GCC internal prototype to avoid an error.
30134 Use char because int might match the return type of a GCC
30135 builtin and then its argument prototype would still apply. */
30143 return dnet_ntoa ();
30148 rm -f conftest.
$ac_objext conftest
$ac_exeext
30149 if { (ac_try
="$ac_link"
30150 case "(($ac_try" in
30151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30152 *) ac_try_echo=$ac_try;;
30154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30155 (eval "$ac_link") 2>conftest.er1
30157 grep -v '^ *+' conftest.er1 >conftest.err
30159 cat conftest.err >&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); } && {
30162 test -z "$ac_c_werror_flag" ||
30163 test ! -s conftest.err
30164 } && test -s conftest$ac_exeext &&
30165 $as_test_x conftest$ac_exeext; then
30166 ac_cv_lib_dnet_dnet_ntoa=yes
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.$ac_ext >&5
30171 ac_cv_lib_dnet_dnet_ntoa=no
30174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30175 conftest$ac_exeext conftest.$ac_ext
30176 LIBS=$ac_check_lib_save_LIBS
30178 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30179 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30180 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30181 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30184 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30185 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30186 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30187 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30188 echo $ECHO_N "(cached) $ECHO_C" >&6
30190 ac_check_lib_save_LIBS=$LIBS
30191 LIBS="-ldnet_stub $LIBS"
30192 cat >conftest.$ac_ext <<_ACEOF
30195 cat confdefs.h >>conftest.$ac_ext
30196 cat >>conftest.$ac_ext <<_ACEOF
30197 /* end confdefs.h. */
30199 /* Override any GCC internal prototype to avoid an error.
30200 Use char because int might match the return type of a GCC
30201 builtin and then its argument prototype would still apply. */
30209 return dnet_ntoa ();
30214 rm -f conftest.$ac_objext conftest$ac_exeext
30215 if { (ac_try="$ac_link"
30216 case "(($ac_try" in
30217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30218 *) ac_try_echo
=$ac_try;;
30220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30221 (eval "$ac_link") 2>conftest.er1
30223 grep -v '^ *+' conftest.er1
>conftest.err
30225 cat conftest.err
>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } && {
30228 test -z "$ac_c_werror_flag" ||
30229 test ! -s conftest.err
30230 } && test -s conftest
$ac_exeext &&
30231 $as_test_x conftest
$ac_exeext; then
30232 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30234 echo "$as_me: failed program was:" >&5
30235 sed 's/^/| /' conftest.
$ac_ext >&5
30237 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30240 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30241 conftest
$ac_exeext conftest.
$ac_ext
30242 LIBS
=$ac_check_lib_save_LIBS
30244 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30245 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30246 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30247 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30254 conftest
$ac_exeext conftest.
$ac_ext
30255 LIBS
="$ac_xsave_LIBS"
30257 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30258 # to get the SysV transport functions.
30259 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30261 # The nsl library prevents programs from opening the X display
30262 # on Irix 5.2, according to T.E. Dickey.
30263 # The functions gethostbyname, getservbyname, and inet_addr are
30264 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30265 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30266 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30267 if test "${ac_cv_func_gethostbyname+set}" = set; then
30268 echo $ECHO_N "(cached) $ECHO_C" >&6
30270 cat >conftest.
$ac_ext <<_ACEOF
30273 cat confdefs.h
>>conftest.
$ac_ext
30274 cat >>conftest.
$ac_ext <<_ACEOF
30275 /* end confdefs.h. */
30276 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30278 #define gethostbyname innocuous_gethostbyname
30280 /* System header to define __stub macros and hopefully few prototypes,
30281 which can conflict with char gethostbyname (); below.
30282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30283 <limits.h> exists even on freestanding compilers. */
30286 # include <limits.h>
30288 # include <assert.h>
30291 #undef gethostbyname
30293 /* Override any GCC internal prototype to avoid an error.
30294 Use char because int might match the return type of a GCC
30295 builtin and then its argument prototype would still apply. */
30299 char gethostbyname ();
30300 /* The GNU C library defines this for functions which it implements
30301 to always fail with ENOSYS. Some functions are actually named
30302 something starting with __ and the normal name is an alias. */
30303 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30310 return gethostbyname ();
30315 rm -f conftest.
$ac_objext conftest
$ac_exeext
30316 if { (ac_try
="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30324 grep -v '^ *+' conftest.er1 >conftest.err
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest$ac_exeext &&
30332 $as_test_x conftest$ac_exeext; then
30333 ac_cv_func_gethostbyname=yes
30335 echo "$as_me: failed program was:" >&5
30336 sed 's/^/| /' conftest.$ac_ext >&5
30338 ac_cv_func_gethostbyname=no
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30344 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30345 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30347 if test $ac_cv_func_gethostbyname = no; then
30348 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30349 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30350 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30351 echo $ECHO_N "(cached) $ECHO_C" >&6
30353 ac_check_lib_save_LIBS=$LIBS
30355 cat >conftest.$ac_ext <<_ACEOF
30358 cat confdefs.h >>conftest.$ac_ext
30359 cat >>conftest.$ac_ext <<_ACEOF
30360 /* end confdefs.h. */
30362 /* Override any GCC internal prototype to avoid an error.
30363 Use char because int might match the return type of a GCC
30364 builtin and then its argument prototype would still apply. */
30368 char gethostbyname ();
30372 return gethostbyname ();
30377 rm -f conftest.$ac_objext conftest$ac_exeext
30378 if { (ac_try="$ac_link"
30379 case "(($ac_try" in
30380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30381 *) ac_try_echo
=$ac_try;;
30383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30384 (eval "$ac_link") 2>conftest.er1
30386 grep -v '^ *+' conftest.er1
>conftest.err
30388 cat conftest.err
>&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); } && {
30391 test -z "$ac_c_werror_flag" ||
30392 test ! -s conftest.err
30393 } && test -s conftest
$ac_exeext &&
30394 $as_test_x conftest
$ac_exeext; then
30395 ac_cv_lib_nsl_gethostbyname
=yes
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.
$ac_ext >&5
30400 ac_cv_lib_nsl_gethostbyname
=no
30403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30404 conftest
$ac_exeext conftest.
$ac_ext
30405 LIBS
=$ac_check_lib_save_LIBS
30407 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30408 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30409 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30410 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30413 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30414 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30415 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30416 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 ac_check_lib_save_LIBS
=$LIBS
30421 cat >conftest.
$ac_ext <<_ACEOF
30424 cat confdefs.h
>>conftest.
$ac_ext
30425 cat >>conftest.
$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30428 /* Override any GCC internal prototype to avoid an error.
30429 Use char because int might match the return type of a GCC
30430 builtin and then its argument prototype would still apply. */
30434 char gethostbyname ();
30438 return gethostbyname ();
30443 rm -f conftest.
$ac_objext conftest
$ac_exeext
30444 if { (ac_try
="$ac_link"
30445 case "(($ac_try" in
30446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30447 *) ac_try_echo=$ac_try;;
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_link") 2>conftest.er1
30452 grep -v '^ *+' conftest.er1 >conftest.err
30454 cat conftest.err >&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } && {
30457 test -z "$ac_c_werror_flag" ||
30458 test ! -s conftest.err
30459 } && test -s conftest$ac_exeext &&
30460 $as_test_x conftest$ac_exeext; then
30461 ac_cv_lib_bsd_gethostbyname=yes
30463 echo "$as_me: failed program was:" >&5
30464 sed 's/^/| /' conftest.$ac_ext >&5
30466 ac_cv_lib_bsd_gethostbyname=no
30469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30470 conftest$ac_exeext conftest.$ac_ext
30471 LIBS=$ac_check_lib_save_LIBS
30473 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30474 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30475 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30482 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30483 # socket/setsockopt and other routines are undefined under SCO ODT
30484 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30485 # on later versions), says Simon Leinen: it contains gethostby*
30486 # variants that don't use the name server (or something). -lsocket
30487 # must be given before -lnsl if both are needed. We assume that
30488 # if connect needs -lnsl, so does gethostbyname.
30489 { echo "$as_me:$LINENO: checking for connect" >&5
30490 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30491 if test "${ac_cv_func_connect+set}" = set; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 cat >conftest.$ac_ext <<_ACEOF
30497 cat confdefs.h >>conftest.$ac_ext
30498 cat >>conftest.$ac_ext <<_ACEOF
30499 /* end confdefs.h. */
30500 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30502 #define connect innocuous_connect
30504 /* System header to define __stub macros and hopefully few prototypes,
30505 which can conflict with char connect (); below.
30506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30507 <limits.h> exists even on freestanding compilers. */
30510 # include <limits.h>
30512 # include <assert.h>
30517 /* Override any GCC internal prototype to avoid an error.
30518 Use char because int might match the return type of a GCC
30519 builtin and then its argument prototype would still apply. */
30524 /* The GNU C library defines this for functions which it implements
30525 to always fail with ENOSYS. Some functions are actually named
30526 something starting with __ and the normal name is an alias. */
30527 #if defined __stub_connect || defined __stub___connect
30539 rm -f conftest.$ac_objext conftest$ac_exeext
30540 if { (ac_try="$ac_link"
30541 case "(($ac_try" in
30542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30543 *) ac_try_echo
=$ac_try;;
30545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30546 (eval "$ac_link") 2>conftest.er1
30548 grep -v '^ *+' conftest.er1
>conftest.err
30550 cat conftest.err
>&5
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); } && {
30553 test -z "$ac_c_werror_flag" ||
30554 test ! -s conftest.err
30555 } && test -s conftest
$ac_exeext &&
30556 $as_test_x conftest
$ac_exeext; then
30557 ac_cv_func_connect
=yes
30559 echo "$as_me: failed program was:" >&5
30560 sed 's/^/| /' conftest.
$ac_ext >&5
30562 ac_cv_func_connect
=no
30565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30566 conftest
$ac_exeext conftest.
$ac_ext
30568 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30569 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30571 if test $ac_cv_func_connect = no
; then
30572 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30573 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30574 if test "${ac_cv_lib_socket_connect+set}" = set; then
30575 echo $ECHO_N "(cached) $ECHO_C" >&6
30577 ac_check_lib_save_LIBS
=$LIBS
30578 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30579 cat >conftest.
$ac_ext <<_ACEOF
30582 cat confdefs.h
>>conftest.
$ac_ext
30583 cat >>conftest.
$ac_ext <<_ACEOF
30584 /* end confdefs.h. */
30586 /* Override any GCC internal prototype to avoid an error.
30587 Use char because int might match the return type of a GCC
30588 builtin and then its argument prototype would still apply. */
30601 rm -f conftest.
$ac_objext conftest
$ac_exeext
30602 if { (ac_try
="$ac_link"
30603 case "(($ac_try" in
30604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30605 *) ac_try_echo=$ac_try;;
30607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30608 (eval "$ac_link") 2>conftest.er1
30610 grep -v '^ *+' conftest.er1 >conftest.err
30612 cat conftest.err >&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } && {
30615 test -z "$ac_c_werror_flag" ||
30616 test ! -s conftest.err
30617 } && test -s conftest$ac_exeext &&
30618 $as_test_x conftest$ac_exeext; then
30619 ac_cv_lib_socket_connect=yes
30621 echo "$as_me: failed program was:" >&5
30622 sed 's/^/| /' conftest.$ac_ext >&5
30624 ac_cv_lib_socket_connect=no
30627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30628 conftest$ac_exeext conftest.$ac_ext
30629 LIBS=$ac_check_lib_save_LIBS
30631 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30632 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30633 if test $ac_cv_lib_socket_connect = yes; then
30634 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30639 # Guillermo Gomez says -lposix is necessary on A/UX.
30640 { echo "$as_me:$LINENO: checking for remove" >&5
30641 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30642 if test "${ac_cv_func_remove+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30645 cat >conftest.$ac_ext <<_ACEOF
30648 cat confdefs.h >>conftest.$ac_ext
30649 cat >>conftest.$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30651 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30653 #define remove innocuous_remove
30655 /* System header to define __stub macros and hopefully few prototypes,
30656 which can conflict with char remove (); below.
30657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30658 <limits.h> exists even on freestanding compilers. */
30661 # include <limits.h>
30663 # include <assert.h>
30668 /* Override any GCC internal prototype to avoid an error.
30669 Use char because int might match the return type of a GCC
30670 builtin and then its argument prototype would still apply. */
30675 /* The GNU C library defines this for functions which it implements
30676 to always fail with ENOSYS. Some functions are actually named
30677 something starting with __ and the normal name is an alias. */
30678 #if defined __stub_remove || defined __stub___remove
30690 rm -f conftest.$ac_objext conftest$ac_exeext
30691 if { (ac_try="$ac_link"
30692 case "(($ac_try" in
30693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30694 *) ac_try_echo
=$ac_try;;
30696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30697 (eval "$ac_link") 2>conftest.er1
30699 grep -v '^ *+' conftest.er1
>conftest.err
30701 cat conftest.err
>&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } && {
30704 test -z "$ac_c_werror_flag" ||
30705 test ! -s conftest.err
30706 } && test -s conftest
$ac_exeext &&
30707 $as_test_x conftest
$ac_exeext; then
30708 ac_cv_func_remove
=yes
30710 echo "$as_me: failed program was:" >&5
30711 sed 's/^/| /' conftest.
$ac_ext >&5
30713 ac_cv_func_remove
=no
30716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30717 conftest
$ac_exeext conftest.
$ac_ext
30719 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30720 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30722 if test $ac_cv_func_remove = no
; then
30723 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30724 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30725 if test "${ac_cv_lib_posix_remove+set}" = set; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 ac_check_lib_save_LIBS
=$LIBS
30729 LIBS
="-lposix $LIBS"
30730 cat >conftest.
$ac_ext <<_ACEOF
30733 cat confdefs.h
>>conftest.
$ac_ext
30734 cat >>conftest.
$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30737 /* Override any GCC internal prototype to avoid an error.
30738 Use char because int might match the return type of a GCC
30739 builtin and then its argument prototype would still apply. */
30752 rm -f conftest.
$ac_objext conftest
$ac_exeext
30753 if { (ac_try
="$ac_link"
30754 case "(($ac_try" in
30755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30756 *) ac_try_echo=$ac_try;;
30758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30759 (eval "$ac_link") 2>conftest.er1
30761 grep -v '^ *+' conftest.er1 >conftest.err
30763 cat conftest.err >&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } && {
30766 test -z "$ac_c_werror_flag" ||
30767 test ! -s conftest.err
30768 } && test -s conftest$ac_exeext &&
30769 $as_test_x conftest$ac_exeext; then
30770 ac_cv_lib_posix_remove=yes
30772 echo "$as_me: failed program was:" >&5
30773 sed 's/^/| /' conftest.$ac_ext >&5
30775 ac_cv_lib_posix_remove=no
30778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30779 conftest$ac_exeext conftest.$ac_ext
30780 LIBS=$ac_check_lib_save_LIBS
30782 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30783 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30784 if test $ac_cv_lib_posix_remove = yes; then
30785 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30790 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30791 { echo "$as_me:$LINENO: checking for shmat" >&5
30792 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30793 if test "${ac_cv_func_shmat+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 cat >conftest.$ac_ext <<_ACEOF
30799 cat confdefs.h >>conftest.$ac_ext
30800 cat >>conftest.$ac_ext <<_ACEOF
30801 /* end confdefs.h. */
30802 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30804 #define shmat innocuous_shmat
30806 /* System header to define __stub macros and hopefully few prototypes,
30807 which can conflict with char shmat (); below.
30808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30809 <limits.h> exists even on freestanding compilers. */
30812 # include <limits.h>
30814 # include <assert.h>
30819 /* Override any GCC internal prototype to avoid an error.
30820 Use char because int might match the return type of a GCC
30821 builtin and then its argument prototype would still apply. */
30826 /* The GNU C library defines this for functions which it implements
30827 to always fail with ENOSYS. Some functions are actually named
30828 something starting with __ and the normal name is an alias. */
30829 #if defined __stub_shmat || defined __stub___shmat
30841 rm -f conftest.$ac_objext conftest$ac_exeext
30842 if { (ac_try="$ac_link"
30843 case "(($ac_try" in
30844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30845 *) ac_try_echo
=$ac_try;;
30847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30848 (eval "$ac_link") 2>conftest.er1
30850 grep -v '^ *+' conftest.er1
>conftest.err
30852 cat conftest.err
>&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } && {
30855 test -z "$ac_c_werror_flag" ||
30856 test ! -s conftest.err
30857 } && test -s conftest
$ac_exeext &&
30858 $as_test_x conftest
$ac_exeext; then
30859 ac_cv_func_shmat
=yes
30861 echo "$as_me: failed program was:" >&5
30862 sed 's/^/| /' conftest.
$ac_ext >&5
30864 ac_cv_func_shmat
=no
30867 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30868 conftest
$ac_exeext conftest.
$ac_ext
30870 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30871 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30873 if test $ac_cv_func_shmat = no
; then
30874 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30875 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30876 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30877 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 ac_check_lib_save_LIBS
=$LIBS
30881 cat >conftest.
$ac_ext <<_ACEOF
30884 cat confdefs.h
>>conftest.
$ac_ext
30885 cat >>conftest.
$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30888 /* Override any GCC internal prototype to avoid an error.
30889 Use char because int might match the return type of a GCC
30890 builtin and then its argument prototype would still apply. */
30903 rm -f conftest.
$ac_objext conftest
$ac_exeext
30904 if { (ac_try
="$ac_link"
30905 case "(($ac_try" in
30906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30907 *) ac_try_echo=$ac_try;;
30909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30910 (eval "$ac_link") 2>conftest.er1
30912 grep -v '^ *+' conftest.er1 >conftest.err
30914 cat conftest.err >&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); } && {
30917 test -z "$ac_c_werror_flag" ||
30918 test ! -s conftest.err
30919 } && test -s conftest$ac_exeext &&
30920 $as_test_x conftest$ac_exeext; then
30921 ac_cv_lib_ipc_shmat=yes
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.$ac_ext >&5
30926 ac_cv_lib_ipc_shmat=no
30929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30930 conftest$ac_exeext conftest.$ac_ext
30931 LIBS=$ac_check_lib_save_LIBS
30933 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30934 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30935 if test $ac_cv_lib_ipc_shmat = yes; then
30936 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30942 # Check for libraries that X11R6 Xt/Xaw programs need.
30943 ac_save_LDFLAGS=$LDFLAGS
30944 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30945 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30946 # check for ICE first), but we must link in the order -lSM -lICE or
30947 # we get undefined symbols. So assume we have SM if we have ICE.
30948 # These have to be linked with before -lX11, unlike the other
30949 # libraries we check for below, so use a different variable.
30950 # John Interrante, Karl Berry
30951 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30952 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30953 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30956 ac_check_lib_save_LIBS=$LIBS
30957 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30958 cat >conftest.$ac_ext <<_ACEOF
30961 cat confdefs.h >>conftest.$ac_ext
30962 cat >>conftest.$ac_ext <<_ACEOF
30963 /* end confdefs.h. */
30965 /* Override any GCC internal prototype to avoid an error.
30966 Use char because int might match the return type of a GCC
30967 builtin and then its argument prototype would still apply. */
30971 char IceConnectionNumber ();
30975 return IceConnectionNumber ();
30980 rm -f conftest.$ac_objext conftest$ac_exeext
30981 if { (ac_try="$ac_link"
30982 case "(($ac_try" in
30983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30984 *) ac_try_echo
=$ac_try;;
30986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30987 (eval "$ac_link") 2>conftest.er1
30989 grep -v '^ *+' conftest.er1
>conftest.err
30991 cat conftest.err
>&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); } && {
30994 test -z "$ac_c_werror_flag" ||
30995 test ! -s conftest.err
30996 } && test -s conftest
$ac_exeext &&
30997 $as_test_x conftest
$ac_exeext; then
30998 ac_cv_lib_ICE_IceConnectionNumber
=yes
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.
$ac_ext >&5
31003 ac_cv_lib_ICE_IceConnectionNumber
=no
31006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31007 conftest
$ac_exeext conftest.
$ac_ext
31008 LIBS
=$ac_check_lib_save_LIBS
31010 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31011 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31012 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31013 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31016 LDFLAGS
=$ac_save_LDFLAGS
31021 if test "$no_x" = "yes"; then
31022 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31023 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31024 { (exit 1); exit 1; }; }
31027 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31028 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31029 AFMINSTALL
=afminstall
31030 COMPILED_X_PROGRAM
=0
31034 if test "$wxUSE_X11" = 1; then
31035 if test "$wxUSE_NANOX" = "yes"; then
31036 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31037 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31038 if test "x$MICROWIN" = x
; then
31039 { echo "$as_me:$LINENO: result: not found" >&5
31040 echo "${ECHO_T}not found" >&6; }
31041 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31042 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31043 { (exit 1); exit 1; }; }
31045 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31046 echo "${ECHO_T}$MICROWIN" >&6; }
31047 cat >>confdefs.h
<<\_ACEOF
31048 #define wxUSE_NANOX 1
31054 if test "$wxUSE_UNICODE" = "yes"; then
31057 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31058 if test -n "$ac_tool_prefix"; then
31059 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31060 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31063 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 case $PKG_CONFIG in
31068 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31072 for as_dir
in $PATH
31075 test -z "$as_dir" && as_dir
=.
31076 for ac_exec_ext
in '' $ac_executable_extensions; do
31077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31078 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31089 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31090 if test -n "$PKG_CONFIG"; then
31091 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31092 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31094 { echo "$as_me:$LINENO: result: no" >&5
31095 echo "${ECHO_T}no" >&6; }
31100 if test -z "$ac_cv_path_PKG_CONFIG"; then
31101 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31102 # Extract the first word of "pkg-config", so it can be a program name with args.
31103 set dummy pkg
-config; ac_word
=$2
31104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31106 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31107 echo $ECHO_N "(cached) $ECHO_C" >&6
31109 case $ac_pt_PKG_CONFIG in
31111 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31115 for as_dir
in $PATH
31118 test -z "$as_dir" && as_dir
=.
31119 for ac_exec_ext
in '' $ac_executable_extensions; do
31120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31121 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31132 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31133 if test -n "$ac_pt_PKG_CONFIG"; then
31134 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31135 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31137 { echo "$as_me:$LINENO: result: no" >&5
31138 echo "${ECHO_T}no" >&6; }
31141 if test "x$ac_pt_PKG_CONFIG" = x
; then
31144 case $cross_compiling:$ac_tool_warned in
31146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31147 whose name does not start with the host triplet. If you think this
31148 configuration is useful to you, please write to autoconf@gnu.org." >&5
31149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31150 whose name does not start with the host triplet. If you think this
31151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31152 ac_tool_warned
=yes ;;
31154 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31157 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31161 if test -n "$PKG_CONFIG"; then
31162 _pkg_min_version
=0.9.0
31163 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31164 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31165 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31166 { echo "$as_me:$LINENO: result: yes" >&5
31167 echo "${ECHO_T}yes" >&6; }
31169 { echo "$as_me:$LINENO: result: no" >&5
31170 echo "${ECHO_T}no" >&6; }
31178 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31179 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31181 if test -n "$PKG_CONFIG"; then
31182 if test -n "$PANGOX_CFLAGS"; then
31183 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31185 if test -n "$PKG_CONFIG" && \
31186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31187 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; then
31191 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31199 if test -n "$PKG_CONFIG"; then
31200 if test -n "$PANGOX_LIBS"; then
31201 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31203 if test -n "$PKG_CONFIG" && \
31204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31205 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); }; then
31209 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31220 if test $pkg_failed = yes; then
31222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31223 _pkg_short_errors_supported
=yes
31225 _pkg_short_errors_supported
=no
31227 if test $_pkg_short_errors_supported = yes; then
31228 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31230 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31232 # Put the nasty error message in config.log where it belongs
31233 echo "$PANGOX_PKG_ERRORS" >&5
31236 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31237 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31238 { (exit 1); exit 1; }; }
31241 elif test $pkg_failed = untried
; then
31243 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31244 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31245 { (exit 1); exit 1; }; }
31249 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31250 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31251 { echo "$as_me:$LINENO: result: yes" >&5
31252 echo "${ECHO_T}yes" >&6; }
31254 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31255 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31256 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31261 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31262 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31264 if test -n "$PKG_CONFIG"; then
31265 if test -n "$PANGOFT2_CFLAGS"; then
31266 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31268 if test -n "$PKG_CONFIG" && \
31269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31270 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; then
31274 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31282 if test -n "$PKG_CONFIG"; then
31283 if test -n "$PANGOFT2_LIBS"; then
31284 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31286 if test -n "$PKG_CONFIG" && \
31287 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31288 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); }; then
31292 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31303 if test $pkg_failed = yes; then
31305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31306 _pkg_short_errors_supported
=yes
31308 _pkg_short_errors_supported
=no
31310 if test $_pkg_short_errors_supported = yes; then
31311 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31313 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31315 # Put the nasty error message in config.log where it belongs
31316 echo "$PANGOFT2_PKG_ERRORS" >&5
31319 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31320 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31321 wxUSE_PRINTING_ARCHITECTURE
="no"
31324 elif test $pkg_failed = untried
; then
31326 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31327 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31328 wxUSE_PRINTING_ARCHITECTURE
="no"
31332 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31333 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31334 { echo "$as_me:$LINENO: result: yes" >&5
31335 echo "${ECHO_T}yes" >&6; }
31337 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31338 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31339 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31344 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31345 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31347 if test -n "$PKG_CONFIG"; then
31348 if test -n "$PANGOXFT_CFLAGS"; then
31349 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31351 if test -n "$PKG_CONFIG" && \
31352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31353 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); }; then
31357 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31365 if test -n "$PKG_CONFIG"; then
31366 if test -n "$PANGOXFT_LIBS"; then
31367 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31369 if test -n "$PKG_CONFIG" && \
31370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31371 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; then
31375 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31386 if test $pkg_failed = yes; then
31388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31389 _pkg_short_errors_supported
=yes
31391 _pkg_short_errors_supported
=no
31393 if test $_pkg_short_errors_supported = yes; then
31394 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31396 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31398 # Put the nasty error message in config.log where it belongs
31399 echo "$PANGOXFT_PKG_ERRORS" >&5
31402 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31403 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31406 elif test $pkg_failed = untried
; then
31408 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31409 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31413 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31414 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31415 { echo "$as_me:$LINENO: result: yes" >&5
31416 echo "${ECHO_T}yes" >&6; }
31418 cat >>confdefs.h
<<\_ACEOF
31419 #define HAVE_PANGO_XFT 1
31422 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31423 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31424 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31428 LIBS
="$LIBS $PANGOX_LIBS"
31430 for ac_func
in pango_font_family_is_monospace
31432 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31435 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31436 echo $ECHO_N "(cached) $ECHO_C" >&6
31438 cat >conftest.
$ac_ext <<_ACEOF
31441 cat confdefs.h
>>conftest.
$ac_ext
31442 cat >>conftest.
$ac_ext <<_ACEOF
31443 /* end confdefs.h. */
31444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31446 #define $ac_func innocuous_$ac_func
31448 /* System header to define __stub macros and hopefully few prototypes,
31449 which can conflict with char $ac_func (); below.
31450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31451 <limits.h> exists even on freestanding compilers. */
31454 # include <limits.h>
31456 # include <assert.h>
31461 /* Override any GCC internal prototype to avoid an error.
31462 Use char because int might match the return type of a GCC
31463 builtin and then its argument prototype would still apply. */
31468 /* The GNU C library defines this for functions which it implements
31469 to always fail with ENOSYS. Some functions are actually named
31470 something starting with __ and the normal name is an alias. */
31471 #if defined __stub_$ac_func || defined __stub___$ac_func
31478 return $ac_func ();
31483 rm -f conftest.
$ac_objext conftest
$ac_exeext
31484 if { (ac_try
="$ac_link"
31485 case "(($ac_try" in
31486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31487 *) ac_try_echo=$ac_try;;
31489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31490 (eval "$ac_link") 2>conftest.er1
31492 grep -v '^ *+' conftest.er1 >conftest.err
31494 cat conftest.err >&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); } && {
31497 test -z "$ac_c_werror_flag" ||
31498 test ! -s conftest.err
31499 } && test -s conftest$ac_exeext &&
31500 $as_test_x conftest$ac_exeext; then
31501 eval "$as_ac_var=yes"
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31506 eval "$as_ac_var=no"
31509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31510 conftest$ac_exeext conftest.$ac_ext
31512 ac_res=`eval echo '${'$as_ac_var'}'`
31513 { echo "$as_me:$LINENO: result: $ac_res" >&5
31514 echo "${ECHO_T}$ac_res" >&6; }
31515 if test `eval echo '${'$as_ac_var'}'` = yes; then
31516 cat >>confdefs.h <<_ACEOF
31517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31526 wxUSE_UNIVERSAL="yes"
31528 if test "$wxUSE_NANOX" = "yes"; then
31529 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31530 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"
31531 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31533 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31540 if test "$wxUSE_MOTIF" = 1; then
31541 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31542 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31545 for ac_dir in $SEARCH_INCLUDE /usr/include;
31547 if test -f "$ac_dir/Xm/Xm.h"; then
31548 ac_find_includes=$ac_dir
31553 if test "$ac_find_includes" != "" ; then
31554 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31555 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31557 if test "x$ac_find_includes" = "x/usr/include"; then
31558 ac_path_to_include=""
31560 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31562 if test $result = 0; then
31563 ac_path_to_include=""
31565 ac_path_to_include=" -I$ac_find_includes"
31569 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31571 save_CFLAGS=$CFLAGS
31572 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31574 cat >conftest.$ac_ext <<_ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31588 version = xmUseVersion;
31594 rm -f conftest.$ac_objext
31595 if { (ac_try="$ac_compile"
31596 case "(($ac_try" in
31597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31598 *) ac_try_echo
=$ac_try;;
31600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31601 (eval "$ac_compile") 2>conftest.er1
31603 grep -v '^ *+' conftest.er1
>conftest.err
31605 cat conftest.err
>&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } && {
31608 test -z "$ac_c_werror_flag" ||
31609 test ! -s conftest.err
31610 } && test -s conftest.
$ac_objext; then
31612 { echo "$as_me:$LINENO: result: found in default search path" >&5
31613 echo "${ECHO_T}found in default search path" >&6; }
31614 COMPILED_X_PROGRAM
=1
31617 echo "$as_me: failed program was:" >&5
31618 sed 's/^/| /' conftest.
$ac_ext >&5
31621 { echo "$as_me:$LINENO: result: no" >&5
31622 echo "${ECHO_T}no" >&6; }
31623 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31624 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31625 { (exit 1); exit 1; }; }
31630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31632 CFLAGS
=$save_CFLAGS
31636 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31637 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31640 for ac_dir
in $SEARCH_LIB;
31642 for ac_extension
in a so sl dylib dll.a
; do
31643 if test -f "$ac_dir/libXm.$ac_extension"; then
31644 ac_find_libraries
=$ac_dir
31651 if test "x$ac_find_libraries" != "x" ; then
31652 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31653 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31656 if test "$ac_find_libraries" = "default location"; then
31659 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31661 if test $result = 0; then
31664 ac_path_to_link
=" -L$ac_find_libraries"
31668 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31670 save_CFLAGS
=$CFLAGS
31671 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31673 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31675 cat >conftest.
$ac_ext <<_ACEOF
31678 cat confdefs.h
>>conftest.
$ac_ext
31679 cat >>conftest.
$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31689 version = xmUseVersion;
31695 rm -f conftest.
$ac_objext conftest
$ac_exeext
31696 if { (ac_try
="$ac_link"
31697 case "(($ac_try" in
31698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_link") 2>conftest.er1
31704 grep -v '^ *+' conftest.er1 >conftest.err
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } && {
31709 test -z "$ac_c_werror_flag" ||
31710 test ! -s conftest.err
31711 } && test -s conftest$ac_exeext &&
31712 $as_test_x conftest$ac_exeext; then
31714 { echo "$as_me:$LINENO: result: found in default search path" >&5
31715 echo "${ECHO_T}found in default search path" >&6; }
31716 COMPILED_X_PROGRAM=1
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.$ac_ext >&5
31723 { echo "$as_me:$LINENO: result: no" >&5
31724 echo "${ECHO_T}no" >&6; }
31725 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31726 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31727 { (exit 1); exit 1; }; }
31732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31733 conftest$ac_exeext conftest.$ac_ext
31735 CFLAGS=$save_CFLAGS
31739 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31740 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31744 for libp in "" " -lXp"; do
31745 if test "$libs_found" = 0; then
31746 for libsm_ice in "" " -lSM -lICE"; do
31747 if test "$libs_found" = 0; then
31749 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31750 save_CFLAGS=$CFLAGS
31751 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31753 cat >conftest.$ac_ext <<_ACEOF
31756 cat confdefs.h >>conftest.$ac_ext
31757 cat >>conftest.$ac_ext <<_ACEOF
31758 /* end confdefs.h. */
31761 #include <Xm/List.h>
31767 XmString string = NULL;
31770 XmListAddItem(w, string, position);
31776 rm -f conftest.$ac_objext conftest$ac_exeext
31777 if { (ac_try="$ac_link"
31778 case "(($ac_try" in
31779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31780 *) ac_try_echo
=$ac_try;;
31782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31783 (eval "$ac_link") 2>conftest.er1
31785 grep -v '^ *+' conftest.er1
>conftest.err
31787 cat conftest.err
>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); } && {
31790 test -z "$ac_c_werror_flag" ||
31791 test ! -s conftest.err
31792 } && test -s conftest
$ac_exeext &&
31793 $as_test_x conftest
$ac_exeext; then
31796 libsm_ice_link
="$libsm_ice"
31797 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31798 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.
$ac_ext >&5
31809 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31810 conftest
$ac_exeext conftest.
$ac_ext
31813 CFLAGS
=$save_CFLAGS
31819 if test "$libs_found" = 0; then
31820 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31821 echo "${ECHO_T}can't find the right libraries" >&6; }
31822 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31823 echo "$as_me: error: can't link a simple motif program" >&2;}
31824 { (exit 1); exit 1; }; }
31827 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31828 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31829 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31830 echo $ECHO_N "(cached) $ECHO_C" >&6
31832 ac_check_lib_save_LIBS
=$LIBS
31834 cat >conftest.
$ac_ext <<_ACEOF
31837 cat confdefs.h
>>conftest.
$ac_ext
31838 cat >>conftest.
$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31841 /* Override any GCC internal prototype to avoid an error.
31842 Use char because int might match the return type of a GCC
31843 builtin and then its argument prototype would still apply. */
31847 char SgCreateList ();
31851 return SgCreateList ();
31856 rm -f conftest.
$ac_objext conftest
$ac_exeext
31857 if { (ac_try
="$ac_link"
31858 case "(($ac_try" in
31859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31860 *) ac_try_echo=$ac_try;;
31862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31863 (eval "$ac_link") 2>conftest.er1
31865 grep -v '^ *+' conftest.er1 >conftest.err
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } && {
31870 test -z "$ac_c_werror_flag" ||
31871 test ! -s conftest.err
31872 } && test -s conftest$ac_exeext &&
31873 $as_test_x conftest$ac_exeext; then
31874 ac_cv_lib_Sgm_SgCreateList=yes
31876 echo "$as_me: failed program was:" >&5
31877 sed 's/^/| /' conftest.$ac_ext >&5
31879 ac_cv_lib_Sgm_SgCreateList=no
31882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31883 conftest$ac_exeext conftest.$ac_ext
31884 LIBS=$ac_check_lib_save_LIBS
31886 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31887 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31888 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31889 libsgm_link=" -lSgm"
31893 save_CFLAGS=$CFLAGS
31894 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31896 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31897 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31898 if test "${wx_cv_lib_motif2+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31901 cat >conftest.$ac_ext <<_ACEOF
31904 cat confdefs.h >>conftest.$ac_ext
31905 cat >>conftest.$ac_ext <<_ACEOF
31906 /* end confdefs.h. */
31914 #if XmVersion < 2000
31922 rm -f conftest.$ac_objext
31923 if { (ac_try="$ac_compile"
31924 case "(($ac_try" in
31925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31926 *) ac_try_echo
=$ac_try;;
31928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31929 (eval "$ac_compile") 2>conftest.er1
31931 grep -v '^ *+' conftest.er1
>conftest.err
31933 cat conftest.err
>&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } && {
31936 test -z "$ac_c_werror_flag" ||
31937 test ! -s conftest.err
31938 } && test -s conftest.
$ac_objext; then
31939 wx_cv_lib_motif2
="yes"
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.
$ac_ext >&5
31944 wx_cv_lib_motif2
="no"
31947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31949 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31950 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31951 if test "$wx_cv_lib_motif2" = "yes"; then
31952 cat >>confdefs.h
<<\_ACEOF
31953 #define __WXMOTIF20__ 1
31957 cat >>confdefs.h
<<\_ACEOF
31958 #define __WXMOTIF20__ 0
31963 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31964 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31965 if test "${wx_cv_lib_lesstif+set}" = set; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31968 cat >conftest.
$ac_ext <<_ACEOF
31971 cat confdefs.h
>>conftest.
$ac_ext
31972 cat >>conftest.
$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31981 #if !defined(LesstifVersion) || LesstifVersion <= 0
31989 rm -f conftest.
$ac_objext
31990 if { (ac_try
="$ac_compile"
31991 case "(($ac_try" in
31992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31993 *) ac_try_echo=$ac_try;;
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_compile") 2>conftest.er1
31998 grep -v '^ *+' conftest.er1 >conftest.err
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } && {
32003 test -z "$ac_c_werror_flag" ||
32004 test ! -s conftest.err
32005 } && test -s conftest.$ac_objext; then
32006 wx_cv_lib_lesstif="yes"
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.$ac_ext >&5
32011 wx_cv_lib_lesstif="no"
32014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32017 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32018 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32019 if test "$wx_cv_lib_lesstif" = "yes"; then
32020 cat >>confdefs.h <<\_ACEOF
32021 #define __WXLESSTIF__ 1
32025 cat >>confdefs.h <<\_ACEOF
32026 #define __WXLESSTIF__ 0
32031 CFLAGS=$save_CFLAGS
32033 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32038 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32039 if test "$wxUSE_LIBXPM" = "sys"; then
32040 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32041 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32044 for ac_dir in $SEARCH_LIB;
32046 for ac_extension in a so sl dylib dll.a; do
32047 if test -f "$ac_dir/libXpm.$ac_extension"; then
32048 ac_find_libraries=$ac_dir
32054 if test "$ac_find_libraries" != "" ; then
32056 if test "$ac_find_libraries" = "default location"; then
32059 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32061 if test $result = 0; then
32064 ac_path_to_link=" -L$ac_find_libraries"
32068 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32069 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32070 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32072 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32073 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32074 if test "${wx_cv_x11_xpm_h+set}" = set; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32078 save_CFLAGS=$CFLAGS
32079 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32081 cat >conftest.$ac_ext <<_ACEOF
32084 cat confdefs.h >>conftest.$ac_ext
32085 cat >>conftest.$ac_ext <<_ACEOF
32086 /* end confdefs.h. */
32088 #include <X11/xpm.h>
32095 version = XpmLibraryVersion();
32101 rm -f conftest.$ac_objext
32102 if { (ac_try="$ac_compile"
32103 case "(($ac_try" in
32104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32105 *) ac_try_echo
=$ac_try;;
32107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32108 (eval "$ac_compile") 2>conftest.er1
32110 grep -v '^ *+' conftest.er1
>conftest.err
32112 cat conftest.err
>&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); } && {
32115 test -z "$ac_c_werror_flag" ||
32116 test ! -s conftest.err
32117 } && test -s conftest.
$ac_objext; then
32118 wx_cv_x11_xpm_h
=yes
32120 echo "$as_me: failed program was:" >&5
32121 sed 's/^/| /' conftest.
$ac_ext >&5
32127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32129 CFLAGS
=$save_CFLAGS
32133 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32134 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32136 if test $wx_cv_x11_xpm_h = "yes"; then
32137 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32138 cat >>confdefs.h
<<\_ACEOF
32139 #define wxHAVE_LIB_XPM 1
32143 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32144 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32150 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32151 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32152 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32155 ac_check_lib_save_LIBS
=$LIBS
32156 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32157 cat >conftest.
$ac_ext <<_ACEOF
32160 cat confdefs.h
>>conftest.
$ac_ext
32161 cat >>conftest.
$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32164 /* Override any GCC internal prototype to avoid an error.
32165 Use char because int might match the return type of a GCC
32166 builtin and then its argument prototype would still apply. */
32170 char XShapeQueryExtension ();
32174 return XShapeQueryExtension ();
32179 rm -f conftest.
$ac_objext conftest
$ac_exeext
32180 if { (ac_try
="$ac_link"
32181 case "(($ac_try" in
32182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32183 *) ac_try_echo=$ac_try;;
32185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32186 (eval "$ac_link") 2>conftest.er1
32188 grep -v '^ *+' conftest.er1 >conftest.err
32190 cat conftest.err >&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); } && {
32193 test -z "$ac_c_werror_flag" ||
32194 test ! -s conftest.err
32195 } && test -s conftest$ac_exeext &&
32196 $as_test_x conftest$ac_exeext; then
32197 ac_cv_lib_Xext_XShapeQueryExtension=yes
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32202 ac_cv_lib_Xext_XShapeQueryExtension=no
32205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32206 conftest$ac_exeext conftest.$ac_ext
32207 LIBS=$ac_check_lib_save_LIBS
32209 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32210 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32211 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32213 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32219 if test "$wxHAVE_XEXT_LIB" = 1; then
32220 save_CFLAGS="$CFLAGS"
32221 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32223 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32224 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32225 cat >conftest.$ac_ext <<_ACEOF
32228 cat confdefs.h >>conftest.$ac_ext
32229 cat >>conftest.$ac_ext <<_ACEOF
32230 /* end confdefs.h. */
32232 #include <X11/Xlib.h>
32233 #include <X11/extensions/shape.h>
32239 int dummy1, dummy2;
32240 XShapeQueryExtension((Display*)NULL,
32241 (int*)NULL, (int*)NULL);
32247 rm -f conftest.$ac_objext
32248 if { (ac_try="$ac_compile"
32249 case "(($ac_try" in
32250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32251 *) ac_try_echo
=$ac_try;;
32253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32254 (eval "$ac_compile") 2>conftest.er1
32256 grep -v '^ *+' conftest.er1
>conftest.err
32258 cat conftest.err
>&5
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); } && {
32261 test -z "$ac_c_werror_flag" ||
32262 test ! -s conftest.err
32263 } && test -s conftest.
$ac_objext; then
32265 cat >>confdefs.h
<<\_ACEOF
32266 #define HAVE_XSHAPE 1
32269 { echo "$as_me:$LINENO: result: found" >&5
32270 echo "${ECHO_T}found" >&6; }
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.
$ac_ext >&5
32277 { echo "$as_me:$LINENO: result: not found" >&5
32278 echo "${ECHO_T}not found" >&6; }
32282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32283 CFLAGS
="$save_CFLAGS"
32288 if test "$wxUSE_OSX_CARBON" = 1; then
32289 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32290 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32291 if test "$GCC" = yes; then
32292 { echo "$as_me:$LINENO: result: gcc" >&5
32293 echo "${ECHO_T}gcc" >&6; }
32294 CPPFLAGS_PASCAL
="-fpascal-strings"
32295 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32296 { echo "$as_me:$LINENO: result: xlc" >&5
32297 echo "${ECHO_T}xlc" >&6; }
32298 CPPFLAGS_PASCAL
="-qmacpstr"
32300 { echo "$as_me:$LINENO: result: none" >&5
32301 echo "${ECHO_T}none" >&6; }
32304 if test "x$wxUSE_UNIX" = "xyes"; then
32305 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32307 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32311 GUIDIST
=OSX_CARBON_DIST
32312 WXBASEPORT
="_carbon"
32315 if test "$wxUSE_OSX_COCOA" = 1; then
32317 GUIDIST
=OSX_COCOA_DIST
32320 if test "$wxUSE_COCOA" = 1; then
32325 if test "$wxUSE_PM" = 1; then
32328 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32329 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32330 if test "${wx_cv_spbcdata+set}" = set; then
32331 echo $ECHO_N "(cached) $ECHO_C" >&6
32334 cat >conftest.
$ac_ext <<_ACEOF
32337 cat confdefs.h
>>conftest.
$ac_ext
32338 cat >>conftest.
$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32354 rm -f conftest.
$ac_objext
32355 if { (ac_try
="$ac_compile"
32356 case "(($ac_try" in
32357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32358 *) ac_try_echo=$ac_try;;
32360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32361 (eval "$ac_compile") 2>conftest.er1
32363 grep -v '^ *+' conftest.er1 >conftest.err
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } && {
32368 test -z "$ac_c_werror_flag" ||
32369 test ! -s conftest.err
32370 } && test -s conftest.$ac_objext; then
32373 echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.$ac_ext >&5
32380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32384 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32385 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32387 if test $wx_cv_spbcdata = "yes"; then
32388 cat >>confdefs.h <<\_ACEOF
32389 #define HAVE_SPBCDATA 1
32395 if test "$TOOLKIT" = "PM" ; then
32398 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32401 if test "$wxUSE_UNIVERSAL" = "yes"; then
32402 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32406 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32407 DISTDIR="wx\$(TOOLKIT)"
32413 if test "$USE_WIN32" = 1 ; then
32417 GUIDIST="BASE_DIST"
32423 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32424 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32425 wxUSE_UNICODE_UTF8=yes
32426 elif test "$USE_OS2" = 1 ; then
32427 wxUSE_UNICODE_UTF8=yes
32429 wxUSE_UNICODE_UTF8=no
32434 if test "$wxUSE_GUI" = "yes"; then
32435 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32437 for ac_header in X11/Xlib.h
32439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32443 echo $ECHO_N "(cached) $ECHO_C" >&6
32445 cat >conftest.$ac_ext <<_ACEOF
32448 cat confdefs.h >>conftest.$ac_ext
32449 cat >>conftest.$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32453 #include <$ac_header>
32455 rm -f conftest.$ac_objext
32456 if { (ac_try="$ac_compile"
32457 case "(($ac_try" in
32458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32459 *) ac_try_echo
=$ac_try;;
32461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462 (eval "$ac_compile") 2>conftest.er1
32464 grep -v '^ *+' conftest.er1
>conftest.err
32466 cat conftest.err
>&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } && {
32469 test -z "$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32471 } && test -s conftest.
$ac_objext; then
32472 eval "$as_ac_Header=yes"
32474 echo "$as_me: failed program was:" >&5
32475 sed 's/^/| /' conftest.
$ac_ext >&5
32477 eval "$as_ac_Header=no"
32480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32482 ac_res
=`eval echo '${'$as_ac_Header'}'`
32483 { echo "$as_me:$LINENO: result: $ac_res" >&5
32484 echo "${ECHO_T}$ac_res" >&6; }
32485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32486 cat >>confdefs.h
<<_ACEOF
32487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32495 for ac_header
in X
11/XKBlib.h
32497 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32500 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 cat >conftest.
$ac_ext <<_ACEOF
32506 cat confdefs.h
>>conftest.
$ac_ext
32507 cat >>conftest.
$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32510 #if HAVE_X11_XLIB_H
32511 #include <X11/Xlib.h>
32515 #include <$ac_header>
32517 rm -f conftest.
$ac_objext
32518 if { (ac_try
="$ac_compile"
32519 case "(($ac_try" in
32520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32521 *) ac_try_echo=$ac_try;;
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_compile") 2>conftest.er1
32526 grep -v '^ *+' conftest.er1 >conftest.err
32528 cat conftest.err >&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } && {
32531 test -z "$ac_c_werror_flag" ||
32532 test ! -s conftest.err
32533 } && test -s conftest.$ac_objext; then
32534 eval "$as_ac_Header=yes"
32536 echo "$as_me: failed program was:" >&5
32537 sed 's/^/| /' conftest.$ac_ext >&5
32539 eval "$as_ac_Header=no"
32542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32544 ac_res=`eval echo '${'$as_ac_Header'}'`
32545 { echo "$as_me:$LINENO: result: $ac_res" >&5
32546 echo "${ECHO_T}$ac_res" >&6; }
32547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32548 cat >>confdefs.h <<_ACEOF
32549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32561 if test "$wxUSE_DISPLAY" = "yes"; then
32562 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32563 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32564 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32567 for ac_dir in $SEARCH_LIB;
32569 for ac_extension in a so sl dylib dll.a; do
32570 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32571 ac_find_libraries=$ac_dir
32577 if test "$ac_find_libraries" != "" ; then
32579 if test "$ac_find_libraries" = "default location"; then
32582 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32584 if test $result = 0; then
32587 ac_path_to_link=" -L$ac_find_libraries"
32591 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32592 LDFLAGS="$LDFLAGS $ac_path_to_link"
32594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32595 { echo "$as_me:$LINENO: result: yes" >&5
32596 echo "${ECHO_T}yes" >&6; }
32598 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32599 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32602 for ac_dir in $SEARCH_LIB;
32604 for ac_extension in a so sl dylib dll.a; do
32605 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32606 ac_find_libraries=$ac_dir
32612 if test "$ac_find_libraries" != "" ; then
32613 { echo "$as_me:$LINENO: result: yes" >&5
32614 echo "${ECHO_T}yes" >&6; }
32616 for ac_header in X11/extensions/xf86vmode.h
32618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 cat >conftest.$ac_ext <<_ACEOF
32627 cat confdefs.h >>conftest.$ac_ext
32628 cat >>conftest.$ac_ext <<_ACEOF
32629 /* end confdefs.h. */
32631 #if HAVE_X11_XLIB_H
32632 #include <X11/Xlib.h>
32636 #include <$ac_header>
32638 rm -f conftest.$ac_objext
32639 if { (ac_try="$ac_compile"
32640 case "(($ac_try" in
32641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32642 *) ac_try_echo
=$ac_try;;
32644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32645 (eval "$ac_compile") 2>conftest.er1
32647 grep -v '^ *+' conftest.er1
>conftest.err
32649 cat conftest.err
>&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); } && {
32652 test -z "$ac_c_werror_flag" ||
32653 test ! -s conftest.err
32654 } && test -s conftest.
$ac_objext; then
32655 eval "$as_ac_Header=yes"
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.
$ac_ext >&5
32660 eval "$as_ac_Header=no"
32663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32665 ac_res
=`eval echo '${'$as_ac_Header'}'`
32666 { echo "$as_me:$LINENO: result: $ac_res" >&5
32667 echo "${ECHO_T}$ac_res" >&6; }
32668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32669 cat >>confdefs.h
<<_ACEOF
32670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32673 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32680 { echo "$as_me:$LINENO: result: no" >&5
32681 echo "${ECHO_T}no" >&6; }
32685 { echo "$as_me:$LINENO: result: no" >&5
32686 echo "${ECHO_T}no" >&6; }
32687 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32688 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32691 elif test "$wxUSE_MSW" = 1; then
32692 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32693 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32694 if test "${ac_cv_header_ddraw_h+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32697 cat >conftest.
$ac_ext <<_ACEOF
32700 cat confdefs.h
>>conftest.
$ac_ext
32701 cat >>conftest.
$ac_ext <<_ACEOF
32702 /* end confdefs.h. */
32703 #include <windows.h>
32707 rm -f conftest.
$ac_objext
32708 if { (ac_try
="$ac_compile"
32709 case "(($ac_try" in
32710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32711 *) ac_try_echo=$ac_try;;
32713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32714 (eval "$ac_compile") 2>conftest.er1
32716 grep -v '^ *+' conftest.er1 >conftest.err
32718 cat conftest.err >&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); } && {
32721 test -z "$ac_c_werror_flag" ||
32722 test ! -s conftest.err
32723 } && test -s conftest.$ac_objext; then
32724 ac_cv_header_ddraw_h=yes
32726 echo "$as_me: failed program was:" >&5
32727 sed 's/^/| /' conftest.$ac_ext >&5
32729 ac_cv_header_ddraw_h=no
32732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32734 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32735 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32741 if test "$wxUSE_DETECT_SM" = "yes"; then
32742 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32743 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32744 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32747 for ac_dir in $SEARCH_LIB;
32749 for ac_extension in a so sl dylib dll.a; do
32750 if test -f "$ac_dir/libSM.$ac_extension"; then
32751 ac_find_libraries=$ac_dir
32757 if test "$ac_find_libraries" != "" ; then
32759 if test "$ac_find_libraries" = "default location"; then
32762 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32764 if test $result = 0; then
32767 ac_path_to_link=" -L$ac_find_libraries"
32771 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32772 LDFLAGS="$LDFLAGS $ac_path_to_link"
32774 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32775 { echo "$as_me:$LINENO: result: yes" >&5
32776 echo "${ECHO_T}yes" >&6; }
32778 { echo "$as_me:$LINENO: result: no" >&5
32779 echo "${ECHO_T}no" >&6; }
32780 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32781 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32782 wxUSE_DETECT_SM="no"
32785 wxUSE_DETECT_SM="no"
32792 if test "$wxUSE_OPENGL" = "yes"; then
32793 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32794 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32795 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32797 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
32798 OPENGL_LIBS="-framework OpenGL -framework AGL"
32799 elif test "$wxUSE_MSW" = 1; then
32800 OPENGL_LIBS="-lopengl32 -lglu32"
32802 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32803 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32806 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32808 if test -f "$ac_dir/GL/gl.h"; then
32809 ac_find_includes=$ac_dir
32814 if test "$ac_find_includes" != "" ; then
32815 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32816 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32818 if test "x$ac_find_includes" = "x/usr/include"; then
32819 ac_path_to_include=""
32821 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32823 if test $result = 0; then
32824 ac_path_to_include=""
32826 ac_path_to_include=" -I$ac_find_includes"
32830 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32832 { echo "$as_me:$LINENO: result: not found" >&5
32833 echo "${ECHO_T}not found" >&6; }
32836 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32837 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32838 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32841 cat >conftest.$ac_ext <<_ACEOF
32844 cat confdefs.h >>conftest.$ac_ext
32845 cat >>conftest.$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32851 rm -f conftest.$ac_objext
32852 if { (ac_try="$ac_compile"
32853 case "(($ac_try" in
32854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32855 *) ac_try_echo
=$ac_try;;
32857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32858 (eval "$ac_compile") 2>conftest.er1
32860 grep -v '^ *+' conftest.er1
>conftest.err
32862 cat conftest.err
>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } && {
32865 test -z "$ac_c_werror_flag" ||
32866 test ! -s conftest.err
32867 } && test -s conftest.
$ac_objext; then
32868 ac_cv_header_GL_gl_h
=yes
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.
$ac_ext >&5
32873 ac_cv_header_GL_gl_h
=no
32876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32878 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32879 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32880 if test $ac_cv_header_GL_gl_h = yes; then
32882 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32883 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32884 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32885 echo $ECHO_N "(cached) $ECHO_C" >&6
32887 cat >conftest.
$ac_ext <<_ACEOF
32890 cat confdefs.h
>>conftest.
$ac_ext
32891 cat >>conftest.
$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32895 #include <GL/glu.h>
32897 rm -f conftest.
$ac_objext
32898 if { (ac_try
="$ac_compile"
32899 case "(($ac_try" in
32900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32901 *) ac_try_echo=$ac_try;;
32903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32904 (eval "$ac_compile") 2>conftest.er1
32906 grep -v '^ *+' conftest.er1 >conftest.err
32908 cat conftest.err >&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } && {
32911 test -z "$ac_c_werror_flag" ||
32912 test ! -s conftest.err
32913 } && test -s conftest.$ac_objext; then
32914 ac_cv_header_GL_glu_h=yes
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32919 ac_cv_header_GL_glu_h=no
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32925 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32926 if test $ac_cv_header_GL_glu_h = yes; then
32930 { echo "$as_me:$LINENO: checking for -lGL" >&5
32931 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32934 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32936 for ac_extension in a so sl dylib dll.a; do
32937 if test -f "$ac_dir/libGL.$ac_extension"; then
32938 ac_find_libraries=$ac_dir
32944 if test "$ac_find_libraries" != "" ; then
32945 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32946 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32949 if test "$ac_find_libraries" = "default location"; then
32952 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32954 if test $result = 0; then
32957 ac_path_to_link=" -L$ac_find_libraries"
32961 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32962 LDFLAGS_GL="$ac_path_to_link"
32965 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32966 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32969 for ac_dir in $SEARCH_LIB;
32971 for ac_extension in a so sl dylib dll.a; do
32972 if test -f "$ac_dir/libGLU.$ac_extension"; then
32973 ac_find_libraries=$ac_dir
32979 if test "$ac_find_libraries" != "" ; then
32981 if test "$ac_find_libraries" = "default location"; then
32984 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32986 if test $result = 0; then
32989 ac_path_to_link=" -L$ac_find_libraries"
32993 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32994 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32995 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32999 OPENGL_LIBS="-lGL -lGLU"
33000 { echo "$as_me:$LINENO: result: yes" >&5
33001 echo "${ECHO_T}yes" >&6; }
33003 { echo "$as_me:$LINENO: result: no" >&5
33004 echo "${ECHO_T}no" >&6; }
33007 { echo "$as_me:$LINENO: result: no" >&5
33008 echo "${ECHO_T}no" >&6; }
33011 if test "$found_gl" != 1; then
33012 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33013 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33016 for ac_dir in $SEARCH_LIB;
33018 for ac_extension in a so sl dylib dll.a; do
33019 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33020 ac_find_libraries=$ac_dir
33026 if test "$ac_find_libraries" != "" ; then
33028 if test "$ac_find_libraries" = "default location"; then
33031 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33033 if test $result = 0; then
33036 ac_path_to_link=" -L$ac_find_libraries"
33040 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33041 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33042 { echo "$as_me:$LINENO: result: yes" >&5
33043 echo "${ECHO_T}yes" >&6; }
33045 { echo "$as_me:$LINENO: result: no" >&5
33046 echo "${ECHO_T}no" >&6; }
33058 if test "x$OPENGL_LIBS" = "x"; then
33059 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33060 echo "$as_me: error: OpenGL libraries not available" >&2;}
33061 { (exit 1); exit 1; }; }
33065 if test "$wxUSE_OPENGL" = "yes"; then
33067 cat >>confdefs.h <<\_ACEOF
33068 #define wxUSE_OPENGL 1
33071 cat >>confdefs.h <<\_ACEOF
33072 #define wxUSE_GLCANVAS 1
33075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33080 if test -n "$TOOLKIT" ; then
33081 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33086 if test "$wxUSE_SHARED" = "yes"; then
33090 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33091 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33096 if test "$wxUSE_SHARED" = "yes"; then
33100 *-*-cygwin* | *-*-mingw* )
33101 wx_cv_version_script=no
33105 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33106 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33107 if test "${wx_cv_version_script+set}" = set; then
33108 echo $ECHO_N "(cached) $ECHO_C" >&6
33111 echo "VER_1 { *; };" >conftest.sym
33112 echo "int main() { return 0; }" >conftest.cpp
33115 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33116 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33118 (eval $ac_try) 2>&5
33120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33121 (exit $ac_status); }; } ; then
33122 if test -s conftest.stderr ; then
33123 wx_cv_version_script=no
33125 wx_cv_version_script=yes
33128 wx_cv_version_script=no
33131 if test $wx_cv_version_script = yes
33133 echo "struct B { virtual ~B() { } }; \
33134 struct D : public B { }; \
33135 void F() { D d; }" > conftest.cpp
33138 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33139 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33141 (eval $ac_try) 2>&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; } &&
33146 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33147 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; }
33155 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33156 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33158 (eval $ac_try) 2>&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); }; }
33163 wx_cv_version_script=yes
33165 wx_cv_version_script=no
33170 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33171 rm -f conftest1.output conftest2.output conftest3.output
33174 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33175 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33177 if test $wx_cv_version_script = yes ; then
33178 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33184 if test "$wxUSE_VISIBILITY" != "no"; then
33187 if test -n "$GCC"; then
33188 CFLAGS_VISIBILITY="-fvisibility=hidden"
33189 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33190 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33191 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33192 if test "${wx_cv_cc_visibility+set}" = set; then
33193 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 wx_save_CXXFLAGS="$CXXFLAGS"
33197 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33199 ac_cpp='$CXXCPP $CPPFLAGS'
33200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33204 cat >conftest.$ac_ext <<_ACEOF
33207 cat confdefs.h >>conftest.$ac_ext
33208 cat >>conftest.$ac_ext <<_ACEOF
33209 /* end confdefs.h. */
33211 /* we need gcc >= 4.0, older versions with visibility support
33212 didn't have class visibility: */
33213 #if defined(__GNUC__) && __GNUC__ < 4
33214 error this gcc is too old;
33217 /* visibility only makes sense for ELF shared libs: */
33218 #if !defined(__ELF__) && !defined(__APPLE__)
33219 error this platform has no visibility;
33222 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33223 extern __attribute__((__visibility__("default"))) int exportedvar;
33224 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33225 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33226 class __attribute__((__visibility__("default"))) Foo {
33238 rm -f conftest.$ac_objext
33239 if { (ac_try="$ac_compile"
33240 case "(($ac_try" in
33241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33242 *) ac_try_echo
=$ac_try;;
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_compile") 2>conftest.er1
33247 grep -v '^ *+' conftest.er1
>conftest.err
33249 cat conftest.err
>&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } && {
33252 test -z "$ac_cxx_werror_flag" ||
33253 test ! -s conftest.err
33254 } && test -s conftest.
$ac_objext; then
33255 wx_cv_cc_visibility
=yes
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.
$ac_ext >&5
33260 wx_cv_cc_visibility
=no
33263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33265 ac_cpp
='$CPP $CPPFLAGS'
33266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33270 CXXFLAGS
="$wx_save_CXXFLAGS"
33273 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33274 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33275 if test $wx_cv_cc_visibility = yes; then
33276 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33277 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33278 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33282 wx_save_CXXFLAGS
="$CXXFLAGS"
33283 wx_save_LDFLAGS
="$LDFLAGS"
33284 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33285 LDFLAGS
="$LDFLAGS -shared -fPIC"
33287 ac_cpp
='$CXXCPP $CPPFLAGS'
33288 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33292 cat >conftest.
$ac_ext <<_ACEOF
33295 cat confdefs.h
>>conftest.
$ac_ext
33296 cat >>conftest.
$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33305 std::string s("hello");
33312 rm -f conftest.
$ac_objext conftest
$ac_exeext
33313 if { (ac_try
="$ac_link"
33314 case "(($ac_try" in
33315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33316 *) ac_try_echo=$ac_try;;
33318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33319 (eval "$ac_link") 2>conftest.er1
33321 grep -v '^ *+' conftest.er1 >conftest.err
33323 cat conftest.err >&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); } && {
33326 test -z "$ac_cxx_werror_flag" ||
33327 test ! -s conftest.err
33328 } && test -s conftest$ac_exeext &&
33329 $as_test_x conftest$ac_exeext; then
33330 wx_cv_cc_broken_libstdcxx_visibility=no
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33335 wx_cv_cc_broken_libstdcxx_visibility=yes
33338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33339 conftest$ac_exeext conftest.$ac_ext
33341 ac_cpp='$CPP $CPPFLAGS'
33342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33346 CXXFLAGS="$wx_save_CXXFLAGS"
33347 LDFLAGS="$wx_save_LDFLAGS"
33350 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33351 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33353 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33354 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33355 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33356 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33357 echo $ECHO_N "(cached) $ECHO_C" >&6
33361 ac_cpp='$CXXCPP $CPPFLAGS'
33362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33366 cat >conftest.$ac_ext <<_ACEOF
33369 cat confdefs.h >>conftest.$ac_ext
33370 cat >>conftest.$ac_ext <<_ACEOF
33371 /* end confdefs.h. */
33373 #pragma GCC visibility push(default)
33375 #pragma GCC visibility pop
33381 std::string s("hello");
33388 rm -f conftest.$ac_objext conftest$ac_exeext
33389 if { (ac_try="$ac_link"
33390 case "(($ac_try" in
33391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33392 *) ac_try_echo
=$ac_try;;
33394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33395 (eval "$ac_link") 2>conftest.er1
33397 grep -v '^ *+' conftest.er1
>conftest.err
33399 cat conftest.err
>&5
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); } && {
33402 test -z "$ac_cxx_werror_flag" ||
33403 test ! -s conftest.err
33404 } && test -s conftest
$ac_exeext &&
33405 $as_test_x conftest
$ac_exeext; then
33406 wx_cv_cc_visibility_workaround
=no
33408 echo "$as_me: failed program was:" >&5
33409 sed 's/^/| /' conftest.
$ac_ext >&5
33411 wx_cv_cc_visibility_workaround
=yes
33414 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33415 conftest
$ac_exeext conftest.
$ac_ext
33417 ac_cpp
='$CPP $CPPFLAGS'
33418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33425 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33426 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33428 if test $wx_cv_cc_visibility_workaround = no
; then
33429 wx_cv_cc_visibility
=no
33434 if test $wx_cv_cc_visibility = yes; then
33435 cat >>confdefs.h
<<\_ACEOF
33436 #define HAVE_VISIBILITY 1
33439 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33440 cat >>confdefs.h
<<\_ACEOF
33441 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33446 CFLAGS_VISIBILITY
=""
33447 CXXFLAGS_VISIBILITY
=""
33455 if test "x$SUNCXX" = xyes
; then
33456 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33457 WXCONFIG_RPATH
="-R\$libdir"
33460 *-*-linux* | *-*-gnu* )
33461 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33462 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33467 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33469 saveLdflags
="$LDFLAGS"
33470 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33471 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33472 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33473 cat >conftest.
$ac_ext <<_ACEOF
33476 cat confdefs.h
>>conftest.
$ac_ext
33477 cat >>conftest.
$ac_ext <<_ACEOF
33478 /* end confdefs.h. */
33488 rm -f conftest.
$ac_objext conftest
$ac_exeext
33489 if { (ac_try
="$ac_link"
33490 case "(($ac_try" in
33491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33492 *) ac_try_echo=$ac_try;;
33494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33495 (eval "$ac_link") 2>conftest.er1
33497 grep -v '^ *+' conftest.er1 >conftest.err
33499 cat conftest.err >&5
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); } && {
33502 test -z "$ac_c_werror_flag" ||
33503 test ! -s conftest.err
33504 } && test -s conftest$ac_exeext &&
33505 $as_test_x conftest$ac_exeext; then
33507 { echo "$as_me:$LINENO: result: yes" >&5
33508 echo "${ECHO_T}yes" >&6; }
33509 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33510 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33513 echo "$as_me: failed program was:" >&5
33514 sed 's/^/| /' conftest.$ac_ext >&5
33517 { echo "$as_me:$LINENO: result: no" >&5
33518 echo "${ECHO_T}no" >&6; }
33519 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33520 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33521 LDFLAGS="$saveLdflags -Wl,-R,/"
33522 cat >conftest.$ac_ext <<_ACEOF
33525 cat confdefs.h >>conftest.$ac_ext
33526 cat >>conftest.$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33537 rm -f conftest.$ac_objext conftest$ac_exeext
33538 if { (ac_try="$ac_link"
33539 case "(($ac_try" in
33540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33541 *) ac_try_echo
=$ac_try;;
33543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33544 (eval "$ac_link") 2>conftest.er1
33546 grep -v '^ *+' conftest.er1
>conftest.err
33548 cat conftest.err
>&5
33549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33550 (exit $ac_status); } && {
33551 test -z "$ac_c_werror_flag" ||
33552 test ! -s conftest.err
33553 } && test -s conftest
$ac_exeext &&
33554 $as_test_x conftest
$ac_exeext; then
33556 { echo "$as_me:$LINENO: result: yes" >&5
33557 echo "${ECHO_T}yes" >&6; }
33558 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33559 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.
$ac_ext >&5
33566 { echo "$as_me:$LINENO: result: no" >&5
33567 echo "${ECHO_T}no" >&6; }
33571 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33572 conftest
$ac_exeext conftest.
$ac_ext
33576 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33577 conftest
$ac_exeext conftest.
$ac_ext
33578 LDFLAGS
="$saveLdflags"
33582 install_name_tool
=`which install_name_tool`
33583 if test "$install_name_tool" -a -x "$install_name_tool"; then
33584 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33585 cat <<EOF >change-install-names
33587 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33588 inst_cmd="install_name_tool "
33589 for i in \${libnames} ; do
33590 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33594 chmod +x change
-install-names
33598 *-*-cygwin* | *-*-mingw32* )
33602 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33603 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33609 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33611 if test $wxUSE_RPATH = "no"; then
33612 SAMPLES_RPATH_FLAG
=''
33613 SAMPLES_RPATH_POSTLINK
=''
33621 config_linkage_component
="-static"
33628 lib_unicode_suffix
=
33630 if test "$wxUSE_UNICODE" = "yes"; then
33631 lib_unicode_suffix
=u
33632 WX_CHARTYPE
="unicode"
33637 WX_DEBUGTYPE
="release"
33639 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33641 WX_DEBUGTYPE
="debug"
33645 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33646 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33649 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33653 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33655 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33657 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33659 if test "$cross_compiling" = "yes"; then
33660 HOST_SUFFIX
="-$host_alias"
33661 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33662 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33665 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33666 if test "${TOOLKIT_DIR}" = "os2"; then
33667 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33669 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33674 if test "$wxUSE_COCOA" = 1; then
33677 ac_cpp
='$CPP $CPPFLAGS'
33678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33684 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33685 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33686 cat >conftest.
$ac_ext <<_ACEOF
33689 cat confdefs.h
>>conftest.
$ac_ext
33690 cat >>conftest.
$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692 #include <AppKit/NSEvent.h>
33693 #include <CoreFoundation/CoreFoundation.h>
33703 rm -f conftest.
$ac_objext
33704 if { (ac_try
="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33712 grep -v '^ *+' conftest.er1 >conftest.err
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.$ac_objext; then
33720 { echo "$as_me:$LINENO: result: no" >&5
33721 echo "${ECHO_T}no" >&6; }
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33726 { echo "$as_me:$LINENO: result: yes" >&5
33727 echo "${ECHO_T}yes" >&6; }
33728 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33729 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33730 cat >conftest.$ac_ext <<_ACEOF
33733 cat confdefs.h >>conftest.$ac_ext
33734 cat >>conftest.$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33736 #define __Point__ 1
33737 #include <AppKit/NSEvent.h>
33738 #include <CoreFoundation/CoreFoundation.h>
33748 rm -f conftest.$ac_objext
33749 if { (ac_try="$ac_compile"
33750 case "(($ac_try" in
33751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33752 *) ac_try_echo
=$ac_try;;
33754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33755 (eval "$ac_compile") 2>conftest.er1
33757 grep -v '^ *+' conftest.er1
>conftest.err
33759 cat conftest.err
>&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); } && {
33762 test -z "$ac_c_werror_flag" ||
33763 test ! -s conftest.err
33764 } && test -s conftest.
$ac_objext; then
33765 { echo "$as_me:$LINENO: result: yes" >&5
33766 echo "${ECHO_T}yes" >&6; }
33767 cat >>confdefs.h
<<\_ACEOF
33768 #define __Point__ 1
33773 echo "$as_me: failed program was:" >&5
33774 sed 's/^/| /' conftest.
$ac_ext >&5
33776 { { echo "$as_me:$LINENO: error: no
33777 See \`config.log' for more details." >&5
33778 echo "$as_me: error: no
33779 See \`config.log' for more details." >&2;}
33780 { (exit 1); exit 1; }; }
33784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33790 ac_cpp
='$CPP $CPPFLAGS'
33791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33798 { echo "$as_me:$LINENO: checking for mode_t" >&5
33799 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33800 if test "${ac_cv_type_mode_t+set}" = set; then
33801 echo $ECHO_N "(cached) $ECHO_C" >&6
33803 cat >conftest.
$ac_ext <<_ACEOF
33806 cat confdefs.h
>>conftest.
$ac_ext
33807 cat >>conftest.
$ac_ext <<_ACEOF
33808 /* end confdefs.h. */
33809 $ac_includes_default
33810 typedef mode_t ac__type_new_;
33814 if ((ac__type_new_ *) 0)
33816 if (sizeof (ac__type_new_))
33822 rm -f conftest.
$ac_objext
33823 if { (ac_try
="$ac_compile"
33824 case "(($ac_try" in
33825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33826 *) ac_try_echo=$ac_try;;
33828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33829 (eval "$ac_compile") 2>conftest.er1
33831 grep -v '^ *+' conftest.er1 >conftest.err
33833 cat conftest.err >&5
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); } && {
33836 test -z "$ac_c_werror_flag" ||
33837 test ! -s conftest.err
33838 } && test -s conftest.$ac_objext; then
33839 ac_cv_type_mode_t=yes
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33844 ac_cv_type_mode_t=no
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33850 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33851 if test $ac_cv_type_mode_t = yes; then
33855 cat >>confdefs.h <<_ACEOF
33861 { echo "$as_me:$LINENO: checking for off_t" >&5
33862 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33863 if test "${ac_cv_type_off_t+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33866 cat >conftest.$ac_ext <<_ACEOF
33869 cat confdefs.h >>conftest.$ac_ext
33870 cat >>conftest.$ac_ext <<_ACEOF
33871 /* end confdefs.h. */
33872 $ac_includes_default
33873 typedef off_t ac__type_new_;
33877 if ((ac__type_new_ *) 0)
33879 if (sizeof (ac__type_new_))
33885 rm -f conftest.$ac_objext
33886 if { (ac_try="$ac_compile"
33887 case "(($ac_try" in
33888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33889 *) ac_try_echo
=$ac_try;;
33891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33892 (eval "$ac_compile") 2>conftest.er1
33894 grep -v '^ *+' conftest.er1
>conftest.err
33896 cat conftest.err
>&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } && {
33899 test -z "$ac_c_werror_flag" ||
33900 test ! -s conftest.err
33901 } && test -s conftest.
$ac_objext; then
33902 ac_cv_type_off_t
=yes
33904 echo "$as_me: failed program was:" >&5
33905 sed 's/^/| /' conftest.
$ac_ext >&5
33907 ac_cv_type_off_t
=no
33910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33912 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33913 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33914 if test $ac_cv_type_off_t = yes; then
33918 cat >>confdefs.h
<<_ACEOF
33919 #define off_t long int
33924 { echo "$as_me:$LINENO: checking for pid_t" >&5
33925 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33926 if test "${ac_cv_type_pid_t+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 cat >conftest.
$ac_ext <<_ACEOF
33932 cat confdefs.h
>>conftest.
$ac_ext
33933 cat >>conftest.
$ac_ext <<_ACEOF
33934 /* end confdefs.h. */
33935 $ac_includes_default
33936 typedef pid_t ac__type_new_;
33940 if ((ac__type_new_ *) 0)
33942 if (sizeof (ac__type_new_))
33948 rm -f conftest.
$ac_objext
33949 if { (ac_try
="$ac_compile"
33950 case "(($ac_try" in
33951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33952 *) ac_try_echo=$ac_try;;
33954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33955 (eval "$ac_compile") 2>conftest.er1
33957 grep -v '^ *+' conftest.er1 >conftest.err
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } && {
33962 test -z "$ac_c_werror_flag" ||
33963 test ! -s conftest.err
33964 } && test -s conftest.$ac_objext; then
33965 ac_cv_type_pid_t=yes
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.$ac_ext >&5
33970 ac_cv_type_pid_t=no
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33976 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33977 if test $ac_cv_type_pid_t = yes; then
33981 cat >>confdefs.h <<_ACEOF
33987 { echo "$as_me:$LINENO: checking for size_t" >&5
33988 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33989 if test "${ac_cv_type_size_t+set}" = set; then
33990 echo $ECHO_N "(cached) $ECHO_C" >&6
33992 cat >conftest.$ac_ext <<_ACEOF
33995 cat confdefs.h >>conftest.$ac_ext
33996 cat >>conftest.$ac_ext <<_ACEOF
33997 /* end confdefs.h. */
33998 $ac_includes_default
33999 typedef size_t ac__type_new_;
34003 if ((ac__type_new_ *) 0)
34005 if (sizeof (ac__type_new_))
34011 rm -f conftest.$ac_objext
34012 if { (ac_try="$ac_compile"
34013 case "(($ac_try" in
34014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34015 *) ac_try_echo
=$ac_try;;
34017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34018 (eval "$ac_compile") 2>conftest.er1
34020 grep -v '^ *+' conftest.er1
>conftest.err
34022 cat conftest.err
>&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } && {
34025 test -z "$ac_c_werror_flag" ||
34026 test ! -s conftest.err
34027 } && test -s conftest.
$ac_objext; then
34028 ac_cv_type_size_t
=yes
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.
$ac_ext >&5
34033 ac_cv_type_size_t
=no
34036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34038 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34039 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34040 if test $ac_cv_type_size_t = yes; then
34044 cat >>confdefs.h
<<_ACEOF
34045 #define size_t unsigned int
34051 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34052 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34053 if test "${ac_cv_type_ssize_t+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34056 cat >conftest.
$ac_ext <<_ACEOF
34059 cat confdefs.h
>>conftest.
$ac_ext
34060 cat >>conftest.
$ac_ext <<_ACEOF
34061 /* end confdefs.h. */
34062 $ac_includes_default
34063 typedef ssize_t ac__type_new_;
34067 if ((ac__type_new_ *) 0)
34069 if (sizeof (ac__type_new_))
34075 rm -f conftest.
$ac_objext
34076 if { (ac_try
="$ac_compile"
34077 case "(($ac_try" in
34078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34079 *) ac_try_echo=$ac_try;;
34081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34082 (eval "$ac_compile") 2>conftest.er1
34084 grep -v '^ *+' conftest.er1 >conftest.err
34086 cat conftest.err >&5
34087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34088 (exit $ac_status); } && {
34089 test -z "$ac_c_werror_flag" ||
34090 test ! -s conftest.err
34091 } && test -s conftest.$ac_objext; then
34092 ac_cv_type_ssize_t=yes
34094 echo "$as_me: failed program was:" >&5
34095 sed 's/^/| /' conftest.$ac_ext >&5
34097 ac_cv_type_ssize_t=no
34100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34102 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34103 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34104 if test $ac_cv_type_ssize_t = yes; then
34106 cat >>confdefs.h <<_ACEOF
34107 #define HAVE_SSIZE_T 1
34115 ac_cpp='$CXXCPP $CPPFLAGS'
34116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34120 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34121 if test "${wx_cv_size_t_is_uint+set}" = set; then
34122 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 cat >conftest.$ac_ext <<_ACEOF
34128 cat confdefs.h >>conftest.$ac_ext
34129 cat >>conftest.$ac_ext <<_ACEOF
34130 /* end confdefs.h. */
34131 #include <stddef.h>
34138 struct Foo { void foo(size_t); void foo(unsigned int); };
34146 rm -f conftest.$ac_objext
34147 if { (ac_try="$ac_compile"
34148 case "(($ac_try" in
34149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34150 *) ac_try_echo
=$ac_try;;
34152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34153 (eval "$ac_compile") 2>conftest.er1
34155 grep -v '^ *+' conftest.er1
>conftest.err
34157 cat conftest.err
>&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); } && {
34160 test -z "$ac_cxx_werror_flag" ||
34161 test ! -s conftest.err
34162 } && test -s conftest.
$ac_objext; then
34163 wx_cv_size_t_is_uint
=no
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.
$ac_ext >&5
34168 wx_cv_size_t_is_uint
=yes
34172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34176 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34177 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34179 if test "$wx_cv_size_t_is_uint" = "yes"; then
34180 cat >>confdefs.h
<<\_ACEOF
34181 #define wxSIZE_T_IS_UINT 1
34185 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34186 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34187 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34188 echo $ECHO_N "(cached) $ECHO_C" >&6
34190 cat >conftest.
$ac_ext <<_ACEOF
34193 cat confdefs.h
>>conftest.
$ac_ext
34194 cat >>conftest.
$ac_ext <<_ACEOF
34195 /* end confdefs.h. */
34196 #include <stddef.h>
34203 struct Foo { void foo(size_t); void foo(unsigned long); };
34211 rm -f conftest.
$ac_objext
34212 if { (ac_try
="$ac_compile"
34213 case "(($ac_try" in
34214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34215 *) ac_try_echo=$ac_try;;
34217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34218 (eval "$ac_compile") 2>conftest.er1
34220 grep -v '^ *+' conftest.er1 >conftest.err
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } && {
34225 test -z "$ac_cxx_werror_flag" ||
34226 test ! -s conftest.err
34227 } && test -s conftest.$ac_objext; then
34228 wx_cv_size_t_is_ulong=no
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.$ac_ext >&5
34233 wx_cv_size_t_is_ulong=yes
34237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34240 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34241 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34243 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34244 cat >>confdefs.h <<\_ACEOF
34245 #define wxSIZE_T_IS_ULONG 1
34251 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34252 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34253 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34256 cat >conftest.$ac_ext <<_ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34269 struct Foo { void foo(wchar_t);
34270 void foo(unsigned short);
34271 void foo(unsigned int);
34272 void foo(unsigned long); };
34280 rm -f conftest.$ac_objext
34281 if { (ac_try="$ac_compile"
34282 case "(($ac_try" in
34283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34284 *) ac_try_echo
=$ac_try;;
34286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34287 (eval "$ac_compile") 2>conftest.er1
34289 grep -v '^ *+' conftest.er1
>conftest.err
34291 cat conftest.err
>&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } && {
34294 test -z "$ac_cxx_werror_flag" ||
34295 test ! -s conftest.err
34296 } && test -s conftest.
$ac_objext; then
34297 wx_cv_wchar_t_is_separate_type
=yes
34299 echo "$as_me: failed program was:" >&5
34300 sed 's/^/| /' conftest.
$ac_ext >&5
34302 wx_cv_wchar_t_is_separate_type
=no
34306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34309 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34310 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34312 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34313 cat >>confdefs.h
<<\_ACEOF
34314 #define wxWCHAR_T_IS_REAL_TYPE 1
34318 cat >>confdefs.h
<<\_ACEOF
34319 #define wxWCHAR_T_IS_REAL_TYPE 0
34325 ac_cpp
='$CPP $CPPFLAGS'
34326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34331 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34332 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34333 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34334 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 cat >conftest.
$ac_ext <<_ACEOF
34340 cat confdefs.h
>>conftest.
$ac_ext
34341 cat >>conftest.
$ac_ext <<_ACEOF
34342 /* end confdefs.h. */
34356 rm -f conftest.
$ac_objext
34357 if { (ac_try
="$ac_compile"
34358 case "(($ac_try" in
34359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34360 *) ac_try_echo=$ac_try;;
34362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34363 (eval "$ac_compile") 2>conftest.er1
34365 grep -v '^ *+' conftest.er1 >conftest.err
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } && {
34370 test -z "$ac_c_werror_flag" ||
34371 test ! -s conftest.err
34372 } && test -s conftest.$ac_objext; then
34374 wx_cv_struct_pw_gecos=yes
34377 echo "$as_me: failed program was:" >&5
34378 sed 's/^/| /' conftest.$ac_ext >&5
34381 wx_cv_struct_pw_gecos=no
34386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34390 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34391 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34393 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34394 cat >>confdefs.h <<\_ACEOF
34395 #define HAVE_PW_GECOS 1
34401 if test "$wxUSE_WCHAR_T" = "yes"; then
34402 cat >>confdefs.h <<\_ACEOF
34403 #define wxUSE_WCHAR_T 1
34410 for ac_func in wcslen
34412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34416 echo $ECHO_N "(cached) $ECHO_C" >&6
34418 cat >conftest.$ac_ext <<_ACEOF
34421 cat confdefs.h >>conftest.$ac_ext
34422 cat >>conftest.$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34426 #define $ac_func innocuous_$ac_func
34428 /* System header to define __stub macros and hopefully few prototypes,
34429 which can conflict with char $ac_func (); below.
34430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34431 <limits.h> exists even on freestanding compilers. */
34434 # include <limits.h>
34436 # include <assert.h>
34441 /* Override any GCC internal prototype to avoid an error.
34442 Use char because int might match the return type of a GCC
34443 builtin and then its argument prototype would still apply. */
34448 /* The GNU C library defines this for functions which it implements
34449 to always fail with ENOSYS. Some functions are actually named
34450 something starting with __ and the normal name is an alias. */
34451 #if defined __stub_$ac_func || defined __stub___$ac_func
34458 return $ac_func ();
34463 rm -f conftest.$ac_objext conftest$ac_exeext
34464 if { (ac_try="$ac_link"
34465 case "(($ac_try" in
34466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34467 *) ac_try_echo
=$ac_try;;
34469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34470 (eval "$ac_link") 2>conftest.er1
34472 grep -v '^ *+' conftest.er1
>conftest.err
34474 cat conftest.err
>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } && {
34477 test -z "$ac_c_werror_flag" ||
34478 test ! -s conftest.err
34479 } && test -s conftest
$ac_exeext &&
34480 $as_test_x conftest
$ac_exeext; then
34481 eval "$as_ac_var=yes"
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.
$ac_ext >&5
34486 eval "$as_ac_var=no"
34489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34490 conftest
$ac_exeext conftest.
$ac_ext
34492 ac_res
=`eval echo '${'$as_ac_var'}'`
34493 { echo "$as_me:$LINENO: result: $ac_res" >&5
34494 echo "${ECHO_T}$ac_res" >&6; }
34495 if test `eval echo '${'$as_ac_var'}'` = yes; then
34496 cat >>confdefs.h
<<_ACEOF
34497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34504 if test "$WCSLEN_FOUND" = 0; then
34505 if test "$TOOLKIT" = "MSW"; then
34506 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34507 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34508 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34511 ac_check_lib_save_LIBS
=$LIBS
34512 LIBS
="-lmsvcrt $LIBS"
34513 cat >conftest.
$ac_ext <<_ACEOF
34516 cat confdefs.h
>>conftest.
$ac_ext
34517 cat >>conftest.
$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34520 /* Override any GCC internal prototype to avoid an error.
34521 Use char because int might match the return type of a GCC
34522 builtin and then its argument prototype would still apply. */
34535 rm -f conftest.
$ac_objext conftest
$ac_exeext
34536 if { (ac_try
="$ac_link"
34537 case "(($ac_try" in
34538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34539 *) ac_try_echo=$ac_try;;
34541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34542 (eval "$ac_link") 2>conftest.er1
34544 grep -v '^ *+' conftest.er1 >conftest.err
34546 cat conftest.err >&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } && {
34549 test -z "$ac_c_werror_flag" ||
34550 test ! -s conftest.err
34551 } && test -s conftest$ac_exeext &&
34552 $as_test_x conftest$ac_exeext; then
34553 ac_cv_lib_msvcrt_wcslen=yes
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34558 ac_cv_lib_msvcrt_wcslen=no
34561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34562 conftest$ac_exeext conftest.$ac_ext
34563 LIBS=$ac_check_lib_save_LIBS
34565 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34566 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34567 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34572 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34573 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34574 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34575 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 ac_check_lib_save_LIBS=$LIBS
34579 cat >conftest.$ac_ext <<_ACEOF
34582 cat confdefs.h >>conftest.$ac_ext
34583 cat >>conftest.$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34586 /* Override any GCC internal prototype to avoid an error.
34587 Use char because int might match the return type of a GCC
34588 builtin and then its argument prototype would still apply. */
34601 rm -f conftest.$ac_objext conftest$ac_exeext
34602 if { (ac_try="$ac_link"
34603 case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34605 *) ac_try_echo
=$ac_try;;
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_link") 2>conftest.er1
34610 grep -v '^ *+' conftest.er1
>conftest.err
34612 cat conftest.err
>&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_c_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest
$ac_exeext &&
34618 $as_test_x conftest
$ac_exeext; then
34619 ac_cv_lib_w_wcslen
=yes
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.
$ac_ext >&5
34624 ac_cv_lib_w_wcslen
=no
34627 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34628 conftest
$ac_exeext conftest.
$ac_ext
34629 LIBS
=$ac_check_lib_save_LIBS
34631 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34632 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34633 if test $ac_cv_lib_w_wcslen = yes; then
34643 if test "$WCSLEN_FOUND" = 1; then
34644 cat >>confdefs.h
<<\_ACEOF
34645 #define HAVE_WCSLEN 1
34651 for ac_func
in wcsdup
34653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34656 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 cat >conftest.
$ac_ext <<_ACEOF
34662 cat confdefs.h
>>conftest.
$ac_ext
34663 cat >>conftest.
$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34667 #define $ac_func innocuous_$ac_func
34669 /* System header to define __stub macros and hopefully few prototypes,
34670 which can conflict with char $ac_func (); below.
34671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34672 <limits.h> exists even on freestanding compilers. */
34675 # include <limits.h>
34677 # include <assert.h>
34682 /* Override any GCC internal prototype to avoid an error.
34683 Use char because int might match the return type of a GCC
34684 builtin and then its argument prototype would still apply. */
34689 /* The GNU C library defines this for functions which it implements
34690 to always fail with ENOSYS. Some functions are actually named
34691 something starting with __ and the normal name is an alias. */
34692 #if defined __stub_$ac_func || defined __stub___$ac_func
34699 return $ac_func ();
34704 rm -f conftest.
$ac_objext conftest
$ac_exeext
34705 if { (ac_try
="$ac_link"
34706 case "(($ac_try" in
34707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34708 *) ac_try_echo=$ac_try;;
34710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34711 (eval "$ac_link") 2>conftest.er1
34713 grep -v '^ *+' conftest.er1 >conftest.err
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } && {
34718 test -z "$ac_c_werror_flag" ||
34719 test ! -s conftest.err
34720 } && test -s conftest$ac_exeext &&
34721 $as_test_x conftest$ac_exeext; then
34722 eval "$as_ac_var=yes"
34724 echo "$as_me: failed program was:" >&5
34725 sed 's/^/| /' conftest.$ac_ext >&5
34727 eval "$as_ac_var=no"
34730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34731 conftest$ac_exeext conftest.$ac_ext
34733 ac_res=`eval echo '${'$as_ac_var'}'`
34734 { echo "$as_me:$LINENO: result: $ac_res" >&5
34735 echo "${ECHO_T}$ac_res" >&6; }
34736 if test `eval echo '${'$as_ac_var'}'` = yes; then
34737 cat >>confdefs.h <<_ACEOF
34738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34745 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34746 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34749 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34750 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34751 if test "${ac_cv_type_mbstate_t+set}" = set; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 cat >conftest.$ac_ext <<_ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34762 typedef mbstate_t ac__type_new_;
34766 if ((ac__type_new_ *) 0)
34768 if (sizeof (ac__type_new_))
34774 rm -f conftest.$ac_objext
34775 if { (ac_try="$ac_compile"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34778 *) ac_try_echo
=$ac_try;;
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_compile") 2>conftest.er1
34783 grep -v '^ *+' conftest.er1
>conftest.err
34785 cat conftest.err
>&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest.
$ac_objext; then
34791 ac_cv_type_mbstate_t
=yes
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.
$ac_ext >&5
34796 ac_cv_type_mbstate_t
=no
34799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34801 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34802 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34803 if test $ac_cv_type_mbstate_t = yes; then
34805 cat >>confdefs.h
<<_ACEOF
34806 #define HAVE_MBSTATE_T 1
34810 for ac_func
in wcsrtombs
34812 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34815 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 cat >conftest.
$ac_ext <<_ACEOF
34821 cat confdefs.h
>>conftest.
$ac_ext
34822 cat >>conftest.
$ac_ext <<_ACEOF
34823 /* end confdefs.h. */
34824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34826 #define $ac_func innocuous_$ac_func
34828 /* System header to define __stub macros and hopefully few prototypes,
34829 which can conflict with char $ac_func (); below.
34830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34831 <limits.h> exists even on freestanding compilers. */
34834 # include <limits.h>
34836 # include <assert.h>
34841 /* Override any GCC internal prototype to avoid an error.
34842 Use char because int might match the return type of a GCC
34843 builtin and then its argument prototype would still apply. */
34848 /* The GNU C library defines this for functions which it implements
34849 to always fail with ENOSYS. Some functions are actually named
34850 something starting with __ and the normal name is an alias. */
34851 #if defined __stub_$ac_func || defined __stub___$ac_func
34858 return $ac_func ();
34863 rm -f conftest.
$ac_objext conftest
$ac_exeext
34864 if { (ac_try
="$ac_link"
34865 case "(($ac_try" in
34866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34867 *) ac_try_echo=$ac_try;;
34869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34870 (eval "$ac_link") 2>conftest.er1
34872 grep -v '^ *+' conftest.er1 >conftest.err
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } && {
34877 test -z "$ac_c_werror_flag" ||
34878 test ! -s conftest.err
34879 } && test -s conftest$ac_exeext &&
34880 $as_test_x conftest$ac_exeext; then
34881 eval "$as_ac_var=yes"
34883 echo "$as_me: failed program was:" >&5
34884 sed 's/^/| /' conftest.$ac_ext >&5
34886 eval "$as_ac_var=no"
34889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34890 conftest$ac_exeext conftest.$ac_ext
34892 ac_res=`eval echo '${'$as_ac_var'}'`
34893 { echo "$as_me:$LINENO: result: $ac_res" >&5
34894 echo "${ECHO_T}$ac_res" >&6; }
34895 if test `eval echo '${'$as_ac_var'}'` = yes; then
34896 cat >>confdefs.h <<_ACEOF
34897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34906 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34907 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34913 for ac_func in snprintf vsnprintf vsscanf
34915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34919 echo $ECHO_N "(cached) $ECHO_C" >&6
34921 cat >conftest.$ac_ext <<_ACEOF
34924 cat confdefs.h >>conftest.$ac_ext
34925 cat >>conftest.$ac_ext <<_ACEOF
34926 /* end confdefs.h. */
34927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34929 #define $ac_func innocuous_$ac_func
34931 /* System header to define __stub macros and hopefully few prototypes,
34932 which can conflict with char $ac_func (); below.
34933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34934 <limits.h> exists even on freestanding compilers. */
34937 # include <limits.h>
34939 # include <assert.h>
34944 /* Override any GCC internal prototype to avoid an error.
34945 Use char because int might match the return type of a GCC
34946 builtin and then its argument prototype would still apply. */
34951 /* The GNU C library defines this for functions which it implements
34952 to always fail with ENOSYS. Some functions are actually named
34953 something starting with __ and the normal name is an alias. */
34954 #if defined __stub_$ac_func || defined __stub___$ac_func
34961 return $ac_func ();
34966 rm -f conftest.$ac_objext conftest$ac_exeext
34967 if { (ac_try="$ac_link"
34968 case "(($ac_try" in
34969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34970 *) ac_try_echo
=$ac_try;;
34972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34973 (eval "$ac_link") 2>conftest.er1
34975 grep -v '^ *+' conftest.er1
>conftest.err
34977 cat conftest.err
>&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } && {
34980 test -z "$ac_c_werror_flag" ||
34981 test ! -s conftest.err
34982 } && test -s conftest
$ac_exeext &&
34983 $as_test_x conftest
$ac_exeext; then
34984 eval "$as_ac_var=yes"
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.
$ac_ext >&5
34989 eval "$as_ac_var=no"
34992 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34993 conftest
$ac_exeext conftest.
$ac_ext
34995 ac_res
=`eval echo '${'$as_ac_var'}'`
34996 { echo "$as_me:$LINENO: result: $ac_res" >&5
34997 echo "${ECHO_T}$ac_res" >&6; }
34998 if test `eval echo '${'$as_ac_var'}'` = yes; then
34999 cat >>confdefs.h
<<_ACEOF
35000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35008 ac_cpp
='$CXXCPP $CPPFLAGS'
35009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35013 if test "$ac_cv_func_vsnprintf" = "yes"; then
35014 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35015 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35016 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 cat >conftest.
$ac_ext <<_ACEOF
35023 cat confdefs.h
>>conftest.
$ac_ext
35024 cat >>conftest.
$ac_ext <<_ACEOF
35025 /* end confdefs.h. */
35028 #include <stdarg.h>
35030 #if __MSL__ >= 0x6000
35032 using namespace std;
35042 vsnprintf(buf, 10u, "%s", ap);
35048 rm -f conftest.
$ac_objext
35049 if { (ac_try
="$ac_compile"
35050 case "(($ac_try" in
35051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35052 *) ac_try_echo=$ac_try;;
35054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35055 (eval "$ac_compile") 2>conftest.er1
35057 grep -v '^ *+' conftest.er1 >conftest.err
35059 cat conftest.err >&5
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); } && {
35062 test -z "$ac_cxx_werror_flag" ||
35063 test ! -s conftest.err
35064 } && test -s conftest.$ac_objext; then
35065 wx_cv_func_vsnprintf_decl=yes
35067 echo "$as_me: failed program was:" >&5
35068 sed 's/^/| /' conftest.$ac_ext >&5
35070 wx_cv_func_vsnprintf_decl=no
35074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35078 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35079 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35081 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35082 cat >>confdefs.h <<\_ACEOF
35083 #define HAVE_VSNPRINTF_DECL 1
35087 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35088 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35089 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 cat >conftest.$ac_ext <<_ACEOF
35096 cat confdefs.h >>conftest.$ac_ext
35097 cat >>conftest.$ac_ext <<_ACEOF
35098 /* end confdefs.h. */
35101 #include <stdarg.h>
35103 #if __MSL__ >= 0x6000
35105 using namespace std;
35115 const char *fmt = "%s";
35116 vsnprintf(buf, 10u, fmt, ap);
35122 rm -f conftest.$ac_objext
35123 if { (ac_try="$ac_compile"
35124 case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35126 *) ac_try_echo
=$ac_try;;
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_compile") 2>conftest.er1
35131 grep -v '^ *+' conftest.er1
>conftest.err
35133 cat conftest.err
>&5
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); } && {
35136 test -z "$ac_cxx_werror_flag" ||
35137 test ! -s conftest.err
35138 } && test -s conftest.
$ac_objext; then
35139 wx_cv_func_broken_vsnprintf_decl
=no
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.
$ac_ext >&5
35144 wx_cv_func_broken_vsnprintf_decl
=yes
35148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35152 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35153 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35155 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35156 cat >>confdefs.h
<<\_ACEOF
35157 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35164 if test "$ac_cv_func_snprintf" = "yes"; then
35165 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35166 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35167 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35168 echo $ECHO_N "(cached) $ECHO_C" >&6
35171 cat >conftest.
$ac_ext <<_ACEOF
35174 cat confdefs.h
>>conftest.
$ac_ext
35175 cat >>conftest.
$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35179 #include <stdarg.h>
35181 #if __MSL__ >= 0x6000
35183 using namespace std;
35192 snprintf(buf, 10u, "%s", "wx");
35198 rm -f conftest.
$ac_objext
35199 if { (ac_try
="$ac_compile"
35200 case "(($ac_try" in
35201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35202 *) ac_try_echo=$ac_try;;
35204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35205 (eval "$ac_compile") 2>conftest.er1
35207 grep -v '^ *+' conftest.er1 >conftest.err
35209 cat conftest.err >&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); } && {
35212 test -z "$ac_cxx_werror_flag" ||
35213 test ! -s conftest.err
35214 } && test -s conftest.$ac_objext; then
35215 wx_cv_func_snprintf_decl=yes
35217 echo "$as_me: failed program was:" >&5
35218 sed 's/^/| /' conftest.$ac_ext >&5
35220 wx_cv_func_snprintf_decl=no
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35228 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35229 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35231 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35232 cat >>confdefs.h <<\_ACEOF
35233 #define HAVE_SNPRINTF_DECL 1
35238 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35240 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35241 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35242 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35243 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 if test "$cross_compiling" = yes; then
35248 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35249 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35250 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35251 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35252 wx_cv_func_snprintf_pos_params=no
35256 cat >conftest.$ac_ext <<_ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35268 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35269 if (strcmp ("2 3 1", buffer) == 0)
35275 rm -f conftest$ac_exeext
35276 if { (ac_try="$ac_link"
35277 case "(($ac_try" in
35278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35279 *) ac_try_echo
=$ac_try;;
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_link") 2>&5
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35286 { (case "(($ac_try" in
35287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35288 *) ac_try_echo=$ac_try;;
35290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35291 (eval "$ac_try") 2>&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); }; }; then
35295 wx_cv_func_snprintf_pos_params=no
35297 echo "$as_me: program exited with status $ac_status" >&5
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35301 ( exit $ac_status )
35302 wx_cv_func_snprintf_pos_params=yes
35304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35311 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35312 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35314 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35315 cat >>confdefs.h <<\_ACEOF
35316 #define HAVE_UNIX98_PRINTF 1
35323 if test "$ac_cv_func_vsscanf" = "yes"; then
35324 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35325 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35326 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35327 echo $ECHO_N "(cached) $ECHO_C" >&6
35330 cat >conftest.$ac_ext <<_ACEOF
35333 cat confdefs.h >>conftest.$ac_ext
35334 cat >>conftest.$ac_ext <<_ACEOF
35335 /* end confdefs.h. */
35338 #include <stdarg.h>
35340 #if __MSL__ >= 0x6000
35342 using namespace std;
35352 vsscanf(buf, "%s", args);
35358 rm -f conftest.$ac_objext
35359 if { (ac_try="$ac_compile"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35362 *) ac_try_echo
=$ac_try;;
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_compile") 2>conftest.er1
35367 grep -v '^ *+' conftest.er1
>conftest.err
35369 cat conftest.err
>&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } && {
35372 test -z "$ac_cxx_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.
$ac_objext; then
35375 wx_cv_func_vsscanf_decl
=yes
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.
$ac_ext >&5
35380 wx_cv_func_vsscanf_decl
=no
35384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35388 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35389 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35391 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35392 cat >>confdefs.h
<<\_ACEOF
35393 #define HAVE_VSSCANF_DECL 1
35399 ac_cpp
='$CPP $CPPFLAGS'
35400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35405 if test "$wxUSE_UNICODE" = yes; then
35407 wchar_headers
="#include <stdio.h>
35408 #include <wchar.h>"
35412 for ac_header
in widec.h
35414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35417 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 cat >conftest.
$ac_ext <<_ACEOF
35423 cat confdefs.h
>>conftest.
$ac_ext
35424 cat >>conftest.
$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 $ac_includes_default
35428 #include <$ac_header>
35430 rm -f conftest.
$ac_objext
35431 if { (ac_try
="$ac_compile"
35432 case "(($ac_try" in
35433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35434 *) ac_try_echo=$ac_try;;
35436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35437 (eval "$ac_compile") 2>conftest.er1
35439 grep -v '^ *+' conftest.er1 >conftest.err
35441 cat conftest.err >&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } && {
35444 test -z "$ac_c_werror_flag" ||
35445 test ! -s conftest.err
35446 } && test -s conftest.$ac_objext; then
35447 eval "$as_ac_Header=yes"
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35452 eval "$as_ac_Header=no"
35455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35457 ac_res=`eval echo '${'$as_ac_Header'}'`
35458 { echo "$as_me:$LINENO: result: $ac_res" >&5
35459 echo "${ECHO_T}$ac_res" >&6; }
35460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35461 cat >>confdefs.h <<_ACEOF
35462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35469 if test "$ac_cv_header_widec_h" = "yes"; then
35470 wchar_headers="$wchar_headers
35471 #include <widec.h>"
35476 for wx_func in putws fputws wprintf vswprintf vswscanf
35478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35480 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35481 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 cat >conftest.$ac_ext <<_ACEOF
35488 cat confdefs.h >>conftest.$ac_ext
35489 cat >>conftest.$ac_ext <<_ACEOF
35490 /* end confdefs.h. */
35493 $ac_includes_default
35509 rm -f conftest.$ac_objext conftest$ac_exeext
35510 if { (ac_try="$ac_link"
35511 case "(($ac_try" in
35512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35513 *) ac_try_echo
=$ac_try;;
35515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35516 (eval "$ac_link") 2>conftest.er1
35518 grep -v '^ *+' conftest.er1
>conftest.err
35520 cat conftest.err
>&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } && {
35523 test -z "$ac_c_werror_flag" ||
35524 test ! -s conftest.err
35525 } && test -s conftest
$ac_exeext &&
35526 $as_test_x conftest
$ac_exeext; then
35527 eval wx_cv_func_
$wx_func=yes
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.
$ac_ext >&5
35532 eval wx_cv_func_
$wx_func=no
35535 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35536 conftest
$ac_exeext conftest.
$ac_ext
35539 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35540 { echo "$as_me:$LINENO: result: $ac_res" >&5
35541 echo "${ECHO_T}$ac_res" >&6; }
35543 if eval test \
$wx_cv_func_$wx_func = yes
35545 cat >>confdefs.h
<<_ACEOF
35546 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35557 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35558 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35559 cat >conftest.
$ac_ext <<_ACEOF
35562 cat confdefs.h
>>conftest.
$ac_ext
35563 cat >>conftest.
$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35574 rm -f conftest.
$ac_objext
35575 if { (ac_try
="$ac_compile"
35576 case "(($ac_try" in
35577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35578 *) ac_try_echo=$ac_try;;
35580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35581 (eval "$ac_compile") 2>conftest.er1
35583 grep -v '^ *+' conftest.er1 >conftest.err
35585 cat conftest.err >&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } && {
35588 test -z "$ac_c_werror_flag" ||
35589 test ! -s conftest.err
35590 } && test -s conftest.$ac_objext; then
35591 { echo "$as_me:$LINENO: result: yes" >&5
35592 echo "${ECHO_T}yes" >&6; }
35593 cat >>confdefs.h <<\_ACEOF
35594 #define HAVE__VSNWPRINTF 1
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35601 { echo "$as_me:$LINENO: result: no" >&5
35602 echo "${ECHO_T}no" >&6; }
35605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35608 if test "$wxUSE_FILE" = "yes"; then
35610 for wx_func in fsync
35612 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35613 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35614 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35615 echo $ECHO_N "(cached) $ECHO_C" >&6
35618 cat >conftest.$ac_ext <<_ACEOF
35622 cat confdefs.h >>conftest.$ac_ext
35623 cat >>conftest.$ac_ext <<_ACEOF
35624 /* end confdefs.h. */
35627 $ac_includes_default
35643 rm -f conftest.$ac_objext conftest$ac_exeext
35644 if { (ac_try="$ac_link"
35645 case "(($ac_try" in
35646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35647 *) ac_try_echo
=$ac_try;;
35649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35650 (eval "$ac_link") 2>conftest.er1
35652 grep -v '^ *+' conftest.er1
>conftest.err
35654 cat conftest.err
>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } && {
35657 test -z "$ac_c_werror_flag" ||
35658 test ! -s conftest.err
35659 } && test -s conftest
$ac_exeext &&
35660 $as_test_x conftest
$ac_exeext; then
35661 eval wx_cv_func_
$wx_func=yes
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.
$ac_ext >&5
35666 eval wx_cv_func_
$wx_func=no
35669 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35670 conftest
$ac_exeext conftest.
$ac_ext
35673 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35674 { echo "$as_me:$LINENO: result: $ac_res" >&5
35675 echo "${ECHO_T}$ac_res" >&6; }
35677 if eval test \
$wx_cv_func_$wx_func = yes
35679 cat >>confdefs.h
<<_ACEOF
35680 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35693 ac_cpp
='$CXXCPP $CPPFLAGS'
35694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35699 for wx_func
in round
35701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35703 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35704 echo $ECHO_N "(cached) $ECHO_C" >&6
35707 cat >conftest.
$ac_ext <<_ACEOF
35711 cat confdefs.h
>>conftest.
$ac_ext
35712 cat >>conftest.
$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35716 $ac_includes_default
35732 rm -f conftest.
$ac_objext conftest
$ac_exeext
35733 if { (ac_try
="$ac_link"
35734 case "(($ac_try" in
35735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35736 *) ac_try_echo=$ac_try;;
35738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35739 (eval "$ac_link") 2>conftest.er1
35741 grep -v '^ *+' conftest.er1 >conftest.err
35743 cat conftest.err >&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } && {
35746 test -z "$ac_cxx_werror_flag" ||
35747 test ! -s conftest.err
35748 } && test -s conftest$ac_exeext &&
35749 $as_test_x conftest$ac_exeext; then
35750 eval wx_cv_func_$wx_func=yes
35752 echo "$as_me: failed program was:" >&5
35753 sed 's/^/| /' conftest.$ac_ext >&5
35755 eval wx_cv_func_$wx_func=no
35758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35759 conftest$ac_exeext conftest.$ac_ext
35762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35763 { echo "$as_me:$LINENO: result: $ac_res" >&5
35764 echo "${ECHO_T}$ac_res" >&6; }
35766 if eval test \$wx_cv_func_$wx_func = yes
35768 cat >>confdefs.h <<_ACEOF
35769 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35786 if test "$TOOLKIT" != "MSW"; then
35788 if test "$wxUSE_LIBICONV" != "no" ; then
35792 # Check whether --with-libiconv-prefix was given.
35793 if test "${with_libiconv_prefix+set}" = set; then
35794 withval=$with_libiconv_prefix;
35795 for dir in `echo "$withval" | tr : ' '`; do
35796 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35797 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35803 { echo "$as_me:$LINENO: checking for iconv" >&5
35804 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35805 if test "${am_cv_func_iconv+set}" = set; then
35806 echo $ECHO_N "(cached) $ECHO_C" >&6
35809 am_cv_func_iconv="no, consider installing GNU libiconv"
35811 cat >conftest.$ac_ext <<_ACEOF
35814 cat confdefs.h >>conftest.$ac_ext
35815 cat >>conftest.$ac_ext <<_ACEOF
35816 /* end confdefs.h. */
35817 #include <stdlib.h>
35822 iconv_t cd = iconv_open("","");
35823 iconv(cd,NULL,NULL,NULL,NULL);
35829 rm -f conftest.$ac_objext conftest$ac_exeext
35830 if { (ac_try="$ac_link"
35831 case "(($ac_try" in
35832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35833 *) ac_try_echo
=$ac_try;;
35835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35836 (eval "$ac_link") 2>conftest.er1
35838 grep -v '^ *+' conftest.er1
>conftest.err
35840 cat conftest.err
>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } && {
35843 test -z "$ac_c_werror_flag" ||
35844 test ! -s conftest.err
35845 } && test -s conftest
$ac_exeext &&
35846 $as_test_x conftest
$ac_exeext; then
35847 am_cv_func_iconv
=yes
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.
$ac_ext >&5
35855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35856 conftest
$ac_exeext conftest.
$ac_ext
35857 if test "$am_cv_func_iconv" != yes; then
35858 am_save_LIBS
="$LIBS"
35859 LIBS
="$LIBS -liconv"
35860 cat >conftest.
$ac_ext <<_ACEOF
35863 cat confdefs.h
>>conftest.
$ac_ext
35864 cat >>conftest.
$ac_ext <<_ACEOF
35865 /* end confdefs.h. */
35866 #include <stdlib.h>
35871 iconv_t cd = iconv_open("","");
35872 iconv(cd,NULL,NULL,NULL,NULL);
35878 rm -f conftest.
$ac_objext conftest
$ac_exeext
35879 if { (ac_try
="$ac_link"
35880 case "(($ac_try" in
35881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35882 *) ac_try_echo=$ac_try;;
35884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35885 (eval "$ac_link") 2>conftest.er1
35887 grep -v '^ *+' conftest.er1 >conftest.err
35889 cat conftest.err >&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } && {
35892 test -z "$ac_c_werror_flag" ||
35893 test ! -s conftest.err
35894 } && test -s conftest$ac_exeext &&
35895 $as_test_x conftest$ac_exeext; then
35896 am_cv_lib_iconv=yes
35897 am_cv_func_iconv=yes
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.$ac_ext >&5
35905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35906 conftest$ac_exeext conftest.$ac_ext
35907 LIBS="$am_save_LIBS"
35911 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35912 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35913 if test "$am_cv_func_iconv" = yes; then
35915 cat >>confdefs.h <<\_ACEOF
35916 #define HAVE_ICONV 1
35919 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35920 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35921 if test "${wx_cv_func_iconv_const+set}" = set; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35924 cat >conftest.$ac_ext <<_ACEOF
35927 cat confdefs.h >>conftest.$ac_ext
35928 cat >>conftest.$ac_ext <<_ACEOF
35929 /* end confdefs.h. */
35931 #include <stdlib.h>
35937 #if defined(__STDC__) || defined(__cplusplus)
35938 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35951 rm -f conftest.$ac_objext
35952 if { (ac_try="$ac_compile"
35953 case "(($ac_try" in
35954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35955 *) ac_try_echo
=$ac_try;;
35957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35958 (eval "$ac_compile") 2>conftest.er1
35960 grep -v '^ *+' conftest.er1
>conftest.err
35962 cat conftest.err
>&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); } && {
35965 test -z "$ac_c_werror_flag" ||
35966 test ! -s conftest.err
35967 } && test -s conftest.
$ac_objext; then
35968 wx_cv_func_iconv_const
="no"
35970 echo "$as_me: failed program was:" >&5
35971 sed 's/^/| /' conftest.
$ac_ext >&5
35973 wx_cv_func_iconv_const
="yes"
35977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35980 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35981 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35984 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35985 iconv_const
="const"
35989 cat >>confdefs.h
<<_ACEOF
35990 #define ICONV_CONST $iconv_const
35995 if test "$am_cv_lib_iconv" = yes; then
36000 LIBS
="$LIBICONV $LIBS"
36003 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36005 for ac_func
in sigaction
36007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36010 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36011 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 cat >conftest.
$ac_ext <<_ACEOF
36016 cat confdefs.h
>>conftest.
$ac_ext
36017 cat >>conftest.
$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36021 #define $ac_func innocuous_$ac_func
36023 /* System header to define __stub macros and hopefully few prototypes,
36024 which can conflict with char $ac_func (); below.
36025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36026 <limits.h> exists even on freestanding compilers. */
36029 # include <limits.h>
36031 # include <assert.h>
36036 /* Override any GCC internal prototype to avoid an error.
36037 Use char because int might match the return type of a GCC
36038 builtin and then its argument prototype would still apply. */
36043 /* The GNU C library defines this for functions which it implements
36044 to always fail with ENOSYS. Some functions are actually named
36045 something starting with __ and the normal name is an alias. */
36046 #if defined __stub_$ac_func || defined __stub___$ac_func
36053 return $ac_func ();
36058 rm -f conftest.
$ac_objext conftest
$ac_exeext
36059 if { (ac_try
="$ac_link"
36060 case "(($ac_try" in
36061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36062 *) ac_try_echo=$ac_try;;
36064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36065 (eval "$ac_link") 2>conftest.er1
36067 grep -v '^ *+' conftest.er1 >conftest.err
36069 cat conftest.err >&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); } && {
36072 test -z "$ac_c_werror_flag" ||
36073 test ! -s conftest.err
36074 } && test -s conftest$ac_exeext &&
36075 $as_test_x conftest$ac_exeext; then
36076 eval "$as_ac_var=yes"
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.$ac_ext >&5
36081 eval "$as_ac_var=no"
36084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36085 conftest$ac_exeext conftest.$ac_ext
36087 ac_res=`eval echo '${'$as_ac_var'}'`
36088 { echo "$as_me:$LINENO: result: $ac_res" >&5
36089 echo "${ECHO_T}$ac_res" >&6; }
36090 if test `eval echo '${'$as_ac_var'}'` = yes; then
36091 cat >>confdefs.h <<_ACEOF
36092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36099 if test "$ac_cv_func_sigaction" = "no"; then
36100 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36101 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36102 wxUSE_ON_FATAL_EXCEPTION=no
36105 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36106 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36107 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36108 if test "${wx_cv_type_sa_handler+set}" = set; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36118 cat >conftest.$ac_ext <<_ACEOF
36121 cat confdefs.h >>conftest.$ac_ext
36122 cat >>conftest.$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36124 #include <signal.h>
36129 extern void testSigHandler(int);
36131 struct sigaction sa;
36132 sa.sa_handler = testSigHandler;
36138 rm -f conftest.$ac_objext
36139 if { (ac_try="$ac_compile"
36140 case "(($ac_try" in
36141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36142 *) ac_try_echo
=$ac_try;;
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145 (eval "$ac_compile") 2>conftest.er1
36147 grep -v '^ *+' conftest.er1
>conftest.err
36149 cat conftest.err
>&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); } && {
36152 test -z "$ac_cxx_werror_flag" ||
36153 test ! -s conftest.err
36154 } && test -s conftest.
$ac_objext; then
36156 wx_cv_type_sa_handler
=int
36159 echo "$as_me: failed program was:" >&5
36160 sed 's/^/| /' conftest.
$ac_ext >&5
36163 wx_cv_type_sa_handler
=void
36167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36169 ac_cpp
='$CPP $CPPFLAGS'
36170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36176 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36177 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36179 cat >>confdefs.h
<<_ACEOF
36180 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36186 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36187 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36188 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36189 if test "${wx_cv_func_backtrace+set}" = set; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36194 ac_cpp
='$CXXCPP $CPPFLAGS'
36195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36199 cat >conftest.
$ac_ext <<_ACEOF
36202 cat confdefs.h
>>conftest.
$ac_ext
36203 cat >>conftest.
$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 #include <execinfo.h>
36213 backtrace(trace, 1);
36214 messages = backtrace_symbols(trace, 1);
36220 rm -f conftest.
$ac_objext
36221 if { (ac_try
="$ac_compile"
36222 case "(($ac_try" in
36223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36224 *) ac_try_echo=$ac_try;;
36226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36227 (eval "$ac_compile") 2>conftest.er1
36229 grep -v '^ *+' conftest.er1 >conftest.err
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } && {
36234 test -z "$ac_cxx_werror_flag" ||
36235 test ! -s conftest.err
36236 } && test -s conftest.$ac_objext; then
36237 wx_cv_func_backtrace=yes
36239 echo "$as_me: failed program was:" >&5
36240 sed 's/^/| /' conftest.$ac_ext >&5
36242 wx_cv_func_backtrace=no
36246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36248 ac_cpp='$CPP $CPPFLAGS'
36249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36256 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36257 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36260 if test "$wx_cv_func_backtrace" = "no"; then
36261 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36262 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36263 wxUSE_STACKWALKER=no
36265 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36266 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36267 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36272 ac_cpp='$CXXCPP $CPPFLAGS'
36273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36277 cat >conftest.$ac_ext <<_ACEOF
36280 cat confdefs.h >>conftest.$ac_ext
36281 cat >>conftest.$ac_ext <<_ACEOF
36282 /* end confdefs.h. */
36283 #include <cxxabi.h>
36289 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36295 rm -f conftest.$ac_objext conftest$ac_exeext
36296 if { (ac_try="$ac_link"
36297 case "(($ac_try" in
36298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36299 *) ac_try_echo
=$ac_try;;
36301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36302 (eval "$ac_link") 2>conftest.er1
36304 grep -v '^ *+' conftest.er1
>conftest.err
36306 cat conftest.err
>&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); } && {
36309 test -z "$ac_cxx_werror_flag" ||
36310 test ! -s conftest.err
36311 } && test -s conftest
$ac_exeext &&
36312 $as_test_x conftest
$ac_exeext; then
36313 wx_cv_func_cxa_demangle
=yes
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.
$ac_ext >&5
36318 wx_cv_func_cxa_demangle
=no
36322 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36323 conftest
$ac_exeext conftest.
$ac_ext
36325 ac_cpp
='$CPP $CPPFLAGS'
36326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36333 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36334 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36336 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36337 cat >>confdefs.h
<<\_ACEOF
36338 #define HAVE_CXA_DEMANGLE 1
36345 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36346 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36347 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36348 wxUSE_STACKWALKER
=no
36354 for ac_func
in mkstemp mktemp
36356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36359 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36362 cat >conftest.
$ac_ext <<_ACEOF
36365 cat confdefs.h
>>conftest.
$ac_ext
36366 cat >>conftest.
$ac_ext <<_ACEOF
36367 /* end confdefs.h. */
36368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36370 #define $ac_func innocuous_$ac_func
36372 /* System header to define __stub macros and hopefully few prototypes,
36373 which can conflict with char $ac_func (); below.
36374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36375 <limits.h> exists even on freestanding compilers. */
36378 # include <limits.h>
36380 # include <assert.h>
36385 /* Override any GCC internal prototype to avoid an error.
36386 Use char because int might match the return type of a GCC
36387 builtin and then its argument prototype would still apply. */
36392 /* The GNU C library defines this for functions which it implements
36393 to always fail with ENOSYS. Some functions are actually named
36394 something starting with __ and the normal name is an alias. */
36395 #if defined __stub_$ac_func || defined __stub___$ac_func
36402 return $ac_func ();
36407 rm -f conftest.
$ac_objext conftest
$ac_exeext
36408 if { (ac_try
="$ac_link"
36409 case "(($ac_try" in
36410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36411 *) ac_try_echo=$ac_try;;
36413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36414 (eval "$ac_link") 2>conftest.er1
36416 grep -v '^ *+' conftest.er1 >conftest.err
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } && {
36421 test -z "$ac_c_werror_flag" ||
36422 test ! -s conftest.err
36423 } && test -s conftest$ac_exeext &&
36424 $as_test_x conftest$ac_exeext; then
36425 eval "$as_ac_var=yes"
36427 echo "$as_me: failed program was:" >&5
36428 sed 's/^/| /' conftest.$ac_ext >&5
36430 eval "$as_ac_var=no"
36433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36434 conftest$ac_exeext conftest.$ac_ext
36436 ac_res=`eval echo '${'$as_ac_var'}'`
36437 { echo "$as_me:$LINENO: result: $ac_res" >&5
36438 echo "${ECHO_T}$ac_res" >&6; }
36439 if test `eval echo '${'$as_ac_var'}'` = yes; then
36440 cat >>confdefs.h <<_ACEOF
36441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36448 { echo "$as_me:$LINENO: checking for statfs" >&5
36449 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36450 if test "${wx_cv_func_statfs+set}" = set; then
36451 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 cat >conftest.$ac_ext <<_ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36460 #if defined(__BSD__)
36461 #include <sys/param.h>
36462 #include <sys/mount.h>
36464 #include <sys/vfs.h>
36482 rm -f conftest.$ac_objext
36483 if { (ac_try="$ac_compile"
36484 case "(($ac_try" in
36485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36486 *) ac_try_echo
=$ac_try;;
36488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36489 (eval "$ac_compile") 2>conftest.er1
36491 grep -v '^ *+' conftest.er1
>conftest.err
36493 cat conftest.err
>&5
36494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495 (exit $ac_status); } && {
36496 test -z "$ac_c_werror_flag" ||
36497 test ! -s conftest.err
36498 } && test -s conftest.
$ac_objext; then
36499 wx_cv_func_statfs
=yes
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.
$ac_ext >&5
36504 wx_cv_func_statfs
=no
36508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36511 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36512 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36514 if test "$wx_cv_func_statfs" = "yes"; then
36515 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36516 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36517 if test "${wx_cv_func_statfs_decl+set}" = set; then
36518 echo $ECHO_N "(cached) $ECHO_C" >&6
36521 ac_cpp
='$CXXCPP $CPPFLAGS'
36522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36526 cat >conftest.
$ac_ext <<_ACEOF
36529 cat confdefs.h
>>conftest.
$ac_ext
36530 cat >>conftest.
$ac_ext <<_ACEOF
36531 /* end confdefs.h. */
36533 #if defined(__BSD__)
36534 #include <sys/param.h>
36535 #include <sys/mount.h>
36537 #include <sys/vfs.h>
36551 rm -f conftest.
$ac_objext
36552 if { (ac_try
="$ac_compile"
36553 case "(($ac_try" in
36554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36555 *) ac_try_echo=$ac_try;;
36557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36558 (eval "$ac_compile") 2>conftest.er1
36560 grep -v '^ *+' conftest.er1 >conftest.err
36562 cat conftest.err >&5
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); } && {
36565 test -z "$ac_cxx_werror_flag" ||
36566 test ! -s conftest.err
36567 } && test -s conftest.$ac_objext; then
36568 wx_cv_func_statfs_decl=yes
36570 echo "$as_me: failed program was:" >&5
36571 sed 's/^/| /' conftest.$ac_ext >&5
36573 wx_cv_func_statfs_decl=no
36577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 ac_cpp='$CPP $CPPFLAGS'
36580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36586 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36587 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36589 if test "$wx_cv_func_statfs_decl" = "yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591 #define HAVE_STATFS_DECL 1
36596 wx_cv_type_statvfs_t="struct statfs"
36597 cat >>confdefs.h <<\_ACEOF
36598 #define HAVE_STATFS 1
36602 { echo "$as_me:$LINENO: checking for statvfs" >&5
36603 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36604 if test "${wx_cv_func_statvfs+set}" = set; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36607 cat >conftest.$ac_ext <<_ACEOF
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36614 #include <stddef.h>
36615 #include <sys/statvfs.h>
36621 statvfs("/", NULL);
36627 rm -f conftest.$ac_objext
36628 if { (ac_try="$ac_compile"
36629 case "(($ac_try" in
36630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36631 *) ac_try_echo
=$ac_try;;
36633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36634 (eval "$ac_compile") 2>conftest.er1
36636 grep -v '^ *+' conftest.er1
>conftest.err
36638 cat conftest.err
>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); } && {
36641 test -z "$ac_c_werror_flag" ||
36642 test ! -s conftest.err
36643 } && test -s conftest.
$ac_objext; then
36644 wx_cv_func_statvfs
=yes
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.
$ac_ext >&5
36649 wx_cv_func_statvfs
=no
36653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36656 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36657 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36659 if test "$wx_cv_func_statvfs" = "yes"; then
36660 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36661 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36662 if test "${wx_cv_type_statvfs_t+set}" = set; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 ac_cpp
='$CXXCPP $CPPFLAGS'
36667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36671 cat >conftest.
$ac_ext <<_ACEOF
36674 cat confdefs.h
>>conftest.
$ac_ext
36675 cat >>conftest.
$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36678 #include <sys/statvfs.h>
36695 rm -f conftest.
$ac_objext
36696 if { (ac_try
="$ac_compile"
36697 case "(($ac_try" in
36698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36699 *) ac_try_echo=$ac_try;;
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_compile") 2>conftest.er1
36704 grep -v '^ *+' conftest.er1 >conftest.err
36706 cat conftest.err >&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); } && {
36709 test -z "$ac_cxx_werror_flag" ||
36710 test ! -s conftest.err
36711 } && test -s conftest.$ac_objext; then
36712 wx_cv_type_statvfs_t=statvfs_t
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36718 cat >conftest.$ac_ext <<_ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36725 #include <sys/statvfs.h>
36742 rm -f conftest.$ac_objext
36743 if { (ac_try="$ac_compile"
36744 case "(($ac_try" in
36745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36746 *) ac_try_echo
=$ac_try;;
36748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36749 (eval "$ac_compile") 2>conftest.er1
36751 grep -v '^ *+' conftest.er1
>conftest.err
36753 cat conftest.err
>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } && {
36756 test -z "$ac_cxx_werror_flag" ||
36757 test ! -s conftest.err
36758 } && test -s conftest.
$ac_objext; then
36759 wx_cv_type_statvfs_t
="struct statvfs"
36761 echo "$as_me: failed program was:" >&5
36762 sed 's/^/| /' conftest.
$ac_ext >&5
36764 wx_cv_type_statvfs_t
="unknown"
36768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36775 ac_cpp
='$CPP $CPPFLAGS'
36776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36782 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36783 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36785 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36786 cat >>confdefs.h
<<\_ACEOF
36787 #define HAVE_STATVFS 1
36792 wx_cv_type_statvfs_t
="unknown"
36796 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36797 cat >>confdefs.h
<<_ACEOF
36798 #define WX_STATFS_T $wx_cv_type_statvfs_t
36802 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36803 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36806 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36809 for ac_func
in fcntl flock
36811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36814 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36815 echo $ECHO_N "(cached) $ECHO_C" >&6
36817 cat >conftest.
$ac_ext <<_ACEOF
36820 cat confdefs.h
>>conftest.
$ac_ext
36821 cat >>conftest.
$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36825 #define $ac_func innocuous_$ac_func
36827 /* System header to define __stub macros and hopefully few prototypes,
36828 which can conflict with char $ac_func (); below.
36829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36830 <limits.h> exists even on freestanding compilers. */
36833 # include <limits.h>
36835 # include <assert.h>
36840 /* Override any GCC internal prototype to avoid an error.
36841 Use char because int might match the return type of a GCC
36842 builtin and then its argument prototype would still apply. */
36847 /* The GNU C library defines this for functions which it implements
36848 to always fail with ENOSYS. Some functions are actually named
36849 something starting with __ and the normal name is an alias. */
36850 #if defined __stub_$ac_func || defined __stub___$ac_func
36857 return $ac_func ();
36862 rm -f conftest.
$ac_objext conftest
$ac_exeext
36863 if { (ac_try
="$ac_link"
36864 case "(($ac_try" in
36865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36866 *) ac_try_echo=$ac_try;;
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_link") 2>conftest.er1
36871 grep -v '^ *+' conftest.er1 >conftest.err
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_c_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest$ac_exeext &&
36879 $as_test_x conftest$ac_exeext; then
36880 eval "$as_ac_var=yes"
36882 echo "$as_me: failed program was:" >&5
36883 sed 's/^/| /' conftest.$ac_ext >&5
36885 eval "$as_ac_var=no"
36888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36889 conftest$ac_exeext conftest.$ac_ext
36891 ac_res=`eval echo '${'$as_ac_var'}'`
36892 { echo "$as_me:$LINENO: result: $ac_res" >&5
36893 echo "${ECHO_T}$ac_res" >&6; }
36894 if test `eval echo '${'$as_ac_var'}'` = yes; then
36895 cat >>confdefs.h <<_ACEOF
36896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36903 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36904 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36905 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36906 wxUSE_SNGLINST_CHECKER=no
36912 for ac_func in setenv putenv
36914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36918 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 cat >conftest.$ac_ext <<_ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36928 #define $ac_func innocuous_$ac_func
36930 /* System header to define __stub macros and hopefully few prototypes,
36931 which can conflict with char $ac_func (); below.
36932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36933 <limits.h> exists even on freestanding compilers. */
36936 # include <limits.h>
36938 # include <assert.h>
36943 /* Override any GCC internal prototype to avoid an error.
36944 Use char because int might match the return type of a GCC
36945 builtin and then its argument prototype would still apply. */
36950 /* The GNU C library defines this for functions which it implements
36951 to always fail with ENOSYS. Some functions are actually named
36952 something starting with __ and the normal name is an alias. */
36953 #if defined __stub_$ac_func || defined __stub___$ac_func
36960 return $ac_func ();
36965 rm -f conftest.$ac_objext conftest$ac_exeext
36966 if { (ac_try="$ac_link"
36967 case "(($ac_try" in
36968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36969 *) ac_try_echo
=$ac_try;;
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_link") 2>conftest.er1
36974 grep -v '^ *+' conftest.er1
>conftest.err
36976 cat conftest.err
>&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest
$ac_exeext &&
36982 $as_test_x conftest
$ac_exeext; then
36983 eval "$as_ac_var=yes"
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.
$ac_ext >&5
36988 eval "$as_ac_var=no"
36991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36992 conftest
$ac_exeext conftest.
$ac_ext
36994 ac_res
=`eval echo '${'$as_ac_var'}'`
36995 { echo "$as_me:$LINENO: result: $ac_res" >&5
36996 echo "${ECHO_T}$ac_res" >&6; }
36997 if test `eval echo '${'$as_ac_var'}'` = yes; then
36998 cat >>confdefs.h
<<_ACEOF
36999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37005 if test "$ac_cv_func_setenv" = "yes"; then
37007 for ac_func
in unsetenv
37009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37012 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37013 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 cat >conftest.
$ac_ext <<_ACEOF
37018 cat confdefs.h
>>conftest.
$ac_ext
37019 cat >>conftest.
$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37023 #define $ac_func innocuous_$ac_func
37025 /* System header to define __stub macros and hopefully few prototypes,
37026 which can conflict with char $ac_func (); below.
37027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37028 <limits.h> exists even on freestanding compilers. */
37031 # include <limits.h>
37033 # include <assert.h>
37038 /* Override any GCC internal prototype to avoid an error.
37039 Use char because int might match the return type of a GCC
37040 builtin and then its argument prototype would still apply. */
37045 /* The GNU C library defines this for functions which it implements
37046 to always fail with ENOSYS. Some functions are actually named
37047 something starting with __ and the normal name is an alias. */
37048 #if defined __stub_$ac_func || defined __stub___$ac_func
37055 return $ac_func ();
37060 rm -f conftest.
$ac_objext conftest
$ac_exeext
37061 if { (ac_try
="$ac_link"
37062 case "(($ac_try" in
37063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37064 *) ac_try_echo=$ac_try;;
37066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37067 (eval "$ac_link") 2>conftest.er1
37069 grep -v '^ *+' conftest.er1 >conftest.err
37071 cat conftest.err >&5
37072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37073 (exit $ac_status); } && {
37074 test -z "$ac_c_werror_flag" ||
37075 test ! -s conftest.err
37076 } && test -s conftest$ac_exeext &&
37077 $as_test_x conftest$ac_exeext; then
37078 eval "$as_ac_var=yes"
37080 echo "$as_me: failed program was:" >&5
37081 sed 's/^/| /' conftest.$ac_ext >&5
37083 eval "$as_ac_var=no"
37086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37087 conftest$ac_exeext conftest.$ac_ext
37089 ac_res=`eval echo '${'$as_ac_var'}'`
37090 { echo "$as_me:$LINENO: result: $ac_res" >&5
37091 echo "${ECHO_T}$ac_res" >&6; }
37092 if test `eval echo '${'$as_ac_var'}'` = yes; then
37093 cat >>confdefs.h <<_ACEOF
37094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37102 HAVE_SOME_SLEEP_FUNC=0
37103 if test "$USE_BEOS" = 1; then
37104 cat >>confdefs.h <<\_ACEOF
37105 #define HAVE_SLEEP 1
37108 HAVE_SOME_SLEEP_FUNC=1
37111 if test "$USE_DARWIN" = 1; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_USLEEP 1
37116 HAVE_SOME_SLEEP_FUNC=1
37119 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37122 for ac_func in nanosleep
37124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37130 cat >conftest.$ac_ext <<_ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37138 #define $ac_func innocuous_$ac_func
37140 /* System header to define __stub macros and hopefully few prototypes,
37141 which can conflict with char $ac_func (); below.
37142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37143 <limits.h> exists even on freestanding compilers. */
37146 # include <limits.h>
37148 # include <assert.h>
37153 /* Override any GCC internal prototype to avoid an error.
37154 Use char because int might match the return type of a GCC
37155 builtin and then its argument prototype would still apply. */
37160 /* The GNU C library defines this for functions which it implements
37161 to always fail with ENOSYS. Some functions are actually named
37162 something starting with __ and the normal name is an alias. */
37163 #if defined __stub_$ac_func || defined __stub___$ac_func
37170 return $ac_func ();
37175 rm -f conftest.$ac_objext conftest$ac_exeext
37176 if { (ac_try="$ac_link"
37177 case "(($ac_try" in
37178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37179 *) ac_try_echo
=$ac_try;;
37181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37182 (eval "$ac_link") 2>conftest.er1
37184 grep -v '^ *+' conftest.er1
>conftest.err
37186 cat conftest.err
>&5
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); } && {
37189 test -z "$ac_c_werror_flag" ||
37190 test ! -s conftest.err
37191 } && test -s conftest
$ac_exeext &&
37192 $as_test_x conftest
$ac_exeext; then
37193 eval "$as_ac_var=yes"
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.
$ac_ext >&5
37198 eval "$as_ac_var=no"
37201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37202 conftest
$ac_exeext conftest.
$ac_ext
37204 ac_res
=`eval echo '${'$as_ac_var'}'`
37205 { echo "$as_me:$LINENO: result: $ac_res" >&5
37206 echo "${ECHO_T}$ac_res" >&6; }
37207 if test `eval echo '${'$as_ac_var'}'` = yes; then
37208 cat >>confdefs.h
<<_ACEOF
37209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37211 cat >>confdefs.h
<<\_ACEOF
37212 #define HAVE_NANOSLEEP 1
37217 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37218 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37219 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 ac_check_lib_save_LIBS
=$LIBS
37223 LIBS
="-lposix4 $LIBS"
37224 cat >conftest.
$ac_ext <<_ACEOF
37227 cat confdefs.h
>>conftest.
$ac_ext
37228 cat >>conftest.
$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37231 /* Override any GCC internal prototype to avoid an error.
37232 Use char because int might match the return type of a GCC
37233 builtin and then its argument prototype would still apply. */
37241 return nanosleep ();
37246 rm -f conftest.
$ac_objext conftest
$ac_exeext
37247 if { (ac_try
="$ac_link"
37248 case "(($ac_try" in
37249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37250 *) ac_try_echo=$ac_try;;
37252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37253 (eval "$ac_link") 2>conftest.er1
37255 grep -v '^ *+' conftest.er1 >conftest.err
37257 cat conftest.err >&5
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); } && {
37260 test -z "$ac_c_werror_flag" ||
37261 test ! -s conftest.err
37262 } && test -s conftest$ac_exeext &&
37263 $as_test_x conftest$ac_exeext; then
37264 ac_cv_lib_posix4_nanosleep=yes
37266 echo "$as_me: failed program was:" >&5
37267 sed 's/^/| /' conftest.$ac_ext >&5
37269 ac_cv_lib_posix4_nanosleep=no
37272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37273 conftest$ac_exeext conftest.$ac_ext
37274 LIBS=$ac_check_lib_save_LIBS
37276 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37277 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37278 if test $ac_cv_lib_posix4_nanosleep = yes; then
37280 cat >>confdefs.h <<\_ACEOF
37281 #define HAVE_NANOSLEEP 1
37284 POSIX4_LINK=" -lposix4"
37289 for wx_func in usleep
37291 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37292 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37293 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37294 echo $ECHO_N "(cached) $ECHO_C" >&6
37297 cat >conftest.$ac_ext <<_ACEOF
37301 cat confdefs.h >>conftest.$ac_ext
37302 cat >>conftest.$ac_ext <<_ACEOF
37303 /* end confdefs.h. */
37306 $ac_includes_default
37322 rm -f conftest.$ac_objext conftest$ac_exeext
37323 if { (ac_try="$ac_link"
37324 case "(($ac_try" in
37325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37326 *) ac_try_echo
=$ac_try;;
37328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37329 (eval "$ac_link") 2>conftest.er1
37331 grep -v '^ *+' conftest.er1
>conftest.err
37333 cat conftest.err
>&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); } && {
37336 test -z "$ac_c_werror_flag" ||
37337 test ! -s conftest.err
37338 } && test -s conftest
$ac_exeext &&
37339 $as_test_x conftest
$ac_exeext; then
37340 eval wx_cv_func_
$wx_func=yes
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.
$ac_ext >&5
37345 eval wx_cv_func_
$wx_func=no
37348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37349 conftest
$ac_exeext conftest.
$ac_ext
37352 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37353 { echo "$as_me:$LINENO: result: $ac_res" >&5
37354 echo "${ECHO_T}$ac_res" >&6; }
37356 if eval test \
$wx_cv_func_$wx_func = yes
37358 cat >>confdefs.h
<<_ACEOF
37359 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37365 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37366 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37383 for wx_func
in uname
37385 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37386 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37387 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37388 echo $ECHO_N "(cached) $ECHO_C" >&6
37391 cat >conftest.
$ac_ext <<_ACEOF
37395 cat confdefs.h
>>conftest.
$ac_ext
37396 cat >>conftest.
$ac_ext <<_ACEOF
37397 /* end confdefs.h. */
37399 #include <sys/utsname.h>
37400 $ac_includes_default
37416 rm -f conftest.
$ac_objext conftest
$ac_exeext
37417 if { (ac_try
="$ac_link"
37418 case "(($ac_try" in
37419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37420 *) ac_try_echo=$ac_try;;
37422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37423 (eval "$ac_link") 2>conftest.er1
37425 grep -v '^ *+' conftest.er1 >conftest.err
37427 cat conftest.err >&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } && {
37430 test -z "$ac_c_werror_flag" ||
37431 test ! -s conftest.err
37432 } && test -s conftest$ac_exeext &&
37433 $as_test_x conftest$ac_exeext; then
37434 eval wx_cv_func_$wx_func=yes
37436 echo "$as_me: failed program was:" >&5
37437 sed 's/^/| /' conftest.$ac_ext >&5
37439 eval wx_cv_func_$wx_func=no
37442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37443 conftest$ac_exeext conftest.$ac_ext
37446 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37447 { echo "$as_me:$LINENO: result: $ac_res" >&5
37448 echo "${ECHO_T}$ac_res" >&6; }
37450 if eval test \$wx_cv_func_$wx_func = yes
37452 cat >>confdefs.h <<_ACEOF
37453 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37463 if test "$wx_cv_func_uname" != yes; then
37465 for wx_func in gethostname
37467 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37468 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37469 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37470 echo $ECHO_N "(cached) $ECHO_C" >&6
37473 cat >conftest.$ac_ext <<_ACEOF
37477 cat confdefs.h >>conftest.$ac_ext
37478 cat >>conftest.$ac_ext <<_ACEOF
37479 /* end confdefs.h. */
37482 $ac_includes_default
37498 rm -f conftest.$ac_objext conftest$ac_exeext
37499 if { (ac_try="$ac_link"
37500 case "(($ac_try" in
37501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37502 *) ac_try_echo
=$ac_try;;
37504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37505 (eval "$ac_link") 2>conftest.er1
37507 grep -v '^ *+' conftest.er1
>conftest.err
37509 cat conftest.err
>&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } && {
37512 test -z "$ac_c_werror_flag" ||
37513 test ! -s conftest.err
37514 } && test -s conftest
$ac_exeext &&
37515 $as_test_x conftest
$ac_exeext; then
37516 eval wx_cv_func_
$wx_func=yes
37518 echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.
$ac_ext >&5
37521 eval wx_cv_func_
$wx_func=no
37524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37525 conftest
$ac_exeext conftest.
$ac_ext
37528 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37529 { echo "$as_me:$LINENO: result: $ac_res" >&5
37530 echo "${ECHO_T}$ac_res" >&6; }
37532 if eval test \
$wx_cv_func_$wx_func = yes
37534 cat >>confdefs.h
<<_ACEOF
37535 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37548 for wx_func
in strtok_r
37550 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37551 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37552 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37553 echo $ECHO_N "(cached) $ECHO_C" >&6
37556 cat >conftest.
$ac_ext <<_ACEOF
37560 cat confdefs.h
>>conftest.
$ac_ext
37561 cat >>conftest.
$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37565 $ac_includes_default
37581 rm -f conftest.
$ac_objext conftest
$ac_exeext
37582 if { (ac_try
="$ac_link"
37583 case "(($ac_try" in
37584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37585 *) ac_try_echo=$ac_try;;
37587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37588 (eval "$ac_link") 2>conftest.er1
37590 grep -v '^ *+' conftest.er1 >conftest.err
37592 cat conftest.err >&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); } && {
37595 test -z "$ac_c_werror_flag" ||
37596 test ! -s conftest.err
37597 } && test -s conftest$ac_exeext &&
37598 $as_test_x conftest$ac_exeext; then
37599 eval wx_cv_func_$wx_func=yes
37601 echo "$as_me: failed program was:" >&5
37602 sed 's/^/| /' conftest.$ac_ext >&5
37604 eval wx_cv_func_$wx_func=no
37607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37608 conftest$ac_exeext conftest.$ac_ext
37611 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37612 { echo "$as_me:$LINENO: result: $ac_res" >&5
37613 echo "${ECHO_T}$ac_res" >&6; }
37615 if eval test \$wx_cv_func_$wx_func = yes
37617 cat >>confdefs.h <<_ACEOF
37618 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37631 for ac_func in inet_addr
37633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37637 echo $ECHO_N "(cached) $ECHO_C" >&6
37639 cat >conftest.$ac_ext <<_ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37647 #define $ac_func innocuous_$ac_func
37649 /* System header to define __stub macros and hopefully few prototypes,
37650 which can conflict with char $ac_func (); below.
37651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37652 <limits.h> exists even on freestanding compilers. */
37655 # include <limits.h>
37657 # include <assert.h>
37662 /* Override any GCC internal prototype to avoid an error.
37663 Use char because int might match the return type of a GCC
37664 builtin and then its argument prototype would still apply. */
37669 /* The GNU C library defines this for functions which it implements
37670 to always fail with ENOSYS. Some functions are actually named
37671 something starting with __ and the normal name is an alias. */
37672 #if defined __stub_$ac_func || defined __stub___$ac_func
37679 return $ac_func ();
37684 rm -f conftest.$ac_objext conftest$ac_exeext
37685 if { (ac_try="$ac_link"
37686 case "(($ac_try" in
37687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37688 *) ac_try_echo
=$ac_try;;
37690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37691 (eval "$ac_link") 2>conftest.er1
37693 grep -v '^ *+' conftest.er1
>conftest.err
37695 cat conftest.err
>&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); } && {
37698 test -z "$ac_c_werror_flag" ||
37699 test ! -s conftest.err
37700 } && test -s conftest
$ac_exeext &&
37701 $as_test_x conftest
$ac_exeext; then
37702 eval "$as_ac_var=yes"
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.
$ac_ext >&5
37707 eval "$as_ac_var=no"
37710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37711 conftest
$ac_exeext conftest.
$ac_ext
37713 ac_res
=`eval echo '${'$as_ac_var'}'`
37714 { echo "$as_me:$LINENO: result: $ac_res" >&5
37715 echo "${ECHO_T}$ac_res" >&6; }
37716 if test `eval echo '${'$as_ac_var'}'` = yes; then
37717 cat >>confdefs.h
<<_ACEOF
37718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37720 cat >>confdefs.h
<<\_ACEOF
37721 #define HAVE_INET_ADDR 1
37726 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37727 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37728 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 ac_check_lib_save_LIBS
=$LIBS
37733 cat >conftest.
$ac_ext <<_ACEOF
37736 cat confdefs.h
>>conftest.
$ac_ext
37737 cat >>conftest.
$ac_ext <<_ACEOF
37738 /* end confdefs.h. */
37740 /* Override any GCC internal prototype to avoid an error.
37741 Use char because int might match the return type of a GCC
37742 builtin and then its argument prototype would still apply. */
37750 return inet_addr ();
37755 rm -f conftest.
$ac_objext conftest
$ac_exeext
37756 if { (ac_try
="$ac_link"
37757 case "(($ac_try" in
37758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37759 *) ac_try_echo=$ac_try;;
37761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37762 (eval "$ac_link") 2>conftest.er1
37764 grep -v '^ *+' conftest.er1 >conftest.err
37766 cat conftest.err >&5
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); } && {
37769 test -z "$ac_c_werror_flag" ||
37770 test ! -s conftest.err
37771 } && test -s conftest$ac_exeext &&
37772 $as_test_x conftest$ac_exeext; then
37773 ac_cv_lib_nsl_inet_addr=yes
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.$ac_ext >&5
37778 ac_cv_lib_nsl_inet_addr=no
37781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37782 conftest$ac_exeext conftest.$ac_ext
37783 LIBS=$ac_check_lib_save_LIBS
37785 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37786 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37787 if test $ac_cv_lib_nsl_inet_addr = yes; then
37791 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37792 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37793 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37794 echo $ECHO_N "(cached) $ECHO_C" >&6
37796 ac_check_lib_save_LIBS=$LIBS
37797 LIBS="-lresolv $LIBS"
37798 cat >conftest.$ac_ext <<_ACEOF
37801 cat confdefs.h >>conftest.$ac_ext
37802 cat >>conftest.$ac_ext <<_ACEOF
37803 /* end confdefs.h. */
37805 /* Override any GCC internal prototype to avoid an error.
37806 Use char because int might match the return type of a GCC
37807 builtin and then its argument prototype would still apply. */
37815 return inet_addr ();
37820 rm -f conftest.$ac_objext conftest$ac_exeext
37821 if { (ac_try="$ac_link"
37822 case "(($ac_try" in
37823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37824 *) ac_try_echo
=$ac_try;;
37826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37827 (eval "$ac_link") 2>conftest.er1
37829 grep -v '^ *+' conftest.er1
>conftest.err
37831 cat conftest.err
>&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } && {
37834 test -z "$ac_c_werror_flag" ||
37835 test ! -s conftest.err
37836 } && test -s conftest
$ac_exeext &&
37837 $as_test_x conftest
$ac_exeext; then
37838 ac_cv_lib_resolv_inet_addr
=yes
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.
$ac_ext >&5
37843 ac_cv_lib_resolv_inet_addr
=no
37846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37847 conftest
$ac_exeext conftest.
$ac_ext
37848 LIBS
=$ac_check_lib_save_LIBS
37850 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37851 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37852 if test $ac_cv_lib_resolv_inet_addr = yes; then
37856 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37857 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37858 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37861 ac_check_lib_save_LIBS
=$LIBS
37862 LIBS
="-lsocket $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 inet_addr ();
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_socket_inet_addr=yes
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37908 ac_cv_lib_socket_inet_addr=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_socket_inet_addr" >&5
37916 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37917 if test $ac_cv_lib_socket_inet_addr = yes; then
37937 for ac_func in inet_aton
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 cat >conftest.$ac_ext <<_ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37961 # include <limits.h>
37963 # include <assert.h>
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_$ac_func || defined __stub___$ac_func
37985 return $ac_func ();
37990 rm -f conftest.$ac_objext conftest$ac_exeext
37991 if { (ac_try="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37994 *) ac_try_echo
=$ac_try;;
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37999 grep -v '^ *+' conftest.er1
>conftest.err
38001 cat conftest.err
>&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest
$ac_exeext &&
38007 $as_test_x conftest
$ac_exeext; then
38008 eval "$as_ac_var=yes"
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.
$ac_ext >&5
38013 eval "$as_ac_var=no"
38016 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38017 conftest
$ac_exeext conftest.
$ac_ext
38019 ac_res
=`eval echo '${'$as_ac_var'}'`
38020 { echo "$as_me:$LINENO: result: $ac_res" >&5
38021 echo "${ECHO_T}$ac_res" >&6; }
38022 if test `eval echo '${'$as_ac_var'}'` = yes; then
38023 cat >>confdefs.h
<<_ACEOF
38024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38026 cat >>confdefs.h
<<\_ACEOF
38027 #define HAVE_INET_ATON 1
38032 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38033 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38034 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38035 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 ac_check_lib_save_LIBS
=$LIBS
38039 LIBS
="-l$INET_LINK $LIBS"
38040 cat >conftest.
$ac_ext <<_ACEOF
38043 cat confdefs.h
>>conftest.
$ac_ext
38044 cat >>conftest.
$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38047 /* Override any GCC internal prototype to avoid an error.
38048 Use char because int might match the return type of a GCC
38049 builtin and then its argument prototype would still apply. */
38057 return inet_aton ();
38062 rm -f conftest.
$ac_objext conftest
$ac_exeext
38063 if { (ac_try
="$ac_link"
38064 case "(($ac_try" in
38065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_link") 2>conftest.er1
38071 grep -v '^ *+' conftest.er1 >conftest.err
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest$ac_exeext &&
38079 $as_test_x conftest$ac_exeext; then
38080 eval "$as_ac_Lib=yes"
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38085 eval "$as_ac_Lib=no"
38088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38089 conftest$ac_exeext conftest.$ac_ext
38090 LIBS=$ac_check_lib_save_LIBS
38092 ac_res=`eval echo '${'$as_ac_Lib'}'`
38093 { echo "$as_me:$LINENO: result: $ac_res" >&5
38094 echo "${ECHO_T}$ac_res" >&6; }
38095 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_INET_ATON 1
38107 if test "x$INET_LINK" != "x"; then
38108 cat >>confdefs.h <<\_ACEOF
38109 #define HAVE_INET_ADDR 1
38112 INET_LINK=" -l$INET_LINK"
38116 for wx_func in fdopen
38118 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38119 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38120 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38124 cat >conftest.$ac_ext <<_ACEOF
38128 cat confdefs.h >>conftest.$ac_ext
38129 cat >>conftest.$ac_ext <<_ACEOF
38130 /* end confdefs.h. */
38133 $ac_includes_default
38149 rm -f conftest.$ac_objext conftest$ac_exeext
38150 if { (ac_try="$ac_link"
38151 case "(($ac_try" in
38152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38153 *) ac_try_echo
=$ac_try;;
38155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38156 (eval "$ac_link") 2>conftest.er1
38158 grep -v '^ *+' conftest.er1
>conftest.err
38160 cat conftest.err
>&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); } && {
38163 test -z "$ac_c_werror_flag" ||
38164 test ! -s conftest.err
38165 } && test -s conftest
$ac_exeext &&
38166 $as_test_x conftest
$ac_exeext; then
38167 eval wx_cv_func_
$wx_func=yes
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.
$ac_ext >&5
38172 eval wx_cv_func_
$wx_func=no
38175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38176 conftest
$ac_exeext conftest.
$ac_ext
38179 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38180 { echo "$as_me:$LINENO: result: $ac_res" >&5
38181 echo "${ECHO_T}$ac_res" >&6; }
38183 if eval test \
$wx_cv_func_$wx_func = yes
38185 cat >>confdefs.h
<<_ACEOF
38186 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38197 if test "$wxUSE_TARSTREAM" = "yes"; then
38199 for wx_func
in sysconf
38201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38203 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38207 cat >conftest.
$ac_ext <<_ACEOF
38211 cat confdefs.h
>>conftest.
$ac_ext
38212 cat >>conftest.
$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38216 $ac_includes_default
38232 rm -f conftest.
$ac_objext conftest
$ac_exeext
38233 if { (ac_try
="$ac_link"
38234 case "(($ac_try" in
38235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38236 *) ac_try_echo=$ac_try;;
38238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38239 (eval "$ac_link") 2>conftest.er1
38241 grep -v '^ *+' conftest.er1 >conftest.err
38243 cat conftest.err >&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); } && {
38246 test -z "$ac_c_werror_flag" ||
38247 test ! -s conftest.err
38248 } && test -s conftest$ac_exeext &&
38249 $as_test_x conftest$ac_exeext; then
38250 eval wx_cv_func_$wx_func=yes
38252 echo "$as_me: failed program was:" >&5
38253 sed 's/^/| /' conftest.$ac_ext >&5
38255 eval wx_cv_func_$wx_func=no
38258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38259 conftest$ac_exeext conftest.$ac_ext
38262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38263 { echo "$as_me:$LINENO: result: $ac_res" >&5
38264 echo "${ECHO_T}$ac_res" >&6; }
38266 if eval test \$wx_cv_func_$wx_func = yes
38268 cat >>confdefs.h <<_ACEOF
38269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38281 for wx_func in getpwuid_r
38283 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38284 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38285 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 cat >conftest.$ac_ext <<_ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38301 $ac_includes_default
38311 struct passwd pw, *ppw;
38313 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38325 *) ac_try_echo
=$ac_try;;
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38330 grep -v '^ *+' conftest.er1
>conftest.err
38332 cat conftest.err
>&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest
$ac_exeext &&
38338 $as_test_x conftest
$ac_exeext; then
38339 eval wx_cv_func_
$wx_func=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.
$ac_ext >&5
38344 eval wx_cv_func_
$wx_func=no
38347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38348 conftest
$ac_exeext conftest.
$ac_ext
38351 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38352 { echo "$as_me:$LINENO: result: $ac_res" >&5
38353 echo "${ECHO_T}$ac_res" >&6; }
38355 if eval test \
$wx_cv_func_$wx_func = yes
38357 cat >>confdefs.h
<<_ACEOF
38358 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38370 for wx_func
in getgrgid_r
38372 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38373 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38374 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38375 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 cat >conftest.
$ac_ext <<_ACEOF
38382 cat confdefs.h
>>conftest.
$ac_ext
38383 cat >>conftest.
$ac_ext <<_ACEOF
38384 /* end confdefs.h. */
38390 $ac_includes_default
38400 struct group grp, *pgrp;
38402 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38410 rm -f conftest.
$ac_objext conftest
$ac_exeext
38411 if { (ac_try
="$ac_link"
38412 case "(($ac_try" in
38413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38414 *) ac_try_echo=$ac_try;;
38416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38417 (eval "$ac_link") 2>conftest.er1
38419 grep -v '^ *+' conftest.er1 >conftest.err
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } && {
38424 test -z "$ac_c_werror_flag" ||
38425 test ! -s conftest.err
38426 } && test -s conftest$ac_exeext &&
38427 $as_test_x conftest$ac_exeext; then
38428 eval wx_cv_func_$wx_func=yes
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38433 eval wx_cv_func_$wx_func=no
38436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38437 conftest$ac_exeext conftest.$ac_ext
38440 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38441 { echo "$as_me:$LINENO: result: $ac_res" >&5
38442 echo "${ECHO_T}$ac_res" >&6; }
38444 if eval test \$wx_cv_func_$wx_func = yes
38446 cat >>confdefs.h <<_ACEOF
38447 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38463 cat >confcache <<\_ACEOF
38464 # This file is a shell script that caches the results of configure
38465 # tests run on this system so they can be shared between configure
38466 # scripts and configure runs, see configure's option --config-cache.
38467 # It is not useful on other systems. If it contains results you don't
38468 # want to keep, you may remove or edit it.
38470 # config.status only pays attention to the cache file if you give it
38471 # the --recheck option to rerun configure.
38473 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38474 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38475 # following values.
38479 # The following way of writing the cache mishandles newlines in values,
38480 # but we know of no workaround that is simple, portable, and efficient.
38481 # So, we kill variables containing newlines.
38482 # Ultrix sh set writes to stderr and can't be redirected directly,
38483 # and sets the high bit in the cache file unless we assign to the vars.
38485 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38486 eval ac_val
=\$
$ac_var
38490 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38491 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38494 _
| IFS
| as_nl
) ;; #(
38495 *) $as_unset $ac_var ;;
38501 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38502 *${as_nl}ac_space
=\
*)
38503 # `set' does not quote correctly, so add quotes (double-quote
38504 # substitution turns \\\\ into \\, and sed turns \\ into \).
38507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38510 # `set' quotes correctly as required by POSIX, so do not add quotes.
38511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38524 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38525 if test -w "$cache_file"; then
38526 test "x$cache_file" != "x/dev/null" &&
38527 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38528 echo "$as_me: updating cache $cache_file" >&6;}
38529 cat confcache
>$cache_file
38531 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38532 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38538 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38544 if test "$wxUSE_THREADS" = "yes" ; then
38545 if test "$USE_BEOS" = 1; then
38546 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38547 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38552 if test "$wxUSE_THREADS" = "yes" ; then
38555 THREAD_OPTS
="-pthread"
38556 if test "x$SUNCXX" = xyes
; then
38557 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38561 *-*-solaris2* | *-*-sunos4* )
38562 if test "x$GCC" = "xyes"; then
38563 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38567 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38569 *-*-darwin* | *-*-cygwin* )
38573 THREAD_OPTS
="pthreads"
38576 if test "x$GCC" = "xyes"; then
38577 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38585 if test "x$GCC" = "xyes"; then
38591 if test "x$GCC" != "xyes"; then
38592 THREAD_OPTS
="-Ethread"
38597 THREAD_OPTS
="$THREAD_OPTS pthread none"
38600 for flag
in $THREAD_OPTS; do
38603 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38604 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38608 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38609 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38610 THREADS_CFLAGS
="$flag"
38614 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38615 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38616 THREADS_LINK
="-l$flag"
38621 save_CFLAGS
="$CFLAGS"
38622 LIBS
="$THREADS_LINK $LIBS"
38623 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38625 cat >conftest.
$ac_ext <<_ACEOF
38628 cat confdefs.h
>>conftest.
$ac_ext
38629 cat >>conftest.
$ac_ext <<_ACEOF
38630 /* end confdefs.h. */
38631 #include <pthread.h>
38635 pthread_create(0,0,0,0);
38640 rm -f conftest.
$ac_objext conftest
$ac_exeext
38641 if { (ac_try
="$ac_link"
38642 case "(($ac_try" in
38643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38644 *) ac_try_echo=$ac_try;;
38646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38647 (eval "$ac_link") 2>conftest.er1
38649 grep -v '^ *+' conftest.er1 >conftest.err
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } && {
38654 test -z "$ac_c_werror_flag" ||
38655 test ! -s conftest.err
38656 } && test -s conftest$ac_exeext &&
38657 $as_test_x conftest$ac_exeext; then
38660 echo "$as_me: failed program was:" >&5
38661 sed 's/^/| /' conftest.$ac_ext >&5
38666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38667 conftest$ac_exeext conftest.$ac_ext
38670 CFLAGS="$save_CFLAGS"
38672 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38673 echo "${ECHO_T}$THREADS_OK" >&6; }
38674 if test "x$THREADS_OK" = "xyes"; then
38682 if test "x$THREADS_OK" != "xyes"; then
38684 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38685 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38687 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38688 LIBS="$THREADS_LINK $LIBS"
38690 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38691 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38695 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38696 flag="-D_THREAD_SAFE"
38699 flag="-D_THREAD_SAFE"
38702 flag="-D_REENTRANT"
38703 if test "x$GCC" != "xyes"; then
38704 flag="$flag -D_RWSTD_MULTI_THREAD"
38707 *solaris* | alpha*-osf*)
38708 flag="-D_REENTRANT"
38711 { echo "$as_me:$LINENO: result: ${flag}" >&5
38712 echo "${ECHO_T}${flag}" >&6; }
38713 if test "x$flag" != xno; then
38714 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38721 if test "$wxUSE_THREADS" = "yes" ; then
38723 for ac_func in thr_setconcurrency
38725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 cat >conftest.$ac_ext <<_ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38747 # include <limits.h>
38749 # include <assert.h>
38754 /* Override any GCC internal prototype to avoid an error.
38755 Use char because int might match the return type of a GCC
38756 builtin and then its argument prototype would still apply. */
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined __stub_$ac_func || defined __stub___$ac_func
38771 return $ac_func ();
38776 rm -f conftest.$ac_objext conftest$ac_exeext
38777 if { (ac_try="$ac_link"
38778 case "(($ac_try" in
38779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38780 *) ac_try_echo
=$ac_try;;
38782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38783 (eval "$ac_link") 2>conftest.er1
38785 grep -v '^ *+' conftest.er1
>conftest.err
38787 cat conftest.err
>&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } && {
38790 test -z "$ac_c_werror_flag" ||
38791 test ! -s conftest.err
38792 } && test -s conftest
$ac_exeext &&
38793 $as_test_x conftest
$ac_exeext; then
38794 eval "$as_ac_var=yes"
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.
$ac_ext >&5
38799 eval "$as_ac_var=no"
38802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38803 conftest
$ac_exeext conftest.
$ac_ext
38805 ac_res
=`eval echo '${'$as_ac_var'}'`
38806 { echo "$as_me:$LINENO: result: $ac_res" >&5
38807 echo "${ECHO_T}$ac_res" >&6; }
38808 if test `eval echo '${'$as_ac_var'}'` = yes; then
38809 cat >>confdefs.h
<<_ACEOF
38810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38817 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38818 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38819 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38820 echo $ECHO_N "(cached) $ECHO_C" >&6
38824 ac_cpp
='$CXXCPP $CPPFLAGS'
38825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38829 cat >conftest.
$ac_ext <<_ACEOF
38832 cat confdefs.h
>>conftest.
$ac_ext
38833 cat >>conftest.
$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <pthread.h>
38836 void ThreadCleanupFunc(void *p);
38843 pthread_cleanup_push(ThreadCleanupFunc, p);
38844 pthread_cleanup_pop(0);
38850 rm -f conftest.
$ac_objext
38851 if { (ac_try
="$ac_compile"
38852 case "(($ac_try" in
38853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38854 *) ac_try_echo=$ac_try;;
38856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38857 (eval "$ac_compile") 2>conftest.er1
38859 grep -v '^ *+' conftest.er1 >conftest.err
38861 cat conftest.err >&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); } && {
38864 test -z "$ac_cxx_werror_flag" ||
38865 test ! -s conftest.err
38866 } && test -s conftest.$ac_objext; then
38868 wx_cv_func_pthread_cleanup=yes
38871 echo "$as_me: failed program was:" >&5
38872 sed 's/^/| /' conftest.$ac_ext >&5
38875 wx_cv_func_pthread_cleanup=no
38880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38882 ac_cpp='$CPP $CPPFLAGS'
38883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38889 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38890 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38891 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38892 cat >>confdefs.h <<\_ACEOF
38893 #define wxHAVE_PTHREAD_CLEANUP 1
38899 for ac_header in sched.h
38901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38905 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 cat >conftest.$ac_ext <<_ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 $ac_includes_default
38915 #include <$ac_header>
38917 rm -f conftest.$ac_objext
38918 if { (ac_try="$ac_compile"
38919 case "(($ac_try" in
38920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38921 *) ac_try_echo
=$ac_try;;
38923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38924 (eval "$ac_compile") 2>conftest.er1
38926 grep -v '^ *+' conftest.er1
>conftest.err
38928 cat conftest.err
>&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); } && {
38931 test -z "$ac_c_werror_flag" ||
38932 test ! -s conftest.err
38933 } && test -s conftest.
$ac_objext; then
38934 eval "$as_ac_Header=yes"
38936 echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.
$ac_ext >&5
38939 eval "$as_ac_Header=no"
38942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38944 ac_res
=`eval echo '${'$as_ac_Header'}'`
38945 { echo "$as_me:$LINENO: result: $ac_res" >&5
38946 echo "${ECHO_T}$ac_res" >&6; }
38947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38948 cat >>confdefs.h
<<_ACEOF
38949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38956 if test "$ac_cv_header_sched_h" = "yes"; then
38957 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38958 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38959 if test "${ac_cv_func_sched_yield+set}" = set; then
38960 echo $ECHO_N "(cached) $ECHO_C" >&6
38962 cat >conftest.
$ac_ext <<_ACEOF
38965 cat confdefs.h
>>conftest.
$ac_ext
38966 cat >>conftest.
$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38968 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38970 #define sched_yield innocuous_sched_yield
38972 /* System header to define __stub macros and hopefully few prototypes,
38973 which can conflict with char sched_yield (); below.
38974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38975 <limits.h> exists even on freestanding compilers. */
38978 # include <limits.h>
38980 # include <assert.h>
38985 /* Override any GCC internal prototype to avoid an error.
38986 Use char because int might match the return type of a GCC
38987 builtin and then its argument prototype would still apply. */
38991 char sched_yield ();
38992 /* The GNU C library defines this for functions which it implements
38993 to always fail with ENOSYS. Some functions are actually named
38994 something starting with __ and the normal name is an alias. */
38995 #if defined __stub_sched_yield || defined __stub___sched_yield
39002 return sched_yield ();
39007 rm -f conftest.
$ac_objext conftest
$ac_exeext
39008 if { (ac_try
="$ac_link"
39009 case "(($ac_try" in
39010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39011 *) ac_try_echo=$ac_try;;
39013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39014 (eval "$ac_link") 2>conftest.er1
39016 grep -v '^ *+' conftest.er1 >conftest.err
39018 cat conftest.err >&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); } && {
39021 test -z "$ac_c_werror_flag" ||
39022 test ! -s conftest.err
39023 } && test -s conftest$ac_exeext &&
39024 $as_test_x conftest$ac_exeext; then
39025 ac_cv_func_sched_yield=yes
39027 echo "$as_me: failed program was:" >&5
39028 sed 's/^/| /' conftest.$ac_ext >&5
39030 ac_cv_func_sched_yield=no
39033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39034 conftest$ac_exeext conftest.$ac_ext
39036 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39037 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39038 if test $ac_cv_func_sched_yield = yes; then
39039 cat >>confdefs.h <<\_ACEOF
39040 #define HAVE_SCHED_YIELD 1
39045 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39046 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39047 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39050 ac_check_lib_save_LIBS=$LIBS
39051 LIBS="-lposix4 $LIBS"
39052 cat >conftest.$ac_ext <<_ACEOF
39055 cat confdefs.h >>conftest.$ac_ext
39056 cat >>conftest.$ac_ext <<_ACEOF
39057 /* end confdefs.h. */
39059 /* Override any GCC internal prototype to avoid an error.
39060 Use char because int might match the return type of a GCC
39061 builtin and then its argument prototype would still apply. */
39065 char sched_yield ();
39069 return sched_yield ();
39074 rm -f conftest.$ac_objext conftest$ac_exeext
39075 if { (ac_try="$ac_link"
39076 case "(($ac_try" in
39077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39078 *) ac_try_echo
=$ac_try;;
39080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39081 (eval "$ac_link") 2>conftest.er1
39083 grep -v '^ *+' conftest.er1
>conftest.err
39085 cat conftest.err
>&5
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); } && {
39088 test -z "$ac_c_werror_flag" ||
39089 test ! -s conftest.err
39090 } && test -s conftest
$ac_exeext &&
39091 $as_test_x conftest
$ac_exeext; then
39092 ac_cv_lib_posix4_sched_yield
=yes
39094 echo "$as_me: failed program was:" >&5
39095 sed 's/^/| /' conftest.
$ac_ext >&5
39097 ac_cv_lib_posix4_sched_yield
=no
39100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39101 conftest
$ac_exeext conftest.
$ac_ext
39102 LIBS
=$ac_check_lib_save_LIBS
39104 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39105 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39106 if test $ac_cv_lib_posix4_sched_yield = yes; then
39107 cat >>confdefs.h
<<\_ACEOF
39108 #define HAVE_SCHED_YIELD 1
39110 POSIX4_LINK
=" -lposix4"
39112 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39113 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39124 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39125 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39126 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39129 cat >conftest.
$ac_ext <<_ACEOF
39132 cat confdefs.h
>>conftest.
$ac_ext
39133 cat >>conftest.
$ac_ext <<_ACEOF
39134 /* end confdefs.h. */
39135 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39137 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39139 /* System header to define __stub macros and hopefully few prototypes,
39140 which can conflict with char pthread_attr_getschedpolicy (); below.
39141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39142 <limits.h> exists even on freestanding compilers. */
39145 # include <limits.h>
39147 # include <assert.h>
39150 #undef pthread_attr_getschedpolicy
39152 /* Override any GCC internal prototype to avoid an error.
39153 Use char because int might match the return type of a GCC
39154 builtin and then its argument prototype would still apply. */
39158 char pthread_attr_getschedpolicy ();
39159 /* The GNU C library defines this for functions which it implements
39160 to always fail with ENOSYS. Some functions are actually named
39161 something starting with __ and the normal name is an alias. */
39162 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39169 return pthread_attr_getschedpolicy ();
39174 rm -f conftest.
$ac_objext conftest
$ac_exeext
39175 if { (ac_try
="$ac_link"
39176 case "(($ac_try" in
39177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39178 *) ac_try_echo=$ac_try;;
39180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39181 (eval "$ac_link") 2>conftest.er1
39183 grep -v '^ *+' conftest.er1 >conftest.err
39185 cat conftest.err >&5
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); } && {
39188 test -z "$ac_c_werror_flag" ||
39189 test ! -s conftest.err
39190 } && test -s conftest$ac_exeext &&
39191 $as_test_x conftest$ac_exeext; then
39192 ac_cv_func_pthread_attr_getschedpolicy=yes
39194 echo "$as_me: failed program was:" >&5
39195 sed 's/^/| /' conftest.$ac_ext >&5
39197 ac_cv_func_pthread_attr_getschedpolicy=no
39200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39201 conftest$ac_exeext conftest.$ac_ext
39203 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39204 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39205 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39206 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39207 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39208 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39209 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 cat >conftest.$ac_ext <<_ACEOF
39214 cat confdefs.h >>conftest.$ac_ext
39215 cat >>conftest.$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39217 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39219 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39221 /* System header to define __stub macros and hopefully few prototypes,
39222 which can conflict with char pthread_attr_setschedparam (); below.
39223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39224 <limits.h> exists even on freestanding compilers. */
39227 # include <limits.h>
39229 # include <assert.h>
39232 #undef pthread_attr_setschedparam
39234 /* Override any GCC internal prototype to avoid an error.
39235 Use char because int might match the return type of a GCC
39236 builtin and then its argument prototype would still apply. */
39240 char pthread_attr_setschedparam ();
39241 /* The GNU C library defines this for functions which it implements
39242 to always fail with ENOSYS. Some functions are actually named
39243 something starting with __ and the normal name is an alias. */
39244 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39251 return pthread_attr_setschedparam ();
39256 rm -f conftest.$ac_objext conftest$ac_exeext
39257 if { (ac_try="$ac_link"
39258 case "(($ac_try" in
39259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39260 *) ac_try_echo
=$ac_try;;
39262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39263 (eval "$ac_link") 2>conftest.er1
39265 grep -v '^ *+' conftest.er1
>conftest.err
39267 cat conftest.err
>&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); } && {
39270 test -z "$ac_c_werror_flag" ||
39271 test ! -s conftest.err
39272 } && test -s conftest
$ac_exeext &&
39273 $as_test_x conftest
$ac_exeext; then
39274 ac_cv_func_pthread_attr_setschedparam
=yes
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.
$ac_ext >&5
39279 ac_cv_func_pthread_attr_setschedparam
=no
39282 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39283 conftest
$ac_exeext conftest.
$ac_ext
39285 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39286 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39287 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39288 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39289 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39290 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39293 cat >conftest.
$ac_ext <<_ACEOF
39296 cat confdefs.h
>>conftest.
$ac_ext
39297 cat >>conftest.
$ac_ext <<_ACEOF
39298 /* end confdefs.h. */
39299 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39301 #define sched_get_priority_max innocuous_sched_get_priority_max
39303 /* System header to define __stub macros and hopefully few prototypes,
39304 which can conflict with char sched_get_priority_max (); below.
39305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39306 <limits.h> exists even on freestanding compilers. */
39309 # include <limits.h>
39311 # include <assert.h>
39314 #undef sched_get_priority_max
39316 /* Override any GCC internal prototype to avoid an error.
39317 Use char because int might match the return type of a GCC
39318 builtin and then its argument prototype would still apply. */
39322 char sched_get_priority_max ();
39323 /* The GNU C library defines this for functions which it implements
39324 to always fail with ENOSYS. Some functions are actually named
39325 something starting with __ and the normal name is an alias. */
39326 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39333 return sched_get_priority_max ();
39338 rm -f conftest.
$ac_objext conftest
$ac_exeext
39339 if { (ac_try
="$ac_link"
39340 case "(($ac_try" in
39341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39342 *) ac_try_echo=$ac_try;;
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_link") 2>conftest.er1
39347 grep -v '^ *+' conftest.er1 >conftest.err
39349 cat conftest.err >&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_c_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest$ac_exeext &&
39355 $as_test_x conftest$ac_exeext; then
39356 ac_cv_func_sched_get_priority_max=yes
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39361 ac_cv_func_sched_get_priority_max=no
39364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39365 conftest$ac_exeext conftest.$ac_ext
39367 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39368 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39369 if test $ac_cv_func_sched_get_priority_max = yes; then
39372 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39373 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39374 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 ac_check_lib_save_LIBS=$LIBS
39378 LIBS="-lposix4 $LIBS"
39379 cat >conftest.$ac_ext <<_ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39392 char sched_get_priority_max ();
39396 return sched_get_priority_max ();
39401 rm -f conftest.$ac_objext conftest$ac_exeext
39402 if { (ac_try="$ac_link"
39403 case "(($ac_try" in
39404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39405 *) ac_try_echo
=$ac_try;;
39407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39408 (eval "$ac_link") 2>conftest.er1
39410 grep -v '^ *+' conftest.er1
>conftest.err
39412 cat conftest.err
>&5
39413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414 (exit $ac_status); } && {
39415 test -z "$ac_c_werror_flag" ||
39416 test ! -s conftest.err
39417 } && test -s conftest
$ac_exeext &&
39418 $as_test_x conftest
$ac_exeext; then
39419 ac_cv_lib_posix4_sched_get_priority_max
=yes
39421 echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.
$ac_ext >&5
39424 ac_cv_lib_posix4_sched_get_priority_max
=no
39427 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39428 conftest
$ac_exeext conftest.
$ac_ext
39429 LIBS
=$ac_check_lib_save_LIBS
39431 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39432 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39433 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39436 POSIX4_LINK
=" -lposix4"
39450 if test "$HAVE_PRIOR_FUNCS" = 1; then
39451 cat >>confdefs.h
<<\_ACEOF
39452 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39456 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39457 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39460 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39461 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39462 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 cat >conftest.
$ac_ext <<_ACEOF
39468 cat confdefs.h
>>conftest.
$ac_ext
39469 cat >>conftest.
$ac_ext <<_ACEOF
39470 /* end confdefs.h. */
39471 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39473 #define pthread_cancel innocuous_pthread_cancel
39475 /* System header to define __stub macros and hopefully few prototypes,
39476 which can conflict with char pthread_cancel (); below.
39477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39478 <limits.h> exists even on freestanding compilers. */
39481 # include <limits.h>
39483 # include <assert.h>
39486 #undef pthread_cancel
39488 /* Override any GCC internal prototype to avoid an error.
39489 Use char because int might match the return type of a GCC
39490 builtin and then its argument prototype would still apply. */
39494 char pthread_cancel ();
39495 /* The GNU C library defines this for functions which it implements
39496 to always fail with ENOSYS. Some functions are actually named
39497 something starting with __ and the normal name is an alias. */
39498 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39505 return pthread_cancel ();
39510 rm -f conftest.
$ac_objext conftest
$ac_exeext
39511 if { (ac_try
="$ac_link"
39512 case "(($ac_try" in
39513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39514 *) ac_try_echo=$ac_try;;
39516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39517 (eval "$ac_link") 2>conftest.er1
39519 grep -v '^ *+' conftest.er1 >conftest.err
39521 cat conftest.err >&5
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); } && {
39524 test -z "$ac_c_werror_flag" ||
39525 test ! -s conftest.err
39526 } && test -s conftest$ac_exeext &&
39527 $as_test_x conftest$ac_exeext; then
39528 ac_cv_func_pthread_cancel=yes
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39533 ac_cv_func_pthread_cancel=no
39536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39537 conftest$ac_exeext conftest.$ac_ext
39539 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39540 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39541 if test $ac_cv_func_pthread_cancel = yes; then
39542 cat >>confdefs.h <<\_ACEOF
39543 #define HAVE_PTHREAD_CANCEL 1
39547 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39548 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39552 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39553 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39554 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 cat >conftest.$ac_ext <<_ACEOF
39560 cat confdefs.h >>conftest.$ac_ext
39561 cat >>conftest.$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39565 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39567 /* System header to define __stub macros and hopefully few prototypes,
39568 which can conflict with char pthread_mutex_timedlock (); below.
39569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39570 <limits.h> exists even on freestanding compilers. */
39573 # include <limits.h>
39575 # include <assert.h>
39578 #undef pthread_mutex_timedlock
39580 /* Override any GCC internal prototype to avoid an error.
39581 Use char because int might match the return type of a GCC
39582 builtin and then its argument prototype would still apply. */
39586 char pthread_mutex_timedlock ();
39587 /* The GNU C library defines this for functions which it implements
39588 to always fail with ENOSYS. Some functions are actually named
39589 something starting with __ and the normal name is an alias. */
39590 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39597 return pthread_mutex_timedlock ();
39602 rm -f conftest.$ac_objext conftest$ac_exeext
39603 if { (ac_try="$ac_link"
39604 case "(($ac_try" in
39605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39606 *) ac_try_echo
=$ac_try;;
39608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39609 (eval "$ac_link") 2>conftest.er1
39611 grep -v '^ *+' conftest.er1
>conftest.err
39613 cat conftest.err
>&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } && {
39616 test -z "$ac_c_werror_flag" ||
39617 test ! -s conftest.err
39618 } && test -s conftest
$ac_exeext &&
39619 $as_test_x conftest
$ac_exeext; then
39620 ac_cv_func_pthread_mutex_timedlock
=yes
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.
$ac_ext >&5
39625 ac_cv_func_pthread_mutex_timedlock
=no
39628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39629 conftest
$ac_exeext conftest.
$ac_ext
39631 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39632 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39633 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39634 cat >>confdefs.h
<<\_ACEOF
39635 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39639 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39640 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39644 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39645 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 cat >conftest.
$ac_ext <<_ACEOF
39652 cat confdefs.h
>>conftest.
$ac_ext
39653 cat >>conftest.
$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39657 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39659 /* System header to define __stub macros and hopefully few prototypes,
39660 which can conflict with char pthread_attr_setstacksize (); below.
39661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39662 <limits.h> exists even on freestanding compilers. */
39665 # include <limits.h>
39667 # include <assert.h>
39670 #undef pthread_attr_setstacksize
39672 /* Override any GCC internal prototype to avoid an error.
39673 Use char because int might match the return type of a GCC
39674 builtin and then its argument prototype would still apply. */
39678 char pthread_attr_setstacksize ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39689 return pthread_attr_setstacksize ();
39694 rm -f conftest.
$ac_objext conftest
$ac_exeext
39695 if { (ac_try
="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39703 grep -v '^ *+' conftest.er1 >conftest.err
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 ac_cv_func_pthread_attr_setstacksize=yes
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39717 ac_cv_func_pthread_attr_setstacksize=no
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39723 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39724 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39725 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39726 cat >>confdefs.h <<\_ACEOF
39727 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39734 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39735 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39736 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39737 echo $ECHO_N "(cached) $ECHO_C" >&6
39740 cat >conftest.$ac_ext <<_ACEOF
39743 cat confdefs.h >>conftest.$ac_ext
39744 cat >>conftest.$ac_ext <<_ACEOF
39745 /* end confdefs.h. */
39746 #include <pthread.h>
39751 pthread_mutexattr_t attr;
39752 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39758 rm -f conftest.$ac_objext
39759 if { (ac_try="$ac_compile"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39762 *) ac_try_echo
=$ac_try;;
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_compile") 2>conftest.er1
39767 grep -v '^ *+' conftest.er1
>conftest.err
39769 cat conftest.err
>&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest.
$ac_objext; then
39775 wx_cv_type_pthread_mutexattr_t
=yes
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.
$ac_ext >&5
39780 wx_cv_type_pthread_mutexattr_t
=no
39784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39787 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39788 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39790 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39791 cat >>confdefs.h
<<\_ACEOF
39792 #define HAVE_PTHREAD_MUTEXATTR_T 1
39796 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39797 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39798 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39802 cat >conftest.
$ac_ext <<_ACEOF
39805 cat confdefs.h
>>conftest.
$ac_ext
39806 cat >>conftest.
$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808 #include <pthread.h>
39813 pthread_mutexattr_t attr;
39814 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39820 rm -f conftest.
$ac_objext
39821 if { (ac_try
="$ac_compile"
39822 case "(($ac_try" in
39823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_compile") 2>conftest.er1
39829 grep -v '^ *+' conftest.er1 >conftest.err
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest.$ac_objext; then
39837 wx_cv_func_pthread_mutexattr_settype_decl=yes
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39842 wx_cv_func_pthread_mutexattr_settype_decl=no
39846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39849 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39850 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39851 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39858 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39859 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39860 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39864 cat >conftest.$ac_ext <<_ACEOF
39867 cat confdefs.h >>conftest.$ac_ext
39868 cat >>conftest.$ac_ext <<_ACEOF
39869 /* end confdefs.h. */
39870 #include <pthread.h>
39875 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39881 rm -f conftest.$ac_objext
39882 if { (ac_try="$ac_compile"
39883 case "(($ac_try" in
39884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39885 *) ac_try_echo
=$ac_try;;
39887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39888 (eval "$ac_compile") 2>conftest.er1
39890 grep -v '^ *+' conftest.er1
>conftest.err
39892 cat conftest.err
>&5
39893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894 (exit $ac_status); } && {
39895 test -z "$ac_c_werror_flag" ||
39896 test ! -s conftest.err
39897 } && test -s conftest.
$ac_objext; then
39899 wx_cv_type_pthread_rec_mutex_init
=yes
39902 echo "$as_me: failed program was:" >&5
39903 sed 's/^/| /' conftest.
$ac_ext >&5
39906 wx_cv_type_pthread_rec_mutex_init
=no
39911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39914 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39915 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39916 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39917 cat >>confdefs.h
<<\_ACEOF
39918 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39922 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39923 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39927 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
39928 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
39929 if test "${wx_cv_cc___thread+set}" = set; then
39930 echo $ECHO_N "(cached) $ECHO_C" >&6
39933 cat >conftest.
$ac_ext <<_ACEOF
39936 cat confdefs.h
>>conftest.
$ac_ext
39937 cat >>conftest.
$ac_ext <<_ACEOF
39938 /* end confdefs.h. */
39939 #include <pthread.h>
39944 static __thread int n = 0;
39945 static __thread int *p = 0;
39951 rm -f conftest.
$ac_objext
39952 if { (ac_try
="$ac_compile"
39953 case "(($ac_try" in
39954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39955 *) ac_try_echo=$ac_try;;
39957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39958 (eval "$ac_compile") 2>conftest.er1
39960 grep -v '^ *+' conftest.er1 >conftest.err
39962 cat conftest.err >&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); } && {
39965 test -z "$ac_c_werror_flag" ||
39966 test ! -s conftest.err
39967 } && test -s conftest.$ac_objext; then
39968 wx_cv_cc___thread=yes
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39973 wx_cv_cc___thread=no
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39980 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
39981 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
39983 if test "$wx_cv_cc___thread" = "yes"; then
39984 cat >>confdefs.h <<\_ACEOF
39985 #define HAVE___THREAD_KEYWORD 1
39992 if test "$wxUSE_THREADS" = "yes" ; then
39994 x86_64-*-mingw32* )
39997 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39998 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39999 if test "${wx_cv_cflags_mthread+set}" = set; then
40000 echo $ECHO_N "(cached) $ECHO_C" >&6
40003 CFLAGS_OLD="$CFLAGS"
40004 CFLAGS="-mthreads $CFLAGS"
40005 cat >conftest.$ac_ext <<_ACEOF
40008 cat confdefs.h >>conftest.$ac_ext
40009 cat >>conftest.$ac_ext <<_ACEOF
40010 /* end confdefs.h. */
40020 rm -f conftest.$ac_objext
40021 if { (ac_try="$ac_compile"
40022 case "(($ac_try" in
40023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40024 *) ac_try_echo
=$ac_try;;
40026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40027 (eval "$ac_compile") 2>conftest.er1
40029 grep -v '^ *+' conftest.er1
>conftest.err
40031 cat conftest.err
>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } && {
40034 test -z "$ac_c_werror_flag" ||
40035 test ! -s conftest.err
40036 } && test -s conftest.
$ac_objext; then
40037 wx_cv_cflags_mthread
=yes
40039 echo "$as_me: failed program was:" >&5
40040 sed 's/^/| /' conftest.
$ac_ext >&5
40042 wx_cv_cflags_mthread
=no
40046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40050 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40051 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40053 if test "$wx_cv_cflags_mthread" = "yes"; then
40054 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40055 LDFLAGS
="$LDFLAGS -mthreads"
40057 CFLAGS
="$CFLAGS_OLD"
40061 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40062 LDFLAGS
="$LDFLAGS -Zmt"
40068 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40069 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40070 if test "${ac_cv_func_localtime_r+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 cat >conftest.
$ac_ext <<_ACEOF
40076 cat confdefs.h
>>conftest.
$ac_ext
40077 cat >>conftest.
$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40081 #define localtime_r innocuous_localtime_r
40083 /* System header to define __stub macros and hopefully few prototypes,
40084 which can conflict with char localtime_r (); below.
40085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40086 <limits.h> exists even on freestanding compilers. */
40089 # include <limits.h>
40091 # include <assert.h>
40096 /* Override any GCC internal prototype to avoid an error.
40097 Use char because int might match the return type of a GCC
40098 builtin and then its argument prototype would still apply. */
40102 char localtime_r ();
40103 /* The GNU C library defines this for functions which it implements
40104 to always fail with ENOSYS. Some functions are actually named
40105 something starting with __ and the normal name is an alias. */
40106 #if defined __stub_localtime_r || defined __stub___localtime_r
40113 return localtime_r ();
40118 rm -f conftest.
$ac_objext conftest
$ac_exeext
40119 if { (ac_try
="$ac_link"
40120 case "(($ac_try" in
40121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40122 *) ac_try_echo=$ac_try;;
40124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40125 (eval "$ac_link") 2>conftest.er1
40127 grep -v '^ *+' conftest.er1 >conftest.err
40129 cat conftest.err >&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } && {
40132 test -z "$ac_c_werror_flag" ||
40133 test ! -s conftest.err
40134 } && test -s conftest$ac_exeext &&
40135 $as_test_x conftest$ac_exeext; then
40136 ac_cv_func_localtime_r=yes
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40141 ac_cv_func_localtime_r=no
40144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40145 conftest$ac_exeext conftest.$ac_ext
40147 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40148 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40149 if test $ac_cv_func_localtime_r = yes; then
40150 cat >>confdefs.h <<\_ACEOF
40151 #define HAVE_LOCALTIME_R 1
40156 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40157 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40158 if test "${ac_cv_func_gmtime_r+set}" = set; then
40159 echo $ECHO_N "(cached) $ECHO_C" >&6
40161 cat >conftest.$ac_ext <<_ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40167 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40169 #define gmtime_r innocuous_gmtime_r
40171 /* System header to define __stub macros and hopefully few prototypes,
40172 which can conflict with char gmtime_r (); below.
40173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40174 <limits.h> exists even on freestanding compilers. */
40177 # include <limits.h>
40179 # include <assert.h>
40184 /* Override any GCC internal prototype to avoid an error.
40185 Use char because int might match the return type of a GCC
40186 builtin and then its argument prototype would still apply. */
40191 /* The GNU C library defines this for functions which it implements
40192 to always fail with ENOSYS. Some functions are actually named
40193 something starting with __ and the normal name is an alias. */
40194 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40201 return gmtime_r ();
40206 rm -f conftest.$ac_objext conftest$ac_exeext
40207 if { (ac_try="$ac_link"
40208 case "(($ac_try" in
40209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40210 *) ac_try_echo
=$ac_try;;
40212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40213 (eval "$ac_link") 2>conftest.er1
40215 grep -v '^ *+' conftest.er1
>conftest.err
40217 cat conftest.err
>&5
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); } && {
40220 test -z "$ac_c_werror_flag" ||
40221 test ! -s conftest.err
40222 } && test -s conftest
$ac_exeext &&
40223 $as_test_x conftest
$ac_exeext; then
40224 ac_cv_func_gmtime_r
=yes
40226 echo "$as_me: failed program was:" >&5
40227 sed 's/^/| /' conftest.
$ac_ext >&5
40229 ac_cv_func_gmtime_r
=no
40232 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40233 conftest
$ac_exeext conftest.
$ac_ext
40235 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40236 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40237 if test $ac_cv_func_gmtime_r = yes; then
40238 cat >>confdefs.h
<<\_ACEOF
40239 #define HAVE_GMTIME_R 1
40248 ac_cpp
='$CPP $CPPFLAGS'
40249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40253 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40254 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40256 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40257 echo $ECHO_N "(cached) $ECHO_C" >&6
40261 ################################################################
40263 ac_cv_func_which_gethostbyname_r
=unknown
40266 # ONE ARGUMENT (sanity check)
40269 # This should fail, as there is no variant of gethostbyname_r() that takes
40270 # a single argument. If it actually compiles, then we can assume that
40271 # netdb.h is not declaring the function, and the compiler is thereby
40272 # assuming an implicit prototype. In which case, we're out of luck.
40274 cat >conftest.
$ac_ext <<_ACEOF
40277 cat confdefs.h
>>conftest.
$ac_ext
40278 cat >>conftest.
$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40285 char *name = "www.gnu.org";
40286 (void)gethostbyname_r(name) /* ; */
40292 rm -f conftest.
$ac_objext
40293 if { (ac_try
="$ac_compile"
40294 case "(($ac_try" in
40295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40296 *) ac_try_echo=$ac_try;;
40298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40299 (eval "$ac_compile") 2>conftest.er1
40301 grep -v '^ *+' conftest.er1 >conftest.err
40303 cat conftest.err >&5
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); } && {
40306 test -z "$ac_c_werror_flag" ||
40307 test ! -s conftest.err
40308 } && test -s conftest.$ac_objext; then
40309 ac_cv_func_which_gethostbyname_r=no
40311 echo "$as_me: failed program was:" >&5
40312 sed 's/^/| /' conftest.$ac_ext >&5
40317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40324 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40326 cat >conftest.$ac_ext <<_ACEOF
40329 cat confdefs.h >>conftest.$ac_ext
40330 cat >>conftest.$ac_ext <<_ACEOF
40331 /* end confdefs.h. */
40337 char *name = "www.gnu.org";
40338 struct hostent ret, *retp;
40342 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40348 rm -f conftest.$ac_objext
40349 if { (ac_try="$ac_compile"
40350 case "(($ac_try" in
40351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40352 *) ac_try_echo
=$ac_try;;
40354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40355 (eval "$ac_compile") 2>conftest.er1
40357 grep -v '^ *+' conftest.er1
>conftest.err
40359 cat conftest.err
>&5
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); } && {
40362 test -z "$ac_c_werror_flag" ||
40363 test ! -s conftest.err
40364 } && test -s conftest.
$ac_objext; then
40365 ac_cv_func_which_gethostbyname_r
=six
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.
$ac_ext >&5
40373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40382 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40384 cat >conftest.
$ac_ext <<_ACEOF
40387 cat confdefs.h
>>conftest.
$ac_ext
40388 cat >>conftest.
$ac_ext <<_ACEOF
40389 /* end confdefs.h. */
40395 char *name = "www.gnu.org";
40396 struct hostent ret;
40400 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40406 rm -f conftest.
$ac_objext
40407 if { (ac_try
="$ac_compile"
40408 case "(($ac_try" in
40409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40410 *) ac_try_echo=$ac_try;;
40412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40413 (eval "$ac_compile") 2>conftest.er1
40415 grep -v '^ *+' conftest.er1 >conftest.err
40417 cat conftest.err >&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); } && {
40420 test -z "$ac_c_werror_flag" ||
40421 test ! -s conftest.err
40422 } && test -s conftest.$ac_objext; then
40423 ac_cv_func_which_gethostbyname_r=five
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40437 # (e.g. AIX, HP-UX, Tru64)
40440 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40442 cat >conftest.$ac_ext <<_ACEOF
40445 cat confdefs.h >>conftest.$ac_ext
40446 cat >>conftest.$ac_ext <<_ACEOF
40447 /* end confdefs.h. */
40453 char *name = "www.gnu.org";
40454 struct hostent ret;
40455 struct hostent_data data;
40456 (void)gethostbyname_r(name, &ret, &data) /* ; */
40462 rm -f conftest.$ac_objext
40463 if { (ac_try="$ac_compile"
40464 case "(($ac_try" in
40465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40466 *) ac_try_echo
=$ac_try;;
40468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40469 (eval "$ac_compile") 2>conftest.er1
40471 grep -v '^ *+' conftest.er1
>conftest.err
40473 cat conftest.err
>&5
40474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40475 (exit $ac_status); } && {
40476 test -z "$ac_c_werror_flag" ||
40477 test ! -s conftest.err
40478 } && test -s conftest.
$ac_objext; then
40479 ac_cv_func_which_gethostbyname_r
=three
40481 echo "$as_me: failed program was:" >&5
40482 sed 's/^/| /' conftest.
$ac_ext >&5
40487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40491 ################################################################
40496 case "$ac_cv_func_which_gethostbyname_r" in
40498 { echo "$as_me:$LINENO: result: three" >&5
40499 echo "${ECHO_T}three" >&6; }
40500 cat >>confdefs.h
<<\_ACEOF
40501 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40507 { echo "$as_me:$LINENO: result: five" >&5
40508 echo "${ECHO_T}five" >&6; }
40509 cat >>confdefs.h
<<\_ACEOF
40510 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40516 { echo "$as_me:$LINENO: result: six" >&5
40517 echo "${ECHO_T}six" >&6; }
40518 cat >>confdefs.h
<<\_ACEOF
40519 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40525 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40526 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40530 { echo "$as_me:$LINENO: result: can't tell" >&5
40531 echo "${ECHO_T}can't tell" >&6; }
40535 { { echo "$as_me:$LINENO: error: internal error" >&5
40536 echo "$as_me: error: internal error" >&2;}
40537 { (exit 1); exit 1; }; }
40542 ac_cpp
='$CPP $CPPFLAGS'
40543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40549 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40550 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40551 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40552 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40553 if test "${ac_cv_func_gethostbyname+set}" = set; then
40554 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 cat >conftest.
$ac_ext <<_ACEOF
40559 cat confdefs.h
>>conftest.
$ac_ext
40560 cat >>conftest.
$ac_ext <<_ACEOF
40561 /* end confdefs.h. */
40562 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40564 #define gethostbyname innocuous_gethostbyname
40566 /* System header to define __stub macros and hopefully few prototypes,
40567 which can conflict with char gethostbyname (); below.
40568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40569 <limits.h> exists even on freestanding compilers. */
40572 # include <limits.h>
40574 # include <assert.h>
40577 #undef gethostbyname
40579 /* Override any GCC internal prototype to avoid an error.
40580 Use char because int might match the return type of a GCC
40581 builtin and then its argument prototype would still apply. */
40585 char gethostbyname ();
40586 /* The GNU C library defines this for functions which it implements
40587 to always fail with ENOSYS. Some functions are actually named
40588 something starting with __ and the normal name is an alias. */
40589 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40596 return gethostbyname ();
40601 rm -f conftest.
$ac_objext conftest
$ac_exeext
40602 if { (ac_try
="$ac_link"
40603 case "(($ac_try" in
40604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40605 *) ac_try_echo=$ac_try;;
40607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40608 (eval "$ac_link") 2>conftest.er1
40610 grep -v '^ *+' conftest.er1 >conftest.err
40612 cat conftest.err >&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); } && {
40615 test -z "$ac_c_werror_flag" ||
40616 test ! -s conftest.err
40617 } && test -s conftest$ac_exeext &&
40618 $as_test_x conftest$ac_exeext; then
40619 ac_cv_func_gethostbyname=yes
40621 echo "$as_me: failed program was:" >&5
40622 sed 's/^/| /' conftest.$ac_ext >&5
40624 ac_cv_func_gethostbyname=no
40627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40628 conftest$ac_exeext conftest.$ac_ext
40630 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40631 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40632 if test $ac_cv_func_gethostbyname = yes; then
40633 cat >>confdefs.h <<\_ACEOF
40634 #define HAVE_GETHOSTBYNAME 1
40641 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40642 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40643 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40644 echo $ECHO_N "(cached) $ECHO_C" >&6
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40654 cat >conftest.$ac_ext <<_ACEOF
40657 cat confdefs.h >>conftest.$ac_ext
40658 cat >>conftest.$ac_ext <<_ACEOF
40659 /* end confdefs.h. */
40667 struct servent *se, *res;
40670 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40676 rm -f conftest.$ac_objext
40677 if { (ac_try="$ac_compile"
40678 case "(($ac_try" in
40679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40680 *) ac_try_echo
=$ac_try;;
40682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40683 (eval "$ac_compile") 2>conftest.er1
40685 grep -v '^ *+' conftest.er1
>conftest.err
40687 cat conftest.err
>&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } && {
40690 test -z "$ac_cxx_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest.
$ac_objext; then
40693 ac_cv_func_which_getservbyname_r
=six
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.
$ac_ext >&5
40699 cat >conftest.
$ac_ext <<_ACEOF
40702 cat confdefs.h
>>conftest.
$ac_ext
40703 cat >>conftest.
$ac_ext <<_ACEOF
40704 /* end confdefs.h. */
40712 struct servent *se;
40715 (void) getservbyname_r(name, proto, se, buffer, buflen)
40721 rm -f conftest.
$ac_objext
40722 if { (ac_try
="$ac_compile"
40723 case "(($ac_try" in
40724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40725 *) ac_try_echo=$ac_try;;
40727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40728 (eval "$ac_compile") 2>conftest.er1
40730 grep -v '^ *+' conftest.er1 >conftest.err
40732 cat conftest.err >&5
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); } && {
40735 test -z "$ac_cxx_werror_flag" ||
40736 test ! -s conftest.err
40737 } && test -s conftest.$ac_objext; then
40738 ac_cv_func_which_getservbyname_r=five
40740 echo "$as_me: failed program was:" >&5
40741 sed 's/^/| /' conftest.$ac_ext >&5
40744 cat >conftest.$ac_ext <<_ACEOF
40747 cat confdefs.h >>conftest.$ac_ext
40748 cat >>conftest.$ac_ext <<_ACEOF
40749 /* end confdefs.h. */
40757 struct servent *se;
40758 struct servent_data data;
40759 (void) getservbyname_r(name, proto, se, &data);
40765 rm -f conftest.$ac_objext
40766 if { (ac_try="$ac_compile"
40767 case "(($ac_try" in
40768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40769 *) ac_try_echo
=$ac_try;;
40771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40772 (eval "$ac_compile") 2>conftest.er1
40774 grep -v '^ *+' conftest.er1
>conftest.err
40776 cat conftest.err
>&5
40777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40778 (exit $ac_status); } && {
40779 test -z "$ac_cxx_werror_flag" ||
40780 test ! -s conftest.err
40781 } && test -s conftest.
$ac_objext; then
40782 ac_cv_func_which_getservbyname_r
=four
40784 echo "$as_me: failed program was:" >&5
40785 sed 's/^/| /' conftest.
$ac_ext >&5
40787 ac_cv_func_which_getservbyname_r
=no
40791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40803 ac_cpp
='$CPP $CPPFLAGS'
40804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40811 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40812 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40814 if test $ac_cv_func_which_getservbyname_r = six
; then
40815 cat >>confdefs.h
<<\_ACEOF
40816 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40819 elif test $ac_cv_func_which_getservbyname_r = five
; then
40820 cat >>confdefs.h
<<\_ACEOF
40821 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40824 elif test $ac_cv_func_which_getservbyname_r = four
; then
40825 cat >>confdefs.h
<<\_ACEOF
40826 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40832 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40833 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40835 for ac_func
in getservbyname
40837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40840 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40841 echo $ECHO_N "(cached) $ECHO_C" >&6
40843 cat >conftest.
$ac_ext <<_ACEOF
40846 cat confdefs.h
>>conftest.
$ac_ext
40847 cat >>conftest.
$ac_ext <<_ACEOF
40848 /* end confdefs.h. */
40849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40851 #define $ac_func innocuous_$ac_func
40853 /* System header to define __stub macros and hopefully few prototypes,
40854 which can conflict with char $ac_func (); below.
40855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40856 <limits.h> exists even on freestanding compilers. */
40859 # include <limits.h>
40861 # include <assert.h>
40866 /* Override any GCC internal prototype to avoid an error.
40867 Use char because int might match the return type of a GCC
40868 builtin and then its argument prototype would still apply. */
40873 /* The GNU C library defines this for functions which it implements
40874 to always fail with ENOSYS. Some functions are actually named
40875 something starting with __ and the normal name is an alias. */
40876 #if defined __stub_$ac_func || defined __stub___$ac_func
40883 return $ac_func ();
40888 rm -f conftest.
$ac_objext conftest
$ac_exeext
40889 if { (ac_try
="$ac_link"
40890 case "(($ac_try" in
40891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40892 *) ac_try_echo=$ac_try;;
40894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40895 (eval "$ac_link") 2>conftest.er1
40897 grep -v '^ *+' conftest.er1 >conftest.err
40899 cat conftest.err >&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); } && {
40902 test -z "$ac_c_werror_flag" ||
40903 test ! -s conftest.err
40904 } && test -s conftest$ac_exeext &&
40905 $as_test_x conftest$ac_exeext; then
40906 eval "$as_ac_var=yes"
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40911 eval "$as_ac_var=no"
40914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40915 conftest$ac_exeext conftest.$ac_ext
40917 ac_res=`eval echo '${'$as_ac_var'}'`
40918 { echo "$as_me:$LINENO: result: $ac_res" >&5
40919 echo "${ECHO_T}$ac_res" >&6; }
40920 if test `eval echo '${'$as_ac_var'}'` = yes; then
40921 cat >>confdefs.h <<_ACEOF
40922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40924 cat >>confdefs.h <<\_ACEOF
40925 #define HAVE_GETSERVBYNAME 1
40933 if test "$wxUSE_THREADS" = "yes"; then
40934 cat >>confdefs.h <<\_ACEOF
40935 #define wxUSE_THREADS 1
40939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40941 if test "$wx_cv_func_strtok_r" = "yes"; then
40942 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40943 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40944 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40945 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40946 { echo "$as_me:$LINENO: result: yes" >&5
40947 echo "${ECHO_T}yes" >&6; }
40949 { echo "$as_me:$LINENO: result: no" >&5
40950 echo "${ECHO_T}no" >&6; }
40955 if test "$WXGTK2" = 1 ; then
40956 cat >>confdefs.h <<_ACEOF
40957 #define __WXGTK20__ $WXGTK2
40963 if test "$WXGTK12" = 1 ; then
40964 cat >>confdefs.h <<_ACEOF
40965 #define __WXGTK12__ $WXGTK12
40970 if test "$WXGTK127" = 1 ; then
40971 cat >>confdefs.h <<_ACEOF
40972 #define __WXGTK127__ $WXGTK127
40977 if test "$WXGPE" = 1 ; then
40978 cat >>confdefs.h <<_ACEOF
40979 #define __WXGPE__ $WXGPE
40985 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40989 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40990 wxUSE_DEBUG_INFO=yes
40991 if test "$GCC" = yes; then
40992 DEBUG_CFLAGS="-ggdb"
40996 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40997 cat >>confdefs.h <<\_ACEOF
41001 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41003 if test "$wxUSE_GTK" = 1 ; then
41004 if test "x$wxGTK_VERSION" = "x1" ; then
41005 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41010 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41011 cat >>confdefs.h <<\_ACEOF
41012 #define wxUSE_MEMORY_TRACING 1
41015 cat >>confdefs.h <<\_ACEOF
41016 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41019 cat >>confdefs.h <<\_ACEOF
41020 #define wxUSE_DEBUG_NEW_ALWAYS 1
41023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41026 if test "$wxUSE_DMALLOC" = "yes" ; then
41027 DMALLOC_LIBS="-ldmallocthcxx"
41031 if test "$wxUSE_PROFILE" = "yes" ; then
41032 PROFILE_FLAGS=" -pg"
41035 if test "$GCC" = "yes" ; then
41036 if test "$wxUSE_NO_RTTI" = "yes" ; then
41037 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41039 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41040 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41042 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41043 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41048 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41051 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41057 if test "$wxUSE_OPTIMISE" = "no" ; then
41058 if test "$GCC" = yes ; then
41059 OPTIMISE_CFLAGS="-O0"
41062 if test "$GCC" = yes ; then
41064 *-pc-os2_emx | *-pc-os2-emx )
41065 OPTIMISE_CFLAGS="-O2"
41068 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41072 OPTIMISE_CFLAGS="-O"
41077 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41078 cat >>confdefs.h <<\_ACEOF
41079 #define WXWIN_COMPATIBILITY_2_6 1
41083 WXWIN_COMPATIBILITY_2_8="yes"
41086 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41087 cat >>confdefs.h <<\_ACEOF
41088 #define WXWIN_COMPATIBILITY_2_8 1
41094 if test "$wxUSE_GUI" = "yes"; then
41095 cat >>confdefs.h <<\_ACEOF
41096 #define wxUSE_GUI 1
41103 if test "$wxUSE_UNIX" = "yes"; then
41104 cat >>confdefs.h <<\_ACEOF
41105 #define wxUSE_UNIX 1
41111 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41115 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41116 if test "$USE_DOS" = 1; then
41120 for ac_func in dlopen
41122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41126 echo $ECHO_N "(cached) $ECHO_C" >&6
41128 cat >conftest.$ac_ext <<_ACEOF
41131 cat confdefs.h >>conftest.$ac_ext
41132 cat >>conftest.$ac_ext <<_ACEOF
41133 /* end confdefs.h. */
41134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41136 #define $ac_func innocuous_$ac_func
41138 /* System header to define __stub macros and hopefully few prototypes,
41139 which can conflict with char $ac_func (); below.
41140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41141 <limits.h> exists even on freestanding compilers. */
41144 # include <limits.h>
41146 # include <assert.h>
41151 /* Override any GCC internal prototype to avoid an error.
41152 Use char because int might match the return type of a GCC
41153 builtin and then its argument prototype would still apply. */
41158 /* The GNU C library defines this for functions which it implements
41159 to always fail with ENOSYS. Some functions are actually named
41160 something starting with __ and the normal name is an alias. */
41161 #if defined __stub_$ac_func || defined __stub___$ac_func
41168 return $ac_func ();
41173 rm -f conftest.$ac_objext conftest$ac_exeext
41174 if { (ac_try="$ac_link"
41175 case "(($ac_try" in
41176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41177 *) ac_try_echo
=$ac_try;;
41179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41180 (eval "$ac_link") 2>conftest.er1
41182 grep -v '^ *+' conftest.er1
>conftest.err
41184 cat conftest.err
>&5
41185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41186 (exit $ac_status); } && {
41187 test -z "$ac_c_werror_flag" ||
41188 test ! -s conftest.err
41189 } && test -s conftest
$ac_exeext &&
41190 $as_test_x conftest
$ac_exeext; then
41191 eval "$as_ac_var=yes"
41193 echo "$as_me: failed program was:" >&5
41194 sed 's/^/| /' conftest.
$ac_ext >&5
41196 eval "$as_ac_var=no"
41199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41200 conftest
$ac_exeext conftest.
$ac_ext
41202 ac_res
=`eval echo '${'$as_ac_var'}'`
41203 { echo "$as_me:$LINENO: result: $ac_res" >&5
41204 echo "${ECHO_T}$ac_res" >&6; }
41205 if test `eval echo '${'$as_ac_var'}'` = yes; then
41206 cat >>confdefs.h
<<_ACEOF
41207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41210 cat >>confdefs.h
<<\_ACEOF
41211 #define HAVE_DLOPEN 1
41218 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41219 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41220 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41221 echo $ECHO_N "(cached) $ECHO_C" >&6
41223 ac_check_lib_save_LIBS
=$LIBS
41225 cat >conftest.
$ac_ext <<_ACEOF
41228 cat confdefs.h
>>conftest.
$ac_ext
41229 cat >>conftest.
$ac_ext <<_ACEOF
41230 /* end confdefs.h. */
41232 /* Override any GCC internal prototype to avoid an error.
41233 Use char because int might match the return type of a GCC
41234 builtin and then its argument prototype would still apply. */
41247 rm -f conftest.
$ac_objext conftest
$ac_exeext
41248 if { (ac_try
="$ac_link"
41249 case "(($ac_try" in
41250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41251 *) ac_try_echo=$ac_try;;
41253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41254 (eval "$ac_link") 2>conftest.er1
41256 grep -v '^ *+' conftest.er1 >conftest.err
41258 cat conftest.err >&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); } && {
41261 test -z "$ac_c_werror_flag" ||
41262 test ! -s conftest.err
41263 } && test -s conftest$ac_exeext &&
41264 $as_test_x conftest$ac_exeext; then
41265 ac_cv_lib_dl_dlopen=yes
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41270 ac_cv_lib_dl_dlopen=no
41273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41274 conftest$ac_exeext conftest.$ac_ext
41275 LIBS=$ac_check_lib_save_LIBS
41277 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41278 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41279 if test $ac_cv_lib_dl_dlopen = yes; then
41281 cat >>confdefs.h <<\_ACEOF
41282 #define HAVE_DLOPEN 1
41286 DL_LINK=" -ldl$DL_LINK"
41291 for ac_func in shl_load
41293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41297 echo $ECHO_N "(cached) $ECHO_C" >&6
41299 cat >conftest.$ac_ext <<_ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41307 #define $ac_func innocuous_$ac_func
41309 /* System header to define __stub macros and hopefully few prototypes,
41310 which can conflict with char $ac_func (); below.
41311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41312 <limits.h> exists even on freestanding compilers. */
41315 # include <limits.h>
41317 # include <assert.h>
41322 /* Override any GCC internal prototype to avoid an error.
41323 Use char because int might match the return type of a GCC
41324 builtin and then its argument prototype would still apply. */
41329 /* The GNU C library defines this for functions which it implements
41330 to always fail with ENOSYS. Some functions are actually named
41331 something starting with __ and the normal name is an alias. */
41332 #if defined __stub_$ac_func || defined __stub___$ac_func
41339 return $ac_func ();
41344 rm -f conftest.$ac_objext conftest$ac_exeext
41345 if { (ac_try="$ac_link"
41346 case "(($ac_try" in
41347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41348 *) ac_try_echo
=$ac_try;;
41350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41351 (eval "$ac_link") 2>conftest.er1
41353 grep -v '^ *+' conftest.er1
>conftest.err
41355 cat conftest.err
>&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } && {
41358 test -z "$ac_c_werror_flag" ||
41359 test ! -s conftest.err
41360 } && test -s conftest
$ac_exeext &&
41361 $as_test_x conftest
$ac_exeext; then
41362 eval "$as_ac_var=yes"
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.
$ac_ext >&5
41367 eval "$as_ac_var=no"
41370 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41371 conftest
$ac_exeext conftest.
$ac_ext
41373 ac_res
=`eval echo '${'$as_ac_var'}'`
41374 { echo "$as_me:$LINENO: result: $ac_res" >&5
41375 echo "${ECHO_T}$ac_res" >&6; }
41376 if test `eval echo '${'$as_ac_var'}'` = yes; then
41377 cat >>confdefs.h
<<_ACEOF
41378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41381 cat >>confdefs.h
<<\_ACEOF
41382 #define HAVE_SHL_LOAD 1
41389 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41390 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41391 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41392 echo $ECHO_N "(cached) $ECHO_C" >&6
41394 ac_check_lib_save_LIBS
=$LIBS
41395 LIBS
="-lshl_load $LIBS"
41396 cat >conftest.
$ac_ext <<_ACEOF
41399 cat confdefs.h
>>conftest.
$ac_ext
41400 cat >>conftest.
$ac_ext <<_ACEOF
41401 /* end confdefs.h. */
41403 /* Override any GCC internal prototype to avoid an error.
41404 Use char because int might match the return type of a GCC
41405 builtin and then its argument prototype would still apply. */
41418 rm -f conftest.
$ac_objext conftest
$ac_exeext
41419 if { (ac_try
="$ac_link"
41420 case "(($ac_try" in
41421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41422 *) ac_try_echo=$ac_try;;
41424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41425 (eval "$ac_link") 2>conftest.er1
41427 grep -v '^ *+' conftest.er1 >conftest.err
41429 cat conftest.err >&5
41430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41431 (exit $ac_status); } && {
41432 test -z "$ac_c_werror_flag" ||
41433 test ! -s conftest.err
41434 } && test -s conftest$ac_exeext &&
41435 $as_test_x conftest$ac_exeext; then
41436 ac_cv_lib_shl_load_dld=yes
41438 echo "$as_me: failed program was:" >&5
41439 sed 's/^/| /' conftest.$ac_ext >&5
41441 ac_cv_lib_shl_load_dld=no
41444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41445 conftest$ac_exeext conftest.$ac_ext
41446 LIBS=$ac_check_lib_save_LIBS
41448 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41449 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41450 if test $ac_cv_lib_shl_load_dld = yes; then
41453 DL_LINK=" -ldld$DL_LINK"
41469 if test "$HAVE_DL_FUNCS" = 1; then
41471 for ac_func in dlerror
41473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41479 cat >conftest.$ac_ext <<_ACEOF
41482 cat confdefs.h >>conftest.$ac_ext
41483 cat >>conftest.$ac_ext <<_ACEOF
41484 /* end confdefs.h. */
41485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41487 #define $ac_func innocuous_$ac_func
41489 /* System header to define __stub macros and hopefully few prototypes,
41490 which can conflict with char $ac_func (); below.
41491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41492 <limits.h> exists even on freestanding compilers. */
41495 # include <limits.h>
41497 # include <assert.h>
41502 /* Override any GCC internal prototype to avoid an error.
41503 Use char because int might match the return type of a GCC
41504 builtin and then its argument prototype would still apply. */
41509 /* The GNU C library defines this for functions which it implements
41510 to always fail with ENOSYS. Some functions are actually named
41511 something starting with __ and the normal name is an alias. */
41512 #if defined __stub_$ac_func || defined __stub___$ac_func
41519 return $ac_func ();
41524 rm -f conftest.$ac_objext conftest$ac_exeext
41525 if { (ac_try="$ac_link"
41526 case "(($ac_try" in
41527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41528 *) ac_try_echo
=$ac_try;;
41530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41531 (eval "$ac_link") 2>conftest.er1
41533 grep -v '^ *+' conftest.er1
>conftest.err
41535 cat conftest.err
>&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); } && {
41538 test -z "$ac_c_werror_flag" ||
41539 test ! -s conftest.err
41540 } && test -s conftest
$ac_exeext &&
41541 $as_test_x conftest
$ac_exeext; then
41542 eval "$as_ac_var=yes"
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.
$ac_ext >&5
41547 eval "$as_ac_var=no"
41550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41551 conftest
$ac_exeext conftest.
$ac_ext
41553 ac_res
=`eval echo '${'$as_ac_var'}'`
41554 { echo "$as_me:$LINENO: result: $ac_res" >&5
41555 echo "${ECHO_T}$ac_res" >&6; }
41556 if test `eval echo '${'$as_ac_var'}'` = yes; then
41557 cat >>confdefs.h
<<_ACEOF
41558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41560 cat >>confdefs.h
<<\_ACEOF
41561 #define HAVE_DLERROR 1
41566 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41567 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41568 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41569 echo $ECHO_N "(cached) $ECHO_C" >&6
41571 ac_check_lib_save_LIBS
=$LIBS
41573 cat >conftest.
$ac_ext <<_ACEOF
41576 cat confdefs.h
>>conftest.
$ac_ext
41577 cat >>conftest.
$ac_ext <<_ACEOF
41578 /* end confdefs.h. */
41580 /* Override any GCC internal prototype to avoid an error.
41581 Use char because int might match the return type of a GCC
41582 builtin and then its argument prototype would still apply. */
41595 rm -f conftest.
$ac_objext conftest
$ac_exeext
41596 if { (ac_try
="$ac_link"
41597 case "(($ac_try" in
41598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41599 *) ac_try_echo=$ac_try;;
41601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41602 (eval "$ac_link") 2>conftest.er1
41604 grep -v '^ *+' conftest.er1 >conftest.err
41606 cat conftest.err >&5
41607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608 (exit $ac_status); } && {
41609 test -z "$ac_c_werror_flag" ||
41610 test ! -s conftest.err
41611 } && test -s conftest$ac_exeext &&
41612 $as_test_x conftest$ac_exeext; then
41613 ac_cv_lib_dl_dlerror=yes
41615 echo "$as_me: failed program was:" >&5
41616 sed 's/^/| /' conftest.$ac_ext >&5
41618 ac_cv_lib_dl_dlerror=no
41621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41622 conftest$ac_exeext conftest.$ac_ext
41623 LIBS=$ac_check_lib_save_LIBS
41625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41626 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41627 if test $ac_cv_lib_dl_dlerror = yes; then
41628 cat >>confdefs.h <<\_ACEOF
41629 #define HAVE_DLERROR 1
41642 if test "$USE_DARWIN" = 1; then
41646 if test "$HAVE_DL_FUNCS" = 0; then
41647 if test "$HAVE_SHL_FUNCS" = 0; then
41648 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41649 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41650 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41651 wxUSE_DYNAMIC_LOADER=no
41652 wxUSE_DYNLIB_CLASS=no
41654 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41655 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41662 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41663 cat >>confdefs.h <<\_ACEOF
41664 #define wxUSE_DYNAMIC_LOADER 1
41668 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41669 cat >>confdefs.h <<\_ACEOF
41670 #define wxUSE_DYNLIB_CLASS 1
41677 if test "$wxUSE_PLUGINS" = "yes" ; then
41678 if test "$wxUSE_SHARED" = "no" ; then
41679 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41680 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41683 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41684 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41685 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41688 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41689 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41690 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41693 if test "$wxUSE_PLUGINS" = "yes" ; then
41694 cat >>confdefs.h <<\_ACEOF
41695 #define wxUSE_PLUGINS 1
41702 if test "$wxUSE_STL" = "yes"; then
41703 cat >>confdefs.h <<\_ACEOF
41704 #define wxUSE_STL 1
41709 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_EXTENDED_RTTI 1
41716 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41717 cat >>confdefs.h <<\_ACEOF
41718 #define wxUSE_APPLE_IEEE 1
41723 if test "$wxUSE_TIMER" = "yes"; then
41724 cat >>confdefs.h <<\_ACEOF
41725 #define wxUSE_TIMER 1
41730 if test "$USE_UNIX" = 1 ; then
41731 if test "$wxUSE_MGL" != 1; then
41732 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41733 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41734 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41735 echo $ECHO_N "(cached) $ECHO_C" >&6
41738 cat >conftest.$ac_ext <<_ACEOF
41741 cat confdefs.h >>conftest.$ac_ext
41742 cat >>conftest.$ac_ext <<_ACEOF
41743 /* end confdefs.h. */
41745 #include <sys/ioctl.h>
41746 #include <sys/soundcard.h>
41752 ioctl(0, SNDCTL_DSP_SPEED, 0);
41758 rm -f conftest.$ac_objext conftest$ac_exeext
41759 if { (ac_try="$ac_link"
41760 case "(($ac_try" in
41761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41762 *) ac_try_echo
=$ac_try;;
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_link") 2>conftest.er1
41767 grep -v '^ *+' conftest.er1
>conftest.err
41769 cat conftest.err
>&5
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); } && {
41772 test -z "$ac_c_werror_flag" ||
41773 test ! -s conftest.err
41774 } && test -s conftest
$ac_exeext &&
41775 $as_test_x conftest
$ac_exeext; then
41776 ac_cv_header_sys_soundcard
=yes
41778 echo "$as_me: failed program was:" >&5
41779 sed 's/^/| /' conftest.
$ac_ext >&5
41783 LIBS
="$saveLibs -lossaudio"
41784 cat >conftest.
$ac_ext <<_ACEOF
41787 cat confdefs.h
>>conftest.
$ac_ext
41788 cat >>conftest.
$ac_ext <<_ACEOF
41789 /* end confdefs.h. */
41791 #include <sys/ioctl.h>
41792 #include <sys/soundcard.h>
41798 ioctl(0, SNDCTL_DSP_SPEED, 0);
41804 rm -f conftest.
$ac_objext conftest
$ac_exeext
41805 if { (ac_try
="$ac_link"
41806 case "(($ac_try" in
41807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41808 *) ac_try_echo=$ac_try;;
41810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41811 (eval "$ac_link") 2>conftest.er1
41813 grep -v '^ *+' conftest.er1 >conftest.err
41815 cat conftest.err >&5
41816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817 (exit $ac_status); } && {
41818 test -z "$ac_c_werror_flag" ||
41819 test ! -s conftest.err
41820 } && test -s conftest$ac_exeext &&
41821 $as_test_x conftest$ac_exeext; then
41822 ac_cv_header_sys_soundcard=yes
41824 echo "$as_me: failed program was:" >&5
41825 sed 's/^/| /' conftest.$ac_ext >&5
41829 ac_cv_header_sys_soundcard=no
41834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41835 conftest$ac_exeext conftest.$ac_ext
41840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41841 conftest$ac_exeext conftest.$ac_ext
41844 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41845 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41848 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41849 cat >>confdefs.h <<\_ACEOF
41850 #define HAVE_SYS_SOUNDCARD_H 1
41857 if test "$wxUSE_SOUND" = "yes"; then
41858 if test "$USE_UNIX" = 1 ; then
41859 if test "$wxUSE_LIBSDL" != "no"; then
41861 # Check whether --with-sdl-prefix was given.
41862 if test "${with_sdl_prefix+set}" = set; then
41863 withval=$with_sdl_prefix; sdl_prefix="$withval"
41869 # Check whether --with-sdl-exec-prefix was given.
41870 if test "${with_sdl_exec_prefix+set}" = set; then
41871 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41876 # Check whether --enable-sdltest was given.
41877 if test "${enable_sdltest+set}" = set; then
41878 enableval=$enable_sdltest;
41884 if test x$sdl_exec_prefix != x ; then
41885 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41886 if test x${SDL_CONFIG+set} != xset ; then
41887 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41890 if test x$sdl_prefix != x ; then
41891 sdl_args="$sdl_args --prefix=$sdl_prefix"
41892 if test x${SDL_CONFIG+set} != xset ; then
41893 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41897 if test "x$prefix" != xNONE; then
41898 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41900 # Extract the first word of "sdl-config", so it can be a program name with args.
41901 set dummy sdl-config; ac_word=$2
41902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41904 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41905 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 case $SDL_CONFIG in
41909 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41913 for as_dir in $PATH
41916 test -z "$as_dir" && as_dir=.
41917 for ac_exec_ext in '' $ac_executable_extensions; do
41918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41919 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41927 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41931 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41932 if test -n "$SDL_CONFIG"; then
41933 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41934 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41936 { echo "$as_me:$LINENO: result: no" >&5
41937 echo "${ECHO_T}no" >&6; }
41941 min_sdl_version=1.2.0
41942 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41943 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41945 if test "$SDL_CONFIG" = "no" ; then
41948 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41949 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41951 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41952 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41953 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41954 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41955 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41957 if test "x$enable_sdltest" = "xyes" ; then
41958 ac_save_CFLAGS="$CFLAGS"
41959 ac_save_CXXFLAGS="$CXXFLAGS"
41960 ac_save_LIBS="$LIBS"
41961 CFLAGS="$CFLAGS $SDL_CFLAGS"
41962 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41963 LIBS="$LIBS $SDL_LIBS"
41965 if test "$cross_compiling" = yes; then
41966 echo $ac_n "cross compiling; assumed OK... $ac_c"
41968 cat >conftest.$ac_ext <<_ACEOF
41971 cat confdefs.h >>conftest.$ac_ext
41972 cat >>conftest.$ac_ext <<_ACEOF
41973 /* end confdefs.h. */
41976 #include <stdlib.h>
41977 #include <string.h>
41981 my_strdup (char *str)
41987 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41988 strcpy (new_str, str);
41996 int main (int argc, char *argv[])
41998 int major, minor, micro;
42001 /* This hangs on some systems (?)
42002 system ("touch conf.sdltest");
42004 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42006 /* HP/UX 9 (%@#!) writes to sscanf strings */
42007 tmp_version = my_strdup("$min_sdl_version");
42008 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42009 printf("%s, bad version string\n", "$min_sdl_version");
42013 if (($sdl_major_version > major) ||
42014 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42015 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42021 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42022 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42023 printf("*** best to upgrade to the required version.\n");
42024 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42025 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42026 printf("*** config.cache before re-running configure\n");
42033 rm -f conftest$ac_exeext
42034 if { (ac_try="$ac_link"
42035 case "(($ac_try" in
42036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42037 *) ac_try_echo
=$ac_try;;
42039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42040 (eval "$ac_link") 2>&5
42042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42043 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42044 { (case "(($ac_try" in
42045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42046 *) ac_try_echo=$ac_try;;
42048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42049 (eval "$ac_try") 2>&5
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; }; then
42055 echo "$as_me: program exited with status $ac_status" >&5
42056 echo "$as_me: failed program was:" >&5
42057 sed 's/^/| /' conftest.$ac_ext >&5
42059 ( exit $ac_status )
42062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42066 CFLAGS="$ac_save_CFLAGS"
42067 CXXFLAGS="$ac_save_CXXFLAGS"
42068 LIBS="$ac_save_LIBS"
42071 if test "x$no_sdl" = x ; then
42072 { echo "$as_me:$LINENO: result: yes" >&5
42073 echo "${ECHO_T}yes" >&6; }
42075 EXTRALIBS_SDL="$SDL_LIBS"
42076 CFLAGS="$SDL_CFLAGS $CFLAGS"
42077 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42078 cat >>confdefs.h <<\_ACEOF
42079 #define wxUSE_LIBSDL 1
42084 { echo "$as_me:$LINENO: result: no" >&5
42085 echo "${ECHO_T}no" >&6; }
42086 if test "$SDL_CONFIG" = "no" ; then
42087 echo "*** The sdl-config script installed by SDL could not be found"
42088 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42089 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42090 echo "*** full path to sdl-config."
42092 if test -f conf.sdltest ; then
42095 echo "*** Could not run SDL test program, checking why..."
42096 CFLAGS="$CFLAGS $SDL_CFLAGS"
42097 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42098 LIBS="$LIBS $SDL_LIBS"
42099 cat >conftest.$ac_ext <<_ACEOF
42102 cat confdefs.h >>conftest.$ac_ext
42103 cat >>conftest.$ac_ext <<_ACEOF
42104 /* end confdefs.h. */
42109 int main(int argc, char *argv[])
42112 #define main K_and_R_C_main
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42126 *) ac_try_echo
=$ac_try;;
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42131 grep -v '^ *+' conftest.er1
>conftest.err
42133 cat conftest.err
>&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest
$ac_exeext &&
42139 $as_test_x conftest
$ac_exeext; then
42140 echo "*** The test program compiled, but did not run. This usually means"
42141 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42142 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42143 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42144 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42145 echo "*** is required on your system"
42147 echo "*** If you have an old version installed, it is best to remove it, although"
42148 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42150 echo "$as_me: failed program was:" >&5
42151 sed 's/^/| /' conftest.
$ac_ext >&5
42153 echo "*** The test program failed to compile or link. See the file config.log for the"
42154 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42155 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42156 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42160 conftest
$ac_exeext conftest.
$ac_ext
42161 CFLAGS
="$ac_save_CFLAGS"
42162 CXXFLAGS
="$ac_save_CXXFLAGS"
42163 LIBS
="$ac_save_LIBS"
42174 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42179 if test "$wxUSE_MGL" = 1; then
42180 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42181 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42187 if test "$wxUSE_SOUND" = "yes"; then
42188 cat >>confdefs.h
<<\_ACEOF
42189 #define wxUSE_SOUND 1
42192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42195 if test "$WXGTK2" = 1; then
42198 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42199 if test -n "$ac_tool_prefix"; then
42200 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42201 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42204 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42207 case $PKG_CONFIG in
42209 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42213 for as_dir
in $PATH
42216 test -z "$as_dir" && as_dir
=.
42217 for ac_exec_ext
in '' $ac_executable_extensions; do
42218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42219 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42230 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42231 if test -n "$PKG_CONFIG"; then
42232 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42233 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42235 { echo "$as_me:$LINENO: result: no" >&5
42236 echo "${ECHO_T}no" >&6; }
42241 if test -z "$ac_cv_path_PKG_CONFIG"; then
42242 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42243 # Extract the first word of "pkg-config", so it can be a program name with args.
42244 set dummy pkg
-config; ac_word
=$2
42245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42247 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42248 echo $ECHO_N "(cached) $ECHO_C" >&6
42250 case $ac_pt_PKG_CONFIG in
42252 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42256 for as_dir
in $PATH
42259 test -z "$as_dir" && as_dir
=.
42260 for ac_exec_ext
in '' $ac_executable_extensions; do
42261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42262 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42273 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42274 if test -n "$ac_pt_PKG_CONFIG"; then
42275 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42276 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42278 { echo "$as_me:$LINENO: result: no" >&5
42279 echo "${ECHO_T}no" >&6; }
42282 if test "x$ac_pt_PKG_CONFIG" = x
; then
42285 case $cross_compiling:$ac_tool_warned in
42287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42288 whose name does not start with the host triplet. If you think this
42289 configuration is useful to you, please write to autoconf@gnu.org." >&5
42290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42291 whose name does not start with the host triplet. If you think this
42292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42293 ac_tool_warned
=yes ;;
42295 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42298 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42302 if test -n "$PKG_CONFIG"; then
42303 _pkg_min_version
=0.9.0
42304 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42305 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42306 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42307 { echo "$as_me:$LINENO: result: yes" >&5
42308 echo "${ECHO_T}yes" >&6; }
42310 { echo "$as_me:$LINENO: result: no" >&5
42311 echo "${ECHO_T}no" >&6; }
42317 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42319 if test "$wxUSE_GTKPRINT" = "yes" ; then
42323 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42324 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42326 if test -n "$PKG_CONFIG"; then
42327 if test -n "$GTKPRINT_CFLAGS"; then
42328 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42330 if test -n "$PKG_CONFIG" && \
42331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42332 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); }; then
42336 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42344 if test -n "$PKG_CONFIG"; then
42345 if test -n "$GTKPRINT_LIBS"; then
42346 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42348 if test -n "$PKG_CONFIG" && \
42349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42350 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); }; then
42354 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42365 if test $pkg_failed = yes; then
42367 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42368 _pkg_short_errors_supported
=yes
42370 _pkg_short_errors_supported
=no
42372 if test $_pkg_short_errors_supported = yes; then
42373 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42375 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42377 # Put the nasty error message in config.log where it belongs
42378 echo "$GTKPRINT_PKG_ERRORS" >&5
42381 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42382 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42383 wxUSE_GTKPRINT
="no"
42386 elif test $pkg_failed = untried
; then
42388 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42389 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42390 wxUSE_GTKPRINT
="no"
42394 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42395 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42396 { echo "$as_me:$LINENO: result: yes" >&5
42397 echo "${ECHO_T}yes" >&6; }
42399 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42400 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42401 cat >>confdefs.h
<<\_ACEOF
42402 #define wxUSE_GTKPRINT 1
42409 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42413 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42414 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42416 if test -n "$PKG_CONFIG"; then
42417 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42418 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42420 if test -n "$PKG_CONFIG" && \
42421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42422 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); }; then
42426 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42434 if test -n "$PKG_CONFIG"; then
42435 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42436 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42438 if test -n "$PKG_CONFIG" && \
42439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42440 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); }; then
42444 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42455 if test $pkg_failed = yes; then
42457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42458 _pkg_short_errors_supported
=yes
42460 _pkg_short_errors_supported
=no
42462 if test $_pkg_short_errors_supported = yes; then
42463 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42465 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42467 # Put the nasty error message in config.log where it belongs
42468 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42471 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42472 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42473 wxUSE_LIBGNOMEPRINT
="no"
42476 elif test $pkg_failed = untried
; then
42478 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42479 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42480 wxUSE_LIBGNOMEPRINT
="no"
42484 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42485 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42486 { echo "$as_me:$LINENO: result: yes" >&5
42487 echo "${ECHO_T}yes" >&6; }
42489 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42490 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42491 cat >>confdefs.h
<<\_ACEOF
42492 #define wxUSE_LIBGNOMEPRINT 1
42500 if test "$wxUSE_MIMETYPE" = "yes" ; then
42501 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42505 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42506 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42508 if test -n "$PKG_CONFIG"; then
42509 if test -n "$GNOMEVFS_CFLAGS"; then
42510 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42512 if test -n "$PKG_CONFIG" && \
42513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42514 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42517 (exit $ac_status); }; then
42518 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42526 if test -n "$PKG_CONFIG"; then
42527 if test -n "$GNOMEVFS_LIBS"; then
42528 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42530 if test -n "$PKG_CONFIG" && \
42531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42532 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); }; then
42536 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42547 if test $pkg_failed = yes; then
42549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42550 _pkg_short_errors_supported
=yes
42552 _pkg_short_errors_supported
=no
42554 if test $_pkg_short_errors_supported = yes; then
42555 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42557 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42559 # Put the nasty error message in config.log where it belongs
42560 echo "$GNOMEVFS_PKG_ERRORS" >&5
42563 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42564 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42565 wxUSE_LIBGNOMEVFS
="no"
42568 elif test $pkg_failed = untried
; then
42570 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42571 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42572 wxUSE_LIBGNOMEVFS
="no"
42576 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42577 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42578 { echo "$as_me:$LINENO: result: yes" >&5
42579 echo "${ECHO_T}yes" >&6; }
42581 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
42582 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42583 cat >>confdefs.h
<<\_ACEOF
42584 #define wxUSE_LIBGNOMEVFS 1
42592 if test "$wxUSE_LIBHILDON" = "yes" ; then
42595 { echo "$as_me:$LINENO: checking for HILDON" >&5
42596 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42598 if test -n "$PKG_CONFIG"; then
42599 if test -n "$HILDON_CFLAGS"; then
42600 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42602 if test -n "$PKG_CONFIG" && \
42603 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42604 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42607 (exit $ac_status); }; then
42608 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42616 if test -n "$PKG_CONFIG"; then
42617 if test -n "$HILDON_LIBS"; then
42618 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42620 if test -n "$PKG_CONFIG" && \
42621 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42622 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; then
42626 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42637 if test $pkg_failed = yes; then
42639 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42640 _pkg_short_errors_supported
=yes
42642 _pkg_short_errors_supported
=no
42644 if test $_pkg_short_errors_supported = yes; then
42645 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42647 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42649 # Put the nasty error message in config.log where it belongs
42650 echo "$HILDON_PKG_ERRORS" >&5
42653 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42654 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42655 wxUSE_LIBHILDON
="no"
42658 elif test $pkg_failed = untried
; then
42660 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42661 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42662 wxUSE_LIBHILDON
="no"
42666 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42667 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42668 { echo "$as_me:$LINENO: result: yes" >&5
42669 echo "${ECHO_T}yes" >&6; }
42671 EXTRALIBS_HILDON
="$HILDON_LIBS"
42672 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
42673 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42674 cat >>confdefs.h
<<\_ACEOF
42675 #define wxUSE_LIBHILDON 1
42683 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42684 cat >>confdefs.h
<<\_ACEOF
42685 #define wxUSE_CMDLINE_PARSER 1
42690 if test "$wxUSE_STOPWATCH" = "yes"; then
42691 cat >>confdefs.h
<<\_ACEOF
42692 #define wxUSE_STOPWATCH 1
42697 if test "$wxUSE_DATETIME" = "yes"; then
42698 cat >>confdefs.h
<<\_ACEOF
42699 #define wxUSE_DATETIME 1
42704 if test "$wxUSE_FILE" = "yes"; then
42705 cat >>confdefs.h
<<\_ACEOF
42706 #define wxUSE_FILE 1
42711 if test "$wxUSE_FFILE" = "yes"; then
42712 cat >>confdefs.h
<<\_ACEOF
42713 #define wxUSE_FFILE 1
42718 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42719 if test "$wxUSE_STREAMS" != yes; then
42720 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42721 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42722 wxUSE_ARCHIVE_STREAMS
=no
42724 cat >>confdefs.h
<<\_ACEOF
42725 #define wxUSE_ARCHIVE_STREAMS 1
42731 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42732 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42733 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42734 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42735 elif test "$wxUSE_ZLIB" = "no"; then
42736 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42737 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42739 cat >>confdefs.h
<<\_ACEOF
42740 #define wxUSE_ZIPSTREAM 1
42746 if test "$wxUSE_TARSTREAM" = "yes"; then
42747 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42748 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42749 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42751 cat >>confdefs.h
<<\_ACEOF
42752 #define wxUSE_TARSTREAM 1
42758 if test "$wxUSE_FILESYSTEM" = "yes"; then
42759 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
42760 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42761 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42762 wxUSE_FILESYSTEM
=no
42764 cat >>confdefs.h
<<\_ACEOF
42765 #define wxUSE_FILESYSTEM 1
42771 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42772 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42773 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42774 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42776 cat >>confdefs.h
<<\_ACEOF
42777 #define wxUSE_FS_ARCHIVE 1
42783 if test "$wxUSE_FS_ZIP" = "yes"; then
42784 if test "$wxUSE_FS_ARCHIVE" != yes; then
42785 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42786 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42788 cat >>confdefs.h
<<\_ACEOF
42789 #define wxUSE_FS_ZIP 1
42795 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42796 if test "$USE_UNIX" != 1; then
42797 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42798 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42799 wxUSE_ON_FATAL_EXCEPTION
=no
42801 cat >>confdefs.h
<<\_ACEOF
42802 #define wxUSE_ON_FATAL_EXCEPTION 1
42808 if test "$wxUSE_STACKWALKER" = "yes"; then
42809 cat >>confdefs.h
<<\_ACEOF
42810 #define wxUSE_STACKWALKER 1
42815 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42816 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42817 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42818 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42819 wxUSE_DEBUGREPORT
=no
42821 cat >>confdefs.h
<<\_ACEOF
42822 #define wxUSE_DEBUGREPORT 1
42825 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42831 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42832 cat >>confdefs.h
<<\_ACEOF
42833 #define wxUSE_SNGLINST_CHECKER 1
42838 if test "$wxUSE_BUSYINFO" = "yes"; then
42839 cat >>confdefs.h
<<\_ACEOF
42840 #define wxUSE_BUSYINFO 1
42845 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42846 cat >>confdefs.h
<<\_ACEOF
42847 #define wxUSE_STD_IOSTREAM 1
42852 if test "$wxUSE_STD_STRING" = "yes"; then
42853 cat >>confdefs.h
<<\_ACEOF
42854 #define wxUSE_STD_STRING 1
42859 if test "$wxUSE_STDPATHS" = "yes"; then
42860 cat >>confdefs.h
<<\_ACEOF
42861 #define wxUSE_STDPATHS 1
42866 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42867 cat >>confdefs.h
<<\_ACEOF
42868 #define wxUSE_TEXTBUFFER 1
42873 if test "$wxUSE_TEXTFILE" = "yes"; then
42874 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42875 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42876 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42878 cat >>confdefs.h
<<\_ACEOF
42879 #define wxUSE_TEXTFILE 1
42885 if test "$wxUSE_CONFIG" = "yes" ; then
42886 if test "$wxUSE_TEXTFILE" != "yes"; then
42887 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42888 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42890 cat >>confdefs.h
<<\_ACEOF
42891 #define wxUSE_CONFIG 1
42894 cat >>confdefs.h
<<\_ACEOF
42895 #define wxUSE_CONFIG_NATIVE 1
42898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42902 if test "$wxUSE_INTL" = "yes" ; then
42903 if test "$wxUSE_FILE" != "yes"; then
42904 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42905 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42907 cat >>confdefs.h
<<\_ACEOF
42908 #define wxUSE_INTL 1
42911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42912 GUIDIST
="$GUIDIST INTL_DIST"
42916 if test "$wxUSE_XLOCALE" == "yes" ; then
42917 cat >>confdefs.h
<<\_ACEOF
42918 #define wxUSE_XLOCALE 1
42921 { echo "$as_me:$LINENO: checking for locale_t" >&5
42922 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
42923 if test "${ac_cv_type_locale_t+set}" = set; then
42924 echo $ECHO_N "(cached) $ECHO_C" >&6
42926 cat >conftest.
$ac_ext <<_ACEOF
42929 cat confdefs.h
>>conftest.
$ac_ext
42930 cat >>conftest.
$ac_ext <<_ACEOF
42931 /* end confdefs.h. */
42932 #include <xlocale.h>
42933 #include <locale.h>
42935 typedef locale_t ac__type_new_;
42939 if ((ac__type_new_ *) 0)
42941 if (sizeof (ac__type_new_))
42947 rm -f conftest.
$ac_objext
42948 if { (ac_try
="$ac_compile"
42949 case "(($ac_try" in
42950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42951 *) ac_try_echo=$ac_try;;
42953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42954 (eval "$ac_compile") 2>conftest.er1
42956 grep -v '^ *+' conftest.er1 >conftest.err
42958 cat conftest.err >&5
42959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960 (exit $ac_status); } && {
42961 test -z "$ac_c_werror_flag" ||
42962 test ! -s conftest.err
42963 } && test -s conftest.$ac_objext; then
42964 ac_cv_type_locale_t=yes
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.$ac_ext >&5
42969 ac_cv_type_locale_t=no
42972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42974 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
42975 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
42976 if test $ac_cv_type_locale_t = yes; then
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE_LOCALE_T 1
42987 if test "$wxUSE_LOG" = "yes"; then
42988 cat >>confdefs.h <<\_ACEOF
42989 #define wxUSE_LOG 1
42993 if test "$wxUSE_LOGGUI" = "yes"; then
42994 cat >>confdefs.h <<\_ACEOF
42995 #define wxUSE_LOGGUI 1
43000 if test "$wxUSE_LOGWINDOW" = "yes"; then
43001 cat >>confdefs.h <<\_ACEOF
43002 #define wxUSE_LOGWINDOW 1
43007 if test "$wxUSE_LOGDIALOG" = "yes"; then
43008 cat >>confdefs.h <<\_ACEOF
43009 #define wxUSE_LOG_DIALOG 1
43014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43017 if test "$wxUSE_LONGLONG" = "yes"; then
43018 cat >>confdefs.h <<\_ACEOF
43019 #define wxUSE_LONGLONG 1
43024 if test "$wxUSE_GEOMETRY" = "yes"; then
43025 cat >>confdefs.h <<\_ACEOF
43026 #define wxUSE_GEOMETRY 1
43031 if test "$wxUSE_BASE64" = "yes"; then
43032 cat >>confdefs.h <<\_ACEOF
43033 #define wxUSE_BASE64 1
43038 if test "$wxUSE_STREAMS" = "yes" ; then
43039 cat >>confdefs.h <<\_ACEOF
43040 #define wxUSE_STREAMS 1
43045 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43046 cat >>confdefs.h <<\_ACEOF
43047 #define wxUSE_PRINTF_POS_PARAMS 1
43052 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43053 cat >>confdefs.h <<\_ACEOF
43054 #define wxUSE_OBJC_UNIQUIFYING 1
43060 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43061 cat >>confdefs.h <<\_ACEOF
43062 #define wxUSE_CONSOLE_EVENTLOOP 1
43066 if test "$wxUSE_UNIX" = "yes"; then
43067 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43068 cat >>confdefs.h <<\_ACEOF
43069 #define wxUSE_SELECT_DISPATCHER 1
43074 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43076 for ac_header in sys/epoll.h
43078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43082 echo $ECHO_N "(cached) $ECHO_C" >&6
43084 cat >conftest.$ac_ext <<_ACEOF
43087 cat confdefs.h >>conftest.$ac_ext
43088 cat >>conftest.$ac_ext <<_ACEOF
43089 /* end confdefs.h. */
43090 $ac_includes_default
43092 #include <$ac_header>
43094 rm -f conftest.$ac_objext
43095 if { (ac_try="$ac_compile"
43096 case "(($ac_try" in
43097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43098 *) ac_try_echo
=$ac_try;;
43100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43101 (eval "$ac_compile") 2>conftest.er1
43103 grep -v '^ *+' conftest.er1
>conftest.err
43105 cat conftest.err
>&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } && {
43108 test -z "$ac_c_werror_flag" ||
43109 test ! -s conftest.err
43110 } && test -s conftest.
$ac_objext; then
43111 eval "$as_ac_Header=yes"
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.
$ac_ext >&5
43116 eval "$as_ac_Header=no"
43119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43121 ac_res
=`eval echo '${'$as_ac_Header'}'`
43122 { echo "$as_me:$LINENO: result: $ac_res" >&5
43123 echo "${ECHO_T}$ac_res" >&6; }
43124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43125 cat >>confdefs.h
<<_ACEOF
43126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43133 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43134 cat >>confdefs.h
<<\_ACEOF
43135 #define wxUSE_EPOLL_DISPATCHER 1
43139 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43140 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43149 for ac_func
in gettimeofday ftime
43151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43154 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43155 echo $ECHO_N "(cached) $ECHO_C" >&6
43157 cat >conftest.
$ac_ext <<_ACEOF
43160 cat confdefs.h
>>conftest.
$ac_ext
43161 cat >>conftest.
$ac_ext <<_ACEOF
43162 /* end confdefs.h. */
43163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43165 #define $ac_func innocuous_$ac_func
43167 /* System header to define __stub macros and hopefully few prototypes,
43168 which can conflict with char $ac_func (); below.
43169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43170 <limits.h> exists even on freestanding compilers. */
43173 # include <limits.h>
43175 # include <assert.h>
43180 /* Override any GCC internal prototype to avoid an error.
43181 Use char because int might match the return type of a GCC
43182 builtin and then its argument prototype would still apply. */
43187 /* The GNU C library defines this for functions which it implements
43188 to always fail with ENOSYS. Some functions are actually named
43189 something starting with __ and the normal name is an alias. */
43190 #if defined __stub_$ac_func || defined __stub___$ac_func
43197 return $ac_func ();
43202 rm -f conftest.
$ac_objext conftest
$ac_exeext
43203 if { (ac_try
="$ac_link"
43204 case "(($ac_try" in
43205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43206 *) ac_try_echo=$ac_try;;
43208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43209 (eval "$ac_link") 2>conftest.er1
43211 grep -v '^ *+' conftest.er1 >conftest.err
43213 cat conftest.err >&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); } && {
43216 test -z "$ac_c_werror_flag" ||
43217 test ! -s conftest.err
43218 } && test -s conftest$ac_exeext &&
43219 $as_test_x conftest$ac_exeext; then
43220 eval "$as_ac_var=yes"
43222 echo "$as_me: failed program was:" >&5
43223 sed 's/^/| /' conftest.$ac_ext >&5
43225 eval "$as_ac_var=no"
43228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43229 conftest$ac_exeext conftest.$ac_ext
43231 ac_res=`eval echo '${'$as_ac_var'}'`
43232 { echo "$as_me:$LINENO: result: $ac_res" >&5
43233 echo "${ECHO_T}$ac_res" >&6; }
43234 if test `eval echo '${'$as_ac_var'}'` = yes; then
43235 cat >>confdefs.h <<_ACEOF
43236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43243 if test "$ac_cv_func_gettimeofday" = "yes"; then
43244 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43245 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43246 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43247 echo $ECHO_N "(cached) $ECHO_C" >&6
43250 cat >conftest.$ac_ext <<_ACEOF
43253 cat confdefs.h >>conftest.$ac_ext
43254 cat >>conftest.$ac_ext <<_ACEOF
43255 /* end confdefs.h. */
43257 #include <sys/time.h>
43258 #include <unistd.h>
43265 gettimeofday(&tv, NULL);
43271 rm -f conftest.$ac_objext
43272 if { (ac_try="$ac_compile"
43273 case "(($ac_try" in
43274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43275 *) ac_try_echo
=$ac_try;;
43277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43278 (eval "$ac_compile") 2>conftest.er1
43280 grep -v '^ *+' conftest.er1
>conftest.err
43282 cat conftest.err
>&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } && {
43285 test -z "$ac_c_werror_flag" ||
43286 test ! -s conftest.err
43287 } && test -s conftest.
$ac_objext; then
43288 wx_cv_func_gettimeofday_has_2_args
=yes
43290 echo "$as_me: failed program was:" >&5
43291 sed 's/^/| /' conftest.
$ac_ext >&5
43293 cat >conftest.
$ac_ext <<_ACEOF
43296 cat confdefs.h
>>conftest.
$ac_ext
43297 cat >>conftest.
$ac_ext <<_ACEOF
43298 /* end confdefs.h. */
43300 #include <sys/time.h>
43301 #include <unistd.h>
43314 rm -f conftest.
$ac_objext
43315 if { (ac_try
="$ac_compile"
43316 case "(($ac_try" in
43317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43318 *) ac_try_echo=$ac_try;;
43320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43321 (eval "$ac_compile") 2>conftest.er1
43323 grep -v '^ *+' conftest.er1 >conftest.err
43325 cat conftest.err >&5
43326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327 (exit $ac_status); } && {
43328 test -z "$ac_c_werror_flag" ||
43329 test ! -s conftest.err
43330 } && test -s conftest.$ac_objext; then
43331 wx_cv_func_gettimeofday_has_2_args=no
43333 echo "$as_me: failed program was:" >&5
43334 sed 's/^/| /' conftest.$ac_ext >&5
43337 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43338 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43339 wx_cv_func_gettimeofday_has_2_args=unknown
43344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43351 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43352 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43354 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43355 cat >>confdefs.h <<\_ACEOF
43356 #define WX_GETTIMEOFDAY_NO_TZ 1
43362 if test "$wxUSE_DATETIME" = "yes"; then
43363 { echo "$as_me:$LINENO: checking for strptime" >&5
43364 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43365 if test "${ac_cv_func_strptime+set}" = set; then
43366 echo $ECHO_N "(cached) $ECHO_C" >&6
43368 cat >conftest.$ac_ext <<_ACEOF
43371 cat confdefs.h >>conftest.$ac_ext
43372 cat >>conftest.$ac_ext <<_ACEOF
43373 /* end confdefs.h. */
43374 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43376 #define strptime innocuous_strptime
43378 /* System header to define __stub macros and hopefully few prototypes,
43379 which can conflict with char strptime (); below.
43380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43381 <limits.h> exists even on freestanding compilers. */
43384 # include <limits.h>
43386 # include <assert.h>
43391 /* Override any GCC internal prototype to avoid an error.
43392 Use char because int might match the return type of a GCC
43393 builtin and then its argument prototype would still apply. */
43398 /* The GNU C library defines this for functions which it implements
43399 to always fail with ENOSYS. Some functions are actually named
43400 something starting with __ and the normal name is an alias. */
43401 #if defined __stub_strptime || defined __stub___strptime
43408 return strptime ();
43413 rm -f conftest.$ac_objext conftest$ac_exeext
43414 if { (ac_try="$ac_link"
43415 case "(($ac_try" in
43416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43417 *) ac_try_echo
=$ac_try;;
43419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43420 (eval "$ac_link") 2>conftest.er1
43422 grep -v '^ *+' conftest.er1
>conftest.err
43424 cat conftest.err
>&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } && {
43427 test -z "$ac_c_werror_flag" ||
43428 test ! -s conftest.err
43429 } && test -s conftest
$ac_exeext &&
43430 $as_test_x conftest
$ac_exeext; then
43431 ac_cv_func_strptime
=yes
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.
$ac_ext >&5
43436 ac_cv_func_strptime
=no
43439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43440 conftest
$ac_exeext conftest.
$ac_ext
43442 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43443 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43445 if test "$ac_cv_func_strptime" = "yes"; then
43446 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43447 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43448 if test "${wx_cv_func_strptime_decl+set}" = set; then
43449 echo $ECHO_N "(cached) $ECHO_C" >&6
43453 ac_cpp
='$CXXCPP $CPPFLAGS'
43454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43458 cat >conftest.
$ac_ext <<_ACEOF
43461 cat confdefs.h
>>conftest.
$ac_ext
43462 cat >>conftest.
$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43472 strptime("foo", "bar", &t);
43478 rm -f conftest.
$ac_objext
43479 if { (ac_try
="$ac_compile"
43480 case "(($ac_try" in
43481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43482 *) ac_try_echo=$ac_try;;
43484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43485 (eval "$ac_compile") 2>conftest.er1
43487 grep -v '^ *+' conftest.er1 >conftest.err
43489 cat conftest.err >&5
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); } && {
43492 test -z "$ac_cxx_werror_flag" ||
43493 test ! -s conftest.err
43494 } && test -s conftest.$ac_objext; then
43495 wx_cv_func_strptime_decl=yes
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.$ac_ext >&5
43500 wx_cv_func_strptime_decl=no
43504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43506 ac_cpp='$CPP $CPPFLAGS'
43507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43514 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43515 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43517 if test "$wx_cv_func_strptime_decl" = "yes"; then
43518 cat >>confdefs.h <<\_ACEOF
43519 #define HAVE_STRPTIME_DECL 1
43523 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43525 if test "$ac_cv_func_strptime" = "yes"; then
43526 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43527 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43528 if test "${wx_cv_func_strptime_ok+set}" = set; then
43529 echo $ECHO_N "(cached) $ECHO_C" >&6
43531 if test "$cross_compiling" = yes; then
43532 wx_cv_func_strptime_ok=no
43535 cat >conftest.$ac_ext <<_ACEOF
43537 #include <stdlib.h>
43539 #include "confdefs.h"
43546 return !!strptime("", "%x", &t);
43550 rm -f conftest$ac_exeext
43551 if { (ac_try="$ac_link"
43552 case "(($ac_try" in
43553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43554 *) ac_try_echo
=$ac_try;;
43556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43557 (eval "$ac_link") 2>&5
43559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43561 { (case "(($ac_try" in
43562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43563 *) ac_try_echo=$ac_try;;
43565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43566 (eval "$ac_try") 2>&5
43568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43569 (exit $ac_status); }; }; then
43570 wx_cv_func_strptime_ok=yes
43572 echo "$as_me: program exited with status $ac_status" >&5
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.$ac_ext >&5
43576 ( exit $ac_status )
43577 wx_cv_func_strptime_ok=no
43579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43585 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43586 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43588 if test "$wx_cv_func_strptime_ok" = "yes"; then
43589 cat >>confdefs.h <<\_ACEOF
43590 #define HAVE_STRPTIME 1
43596 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43597 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43598 if test "${wx_cv_var_timezone+set}" = set; then
43599 echo $ECHO_N "(cached) $ECHO_C" >&6
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43608 cat >conftest.$ac_ext <<_ACEOF
43611 cat confdefs.h >>conftest.$ac_ext
43612 cat >>conftest.$ac_ext <<_ACEOF
43613 /* end confdefs.h. */
43628 rm -f conftest.$ac_objext
43629 if { (ac_try="$ac_compile"
43630 case "(($ac_try" in
43631 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43632 *) ac_try_echo
=$ac_try;;
43634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43635 (eval "$ac_compile") 2>conftest.er1
43637 grep -v '^ *+' conftest.er1
>conftest.err
43639 cat conftest.err
>&5
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); } && {
43642 test -z "$ac_cxx_werror_flag" ||
43643 test ! -s conftest.err
43644 } && test -s conftest.
$ac_objext; then
43646 wx_cv_var_timezone
=timezone
43649 echo "$as_me: failed program was:" >&5
43650 sed 's/^/| /' conftest.
$ac_ext >&5
43653 cat >conftest.
$ac_ext <<_ACEOF
43656 cat confdefs.h
>>conftest.
$ac_ext
43657 cat >>conftest.
$ac_ext <<_ACEOF
43658 /* end confdefs.h. */
43673 rm -f conftest.
$ac_objext
43674 if { (ac_try
="$ac_compile"
43675 case "(($ac_try" in
43676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43677 *) ac_try_echo=$ac_try;;
43679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43680 (eval "$ac_compile") 2>conftest.er1
43682 grep -v '^ *+' conftest.er1 >conftest.err
43684 cat conftest.err >&5
43685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43686 (exit $ac_status); } && {
43687 test -z "$ac_cxx_werror_flag" ||
43688 test ! -s conftest.err
43689 } && test -s conftest.$ac_objext; then
43691 wx_cv_var_timezone=_timezone
43694 echo "$as_me: failed program was:" >&5
43695 sed 's/^/| /' conftest.$ac_ext >&5
43698 cat >conftest.$ac_ext <<_ACEOF
43701 cat confdefs.h >>conftest.$ac_ext
43702 cat >>conftest.$ac_ext <<_ACEOF
43703 /* end confdefs.h. */
43718 rm -f conftest.$ac_objext
43719 if { (ac_try="$ac_compile"
43720 case "(($ac_try" in
43721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43722 *) ac_try_echo
=$ac_try;;
43724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43725 (eval "$ac_compile") 2>conftest.er1
43727 grep -v '^ *+' conftest.er1
>conftest.err
43729 cat conftest.err
>&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); } && {
43732 test -z "$ac_cxx_werror_flag" ||
43733 test ! -s conftest.err
43734 } && test -s conftest.
$ac_objext; then
43736 wx_cv_var_timezone
=__timezone
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.
$ac_ext >&5
43743 if test "$USE_DOS" = 0 ; then
43744 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43745 echo "$as_me: WARNING: no timezone variable" >&2;}
43751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43763 ac_cpp
='$CPP $CPPFLAGS'
43764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43771 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43772 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43774 if test "x$wx_cv_var_timezone" != x
; then
43775 cat >>confdefs.h
<<_ACEOF
43776 #define WX_TIMEZONE $wx_cv_var_timezone
43782 for ac_func
in localtime
43784 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43785 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43787 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43788 echo $ECHO_N "(cached) $ECHO_C" >&6
43790 cat >conftest.
$ac_ext <<_ACEOF
43793 cat confdefs.h
>>conftest.
$ac_ext
43794 cat >>conftest.
$ac_ext <<_ACEOF
43795 /* end confdefs.h. */
43796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43798 #define $ac_func innocuous_$ac_func
43800 /* System header to define __stub macros and hopefully few prototypes,
43801 which can conflict with char $ac_func (); below.
43802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43803 <limits.h> exists even on freestanding compilers. */
43806 # include <limits.h>
43808 # include <assert.h>
43813 /* Override any GCC internal prototype to avoid an error.
43814 Use char because int might match the return type of a GCC
43815 builtin and then its argument prototype would still apply. */
43820 /* The GNU C library defines this for functions which it implements
43821 to always fail with ENOSYS. Some functions are actually named
43822 something starting with __ and the normal name is an alias. */
43823 #if defined __stub_$ac_func || defined __stub___$ac_func
43830 return $ac_func ();
43835 rm -f conftest.
$ac_objext conftest
$ac_exeext
43836 if { (ac_try
="$ac_link"
43837 case "(($ac_try" in
43838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43839 *) ac_try_echo=$ac_try;;
43841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43842 (eval "$ac_link") 2>conftest.er1
43844 grep -v '^ *+' conftest.er1 >conftest.err
43846 cat conftest.err >&5
43847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43848 (exit $ac_status); } && {
43849 test -z "$ac_c_werror_flag" ||
43850 test ! -s conftest.err
43851 } && test -s conftest$ac_exeext &&
43852 $as_test_x conftest$ac_exeext; then
43853 eval "$as_ac_var=yes"
43855 echo "$as_me: failed program was:" >&5
43856 sed 's/^/| /' conftest.$ac_ext >&5
43858 eval "$as_ac_var=no"
43861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43862 conftest$ac_exeext conftest.$ac_ext
43864 ac_res=`eval echo '${'$as_ac_var'}'`
43865 { echo "$as_me:$LINENO: result: $ac_res" >&5
43866 echo "${ECHO_T}$ac_res" >&6; }
43867 if test `eval echo '${'$as_ac_var'}'` = yes; then
43868 cat >>confdefs.h <<_ACEOF
43869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43876 if test "$ac_cv_func_localtime" = "yes"; then
43877 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43878 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43879 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43880 echo $ECHO_N "(cached) $ECHO_C" >&6
43883 cat >conftest.$ac_ext <<_ACEOF
43886 cat confdefs.h >>conftest.$ac_ext
43887 cat >>conftest.$ac_ext <<_ACEOF
43888 /* end confdefs.h. */
43903 rm -f conftest.$ac_objext
43904 if { (ac_try="$ac_compile"
43905 case "(($ac_try" in
43906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43907 *) ac_try_echo
=$ac_try;;
43909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43910 (eval "$ac_compile") 2>conftest.er1
43912 grep -v '^ *+' conftest.er1
>conftest.err
43914 cat conftest.err
>&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); } && {
43917 test -z "$ac_c_werror_flag" ||
43918 test ! -s conftest.err
43919 } && test -s conftest.
$ac_objext; then
43921 wx_cv_struct_tm_has_gmtoff
=yes
43924 echo "$as_me: failed program was:" >&5
43925 sed 's/^/| /' conftest.
$ac_ext >&5
43927 wx_cv_struct_tm_has_gmtoff
=no
43931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43934 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43935 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43938 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define WX_GMTOFF_IN_TM 1
43945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43949 if test "$wxUSE_SOCKETS" = "yes"; then
43950 if test "$wxUSE_MGL" = 1; then
43951 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43952 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43957 if test "$wxUSE_SOCKETS" = "yes"; then
43958 if test "$TOOLKIT" != "MSW"; then
43959 { echo "$as_me:$LINENO: checking for socket" >&5
43960 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43961 if test "${ac_cv_func_socket+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43964 cat >conftest.
$ac_ext <<_ACEOF
43967 cat confdefs.h
>>conftest.
$ac_ext
43968 cat >>conftest.
$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43972 #define socket innocuous_socket
43974 /* System header to define __stub macros and hopefully few prototypes,
43975 which can conflict with char socket (); below.
43976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43977 <limits.h> exists even on freestanding compilers. */
43980 # include <limits.h>
43982 # include <assert.h>
43987 /* Override any GCC internal prototype to avoid an error.
43988 Use char because int might match the return type of a GCC
43989 builtin and then its argument prototype would still apply. */
43994 /* The GNU C library defines this for functions which it implements
43995 to always fail with ENOSYS. Some functions are actually named
43996 something starting with __ and the normal name is an alias. */
43997 #if defined __stub_socket || defined __stub___socket
44009 rm -f conftest.
$ac_objext conftest
$ac_exeext
44010 if { (ac_try
="$ac_link"
44011 case "(($ac_try" in
44012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44013 *) ac_try_echo=$ac_try;;
44015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44016 (eval "$ac_link") 2>conftest.er1
44018 grep -v '^ *+' conftest.er1 >conftest.err
44020 cat conftest.err >&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); } && {
44023 test -z "$ac_c_werror_flag" ||
44024 test ! -s conftest.err
44025 } && test -s conftest$ac_exeext &&
44026 $as_test_x conftest$ac_exeext; then
44027 ac_cv_func_socket=yes
44029 echo "$as_me: failed program was:" >&5
44030 sed 's/^/| /' conftest.$ac_ext >&5
44032 ac_cv_func_socket=no
44035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44036 conftest$ac_exeext conftest.$ac_ext
44038 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44039 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44040 if test $ac_cv_func_socket = yes; then
44044 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44045 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44046 if test "${ac_cv_lib_socket_socket+set}" = set; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44049 ac_check_lib_save_LIBS=$LIBS
44050 LIBS="-lsocket $LIBS"
44051 cat >conftest.$ac_ext <<_ACEOF
44054 cat confdefs.h >>conftest.$ac_ext
44055 cat >>conftest.$ac_ext <<_ACEOF
44056 /* end confdefs.h. */
44058 /* Override any GCC internal prototype to avoid an error.
44059 Use char because int might match the return type of a GCC
44060 builtin and then its argument prototype would still apply. */
44073 rm -f conftest.$ac_objext conftest$ac_exeext
44074 if { (ac_try="$ac_link"
44075 case "(($ac_try" in
44076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44077 *) ac_try_echo
=$ac_try;;
44079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44080 (eval "$ac_link") 2>conftest.er1
44082 grep -v '^ *+' conftest.er1
>conftest.err
44084 cat conftest.err
>&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); } && {
44087 test -z "$ac_c_werror_flag" ||
44088 test ! -s conftest.err
44089 } && test -s conftest
$ac_exeext &&
44090 $as_test_x conftest
$ac_exeext; then
44091 ac_cv_lib_socket_socket
=yes
44093 echo "$as_me: failed program was:" >&5
44094 sed 's/^/| /' conftest.
$ac_ext >&5
44096 ac_cv_lib_socket_socket
=no
44099 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44100 conftest
$ac_exeext conftest.
$ac_ext
44101 LIBS
=$ac_check_lib_save_LIBS
44103 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44104 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44105 if test $ac_cv_lib_socket_socket = yes; then
44106 if test "$INET_LINK" != " -lsocket"; then
44107 INET_LINK
="$INET_LINK -lsocket"
44111 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44112 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44125 if test "$wxUSE_SOCKETS" = "yes" ; then
44126 if test "$TOOLKIT" != "MSW"; then
44127 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44128 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44129 if test "${wx_cv_type_getsockname3+set}" = set; then
44130 echo $ECHO_N "(cached) $ECHO_C" >&6
44134 ac_cpp
='$CXXCPP $CPPFLAGS'
44135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44139 cat >conftest.
$ac_ext <<_ACEOF
44142 cat confdefs.h
>>conftest.
$ac_ext
44143 cat >>conftest.
$ac_ext <<_ACEOF
44144 /* end confdefs.h. */
44146 #include <sys/types.h>
44147 #include <sys/socket.h>
44154 getsockname(0, 0, &len);
44160 rm -f conftest.
$ac_objext
44161 if { (ac_try
="$ac_compile"
44162 case "(($ac_try" in
44163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44164 *) ac_try_echo=$ac_try;;
44166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44167 (eval "$ac_compile") 2>conftest.er1
44169 grep -v '^ *+' conftest.er1 >conftest.err
44171 cat conftest.err >&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); } && {
44174 test -z "$ac_cxx_werror_flag" ||
44175 test ! -s conftest.err
44176 } && test -s conftest.$ac_objext; then
44177 wx_cv_type_getsockname3=socklen_t
44179 echo "$as_me: failed program was:" >&5
44180 sed 's/^/| /' conftest.$ac_ext >&5
44183 CFLAGS_OLD="$CFLAGS"
44184 if test "$GCC" = yes ; then
44185 CFLAGS="-Werror $CFLAGS"
44188 cat >conftest.$ac_ext <<_ACEOF
44191 cat confdefs.h >>conftest.$ac_ext
44192 cat >>conftest.$ac_ext <<_ACEOF
44193 /* end confdefs.h. */
44195 #include <sys/types.h>
44196 #include <sys/socket.h>
44203 getsockname(0, 0, &len);
44209 rm -f conftest.$ac_objext
44210 if { (ac_try="$ac_compile"
44211 case "(($ac_try" in
44212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44213 *) ac_try_echo
=$ac_try;;
44215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44216 (eval "$ac_compile") 2>conftest.er1
44218 grep -v '^ *+' conftest.er1
>conftest.err
44220 cat conftest.err
>&5
44221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44222 (exit $ac_status); } && {
44223 test -z "$ac_cxx_werror_flag" ||
44224 test ! -s conftest.err
44225 } && test -s conftest.
$ac_objext; then
44226 wx_cv_type_getsockname3
=size_t
44228 echo "$as_me: failed program was:" >&5
44229 sed 's/^/| /' conftest.
$ac_ext >&5
44231 cat >conftest.
$ac_ext <<_ACEOF
44234 cat confdefs.h
>>conftest.
$ac_ext
44235 cat >>conftest.
$ac_ext <<_ACEOF
44236 /* end confdefs.h. */
44238 #include <sys/types.h>
44239 #include <sys/socket.h>
44246 getsockname(0, 0, &len);
44252 rm -f conftest.
$ac_objext
44253 if { (ac_try
="$ac_compile"
44254 case "(($ac_try" in
44255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44256 *) ac_try_echo=$ac_try;;
44258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44259 (eval "$ac_compile") 2>conftest.er1
44261 grep -v '^ *+' conftest.er1 >conftest.err
44263 cat conftest.err >&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); } && {
44266 test -z "$ac_cxx_werror_flag" ||
44267 test ! -s conftest.err
44268 } && test -s conftest.$ac_objext; then
44269 wx_cv_type_getsockname3=int
44271 echo "$as_me: failed program was:" >&5
44272 sed 's/^/| /' conftest.$ac_ext >&5
44274 wx_cv_type_getsockname3=unknown
44278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44284 CFLAGS="$CFLAGS_OLD"
44289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44291 ac_cpp='$CPP $CPPFLAGS'
44292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44298 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44299 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44301 if test "$wx_cv_type_getsockname3" = "unknown"; then
44303 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44304 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44306 cat >>confdefs.h <<_ACEOF
44307 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44311 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44312 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44313 if test "${wx_cv_type_getsockopt5+set}" = set; then
44314 echo $ECHO_N "(cached) $ECHO_C" >&6
44318 ac_cpp='$CXXCPP $CPPFLAGS'
44319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44323 cat >conftest.$ac_ext <<_ACEOF
44326 cat confdefs.h >>conftest.$ac_ext
44327 cat >>conftest.$ac_ext <<_ACEOF
44328 /* end confdefs.h. */
44330 #include <sys/types.h>
44331 #include <sys/socket.h>
44338 getsockopt(0, 0, 0, 0, &len);
44344 rm -f conftest.$ac_objext
44345 if { (ac_try="$ac_compile"
44346 case "(($ac_try" in
44347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44348 *) ac_try_echo
=$ac_try;;
44350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44351 (eval "$ac_compile") 2>conftest.er1
44353 grep -v '^ *+' conftest.er1
>conftest.err
44355 cat conftest.err
>&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); } && {
44358 test -z "$ac_cxx_werror_flag" ||
44359 test ! -s conftest.err
44360 } && test -s conftest.
$ac_objext; then
44361 wx_cv_type_getsockopt5
=socklen_t
44363 echo "$as_me: failed program was:" >&5
44364 sed 's/^/| /' conftest.
$ac_ext >&5
44367 cat >conftest.
$ac_ext <<_ACEOF
44370 cat confdefs.h
>>conftest.
$ac_ext
44371 cat >>conftest.
$ac_ext <<_ACEOF
44372 /* end confdefs.h. */
44374 #include <sys/types.h>
44375 #include <sys/socket.h>
44382 getsockopt(0, 0, 0, 0, &len);
44388 rm -f conftest.
$ac_objext
44389 if { (ac_try
="$ac_compile"
44390 case "(($ac_try" in
44391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44392 *) ac_try_echo=$ac_try;;
44394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44395 (eval "$ac_compile") 2>conftest.er1
44397 grep -v '^ *+' conftest.er1 >conftest.err
44399 cat conftest.err >&5
44400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401 (exit $ac_status); } && {
44402 test -z "$ac_cxx_werror_flag" ||
44403 test ! -s conftest.err
44404 } && test -s conftest.$ac_objext; then
44405 wx_cv_type_getsockopt5=size_t
44407 echo "$as_me: failed program was:" >&5
44408 sed 's/^/| /' conftest.$ac_ext >&5
44410 cat >conftest.$ac_ext <<_ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44417 #include <sys/types.h>
44418 #include <sys/socket.h>
44425 getsockopt(0, 0, 0, 0, &len);
44431 rm -f conftest.$ac_objext
44432 if { (ac_try="$ac_compile"
44433 case "(($ac_try" in
44434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44435 *) ac_try_echo
=$ac_try;;
44437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44438 (eval "$ac_compile") 2>conftest.er1
44440 grep -v '^ *+' conftest.er1
>conftest.err
44442 cat conftest.err
>&5
44443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44444 (exit $ac_status); } && {
44445 test -z "$ac_cxx_werror_flag" ||
44446 test ! -s conftest.err
44447 } && test -s conftest.
$ac_objext; then
44448 wx_cv_type_getsockopt5
=int
44450 echo "$as_me: failed program was:" >&5
44451 sed 's/^/| /' conftest.
$ac_ext >&5
44453 wx_cv_type_getsockopt5
=unknown
44457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44468 ac_cpp
='$CPP $CPPFLAGS'
44469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44475 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44476 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44478 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44480 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44481 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44483 cat >>confdefs.h
<<_ACEOF
44484 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44491 if test "$wxUSE_SOCKETS" = "yes" ; then
44492 if test "$wxUSE_IPV6" = "yes"; then
44493 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44494 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44495 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44496 echo $ECHO_N "(cached) $ECHO_C" >&6
44499 cat >conftest.
$ac_ext <<_ACEOF
44502 cat confdefs.h
>>conftest.
$ac_ext
44503 cat >>conftest.
$ac_ext <<_ACEOF
44504 /* end confdefs.h. */
44506 #include <sys/types.h>
44507 #include <sys/socket.h>
44508 #include <netinet/in.h>
44514 struct sockaddr_in6 sa6;
44520 rm -f conftest.
$ac_objext
44521 if { (ac_try
="$ac_compile"
44522 case "(($ac_try" in
44523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44524 *) ac_try_echo=$ac_try;;
44526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44527 (eval "$ac_compile") 2>conftest.er1
44529 grep -v '^ *+' conftest.er1 >conftest.err
44531 cat conftest.err >&5
44532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44533 (exit $ac_status); } && {
44534 test -z "$ac_c_werror_flag" ||
44535 test ! -s conftest.err
44536 } && test -s conftest.$ac_objext; then
44537 wx_cv_type_sockaddr_in6=yes
44539 echo "$as_me: failed program was:" >&5
44540 sed 's/^/| /' conftest.$ac_ext >&5
44542 wx_cv_type_sockaddr_in6=no
44546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44551 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44553 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define wxUSE_IPV6 1
44559 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44560 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_SOCKETS 1
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44571 if test "$wxUSE_PROTOCOL" = "yes"; then
44572 if test "$wxUSE_SOCKETS" != "yes"; then
44573 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44574 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44579 if test "$wxUSE_PROTOCOL" = "yes"; then
44580 cat >>confdefs.h <<\_ACEOF
44581 #define wxUSE_PROTOCOL 1
44585 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44586 cat >>confdefs.h <<\_ACEOF
44587 #define wxUSE_PROTOCOL_HTTP 1
44591 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_PROTOCOL_FTP 1
44597 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_PROTOCOL_FILE 1
44604 if test "$wxUSE_FS_INET" = "yes"; then
44605 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44606 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44611 if test "$wxUSE_URL" = "yes"; then
44612 if test "$wxUSE_PROTOCOL" != "yes"; then
44613 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44614 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44617 if test "$wxUSE_URL" = "yes"; then
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_URL 1
44625 if test "$wxUSE_VARIANT" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_VARIANT 1
44632 if test "$wxUSE_FS_INET" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_FS_INET 1
44640 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44643 if test "$TOOLKIT" = "MSW"; then
44646 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44647 if test "$USE_DARWIN" = 1; then
44648 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44649 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44651 ac_cpp='$CXXCPP $CPPFLAGS'
44652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44656 cat >conftest.$ac_ext <<_ACEOF
44659 cat confdefs.h >>conftest.$ac_ext
44660 cat >>conftest.$ac_ext <<_ACEOF
44661 /* end confdefs.h. */
44662 #include <IOKit/hid/IOHIDLib.h>
44666 IOHIDQueueInterface *qi = NULL;
44667 IOHIDCallbackFunction cb = NULL;
44668 qi->setEventCallout(NULL, cb, NULL, NULL);
44673 rm -f conftest.$ac_objext
44674 if { (ac_try="$ac_compile"
44675 case "(($ac_try" in
44676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44677 *) ac_try_echo
=$ac_try;;
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_compile") 2>conftest.er1
44682 grep -v '^ *+' conftest.er1
>conftest.err
44684 cat conftest.err
>&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } && {
44687 test -z "$ac_cxx_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.
$ac_objext; then
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.
$ac_ext >&5
44699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44701 ac_cpp
='$CPP $CPPFLAGS'
44702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44706 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44707 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44711 if test "$wxUSE_MGL" != 1; then
44713 for ac_header
in linux
/joystick.h
44715 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44718 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44719 echo $ECHO_N "(cached) $ECHO_C" >&6
44721 cat >conftest.
$ac_ext <<_ACEOF
44724 cat confdefs.h
>>conftest.
$ac_ext
44725 cat >>conftest.
$ac_ext <<_ACEOF
44726 /* end confdefs.h. */
44727 $ac_includes_default
44729 #include <$ac_header>
44731 rm -f conftest.
$ac_objext
44732 if { (ac_try
="$ac_compile"
44733 case "(($ac_try" in
44734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44735 *) ac_try_echo=$ac_try;;
44737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44738 (eval "$ac_compile") 2>conftest.er1
44740 grep -v '^ *+' conftest.er1 >conftest.err
44742 cat conftest.err >&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); } && {
44745 test -z "$ac_c_werror_flag" ||
44746 test ! -s conftest.err
44747 } && test -s conftest.$ac_objext; then
44748 eval "$as_ac_Header=yes"
44750 echo "$as_me: failed program was:" >&5
44751 sed 's/^/| /' conftest.$ac_ext >&5
44753 eval "$as_ac_Header=no"
44756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44758 ac_res=`eval echo '${'$as_ac_Header'}'`
44759 { echo "$as_me:$LINENO: result: $ac_res" >&5
44760 echo "${ECHO_T}$ac_res" >&6; }
44761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44762 cat >>confdefs.h <<_ACEOF
44763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44773 if test "$wxUSE_JOYSTICK" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_JOYSTICK 1
44778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44780 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44781 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44787 if test "$wxUSE_FONTENUM" = "yes" ; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_FONTENUM 1
44794 if test "$wxUSE_FONTMAP" = "yes" ; then
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_FONTMAP 1
44801 if test "$wxUSE_UNICODE" = "yes" ; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_UNICODE 1
44807 if test "$USE_WIN32" != 1; then
44808 wxUSE_UNICODE_MSLU=no
44811 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44812 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44813 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44814 if test "${ac_cv_lib_unicows_main+set}" = set; then
44815 echo $ECHO_N "(cached) $ECHO_C" >&6
44817 ac_check_lib_save_LIBS=$LIBS
44818 LIBS="-lunicows $LIBS"
44819 cat >conftest.$ac_ext <<_ACEOF
44822 cat confdefs.h >>conftest.$ac_ext
44823 cat >>conftest.$ac_ext <<_ACEOF
44824 /* end confdefs.h. */
44835 rm -f conftest.$ac_objext conftest$ac_exeext
44836 if { (ac_try="$ac_link"
44837 case "(($ac_try" in
44838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44839 *) ac_try_echo
=$ac_try;;
44841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44842 (eval "$ac_link") 2>conftest.er1
44844 grep -v '^ *+' conftest.er1
>conftest.err
44846 cat conftest.err
>&5
44847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44848 (exit $ac_status); } && {
44849 test -z "$ac_c_werror_flag" ||
44850 test ! -s conftest.err
44851 } && test -s conftest
$ac_exeext &&
44852 $as_test_x conftest
$ac_exeext; then
44853 ac_cv_lib_unicows_main
=yes
44855 echo "$as_me: failed program was:" >&5
44856 sed 's/^/| /' conftest.
$ac_ext >&5
44858 ac_cv_lib_unicows_main
=no
44861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44862 conftest
$ac_exeext conftest.
$ac_ext
44863 LIBS
=$ac_check_lib_save_LIBS
44865 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44866 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44867 if test $ac_cv_lib_unicows_main = yes; then
44869 cat >>confdefs.h
<<\_ACEOF
44870 #define wxUSE_UNICODE_MSLU 1
44876 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44877 Applications will only run on Windows NT/2000/XP!" >&5
44878 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44879 Applications will only run on Windows NT/2000/XP!" >&2;}
44880 wxUSE_UNICODE_MSLU
=no
44887 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44888 cat >>confdefs.h
<<\_ACEOF
44889 #define wxUSE_UNICODE_UTF8 1
44893 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44894 cat >>confdefs.h
<<\_ACEOF
44895 #define wxUSE_UTF8_LOCALE_ONLY 1
44902 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44903 cat >>confdefs.h
<<\_ACEOF
44904 #define wxUSE_CONSTRAINTS 1
44907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44910 if test "$wxUSE_MDI" = "yes"; then
44911 cat >>confdefs.h
<<\_ACEOF
44912 #define wxUSE_MDI 1
44916 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44917 cat >>confdefs.h
<<\_ACEOF
44918 #define wxUSE_MDI_ARCHITECTURE 1
44921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44925 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44926 cat >>confdefs.h
<<\_ACEOF
44927 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44933 if test "$wxUSE_HELP" = "yes"; then
44934 cat >>confdefs.h
<<\_ACEOF
44935 #define wxUSE_HELP 1
44938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44940 if test "$wxUSE_MSW" = 1; then
44941 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44942 cat >>confdefs.h
<<\_ACEOF
44943 #define wxUSE_MS_HTML_HELP 1
44949 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44950 if test "$wxUSE_HTML" = "yes"; then
44951 cat >>confdefs.h
<<\_ACEOF
44952 #define wxUSE_WXHTML_HELP 1
44956 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44957 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44958 wxUSE_WXHTML_HELP
=no
44963 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44964 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44965 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44966 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44968 cat >>confdefs.h
<<\_ACEOF
44969 #define wxUSE_PRINTING_ARCHITECTURE 1
44973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44976 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44977 cat >>confdefs.h
<<\_ACEOF
44978 #define wxUSE_POSTSCRIPT 1
44983 cat >>confdefs.h
<<\_ACEOF
44984 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44988 if test "$wxUSE_SVG" = "yes"; then
44989 cat >>confdefs.h
<<\_ACEOF
44990 #define wxUSE_SVG 1
44996 if test "$wxUSE_METAFILE" = "yes"; then
44997 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44998 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44999 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45005 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45006 -o "$wxUSE_CLIPBOARD" = "yes" \
45007 -o "$wxUSE_OLE" = "yes" \
45008 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45009 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45010 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45011 if test "${ac_cv_header_ole2_h+set}" = set; then
45012 echo $ECHO_N "(cached) $ECHO_C" >&6
45014 cat >conftest.
$ac_ext <<_ACEOF
45017 cat confdefs.h
>>conftest.
$ac_ext
45018 cat >>conftest.
$ac_ext <<_ACEOF
45019 /* end confdefs.h. */
45024 rm -f conftest.
$ac_objext
45025 if { (ac_try
="$ac_compile"
45026 case "(($ac_try" in
45027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45028 *) ac_try_echo=$ac_try;;
45030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45031 (eval "$ac_compile") 2>conftest.er1
45033 grep -v '^ *+' conftest.er1 >conftest.err
45035 cat conftest.err >&5
45036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45037 (exit $ac_status); } && {
45038 test -z "$ac_c_werror_flag" ||
45039 test ! -s conftest.err
45040 } && test -s conftest.$ac_objext; then
45041 ac_cv_header_ole2_h=yes
45043 echo "$as_me: failed program was:" >&5
45044 sed 's/^/| /' conftest.$ac_ext >&5
45046 ac_cv_header_ole2_h=no
45049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45051 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45052 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45056 if test "$ac_cv_header_ole2_h" = "yes" ; then
45057 if test "$GCC" = yes ; then
45058 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45059 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45060 cat >conftest.$ac_ext <<_ACEOF
45063 cat confdefs.h >>conftest.$ac_ext
45064 cat >>conftest.$ac_ext <<_ACEOF
45065 /* end confdefs.h. */
45066 #include <windows.h>
45076 rm -f conftest.$ac_objext
45077 if { (ac_try="$ac_compile"
45078 case "(($ac_try" in
45079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45080 *) ac_try_echo
=$ac_try;;
45082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45083 (eval "$ac_compile") 2>conftest.er1
45085 grep -v '^ *+' conftest.er1
>conftest.err
45087 cat conftest.err
>&5
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); } && {
45090 test -z "$ac_c_werror_flag" ||
45091 test ! -s conftest.err
45092 } && test -s conftest.
$ac_objext; then
45093 { echo "$as_me:$LINENO: result: no" >&5
45094 echo "${ECHO_T}no" >&6; }
45096 echo "$as_me: failed program was:" >&5
45097 sed 's/^/| /' conftest.
$ac_ext >&5
45099 { echo "$as_me:$LINENO: result: yes" >&5
45100 echo "${ECHO_T}yes" >&6; }
45101 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45105 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45106 if test "$wxUSE_OLE" = "yes" ; then
45107 cat >>confdefs.h
<<\_ACEOF
45108 #define wxUSE_OLE 1
45111 cat >>confdefs.h
<<\_ACEOF
45112 #define wxUSE_OLE_AUTOMATION 1
45115 cat >>confdefs.h
<<\_ACEOF
45116 #define wxUSE_ACTIVEX 1
45119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45123 if test "$wxUSE_DATAOBJ" = "yes" ; then
45124 cat >>confdefs.h
<<\_ACEOF
45125 #define wxUSE_DATAOBJ 1
45130 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45131 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45134 wxUSE_DRAG_AND_DROP
=no
45139 if test "$wxUSE_METAFILE" = "yes"; then
45140 cat >>confdefs.h
<<\_ACEOF
45141 #define wxUSE_METAFILE 1
45145 cat >>confdefs.h
<<\_ACEOF
45146 #define wxUSE_ENH_METAFILE 1
45152 if test "$wxUSE_IPC" = "yes"; then
45153 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45154 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45155 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45159 if test "$wxUSE_IPC" = "yes"; then
45160 cat >>confdefs.h
<<\_ACEOF
45161 #define wxUSE_IPC 1
45164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45168 if test "$wxUSE_DATAOBJ" = "yes"; then
45169 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45170 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45171 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45174 cat >>confdefs.h
<<\_ACEOF
45175 #define wxUSE_DATAOBJ 1
45180 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45181 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45183 wxUSE_DRAG_AND_DROP
=no
45186 if test "$wxUSE_CLIPBOARD" = "yes"; then
45187 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45188 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45189 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45193 if test "$wxUSE_CLIPBOARD" = "yes"; then
45194 cat >>confdefs.h
<<\_ACEOF
45195 #define wxUSE_CLIPBOARD 1
45201 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45202 if test "$wxUSE_GTK" = 1; then
45203 if test "$WXGTK12" != 1; then
45204 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45205 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45206 wxUSE_DRAG_AND_DROP
=no
45210 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45211 "$wxUSE_DFB" = 1; then
45212 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45213 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45214 wxUSE_DRAG_AND_DROP
=no
45217 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45218 cat >>confdefs.h
<<\_ACEOF
45219 #define wxUSE_DRAG_AND_DROP 1
45226 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45230 if test "$wxUSE_SPLINES" = "yes" ; then
45231 cat >>confdefs.h
<<\_ACEOF
45232 #define wxUSE_SPLINES 1
45237 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45238 cat >>confdefs.h
<<\_ACEOF
45239 #define wxUSE_MOUSEWHEEL 1
45246 if test "$wxUSE_CONTROLS" = "yes"; then
45250 if test "$wxUSE_ACCEL" = "yes"; then
45251 cat >>confdefs.h
<<\_ACEOF
45252 #define wxUSE_ACCEL 1
45258 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45259 cat >>confdefs.h
<<\_ACEOF
45260 #define wxUSE_ANIMATIONCTRL 1
45264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45267 if test "$wxUSE_BUTTON" = "yes"; then
45268 cat >>confdefs.h
<<\_ACEOF
45269 #define wxUSE_BUTTON 1
45275 if test "$wxUSE_BMPBUTTON" = "yes"; then
45276 cat >>confdefs.h
<<\_ACEOF
45277 #define wxUSE_BMPBUTTON 1
45283 if test "$wxUSE_CALCTRL" = "yes"; then
45284 cat >>confdefs.h
<<\_ACEOF
45285 #define wxUSE_CALENDARCTRL 1
45289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45292 if test "$wxUSE_CARET" = "yes"; then
45293 cat >>confdefs.h
<<\_ACEOF
45294 #define wxUSE_CARET 1
45298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45301 if test "$wxUSE_COLLPANE" = "yes"; then
45302 cat >>confdefs.h
<<\_ACEOF
45303 #define wxUSE_COLLPANE 1
45307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45310 if test "$wxUSE_COMBOBOX" = "yes"; then
45311 cat >>confdefs.h
<<\_ACEOF
45312 #define wxUSE_COMBOBOX 1
45318 if test "$wxUSE_COMBOCTRL" = "yes"; then
45319 cat >>confdefs.h
<<\_ACEOF
45320 #define wxUSE_COMBOCTRL 1
45326 if test "$wxUSE_CHOICE" = "yes"; then
45327 cat >>confdefs.h
<<\_ACEOF
45328 #define wxUSE_CHOICE 1
45334 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45335 cat >>confdefs.h
<<\_ACEOF
45336 #define wxUSE_CHOICEBOOK 1
45342 if test "$wxUSE_CHECKBOX" = "yes"; then
45343 cat >>confdefs.h
<<\_ACEOF
45344 #define wxUSE_CHECKBOX 1
45350 if test "$wxUSE_CHECKLST" = "yes"; then
45351 cat >>confdefs.h
<<\_ACEOF
45352 #define wxUSE_CHECKLISTBOX 1
45358 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45359 cat >>confdefs.h
<<\_ACEOF
45360 #define wxUSE_COLOURPICKERCTRL 1
45366 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45367 cat >>confdefs.h
<<\_ACEOF
45368 #define wxUSE_DATEPICKCTRL 1
45374 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45375 cat >>confdefs.h
<<\_ACEOF
45376 #define wxUSE_DIRPICKERCTRL 1
45382 if test "$wxUSE_FILECTRL" = "yes"; then
45383 cat >>confdefs.h
<<\_ACEOF
45384 #define wxUSE_FILECTRL 1
45390 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45391 cat >>confdefs.h
<<\_ACEOF
45392 #define wxUSE_FILEPICKERCTRL 1
45398 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define wxUSE_FONTPICKERCTRL 1
45406 if test "$wxUSE_DISPLAY" = "yes"; then
45407 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45408 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45409 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45412 cat >>confdefs.h
<<\_ACEOF
45413 #define wxUSE_DISPLAY 1
45416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45420 if test "$wxUSE_DETECT_SM" = "yes"; then
45421 cat >>confdefs.h
<<\_ACEOF
45422 #define wxUSE_DETECT_SM 1
45427 if test "$wxUSE_GAUGE" = "yes"; then
45428 cat >>confdefs.h
<<\_ACEOF
45429 #define wxUSE_GAUGE 1
45435 if test "$wxUSE_GRID" = "yes"; then
45436 cat >>confdefs.h
<<\_ACEOF
45437 #define wxUSE_GRID 1
45441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45444 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45445 cat >>confdefs.h
<<\_ACEOF
45446 #define wxUSE_HYPERLINKCTRL 1
45452 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45453 cat >>confdefs.h
<<\_ACEOF
45454 #define wxUSE_BITMAPCOMBOBOX 1
45460 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45461 cat >>confdefs.h
<<\_ACEOF
45462 #define wxUSE_DATAVIEWCTRL 1
45466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45469 if test "$wxUSE_IMAGLIST" = "yes"; then
45470 cat >>confdefs.h
<<\_ACEOF
45471 #define wxUSE_IMAGLIST 1
45476 if test "$wxUSE_LISTBOOK" = "yes"; then
45477 cat >>confdefs.h
<<\_ACEOF
45478 #define wxUSE_LISTBOOK 1
45484 if test "$wxUSE_LISTBOX" = "yes"; then
45485 cat >>confdefs.h
<<\_ACEOF
45486 #define wxUSE_LISTBOX 1
45492 if test "$wxUSE_LISTCTRL" = "yes"; then
45493 if test "$wxUSE_IMAGLIST" = "yes"; then
45494 cat >>confdefs.h
<<\_ACEOF
45495 #define wxUSE_LISTCTRL 1
45499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45501 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45502 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45506 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45507 cat >>confdefs.h
<<\_ACEOF
45508 #define wxUSE_EDITABLELISTBOX 1
45512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45515 if test "$wxUSE_NOTEBOOK" = "yes"; then
45516 cat >>confdefs.h
<<\_ACEOF
45517 #define wxUSE_NOTEBOOK 1
45521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45524 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_NOTIFICATION_MESSAGE 1
45531 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_ODCOMBOBOX 1
45537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45540 if test "$wxUSE_RADIOBOX" = "yes"; then
45541 cat >>confdefs.h
<<\_ACEOF
45542 #define wxUSE_RADIOBOX 1
45548 if test "$wxUSE_RADIOBTN" = "yes"; then
45549 cat >>confdefs.h
<<\_ACEOF
45550 #define wxUSE_RADIOBTN 1
45556 if test "$wxUSE_SASH" = "yes"; then
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_SASH 1
45561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45564 if test "$wxUSE_SCROLLBAR" = "yes"; then
45565 cat >>confdefs.h
<<\_ACEOF
45566 #define wxUSE_SCROLLBAR 1
45570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45573 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45574 cat >>confdefs.h
<<\_ACEOF
45575 #define wxUSE_SEARCHCTRL 1
45581 if test "$wxUSE_SLIDER" = "yes"; then
45582 cat >>confdefs.h
<<\_ACEOF
45583 #define wxUSE_SLIDER 1
45589 if test "$wxUSE_SPINBTN" = "yes"; then
45590 cat >>confdefs.h
<<\_ACEOF
45591 #define wxUSE_SPINBTN 1
45597 if test "$wxUSE_SPINCTRL" = "yes"; then
45598 cat >>confdefs.h
<<\_ACEOF
45599 #define wxUSE_SPINCTRL 1
45605 if test "$wxUSE_SPLITTER" = "yes"; then
45606 cat >>confdefs.h
<<\_ACEOF
45607 #define wxUSE_SPLITTER 1
45610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45613 if test "$wxUSE_STATBMP" = "yes"; then
45614 cat >>confdefs.h
<<\_ACEOF
45615 #define wxUSE_STATBMP 1
45621 if test "$wxUSE_STATBOX" = "yes"; then
45622 cat >>confdefs.h
<<\_ACEOF
45623 #define wxUSE_STATBOX 1
45629 if test "$wxUSE_STATTEXT" = "yes"; then
45630 cat >>confdefs.h
<<\_ACEOF
45631 #define wxUSE_STATTEXT 1
45637 if test "$wxUSE_STATLINE" = "yes"; then
45638 cat >>confdefs.h
<<\_ACEOF
45639 #define wxUSE_STATLINE 1
45645 if test "$wxUSE_STATUSBAR" = "yes"; then
45646 cat >>confdefs.h
<<\_ACEOF
45647 #define wxUSE_NATIVE_STATUSBAR 1
45650 cat >>confdefs.h
<<\_ACEOF
45651 #define wxUSE_STATUSBAR 1
45656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45659 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45660 cat >>confdefs.h
<<\_ACEOF
45661 #define wxUSE_TAB_DIALOG 1
45666 if test "$wxUSE_TEXTCTRL" = "yes"; then
45667 cat >>confdefs.h
<<\_ACEOF
45668 #define wxUSE_TEXTCTRL 1
45672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45674 cat >>confdefs.h
<<\_ACEOF
45675 #define wxUSE_RICHEDIT 1
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_RICHEDIT2 1
45684 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45685 if test "$wxUSE_COCOA" = 1 ; then
45686 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45687 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45691 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_TOGGLEBTN 1
45700 if test "$wxUSE_TOOLBAR" = "yes"; then
45701 cat >>confdefs.h
<<\_ACEOF
45702 #define wxUSE_TOOLBAR 1
45707 if test "$wxUSE_UNIVERSAL" = "yes"; then
45708 wxUSE_TOOLBAR_NATIVE
="no"
45710 wxUSE_TOOLBAR_NATIVE
="yes"
45711 cat >>confdefs.h
<<\_ACEOF
45712 #define wxUSE_TOOLBAR_NATIVE 1
45717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45720 if test "$wxUSE_TOOLTIPS" = "yes"; then
45721 if test "$wxUSE_MOTIF" = 1; then
45722 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45723 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45725 if test "$wxUSE_UNIVERSAL" = "yes"; then
45726 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45727 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45729 cat >>confdefs.h
<<\_ACEOF
45730 #define wxUSE_TOOLTIPS 1
45737 if test "$wxUSE_TREEBOOK" = "yes"; then
45738 cat >>confdefs.h
<<\_ACEOF
45739 #define wxUSE_TREEBOOK 1
45745 if test "$wxUSE_TOOLBOOK" = "yes"; then
45746 cat >>confdefs.h
<<\_ACEOF
45747 #define wxUSE_TOOLBOOK 1
45753 if test "$wxUSE_TREECTRL" = "yes"; then
45754 if test "$wxUSE_IMAGLIST" = "yes"; then
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_TREECTRL 1
45760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45762 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45763 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45767 if test "$wxUSE_POPUPWIN" = "yes"; then
45768 if test "$wxUSE_COCOA" = 1 ; then
45769 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45770 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45772 if test "$wxUSE_PM" = 1; then
45773 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45774 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45776 cat >>confdefs.h
<<\_ACEOF
45777 #define wxUSE_POPUPWIN 1
45780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45787 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45788 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45789 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45790 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45792 cat >>confdefs.h
<<\_ACEOF
45793 #define wxUSE_DIALUP_MANAGER 1
45796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45800 if test "$wxUSE_TIPWINDOW" = "yes"; then
45801 if test "$wxUSE_PM" = 1; then
45802 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45803 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45805 cat >>confdefs.h
<<\_ACEOF
45806 #define wxUSE_TIPWINDOW 1
45812 if test "$USES_CONTROLS" = 1; then
45813 cat >>confdefs.h
<<\_ACEOF
45814 #define wxUSE_CONTROLS 1
45820 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45821 cat >>confdefs.h
<<\_ACEOF
45822 #define wxUSE_ACCESSIBILITY 1
45825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45828 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45829 cat >>confdefs.h
<<\_ACEOF
45830 #define wxUSE_DRAGIMAGE 1
45833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45836 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45837 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45838 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45839 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45841 cat >>confdefs.h
<<\_ACEOF
45842 #define wxUSE_EXCEPTIONS 1
45845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45850 if test "$wxUSE_HTML" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_HTML 1
45856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45858 if test "$wxUSE_WEBKIT" = "yes"; then
45859 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45860 old_CPPFLAGS
="$CPPFLAGS"
45861 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45862 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45863 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45864 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45867 cat >conftest.
$ac_ext <<_ACEOF
45870 cat confdefs.h
>>conftest.
$ac_ext
45871 cat >>conftest.
$ac_ext <<_ACEOF
45872 /* end confdefs.h. */
45874 #include <Carbon/Carbon.h>
45875 #include <WebKit/WebKit.h>
45878 #include <WebKit/HIWebView.h>
45880 rm -f conftest.
$ac_objext
45881 if { (ac_try
="$ac_compile"
45882 case "(($ac_try" in
45883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45884 *) ac_try_echo=$ac_try;;
45886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45887 (eval "$ac_compile") 2>conftest.er1
45889 grep -v '^ *+' conftest.er1 >conftest.err
45891 cat conftest.err >&5
45892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45893 (exit $ac_status); } && {
45894 test -z "$ac_c_werror_flag" ||
45895 test ! -s conftest.err
45896 } && test -s conftest.$ac_objext; then
45897 ac_cv_header_WebKit_HIWebView_h=yes
45899 echo "$as_me: failed program was:" >&5
45900 sed 's/^/| /' conftest.$ac_ext >&5
45902 ac_cv_header_WebKit_HIWebView_h=no
45905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45907 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45908 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45909 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_WEBKIT 1
45915 WEBKIT_LINK="-framework WebKit"
45919 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45920 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45926 CPPFLAGS="$old_CPPFLAGS"
45927 elif test "$wxUSE_COCOA" = 1; then
45928 cat >>confdefs.h <<\_ACEOF
45929 #define wxUSE_WEBKIT 1
45935 if test "$wxUSE_WEBKIT" = "yes"; then
45936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45941 if test "$wxUSE_XRC" = "yes"; then
45942 if test "$wxUSE_XML" != "yes"; then
45943 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45944 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_XRC 1
45952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45957 if test "$wxUSE_AUI" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_AUI 1
45963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45967 if test "$wxUSE_PROPGRID" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_PROPGRID 1
45973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
45977 if test "$wxUSE_STC" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_STC 1
45983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45986 if test "$wxUSE_MENUS" = "yes"; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_MENUS 1
45991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45994 if test "$wxUSE_METAFILE" = "yes"; then
45995 cat >>confdefs.h <<\_ACEOF
45996 #define wxUSE_METAFILE 1
46001 if test "$wxUSE_MIMETYPE" = "yes"; then
46002 cat >>confdefs.h <<\_ACEOF
46003 #define wxUSE_MIMETYPE 1
46008 if test "$wxUSE_MINIFRAME" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_MINIFRAME 1
46015 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46016 cat >>confdefs.h <<\_ACEOF
46017 #define wxUSE_SYSTEM_OPTIONS 1
46022 if test "$wxUSE_TASKBARICON" = "yes"; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_TASKBARICON 1
46027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46031 if test "$wxUSE_VALIDATORS" = "yes"; then
46032 cat >>confdefs.h <<\_ACEOF
46033 #define wxUSE_VALIDATORS 1
46036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46039 if test "$wxUSE_PALETTE" = "yes" ; then
46040 if test "$wxUSE_DFB" = 1; then
46041 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46042 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_PALETTE 1
46052 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46053 LIBS=" -lunicows $LIBS"
46057 if test "$wxUSE_RICHTEXT" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_RICHTEXT 1
46063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46067 if test "$wxUSE_IMAGE" = "yes" ; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_IMAGE 1
46073 if test "$wxUSE_GIF" = "yes" ; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_GIF 1
46080 if test "$wxUSE_PCX" = "yes" ; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_PCX 1
46087 if test "$wxUSE_TGA" = "yes" ; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define wxUSE_TGA 1
46094 if test "$wxUSE_IFF" = "yes" ; then
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_IFF 1
46101 if test "$wxUSE_PNM" = "yes" ; then
46102 cat >>confdefs.h <<\_ACEOF
46103 #define wxUSE_PNM 1
46108 if test "$wxUSE_XPM" = "yes" ; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define wxUSE_XPM 1
46115 if test "$wxUSE_ICO_CUR" = "yes" ; then
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_ICO_CUR 1
46124 if test "$wxUSE_ABOUTDLG" = "yes"; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_ABOUTDLG 1
46131 if test "$wxUSE_CHOICEDLG" = "yes"; then
46132 cat >>confdefs.h <<\_ACEOF
46133 #define wxUSE_CHOICEDLG 1
46138 if test "$wxUSE_COLOURDLG" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_COLOURDLG 1
46145 if test "$wxUSE_FILEDLG" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_FILEDLG 1
46152 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46153 cat >>confdefs.h <<\_ACEOF
46154 #define wxUSE_FINDREPLDLG 1
46159 if test "$wxUSE_FONTDLG" = "yes"; then
46160 cat >>confdefs.h <<\_ACEOF
46161 #define wxUSE_FONTDLG 1
46166 if test "$wxUSE_DIRDLG" = "yes"; then
46167 if test "$wxUSE_TREECTRL" != "yes"; then
46168 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46169 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_DIRDLG 1
46178 if test "$wxUSE_MSGDLG" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_MSGDLG 1
46185 if test "$wxUSE_NUMBERDLG" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_NUMBERDLG 1
46192 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46193 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46194 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46195 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_PROGRESSDLG 1
46204 if test "$wxUSE_SPLASH" = "yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_SPLASH 1
46209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46212 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46213 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46214 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46215 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46217 cat >>confdefs.h <<\_ACEOF
46218 #define wxUSE_STARTUP_TIPS 1
46224 if test "$wxUSE_TEXTDLG" = "yes"; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_TEXTDLG 1
46231 if test "$wxUSE_WIZARDDLG" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_WIZARDDLG 1
46236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46240 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46241 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_OWNER_DRAWN 1
46250 if test "$wxUSE_MSW" = 1 ; then
46252 if test "$wxUSE_DC_CACHEING" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_DC_CACHEING 1
46259 if test "$wxUSE_DIB" = "yes"; then
46260 cat >>confdefs.h <<\_ACEOF
46261 #define wxUSE_WXDIB 1
46266 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46273 if test "$wxUSE_UXTHEME" = "yes"; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_UXTHEME 1
46282 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_AUTOID_MANAGEMENT 1
46289 if test "$USE_WIN32" = 1 ; then
46290 if test "$wxUSE_INICONF" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_INICONF 1
46297 if test "$wxUSE_REGKEY" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_REGKEY 1
46306 if test "$wxUSE_MAC" = 1; then
46307 wxUSE_GRAPHICS_CONTEXT="yes"
46310 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46311 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_GRAPHICS_CONTEXT 1
46316 elif test "$wxUSE_GTK" != 1; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_GRAPHICS_CONTEXT 1
46324 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46325 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46327 if test -n "$PKG_CONFIG"; then
46328 if test -n "$CAIRO_CFLAGS"; then
46329 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46331 if test -n "$PKG_CONFIG" && \
46332 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46333 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46336 (exit $ac_status); }; then
46337 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46345 if test -n "$PKG_CONFIG"; then
46346 if test -n "$CAIRO_LIBS"; then
46347 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46349 if test -n "$PKG_CONFIG" && \
46350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46351 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46354 (exit $ac_status); }; then
46355 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46366 if test $pkg_failed = yes; then
46368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46369 _pkg_short_errors_supported=yes
46371 _pkg_short_errors_supported=no
46373 if test $_pkg_short_errors_supported = yes; then
46374 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46376 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46378 # Put the nasty error message in config.log where it belongs
46379 echo "$CAIRO_PKG_ERRORS" >&5
46381 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46382 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46384 elif test $pkg_failed = untried; then
46385 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46386 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46389 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46390 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46391 { echo "$as_me:$LINENO: result: yes" >&5
46392 echo "${ECHO_T}yes" >&6; }
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_GRAPHICS_CONTEXT 1
46404 if test "$wxUSE_MEDIACTRL" = "yes"; then
46407 if test "$wxUSE_GTK" = 1; then
46408 wxUSE_GSTREAMER="no"
46410 GST_VERSION_MAJOR=0
46411 GST_VERSION_MINOR=10
46412 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46414 if test "$wxUSE_GSTREAMER8" = "no"; then
46417 { echo "$as_me:$LINENO: checking for GST" >&5
46418 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46420 if test -n "$PKG_CONFIG"; then
46421 if test -n "$GST_CFLAGS"; then
46422 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46424 if test -n "$PKG_CONFIG" && \
46425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46426 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46429 (exit $ac_status); }; then
46430 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46438 if test -n "$PKG_CONFIG"; then
46439 if test -n "$GST_LIBS"; then
46440 pkg_cv_GST_LIBS="$GST_LIBS"
46442 if test -n "$PKG_CONFIG" && \
46443 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46444 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447 (exit $ac_status); }; then
46448 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46459 if test $pkg_failed = yes; then
46461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46462 _pkg_short_errors_supported=yes
46464 _pkg_short_errors_supported=no
46466 if test $_pkg_short_errors_supported = yes; then
46467 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46469 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46471 # Put the nasty error message in config.log where it belongs
46472 echo "$GST_PKG_ERRORS" >&5
46475 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46476 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46477 GST_VERSION_MINOR=8
46480 elif test $pkg_failed = untried; then
46482 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46483 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46484 GST_VERSION_MINOR=8
46488 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46489 GST_LIBS=$pkg_cv_GST_LIBS
46490 { echo "$as_me:$LINENO: result: yes" >&5
46491 echo "${ECHO_T}yes" >&6; }
46493 wxUSE_GSTREAMER="yes"
46494 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46498 GST_VERSION_MINOR=8
46501 if test $GST_VERSION_MINOR = "8"; then
46502 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46505 { echo "$as_me:$LINENO: checking for GST" >&5
46506 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46508 if test -n "$PKG_CONFIG"; then
46509 if test -n "$GST_CFLAGS"; then
46510 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46512 if test -n "$PKG_CONFIG" && \
46513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46514 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); }; then
46518 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46526 if test -n "$PKG_CONFIG"; then
46527 if test -n "$GST_LIBS"; then
46528 pkg_cv_GST_LIBS="$GST_LIBS"
46530 if test -n "$PKG_CONFIG" && \
46531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46532 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46535 (exit $ac_status); }; then
46536 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46547 if test $pkg_failed = yes; then
46549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46550 _pkg_short_errors_supported=yes
46552 _pkg_short_errors_supported=no
46554 if test $_pkg_short_errors_supported = yes; then
46555 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46557 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46559 # Put the nasty error message in config.log where it belongs
46560 echo "$GST_PKG_ERRORS" >&5
46563 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46564 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46566 elif test $pkg_failed = untried; then
46568 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46569 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46572 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46573 GST_LIBS=$pkg_cv_GST_LIBS
46574 { echo "$as_me:$LINENO: result: yes" >&5
46575 echo "${ECHO_T}yes" >&6; }
46576 wxUSE_GSTREAMER="yes"
46581 if test "$wxUSE_GSTREAMER" = "yes"; then
46582 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46583 EXTRALIBS_MEDIA="$GST_LIBS"
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_GSTREAMER 1
46594 if test $USE_MEDIA = 1; then
46595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_MEDIACTRL 1
46604 if test "$cross_compiling" = "yes"; then
46607 OSINFO=`uname
-s -r -m`
46608 OSINFO="\"$OSINFO\""
46611 cat >>confdefs.h <<_ACEOF
46612 #define WXWIN_OS_DESCRIPTION $OSINFO
46617 if test "x$prefix" != "xNONE"; then
46620 wxPREFIX=$ac_default_prefix
46623 cat >>confdefs.h <<_ACEOF
46624 #define wxINSTALL_PREFIX "$wxPREFIX"
46630 STD_BASE_LIBS="base"
46632 BUILT_WX_LIBS="base"
46633 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46635 if test "$wxUSE_SOCKETS" = "yes" ; then
46636 STD_BASE_LIBS="net $STD_BASE_LIBS"
46637 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46639 if test "$wxUSE_XML" = "yes" ; then
46640 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46641 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46644 if test "$wxUSE_GUI" = "yes"; then
46645 STD_GUI_LIBS="adv core"
46646 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46648 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46649 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46650 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46652 if test "$wxUSE_HTML" = "yes" ; then
46653 STD_GUI_LIBS="html $STD_GUI_LIBS"
46654 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46656 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46657 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46659 if test "$wxUSE_OPENGL" = "yes" ; then
46660 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46662 if test "$wxUSE_AUI" = "yes" ; then
46663 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46665 if test "$wxUSE_PROPGRID" = "yes" ; then
46666 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46668 if test "$wxUSE_RICHTEXT" = "yes" ; then
46669 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46671 if test "$wxUSE_STC" = "yes" ; then
46672 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46674 if test "$wxUSE_XRC" = "yes" ; then
46675 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46676 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46687 if test "$wxUSE_MAC" = 1 ; then
46688 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46689 if test "$USE_DARWIN" = 1; then
46690 LDFLAGS="$LDFLAGS -framework QuickTime"
46693 if test "$USE_DARWIN" = 1; then
46694 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
46697 if test "$wxUSE_COCOA" = 1 ; then
46698 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46699 if test "$wxUSE_MEDIACTRL" = "yes"; then
46700 LDFLAGS="$LDFLAGS -framework QuickTime"
46703 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46704 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46707 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46709 if test "$wxUSE_GUI" = "yes"; then
46712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46713 erase event exec font image minimal mobile \
46714 mobile/wxedit mobile/styles render \
46715 shaped svg taborder vscroll widgets"
46717 if test "$wxUSE_MONOLITHIC" != "yes"; then
46718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46720 if test "$TOOLKIT" = "MSW"; then
46721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46722 if test "$wxUSE_UNIVERSAL" != "yes"; then
46723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46726 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46730 SAMPLES_SUBDIRS="console"
46731 if test "$wxUSE_SOCKETS" = "yes" ; then
46732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46734 if test "$wxUSE_IPC" = "yes" ; then
46735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46740 if test "x$INTELCC" = "xyes" ; then
46741 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46742 elif test "$GCC" = yes ; then
46743 CWARNINGS="-Wall -Wundef"
46746 if test "x$INTELCXX" = "xyes" ; then
46747 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46748 elif test "$GXX" = yes ; then
46749 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46753 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46754 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46757 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46758 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46759 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46762 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46763 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46764 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46765 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46766 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46768 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46771 if test "x$MWCC" = "xyes"; then
46773 CC="$CC -cwd source -I-"
46774 CXX="$CXX -cwd source -I-"
46779 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46780 EXTRALIBS_XML="$EXPAT_LINK"
46781 EXTRALIBS_HTML="$MSPACK_LINK"
46782 EXTRALIBS_MEDIA="$GST_LIBS"
46783 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46784 if test "$wxUSE_GUI" = "yes"; then
46785 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46787 if test "$wxUSE_OPENGL" = "yes"; then
46788 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46791 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46793 WXCONFIG_LIBS="$LIBS"
46795 if test "$wxUSE_REGEX" = "builtin" ; then
46796 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46798 if test "$wxUSE_EXPAT" = "builtin" ; then
46799 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46801 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46802 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46804 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46805 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46807 if test "$wxUSE_LIBPNG" = "builtin" ; then
46808 wxconfig_3rdparty="png $wxconfig_3rdparty"
46810 if test "$wxUSE_ZLIB" = "builtin" ; then
46811 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46814 for i in $wxconfig_3rdparty ; do
46815 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46819 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46822 case "$wxUNIV_THEMES" in
46824 cat >>confdefs.h <<\_ACEOF
46825 #define wxUSE_ALL_THEMES 1
46831 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46832 cat >>confdefs.h <<_ACEOF
46833 #define wxUSE_THEME_$t 1
46849 if test $wxUSE_MONOLITHIC = "yes" ; then
46855 if test $wxUSE_PLUGINS = "yes" ; then
46861 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46867 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46900 TOOLKIT_LOWERCASE=xxx
46901 if test "$TOOLKIT" = "MAC"; then
46902 TOOLKIT_LOWERCASE=osx
46904 if test "$TOOLKIT" = "OSX_CARBON"; then
46905 TOOLKIT_LOWERCASE=osx
46907 if test "$TOOLKIT" = "OSX_COCOA"; then
46908 TOOLKIT_LOWERCASE=osx
46910 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
46911 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46923 TOOLKIT_DESC="GTK+"
46924 if test "$WXGTK2" = 1; then
46925 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46926 if test "$wxUSE_GTKPRINT" = "yes" ; then
46927 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46929 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46930 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46932 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46933 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46935 if test "$wxUSE_LIBHILDON" = "yes"; then
46936 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46939 if test "$TOOLKIT_EXTRA" != ""; then
46940 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46946 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46950 TOOLKIT_DESC="base only"
46954 if test "$wxUSE_WINE" = "yes"; then
46955 BAKEFILE_FORCE_PLATFORM=win32
46958 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46960 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46961 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46962 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46963 echo $ECHO_N "(cached) $ECHO_C" >&6
46966 echo '#include <stdio.h>
46967 const wchar_t test_var[] = L"awidetest";' > conftest.h
46969 echo '#include "conftest.h"
46972 printf("%ls", test_var);
46976 wx_cv_gcc_pch_bug="pch not supported"
46978 if $CXX conftest.h >/dev/null 2>&1
46982 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46984 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46985 grep awidetest >/dev/null
46987 wx_cv_gcc_pch_bug=no
46989 wx_cv_gcc_pch_bug=yes
46994 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46997 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46998 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47000 if test "$wx_cv_gcc_pch_bug" = yes; then
47011 if test "x$BAKEFILE_HOST" = "x"; then
47012 if test "x${host}" = "x" ; then
47013 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47014 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47015 { (exit 1); exit 1; }; }
47018 BAKEFILE_HOST="${host}"
47021 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47023 if test -n "$ac_tool_prefix"; then
47024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47028 if test "${ac_cv_prog_RANLIB+set}" = set; then
47029 echo $ECHO_N "(cached) $ECHO_C" >&6
47031 if test -n "$RANLIB"; then
47032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47035 for as_dir in $PATH
47038 test -z "$as_dir" && as_dir=.
47039 for ac_exec_ext in '' $ac_executable_extensions; do
47040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47051 RANLIB=$ac_cv_prog_RANLIB
47052 if test -n "$RANLIB"; then
47053 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47054 echo "${ECHO_T}$RANLIB" >&6; }
47056 { echo "$as_me:$LINENO: result: no" >&5
47057 echo "${ECHO_T}no" >&6; }
47062 if test -z "$ac_cv_prog_RANLIB"; then
47063 ac_ct_RANLIB=$RANLIB
47064 # Extract the first word of "ranlib", so it can be a program name with args.
47065 set dummy ranlib; ac_word=$2
47066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47068 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47069 echo $ECHO_N "(cached) $ECHO_C" >&6
47071 if test -n "$ac_ct_RANLIB"; then
47072 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47075 for as_dir in $PATH
47078 test -z "$as_dir" && as_dir=.
47079 for ac_exec_ext in '' $ac_executable_extensions; do
47080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47081 ac_cv_prog_ac_ct_RANLIB="ranlib"
47082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47091 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47092 if test -n "$ac_ct_RANLIB"; then
47093 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47094 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47096 { echo "$as_me:$LINENO: result: no" >&5
47097 echo "${ECHO_T}no" >&6; }
47100 if test "x$ac_ct_RANLIB" = x; then
47103 case $cross_compiling:$ac_tool_warned in
47105 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47106 whose name does not start with the host triplet. If you think this
47107 configuration is useful to you, please write to autoconf@gnu.org." >&5
47108 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47109 whose name does not start with the host triplet. If you think this
47110 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47111 ac_tool_warned=yes ;;
47113 RANLIB=$ac_ct_RANLIB
47116 RANLIB="$ac_cv_prog_RANLIB"
47119 # Find a good install program. We prefer a C program (faster),
47120 # so one script is as good as another. But avoid the broken or
47121 # incompatible versions:
47122 # SysV /etc/install, /usr/sbin/install
47123 # SunOS /usr/etc/install
47124 # IRIX /sbin/install
47126 # AmigaOS /C/install, which installs bootblocks on floppy discs
47127 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47128 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47129 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47130 # OS/2's system install, which has a completely different semantic
47131 # ./install, which can be erroneously created by make from ./install.sh.
47132 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47133 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47134 if test -z "$INSTALL"; then
47135 if test "${ac_cv_path_install+set}" = set; then
47136 echo $ECHO_N "(cached) $ECHO_C" >&6
47138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47139 for as_dir in $PATH
47142 test -z "$as_dir" && as_dir=.
47143 # Account for people who put trailing slashes in PATH elements.
47145 ./ | .// | /cC/* | \
47146 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47147 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47150 # OSF1 and SCO ODT 3.0 have their own names for install.
47151 # Don't use installbsd from OSF since it installs stuff as root
47153 for ac_prog in ginstall scoinst install; do
47154 for ac_exec_ext in '' $ac_executable_extensions; do
47155 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47156 if test $ac_prog = install &&
47157 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47158 # AIX install. It has an incompatible calling convention.
47160 elif test $ac_prog = install &&
47161 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47162 # program-specific install script used by HP pwplus--don't use.
47165 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47178 if test "${ac_cv_path_install+set}" = set; then
47179 INSTALL=$ac_cv_path_install
47181 # As a last resort, use the slow shell script. Don't cache a
47182 # value for INSTALL within a source directory, because that will
47183 # break other packages using the cache if that directory is
47184 # removed, or if the value is a relative name.
47185 INSTALL=$ac_install_sh
47188 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47189 echo "${ECHO_T}$INSTALL" >&6; }
47191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47192 # It thinks the first close brace ends the variable substitution.
47193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47199 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47200 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47202 if test "$LN_S" = "ln -s"; then
47203 { echo "$as_me:$LINENO: result: yes" >&5
47204 echo "${ECHO_T}yes" >&6; }
47206 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47207 echo "${ECHO_T}no, using $LN_S" >&6; }
47211 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47212 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47213 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47214 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47215 echo $ECHO_N "(cached) $ECHO_C" >&6
47217 cat >conftest.make <<\_ACEOF
47220 @echo '@@@%%%=$(MAKE)=@@@%%%'
47222 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47223 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
47224 *@@@%%%=?*=@@@%%%*)
47225 eval ac_cv_prog_make_${ac_make}_set=yes;;
47227 eval ac_cv_prog_make_${ac_make}_set=no;;
47229 rm -f conftest.make
47231 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47232 { echo "$as_me:$LINENO: result: yes" >&5
47233 echo "${ECHO_T}yes" >&6; }
47236 { echo "$as_me:$LINENO: result: no" >&5
47237 echo "${ECHO_T}no" >&6; }
47238 SET_MAKE="MAKE=${MAKE-make}"
47243 if test "x$SUNCXX" = "xyes"; then
47245 AROPTIONS="-xar -o"
47247 elif test "x$SGICC" = "xyes"; then
47252 if test -n "$ac_tool_prefix"; then
47253 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47254 set dummy ${ac_tool_prefix}ar; ac_word=$2
47255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47257 if test "${ac_cv_prog_AR+set}" = set; then
47258 echo $ECHO_N "(cached) $ECHO_C" >&6
47260 if test -n "$AR"; then
47261 ac_cv_prog_AR="$AR" # Let the user override the test.
47263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47264 for as_dir in $PATH
47267 test -z "$as_dir" && as_dir=.
47268 for ac_exec_ext in '' $ac_executable_extensions; do
47269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47270 ac_cv_prog_AR="${ac_tool_prefix}ar"
47271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47281 if test -n "$AR"; then
47282 { echo "$as_me:$LINENO: result: $AR" >&5
47283 echo "${ECHO_T}$AR" >&6; }
47285 { echo "$as_me:$LINENO: result: no" >&5
47286 echo "${ECHO_T}no" >&6; }
47291 if test -z "$ac_cv_prog_AR"; then
47293 # Extract the first word of "ar", so it can be a program name with args.
47294 set dummy ar; ac_word=$2
47295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47297 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47298 echo $ECHO_N "(cached) $ECHO_C" >&6
47300 if test -n "$ac_ct_AR"; then
47301 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47304 for as_dir in $PATH
47307 test -z "$as_dir" && as_dir=.
47308 for ac_exec_ext in '' $ac_executable_extensions; do
47309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47310 ac_cv_prog_ac_ct_AR="ar"
47311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47320 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47321 if test -n "$ac_ct_AR"; then
47322 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47323 echo "${ECHO_T}$ac_ct_AR" >&6; }
47325 { echo "$as_me:$LINENO: result: no" >&5
47326 echo "${ECHO_T}no" >&6; }
47329 if test "x$ac_ct_AR" = x; then
47332 case $cross_compiling:$ac_tool_warned in
47334 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47335 whose name does not start with the host triplet. If you think this
47336 configuration is useful to you, please write to autoconf@gnu.org." >&5
47337 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47338 whose name does not start with the host triplet. If you think this
47339 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47340 ac_tool_warned=yes ;;
47345 AR="$ac_cv_prog_AR"
47352 if test -n "$ac_tool_prefix"; then
47353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47354 set dummy ${ac_tool_prefix}strip; ac_word=$2
47355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47357 if test "${ac_cv_prog_STRIP+set}" = set; then
47358 echo $ECHO_N "(cached) $ECHO_C" >&6
47360 if test -n "$STRIP"; then
47361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47364 for as_dir in $PATH
47367 test -z "$as_dir" && as_dir=.
47368 for ac_exec_ext in '' $ac_executable_extensions; do
47369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47380 STRIP=$ac_cv_prog_STRIP
47381 if test -n "$STRIP"; then
47382 { echo "$as_me:$LINENO: result: $STRIP" >&5
47383 echo "${ECHO_T}$STRIP" >&6; }
47385 { echo "$as_me:$LINENO: result: no" >&5
47386 echo "${ECHO_T}no" >&6; }
47391 if test -z "$ac_cv_prog_STRIP"; then
47393 # Extract the first word of "strip", so it can be a program name with args.
47394 set dummy strip; ac_word=$2
47395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47398 echo $ECHO_N "(cached) $ECHO_C" >&6
47400 if test -n "$ac_ct_STRIP"; then
47401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47404 for as_dir in $PATH
47407 test -z "$as_dir" && as_dir=.
47408 for ac_exec_ext in '' $ac_executable_extensions; do
47409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47410 ac_cv_prog_ac_ct_STRIP="strip"
47411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47421 if test -n "$ac_ct_STRIP"; then
47422 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47423 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47425 { echo "$as_me:$LINENO: result: no" >&5
47426 echo "${ECHO_T}no" >&6; }
47429 if test "x$ac_ct_STRIP" = x; then
47432 case $cross_compiling:$ac_tool_warned in
47434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47435 whose name does not start with the host triplet. If you think this
47436 configuration is useful to you, please write to autoconf@gnu.org." >&5
47437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47438 whose name does not start with the host triplet. If you think this
47439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47440 ac_tool_warned=yes ;;
47445 STRIP="$ac_cv_prog_STRIP"
47448 if test -n "$ac_tool_prefix"; then
47449 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47450 set dummy ${ac_tool_prefix}nm; ac_word=$2
47451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47453 if test "${ac_cv_prog_NM+set}" = set; then
47454 echo $ECHO_N "(cached) $ECHO_C" >&6
47456 if test -n "$NM"; then
47457 ac_cv_prog_NM="$NM" # Let the user override the test.
47459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47460 for as_dir in $PATH
47463 test -z "$as_dir" && as_dir=.
47464 for ac_exec_ext in '' $ac_executable_extensions; do
47465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47466 ac_cv_prog_NM="${ac_tool_prefix}nm"
47467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47477 if test -n "$NM"; then
47478 { echo "$as_me:$LINENO: result: $NM" >&5
47479 echo "${ECHO_T}$NM" >&6; }
47481 { echo "$as_me:$LINENO: result: no" >&5
47482 echo "${ECHO_T}no" >&6; }
47487 if test -z "$ac_cv_prog_NM"; then
47489 # Extract the first word of "nm", so it can be a program name with args.
47490 set dummy nm; ac_word=$2
47491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47493 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47494 echo $ECHO_N "(cached) $ECHO_C" >&6
47496 if test -n "$ac_ct_NM"; then
47497 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47500 for as_dir in $PATH
47503 test -z "$as_dir" && as_dir=.
47504 for ac_exec_ext in '' $ac_executable_extensions; do
47505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47506 ac_cv_prog_ac_ct_NM="nm"
47507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47516 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47517 if test -n "$ac_ct_NM"; then
47518 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47519 echo "${ECHO_T}$ac_ct_NM" >&6; }
47521 { echo "$as_me:$LINENO: result: no" >&5
47522 echo "${ECHO_T}no" >&6; }
47525 if test "x$ac_ct_NM" = x; then
47528 case $cross_compiling:$ac_tool_warned in
47530 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47531 whose name does not start with the host triplet. If you think this
47532 configuration is useful to you, please write to autoconf@gnu.org." >&5
47533 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47534 whose name does not start with the host triplet. If you think this
47535 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47536 ac_tool_warned=yes ;;
47541 NM="$ac_cv_prog_NM"
47545 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47546 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47547 INSTALL_TEST_DIR=acbftest$$
47548 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47549 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47550 rmdir $INSTALL_TEST_DIR
47551 INSTALL_DIR='$(INSTALL) -d'
47552 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47553 echo "${ECHO_T}$INSTALL -d" >&6; }
47555 INSTALL_DIR="mkdir -p"
47556 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47557 echo "${ECHO_T}mkdir -p" >&6; }
47562 case ${BAKEFILE_HOST} in
47563 *-*-cygwin* | *-*-mingw32* )
47564 LDFLAGS_GUI="-mwindows"
47570 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47571 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47572 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47573 echo $ECHO_N "(cached) $ECHO_C" >&6
47576 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47577 egrep -s GNU > /dev/null); then
47578 bakefile_cv_prog_makeisgnu="yes"
47580 bakefile_cv_prog_makeisgnu="no"
47584 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47585 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47587 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47604 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47605 case "${BAKEFILE_HOST}" in
47612 *-pc-os2_emx | *-pc-os2-emx )
47622 powerpc-apple-macos* )
47631 case "$BAKEFILE_FORCE_PLATFORM" in
47666 # Check whether --enable-omf was given.
47667 if test "${enable_omf+set}" = set; then
47668 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47672 case "${BAKEFILE_HOST}" in
47674 if test "x$GCC" = "xyes"; then
47675 CFLAGS="$CFLAGS -fno-common"
47676 CXXFLAGS="$CXXFLAGS -fno-common"
47678 if test "x$XLCC" = "xyes"; then
47679 CFLAGS="$CFLAGS -qnocommon"
47680 CXXFLAGS="$CXXFLAGS -qnocommon"
47684 *-pc-os2_emx | *-pc-os2-emx )
47685 if test "x$bk_os2_use_omf" = "xyes" ; then
47688 LDFLAGS="-Zomf $LDFLAGS"
47689 CFLAGS="-Zomf $CFLAGS"
47690 CXXFLAGS="-Zomf $CXXFLAGS"
47698 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47704 SO_SUFFIX_MODULE="so"
47709 DLLPREFIX_MODULE=""
47713 case "${BAKEFILE_HOST}" in
47716 SO_SUFFIX_MODULE="sl"
47720 SO_SUFFIX_MODULE="a"
47724 SO_SUFFIX_MODULE="dll"
47725 DLLIMP_SUFFIX="dll.a"
47732 SO_SUFFIX_MODULE="dll"
47733 DLLIMP_SUFFIX="dll.a"
47743 *-pc-os2_emx | *-pc-os2-emx )
47745 SO_SUFFIX_MODULE="dll"
47746 DLLIMP_SUFFIX=$OS2_LIBEXT
47750 LIBEXT=".$OS2_LIBEXT"
47755 SO_SUFFIX_MODULE="bundle"
47759 if test "x$DLLIMP_SUFFIX" = "x" ; then
47760 DLLIMP_SUFFIX="$SO_SUFFIX"
47775 if test "x$GCC" = "xyes"; then
47779 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47780 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47783 case "${BAKEFILE_HOST}" in
47785 if test "x$GCC" != "xyes"; then
47786 LDFLAGS="$LDFLAGS -L/usr/lib"
47788 SHARED_LD_CC="${CC} -b -o"
47789 SHARED_LD_CXX="${CXX} -b -o"
47795 if test "$INTELCC" = "yes"; then
47797 elif test "x$SUNCXX" = "xyes"; then
47798 SHARED_LD_CC="${CC} -G -o"
47799 SHARED_LD_CXX="${CXX} -G -o"
47805 if test "x$SUNCXX" = xyes ; then
47806 SHARED_LD_CC="${CC} -G -o"
47807 SHARED_LD_CXX="${CXX} -G -o"
47815 cat <<EOF >shared-ld-sh
47817 #-----------------------------------------------------------------------------
47818 #-- Name: distrib/mac/shared-ld-sh
47819 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47820 #-- Author: Gilles Depeyrot
47821 #-- Copyright: (c) 2002 Gilles Depeyrot
47822 #-- Licence: any use permitted
47823 #-----------------------------------------------------------------------------
47828 linking_flag="-dynamiclib"
47829 ldargs="-r -keep_private_externs -nostdlib"
47831 if test "x${D}CXX" = "x"; then
47835 while test ${D}# -gt 0; do
47842 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47843 # collect these options and values
47844 args="${D}{args} ${D}1 ${D}2"
47849 # collect these options and values
47850 ldargs="${D}{ldargs} ${D}1 ${D}2"
47855 # collect these load args
47856 ldargs="${D}{ldargs} ${D}1"
47859 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47860 # collect these options
47861 args="${D}{args} ${D}1"
47864 -dynamiclib|-bundle)
47865 linking_flag="${D}1"
47869 echo "shared-ld: unhandled option '${D}1'"
47873 *.o | *.a | *.dylib)
47874 # collect object files
47875 objects="${D}{objects} ${D}1"
47879 echo "shared-ld: unhandled argument '${D}1'"
47890 # Link one module containing all the others
47892 if test ${D}{verbose} = 1; then
47893 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47895 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47899 # Link the shared library from the single module created, but only if the
47900 # previous command didn't fail:
47902 if test ${D}{status} = 0; then
47903 if test ${D}{verbose} = 1; then
47904 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47906 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47911 # Remove intermediate module
47913 rm -f master.${D}${D}.o
47918 chmod +x shared-ld-sh
47920 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47921 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47924 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47925 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47926 if test "${bakefile_cv_gcc31+set}" = set; then
47927 echo $ECHO_N "(cached) $ECHO_C" >&6
47930 cat >conftest.$ac_ext <<_ACEOF
47933 cat confdefs.h >>conftest.$ac_ext
47934 cat >>conftest.$ac_ext <<_ACEOF
47935 /* end confdefs.h. */
47941 #if (__GNUC__ < 3) || \
47942 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47950 rm -f conftest.$ac_objext
47951 if { (ac_try="$ac_compile"
47952 case "(($ac_try" in
47953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47954 *) ac_try_echo
=$ac_try;;
47956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47957 (eval "$ac_compile") 2>conftest.er1
47959 grep -v '^ *+' conftest.er1
>conftest.err
47961 cat conftest.err
>&5
47962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47963 (exit $ac_status); } && {
47964 test -z "$ac_c_werror_flag" ||
47965 test ! -s conftest.err
47966 } && test -s conftest.
$ac_objext; then
47968 bakefile_cv_gcc31
=yes
47971 echo "$as_me: failed program was:" >&5
47972 sed 's/^/| /' conftest.
$ac_ext >&5
47975 bakefile_cv_gcc31
=no
47980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47983 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47984 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47985 if test "$bakefile_cv_gcc31" = "no"; then
47986 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47987 SHARED_LD_CXX
="$SHARED_LD_CC"
47989 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47990 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47993 if test "x$GCC" == "xyes"; then
47994 PIC_FLAG
="-dynamic -fPIC"
47996 if test "x$XLCC" = "xyes"; then
47997 PIC_FLAG
="-dynamic -DPIC"
48002 if test "x$GCC" = "xyes"; then
48005 case "${BAKEFILE_HOST}" in
48007 LD_EXPFULL
="-Wl,-bexpfull"
48011 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48012 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48014 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48015 set dummy makeC
++SharedLib
; ac_word
=$2
48016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48018 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48019 echo $ECHO_N "(cached) $ECHO_C" >&6
48021 if test -n "$AIX_CXX_LD"; then
48022 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48025 for as_dir
in $PATH
48028 test -z "$as_dir" && as_dir
=.
48029 for ac_exec_ext
in '' $ac_executable_extensions; do
48030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48031 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48039 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48042 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48043 if test -n "$AIX_CXX_LD"; then
48044 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48045 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48047 { echo "$as_me:$LINENO: result: no" >&5
48048 echo "${ECHO_T}no" >&6; }
48052 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48053 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48058 SHARED_LD_CC
="${LD} -nostart -o"
48059 SHARED_LD_CXX
="${LD} -nostart -o"
48063 if test "x$GCC" != "xyes"; then
48068 *-*-cygwin* | *-*-mingw32* )
48070 SHARED_LD_CC
="\$(CC) -shared -o"
48071 SHARED_LD_CXX
="\$(CXX) -shared -o"
48075 *-pc-os2_emx | *-pc-os2-emx )
48076 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48077 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48081 cat <<EOF >dllar.sh
48084 # dllar - a tool to build both a .dll and an .a file
48085 # from a set of object (.o) files for EMX/OS2.
48087 # Written by Andrew Zabolotny, bit@freya.etu.ru
48088 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48090 # This script will accept a set of files on the command line.
48091 # All the public symbols from the .o files will be exported into
48092 # a .DEF file, then linker will be run (through gcc) against them to
48093 # build a shared library consisting of all given .o files. All libraries
48094 # (.a) will be first decompressed into component .o files then act as
48095 # described above. You can optionally give a description (-d "description")
48096 # which will be put into .DLL. To see the list of accepted options (as well
48097 # as command-line format) simply run this program without options. The .DLL
48098 # is built to be imported by name (there is no guarantee that new versions
48099 # of the library you build will have same ordinals for same symbols).
48101 # dllar is free software; you can redistribute it and/or modify
48102 # it under the terms of the GNU General Public License as published by
48103 # the Free Software Foundation; either version 2, or (at your option)
48104 # any later version.
48106 # dllar is distributed in the hope that it will be useful,
48107 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48108 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48109 # GNU General Public License for more details.
48111 # You should have received a copy of the GNU General Public License
48112 # along with dllar; see the file COPYING. If not, write to the Free
48113 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48116 # To successfuly run this program you will need:
48117 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48118 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48120 # (used to build the .dll)
48122 # (used to create .def file from .o files)
48124 # (used to create .a file from .def file)
48125 # - GNU text utilites (cat, sort, uniq)
48126 # used to process emxexp output
48127 # - GNU file utilities (mv, rm)
48129 # - lxlite (optional, see flag below)
48130 # (used for general .dll cleanup)
48137 # basnam, variant of basename, which does _not_ remove the path, _iff_
48138 # second argument (suffix to remove) is given
48142 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48145 echo ${D}1 | sed 's/'${D}2'${D}//'
48148 echo "error in basnam ${D}*"
48154 # Cleanup temporary files and output
48157 for i in ${D}inputFiles ; do
48160 rm -rf \`basnam ${D}i !\`
48167 # Kill result in case of failure as there is just to many stupid make/nmake
48168 # things out there which doesn't do this.
48169 if [ ${D}# -eq 0 ]; then
48170 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48174 # Print usage and exit script with rc=1.
48176 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48177 echo ' [-name-mangler-script script.sh]'
48178 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48179 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48180 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48181 echo ' [*.o] [*.a]'
48182 echo '*> "output_file" should have no extension.'
48183 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48184 echo ' The import library name is derived from this and is set to "name".a,'
48185 echo ' unless overridden by -import'
48186 echo '*> "importlib_name" should have no extension.'
48187 echo ' If it has the .o, or .a extension, it is automatically removed.'
48188 echo ' This name is used as the import library name and may be longer and'
48189 echo ' more descriptive than the DLL name which has to follow the old '
48190 echo ' 8.3 convention of FAT.'
48191 echo '*> "script.sh may be given to override the output_file name by a'
48192 echo ' different name. It is mainly useful if the regular make process'
48193 echo ' of some package does not take into account OS/2 restriction of'
48194 echo ' DLL name lengths. It takes the importlib name as input and is'
48195 echo ' supposed to procude a shorter name as output. The script should'
48196 echo ' expect to get importlib_name without extension and should produce'
48197 echo ' a (max.) 8 letter name without extension.'
48198 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48199 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48200 echo ' These flags will be put at the start of GCC command line.'
48201 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48202 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48203 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48204 echo ' If the last character of a symbol is "*", all symbols beginning'
48205 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48206 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48207 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48208 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48209 echo ' C runtime DLLs.'
48210 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48211 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48212 echo ' unchanged to GCC at the end of command line.'
48213 echo '*> If you create a DLL from a library and you do not specify -o,'
48214 echo ' the basename for DLL and import library will be set to library name,'
48215 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48216 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48217 echo ' library will be renamed into gcc_s.a.'
48220 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48221 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48226 # Execute a command.
48227 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48228 # @Uses Whatever CleanUp() uses.
48234 if [ ${D}rcCmd -ne 0 ]; then
48235 echo "command failed, exit code="${D}rcCmd
48250 CFLAGS="-s -Zcrtdll"
48252 EXPORT_BY_ORDINALS=0
48257 case ${D}curDirS in
48261 curDirS=${D}{curDirS}"/"
48264 # Parse commandline
48267 while [ ${D}1 ]; do
48270 EXPORT_BY_ORDINALS=1;
48280 -name-mangler-script)
48301 exclude_symbols=${D}{exclude_symbols}${D}1" "
48305 library_flags=${D}{library_flags}${D}1" "
48324 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48327 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48328 if [ ${D}omfLinking -eq 1 ]; then
48329 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48331 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48336 if [ ${D}libsToLink -ne 0 ]; then
48337 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48339 for file in ${D}1 ; do
48340 if [ -f ${D}file ]; then
48341 inputFiles="${D}{inputFiles} ${D}file"
48345 if [ ${D}found -eq 0 ]; then
48346 echo "ERROR: No file(s) found: "${D}1
48353 done # iterate cmdline words
48356 if [ -z "${D}inputFiles" ]; then
48357 echo "dllar: no input files"
48361 # Now extract all .o files from .a files
48363 for file in ${D}inputFiles ; do
48374 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48379 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48381 if [ ${D}? -ne 0 ]; then
48382 echo "Failed to create subdirectory ./${D}dirname"
48386 # Append '!' to indicate archive
48387 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48388 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48391 for subfile in ${D}dirname/*.o* ; do
48392 if [ -f ${D}subfile ]; then
48394 if [ -s ${D}subfile ]; then
48395 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48396 newInputFiles="${D}newInputFiles ${D}subfile"
48400 if [ ${D}found -eq 0 ]; then
48401 echo "WARNING: there are no files in archive \\'${D}file\\'"
48405 newInputFiles="${D}{newInputFiles} ${D}file"
48409 inputFiles="${D}newInputFiles"
48411 # Output filename(s).
48413 if [ -z ${D}outFile ]; then
48415 set outFile ${D}inputFiles; outFile=${D}2
48418 # If it is an archive, remove the '!' and the '_%' suffixes
48419 case ${D}outFile in
48421 outFile=\`basnam ${D}outFile _%!\`
48426 case ${D}outFile in
48428 outFile=\`basnam ${D}outFile .dll\`
48431 outFile=\`basnam ${D}outFile .DLL\`
48434 outFile=\`basnam ${D}outFile .o\`
48437 outFile=\`basnam ${D}outFile .obj\`
48440 outFile=\`basnam ${D}outFile .a\`
48443 outFile=\`basnam ${D}outFile .lib\`
48448 case ${D}outimpFile in
48450 outimpFile=\`basnam ${D}outimpFile .a\`
48453 outimpFile=\`basnam ${D}outimpFile .lib\`
48458 if [ -z ${D}outimpFile ]; then
48459 outimpFile=${D}outFile
48461 defFile="${D}{outFile}.def"
48462 arcFile="${D}{outimpFile}.a"
48463 arcFile2="${D}{outimpFile}.lib"
48465 #create ${D}dllFile as something matching 8.3 restrictions,
48466 if [ -z ${D}renameScript ] ; then
48467 dllFile="${D}outFile"
48469 dllFile=\`${D}renameScript ${D}outimpFile\`
48472 if [ ${D}do_backup -ne 0 ] ; then
48473 if [ -f ${D}arcFile ] ; then
48474 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48476 if [ -f ${D}arcFile2 ] ; then
48477 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48481 # Extract public symbols from all the object files.
48482 tmpdefFile=${D}{defFile}_%
48483 rm -f ${D}tmpdefFile
48484 for file in ${D}inputFiles ; do
48489 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48494 # Create the def file.
48496 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48497 dllFile="${D}{dllFile}.dll"
48498 if [ ! -z ${D}description ]; then
48499 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48501 echo "EXPORTS" >> ${D}defFile
48503 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48504 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48506 # Checks if the export is ok or not.
48507 for word in ${D}exclude_symbols; do
48508 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48509 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48513 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48514 sed "=" < ${D}tmpdefFile | \\
48518 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48520 ' > ${D}{tmpdefFile}%
48521 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48523 rm -f ${D}{tmpdefFile}%
48525 cat ${D}tmpdefFile >> ${D}defFile
48526 rm -f ${D}tmpdefFile
48528 # Do linking, create implib, and apply lxlite.
48530 for file in ${D}inputFiles ; do
48535 gccCmdl="${D}gccCmdl ${D}file"
48539 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48540 touch "${D}{outFile}.dll"
48542 doCommand "emximp -o ${D}arcFile ${D}defFile"
48543 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48545 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48548 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48550 doCommand "emxomf -s -l ${D}arcFile"
48560 powerpc
-apple-macos* | \
48561 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48571 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48572 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48573 { (exit 1); exit 1; }; }
48576 if test "x$PIC_FLAG" != "x" ; then
48577 PIC_FLAG
="$PIC_FLAG -DPIC"
48580 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48581 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48583 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48584 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48603 case "${BAKEFILE_HOST}" in
48604 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48605 *-*-k*bsd
*-gnu | *-*-mirbsd* )
48606 if test "x$SUNCXX" = "xyes"; then
48609 SONAME_FLAG
="-Wl,-soname,"
48644 # Check whether --enable-dependency-tracking was given.
48645 if test "${enable_dependency_tracking+set}" = set; then
48646 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48650 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48651 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48654 if test "x$bk_use_trackdeps" = "xno" ; then
48656 { echo "$as_me:$LINENO: result: disabled" >&5
48657 echo "${ECHO_T}disabled" >&6; }
48661 if test "x$GCC" = "xyes"; then
48663 case "${BAKEFILE_HOST}" in
48665 DEPSFLAG
="-no-cpp-precomp -MMD"
48671 { echo "$as_me:$LINENO: result: gcc" >&5
48672 echo "${ECHO_T}gcc" >&6; }
48673 elif test "x$MWCC" = "xyes"; then
48676 { echo "$as_me:$LINENO: result: mwcc" >&5
48677 echo "${ECHO_T}mwcc" >&6; }
48678 elif test "x$SUNCC" = "xyes"; then
48681 { echo "$as_me:$LINENO: result: Sun cc" >&5
48682 echo "${ECHO_T}Sun cc" >&6; }
48683 elif test "x$SGICC" = "xyes"; then
48686 { echo "$as_me:$LINENO: result: SGI cc" >&5
48687 echo "${ECHO_T}SGI cc" >&6; }
48688 elif test "x$HPCC" = "xyes"; then
48691 { echo "$as_me:$LINENO: result: HP cc" >&5
48692 echo "${ECHO_T}HP cc" >&6; }
48693 elif test "x$COMPAQCC" = "xyes"; then
48696 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48697 echo "${ECHO_T}Compaq cc" >&6; }
48700 { echo "$as_me:$LINENO: result: none" >&5
48701 echo "${ECHO_T}none" >&6; }
48704 if test $DEPS_TRACKING = 1 ; then
48710 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48711 # script. It is used to track C/C++ files dependencies in portable way.
48713 # Permission is given to use this file in any way.
48715 DEPSMODE=${DEPSMODE}
48716 DEPSFLAG="${DEPSFLAG}"
48719 if test ${D}DEPSMODE = gcc ; then
48720 ${D}* ${D}{DEPSFLAG}
48723 # determine location of created files:
48724 while test ${D}# -gt 0; do
48738 objfilebase=\`basename ${D}objfile\`
48739 builddir=\`dirname ${D}objfile\`
48740 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48741 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48742 depsdir=${D}builddir/${D}DEPSDIRBASE
48743 mkdir -p ${D}depsdir
48745 # if the compiler failed, we're done:
48746 if test ${D}{status} != 0 ; then
48751 # move created file to the location we want it in:
48752 if test -f ${D}depfile ; then
48753 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
48756 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48757 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
48758 if test ! -f ${D}depfile ; then
48759 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48760 depfile="${D}objfile.d"
48762 if test -f ${D}depfile ; then
48763 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
48769 elif test ${D}DEPSMODE = mwcc ; then
48770 ${D}* || exit ${D}?
48771 # Run mwcc again with -MM and redirect into the dep file we want
48772 # NOTE: We can't use shift here because we need ${D}* to be valid
48774 for arg in ${D}* ; do
48775 if test "${D}prevarg" = "-o"; then
48789 objfilebase=\`basename ${D}objfile\`
48790 builddir=\`dirname ${D}objfile\`
48791 depsdir=${D}builddir/${D}DEPSDIRBASE
48792 mkdir -p ${D}depsdir
48794 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
48797 elif test ${D}DEPSMODE = unixcc; then
48798 ${D}* || exit ${D}?
48799 # Run compiler again with deps flag and redirect into the dep file.
48800 # It doesn't work if the '-o FILE' option is used, but without it the
48801 # dependency file will contain the wrong name for the object. So it is
48802 # removed from the command line, and the dep file is fixed with sed.
48804 while test ${D}# -gt 0; do
48811 eval arg${D}#=\\${D}1
48812 cmd="${D}cmd \\${D}arg${D}#"
48818 objfilebase=\`basename ${D}objfile\`
48819 builddir=\`dirname ${D}objfile\`
48820 depsdir=${D}builddir/${D}DEPSDIRBASE
48821 mkdir -p ${D}depsdir
48823 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfilebase}.d
48833 BK_DEPS
="`pwd`/bk-deps"
48841 case ${BAKEFILE_HOST} in
48842 *-*-cygwin* | *-*-mingw32* )
48843 if test -n "$ac_tool_prefix"; then
48844 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48845 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48848 if test "${ac_cv_prog_WINDRES+set}" = set; then
48849 echo $ECHO_N "(cached) $ECHO_C" >&6
48851 if test -n "$WINDRES"; then
48852 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48855 for as_dir
in $PATH
48858 test -z "$as_dir" && as_dir
=.
48859 for ac_exec_ext
in '' $ac_executable_extensions; do
48860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48861 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48871 WINDRES
=$ac_cv_prog_WINDRES
48872 if test -n "$WINDRES"; then
48873 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48874 echo "${ECHO_T}$WINDRES" >&6; }
48876 { echo "$as_me:$LINENO: result: no" >&5
48877 echo "${ECHO_T}no" >&6; }
48882 if test -z "$ac_cv_prog_WINDRES"; then
48883 ac_ct_WINDRES
=$WINDRES
48884 # Extract the first word of "windres", so it can be a program name with args.
48885 set dummy windres
; ac_word
=$2
48886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48888 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48889 echo $ECHO_N "(cached) $ECHO_C" >&6
48891 if test -n "$ac_ct_WINDRES"; then
48892 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48895 for as_dir
in $PATH
48898 test -z "$as_dir" && as_dir
=.
48899 for ac_exec_ext
in '' $ac_executable_extensions; do
48900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48901 ac_cv_prog_ac_ct_WINDRES
="windres"
48902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48911 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48912 if test -n "$ac_ct_WINDRES"; then
48913 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48914 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48916 { echo "$as_me:$LINENO: result: no" >&5
48917 echo "${ECHO_T}no" >&6; }
48920 if test "x$ac_ct_WINDRES" = x
; then
48923 case $cross_compiling:$ac_tool_warned in
48925 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48926 whose name does not start with the host triplet. If you think this
48927 configuration is useful to you, please write to autoconf@gnu.org." >&5
48928 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48929 whose name does not start with the host triplet. If you think this
48930 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48931 ac_tool_warned
=yes ;;
48933 WINDRES
=$ac_ct_WINDRES
48936 WINDRES
="$ac_cv_prog_WINDRES"
48941 *-*-darwin* | powerpc
-apple-macos* )
48942 # Extract the first word of "Rez", so it can be a program name with args.
48943 set dummy Rez
; ac_word
=$2
48944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48946 if test "${ac_cv_prog_REZ+set}" = set; then
48947 echo $ECHO_N "(cached) $ECHO_C" >&6
48949 if test -n "$REZ"; then
48950 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48953 for as_dir
in $PATH
48956 test -z "$as_dir" && as_dir
=.
48957 for ac_exec_ext
in '' $ac_executable_extensions; do
48958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48959 ac_cv_prog_REZ
="Rez"
48960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48967 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48970 REZ
=$ac_cv_prog_REZ
48971 if test -n "$REZ"; then
48972 { echo "$as_me:$LINENO: result: $REZ" >&5
48973 echo "${ECHO_T}$REZ" >&6; }
48975 { echo "$as_me:$LINENO: result: no" >&5
48976 echo "${ECHO_T}no" >&6; }
48980 # Extract the first word of "SetFile", so it can be a program name with args.
48981 set dummy SetFile
; ac_word
=$2
48982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48984 if test "${ac_cv_prog_SETFILE+set}" = set; then
48985 echo $ECHO_N "(cached) $ECHO_C" >&6
48987 if test -n "$SETFILE"; then
48988 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48991 for as_dir
in $PATH
48994 test -z "$as_dir" && as_dir
=.
48995 for ac_exec_ext
in '' $ac_executable_extensions; do
48996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48997 ac_cv_prog_SETFILE
="SetFile"
48998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49005 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49008 SETFILE
=$ac_cv_prog_SETFILE
49009 if test -n "$SETFILE"; then
49010 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49011 echo "${ECHO_T}$SETFILE" >&6; }
49013 { echo "$as_me:$LINENO: result: no" >&5
49014 echo "${ECHO_T}no" >&6; }
49029 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.5"
49032 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.5"
49036 # Check whether --enable-precomp-headers was given.
49037 if test "${enable_precomp_headers+set}" = set; then
49038 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
49047 case ${BAKEFILE_HOST} in
49053 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49054 if test "x$GCC" = "xyes"; then
49055 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49056 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49057 cat >conftest.
$ac_ext <<_ACEOF
49060 cat confdefs.h
>>conftest.
$ac_ext
49061 cat >>conftest.
$ac_ext <<_ACEOF
49062 /* end confdefs.h. */
49068 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49069 There is no PCH support
49072 There is no PCH support
49074 #if (__GNUC__ == 3) && \
49075 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49076 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49077 ( defined(__INTEL_COMPILER) )
49078 There is no PCH support
49085 rm -f conftest.
$ac_objext
49086 if { (ac_try
="$ac_compile"
49087 case "(($ac_try" in
49088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49089 *) ac_try_echo=$ac_try;;
49091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49092 (eval "$ac_compile") 2>conftest.er1
49094 grep -v '^ *+' conftest.er1 >conftest.err
49096 cat conftest.err >&5
49097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49098 (exit $ac_status); } && {
49099 test -z "$ac_c_werror_flag" ||
49100 test ! -s conftest.err
49101 } && test -s conftest.$ac_objext; then
49103 { echo "$as_me:$LINENO: result: yes" >&5
49104 echo "${ECHO_T}yes" >&6; }
49108 echo "$as_me: failed program was:" >&5
49109 sed 's/^/| /' conftest.$ac_ext >&5
49112 cat >conftest.$ac_ext <<_ACEOF
49115 cat confdefs.h >>conftest.$ac_ext
49116 cat >>conftest.$ac_ext <<_ACEOF
49117 /* end confdefs.h. */
49123 #if !defined(__INTEL_COMPILER) || \
49124 (__INTEL_COMPILER < 800)
49125 There is no PCH support
49132 rm -f conftest.$ac_objext
49133 if { (ac_try="$ac_compile"
49134 case "(($ac_try" in
49135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49136 *) ac_try_echo
=$ac_try;;
49138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49139 (eval "$ac_compile") 2>conftest.er1
49141 grep -v '^ *+' conftest.er1
>conftest.err
49143 cat conftest.err
>&5
49144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49145 (exit $ac_status); } && {
49146 test -z "$ac_c_werror_flag" ||
49147 test ! -s conftest.err
49148 } && test -s conftest.
$ac_objext; then
49150 { echo "$as_me:$LINENO: result: yes" >&5
49151 echo "${ECHO_T}yes" >&6; }
49155 echo "$as_me: failed program was:" >&5
49156 sed 's/^/| /' conftest.
$ac_ext >&5
49159 { echo "$as_me:$LINENO: result: no" >&5
49160 echo "${ECHO_T}no" >&6; }
49164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49169 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49173 cat <<EOF >bk-make-pch
49176 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49177 # script. It is used to generated precompiled headers.
49179 # Permission is given to use this file in any way.
49186 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49191 while test ${D}{#} -gt 0; do
49195 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49196 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49197 headerfile="${D}{incdir}/${D}{header}"
49200 -use-pch|-use_pch )
49205 if test ${D}add_to_cmdline = 1 ; then
49206 compiler="${D}{compiler} ${D}{1}"
49211 if test "x${D}{headerfile}" = "x" ; then
49212 echo "error: can't find header ${D}{header} in include paths" >&2
49214 if test -f ${D}{outfile} ; then
49215 rm -f ${D}{outfile}
49217 mkdir -p \`dirname ${D}{outfile}\`
49219 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49220 mkdir -p ${D}{builddir}/.deps
49221 if test "x${GCC_PCH}" = "x1" ; then
49222 # can do this because gcc is >= 3.4:
49223 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49224 elif test "x${ICC_PCH}" = "x1" ; then
49225 filename=pch_gen-${D}${D}
49226 file=${D}{filename}.c
49227 dfile=${D}{filename}.d
49228 cat > ${D}file <<EOT
49229 #include "${D}header"
49231 # using -MF icc complains about differing command lines in creation/use
49232 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49233 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49234 rm -f ${D}file ${D}dfile ${D}{filename}.o
49240 chmod +x bk
-make-pch
49241 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49250 COND_BUILD_DEBUG
="#"
49251 if test "x$BUILD" = "xdebug" ; then
49252 COND_BUILD_DEBUG
=""
49255 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49256 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49257 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49260 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49261 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49262 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49265 COND_BUILD_DEBUG_UNICODE_0
="#"
49266 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49267 COND_BUILD_DEBUG_UNICODE_0
=""
49270 COND_BUILD_DEBUG_UNICODE_1
="#"
49271 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49272 COND_BUILD_DEBUG_UNICODE_1
=""
49275 COND_BUILD_RELEASE
="#"
49276 if test "x$BUILD" = "xrelease" ; then
49277 COND_BUILD_RELEASE
=""
49280 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49281 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49282 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49285 COND_BUILD_RELEASE_UNICODE_0
="#"
49286 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49287 COND_BUILD_RELEASE_UNICODE_0
=""
49290 COND_BUILD_RELEASE_UNICODE_1
="#"
49291 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49292 COND_BUILD_RELEASE_UNICODE_1
=""
49295 COND_BUILD_debug
="#"
49296 if test "x$BUILD" = "xdebug" ; then
49297 COND_BUILD_debug
=""
49300 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49301 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49302 COND_BUILD_debug_DEBUG_FLAG_default
=""
49305 COND_BUILD_debug_DEBUG_INFO_default
="#"
49306 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49307 COND_BUILD_debug_DEBUG_INFO_default
=""
49310 COND_BUILD_debug_UNICODE_0
="#"
49311 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49312 COND_BUILD_debug_UNICODE_0
=""
49315 COND_BUILD_debug_UNICODE_1
="#"
49316 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49317 COND_BUILD_debug_UNICODE_1
=""
49320 COND_BUILD_release
="#"
49321 if test "x$BUILD" = "xrelease" ; then
49322 COND_BUILD_release
=""
49325 COND_BUILD_release_DEBUG_INFO_default
="#"
49326 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49327 COND_BUILD_release_DEBUG_INFO_default
=""
49330 COND_BUILD_release_UNICODE_0
="#"
49331 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49332 COND_BUILD_release_UNICODE_0
=""
49335 COND_BUILD_release_UNICODE_1
="#"
49336 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49337 COND_BUILD_release_UNICODE_1
=""
49340 COND_DEBUG_FLAG_1
="#"
49341 if test "x$DEBUG_FLAG" = "x1" ; then
49342 COND_DEBUG_FLAG_1
=""
49345 COND_DEBUG_INFO_0
="#"
49346 if test "x$DEBUG_INFO" = "x0" ; then
49347 COND_DEBUG_INFO_0
=""
49350 COND_DEBUG_INFO_1
="#"
49351 if test "x$DEBUG_INFO" = "x1" ; then
49352 COND_DEBUG_INFO_1
=""
49355 COND_DEPS_TRACKING_0
="#"
49356 if test "x$DEPS_TRACKING" = "x0" ; then
49357 COND_DEPS_TRACKING_0
=""
49360 COND_DEPS_TRACKING_1
="#"
49361 if test "x$DEPS_TRACKING" = "x1" ; then
49362 COND_DEPS_TRACKING_1
=""
49366 if test "x$GCC_PCH" = "x1" ; then
49371 if test "x$ICC_PCH" = "x1" ; then
49375 COND_MONOLITHIC_0
="#"
49376 if test "x$MONOLITHIC" = "x0" ; then
49377 COND_MONOLITHIC_0
=""
49380 COND_MONOLITHIC_0_SHARED_0
="#"
49381 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49382 COND_MONOLITHIC_0_SHARED_0
=""
49385 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49386 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49387 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49390 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49392 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49395 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49396 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49397 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49400 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49401 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49402 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49405 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49406 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49407 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49410 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49411 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49412 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49415 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49416 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49417 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49420 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49421 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49422 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49425 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49426 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49427 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49430 COND_MONOLITHIC_0_SHARED_1
="#"
49431 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49432 COND_MONOLITHIC_0_SHARED_1
=""
49435 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49436 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49437 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49440 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49441 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49442 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49445 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49446 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49447 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49450 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49451 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49452 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49455 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49456 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49457 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49460 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49461 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49462 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49465 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49466 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49467 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49470 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49472 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49475 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49477 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49480 COND_MONOLITHIC_0_USE_AUI_1
="#"
49481 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49482 COND_MONOLITHIC_0_USE_AUI_1
=""
49485 COND_MONOLITHIC_0_USE_GUI_1
="#"
49486 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49487 COND_MONOLITHIC_0_USE_GUI_1
=""
49490 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49491 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49492 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49495 COND_MONOLITHIC_0_USE_HTML_1
="#"
49496 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49497 COND_MONOLITHIC_0_USE_HTML_1
=""
49500 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49501 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49502 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49505 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49506 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49507 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49510 COND_MONOLITHIC_0_USE_QA_1
="#"
49511 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49512 COND_MONOLITHIC_0_USE_QA_1
=""
49515 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49516 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49517 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49520 COND_MONOLITHIC_0_USE_STC_1
="#"
49521 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49522 COND_MONOLITHIC_0_USE_STC_1
=""
49525 COND_MONOLITHIC_0_USE_XRC_1
="#"
49526 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49527 COND_MONOLITHIC_0_USE_XRC_1
=""
49530 COND_MONOLITHIC_1
="#"
49531 if test "x$MONOLITHIC" = "x1" ; then
49532 COND_MONOLITHIC_1
=""
49535 COND_MONOLITHIC_1_SHARED_0
="#"
49536 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49537 COND_MONOLITHIC_1_SHARED_0
=""
49540 COND_MONOLITHIC_1_SHARED_1
="#"
49541 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49542 COND_MONOLITHIC_1_SHARED_1
=""
49545 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49546 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49547 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49550 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49551 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49552 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49555 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49556 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49557 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49560 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49561 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49562 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49565 COND_PLATFORM_MACOSX_1
="#"
49566 if test "x$PLATFORM_MACOSX" = "x1" ; then
49567 COND_PLATFORM_MACOSX_1
=""
49570 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49571 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49572 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49576 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49577 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49580 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49582 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49585 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49586 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49587 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49590 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49591 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49592 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49595 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49596 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49597 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49600 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49601 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49602 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49605 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49606 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49607 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49610 COND_PLATFORM_MACOS_1
="#"
49611 if test "x$PLATFORM_MACOS" = "x1" ; then
49612 COND_PLATFORM_MACOS_1
=""
49615 COND_PLATFORM_MAC_0
="#"
49616 if test "x$PLATFORM_MAC" = "x0" ; then
49617 COND_PLATFORM_MAC_0
=""
49620 COND_PLATFORM_MAC_1
="#"
49621 if test "x$PLATFORM_MAC" = "x1" ; then
49622 COND_PLATFORM_MAC_1
=""
49625 COND_PLATFORM_MSDOS_0
="#"
49626 if test "x$PLATFORM_MSDOS" = "x0" ; then
49627 COND_PLATFORM_MSDOS_0
=""
49630 COND_PLATFORM_MSDOS_1
="#"
49631 if test "x$PLATFORM_MSDOS" = "x1" ; then
49632 COND_PLATFORM_MSDOS_1
=""
49635 COND_PLATFORM_OS2_1
="#"
49636 if test "x$PLATFORM_OS2" = "x1" ; then
49637 COND_PLATFORM_OS2_1
=""
49640 COND_PLATFORM_UNIX_0
="#"
49641 if test "x$PLATFORM_UNIX" = "x0" ; then
49642 COND_PLATFORM_UNIX_0
=""
49645 COND_PLATFORM_UNIX_1
="#"
49646 if test "x$PLATFORM_UNIX" = "x1" ; then
49647 COND_PLATFORM_UNIX_1
=""
49650 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49651 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49652 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49655 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49656 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49657 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49660 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49661 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49662 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49665 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49666 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49667 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49670 COND_PLATFORM_WIN32_0
="#"
49671 if test "x$PLATFORM_WIN32" = "x0" ; then
49672 COND_PLATFORM_WIN32_0
=""
49675 COND_PLATFORM_WIN32_1
="#"
49676 if test "x$PLATFORM_WIN32" = "x1" ; then
49677 COND_PLATFORM_WIN32_1
=""
49681 if test "x$SHARED" = "x0" ; then
49685 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49686 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49687 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49690 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49691 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49692 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49695 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49696 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49697 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49700 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49701 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49702 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49705 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
49706 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49707 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
49710 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
49711 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49712 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
49715 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
49716 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49717 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
49720 COND_SHARED_0_USE_STC_1
="#"
49721 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49722 COND_SHARED_0_USE_STC_1
=""
49725 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
49726 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49727 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
49730 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
49731 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49732 COND_SHARED_0_wxUSE_REGEX_builtin
=""
49735 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
49736 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49737 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
49741 if test "x$SHARED" = "x1" ; then
49745 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49746 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49747 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49751 if test "x$TOOLKIT" = "x" ; then
49755 COND_TOOLKIT_COCOA
="#"
49756 if test "x$TOOLKIT" = "xCOCOA" ; then
49757 COND_TOOLKIT_COCOA
=""
49760 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49761 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49762 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49765 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49766 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49767 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49770 COND_TOOLKIT_DFB
="#"
49771 if test "x$TOOLKIT" = "xDFB" ; then
49772 COND_TOOLKIT_DFB
=""
49775 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49776 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49777 COND_TOOLKIT_DFB_USE_GUI_1
=""
49780 COND_TOOLKIT_GTK
="#"
49781 if test "x$TOOLKIT" = "xGTK" ; then
49782 COND_TOOLKIT_GTK
=""
49785 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49786 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49791 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49796 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49801 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49805 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49806 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49807 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49810 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49811 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49812 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49815 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49816 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49817 COND_TOOLKIT_GTK_USE_GUI_1
=""
49820 COND_TOOLKIT_MAC
="#"
49821 if test "x$TOOLKIT" = "xMAC" ; then
49822 COND_TOOLKIT_MAC
=""
49825 COND_TOOLKIT_MGL
="#"
49826 if test "x$TOOLKIT" = "xMGL" ; then
49827 COND_TOOLKIT_MGL
=""
49830 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49831 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49832 COND_TOOLKIT_MGL_USE_GUI_1
=""
49835 COND_TOOLKIT_MOTIF
="#"
49836 if test "x$TOOLKIT" = "xMOTIF" ; then
49837 COND_TOOLKIT_MOTIF
=""
49840 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49841 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49842 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49845 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49846 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49847 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49850 COND_TOOLKIT_MSW
="#"
49851 if test "x$TOOLKIT" = "xMSW" ; then
49852 COND_TOOLKIT_MSW
=""
49855 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49856 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49857 COND_TOOLKIT_MSW_USE_GUI_1
=""
49860 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49861 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49862 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49865 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49866 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49867 COND_TOOLKIT_MSW_WXUNIV_0
=""
49870 COND_TOOLKIT_OSX_CARBON
="#"
49871 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
49872 COND_TOOLKIT_OSX_CARBON
=""
49875 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49876 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49877 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49880 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49881 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49882 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49885 COND_TOOLKIT_OSX_COCOA
="#"
49886 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
49887 COND_TOOLKIT_OSX_COCOA
=""
49890 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49891 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49892 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49895 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49896 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49897 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49900 COND_TOOLKIT_OSX_IPHONE
="#"
49901 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
49902 COND_TOOLKIT_OSX_IPHONE
=""
49905 COND_TOOLKIT_PM
="#"
49906 if test "x$TOOLKIT" = "xPM" ; then
49910 COND_TOOLKIT_PM_USE_GUI_1
="#"
49911 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49912 COND_TOOLKIT_PM_USE_GUI_1
=""
49915 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49916 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49917 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49920 COND_TOOLKIT_WINCE
="#"
49921 if test "x$TOOLKIT" = "xWINCE" ; then
49922 COND_TOOLKIT_WINCE
=""
49925 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49926 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49927 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49931 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49932 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49935 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49936 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49937 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49940 COND_TOOLKIT_X11
="#"
49941 if test "x$TOOLKIT" = "xX11" ; then
49942 COND_TOOLKIT_X11
=""
49945 COND_TOOLKIT_X11_USE_GUI_1
="#"
49946 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49947 COND_TOOLKIT_X11_USE_GUI_1
=""
49951 if test "x$UNICODE" = "x1" ; then
49955 COND_USE_EXCEPTIONS_0
="#"
49956 if test "x$USE_EXCEPTIONS" = "x0" ; then
49957 COND_USE_EXCEPTIONS_0
=""
49960 COND_USE_EXCEPTIONS_1
="#"
49961 if test "x$USE_EXCEPTIONS" = "x1" ; then
49962 COND_USE_EXCEPTIONS_1
=""
49966 if test "x$USE_GUI" = "x0" ; then
49971 if test "x$USE_GUI" = "x1" ; then
49975 COND_USE_GUI_1_USE_OPENGL_1
="#"
49976 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49977 COND_USE_GUI_1_USE_OPENGL_1
=""
49980 COND_USE_GUI_1_WXUNIV_0
="#"
49981 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49982 COND_USE_GUI_1_WXUNIV_0
=""
49985 COND_USE_GUI_1_WXUNIV_1
="#"
49986 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49987 COND_USE_GUI_1_WXUNIV_1
=""
49990 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49991 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49992 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49995 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49996 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49997 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50000 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50001 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50002 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50005 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50006 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50007 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50010 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50011 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50012 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50015 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50016 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50017 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50020 COND_USE_OPENGL_1
="#"
50021 if test "x$USE_OPENGL" = "x1" ; then
50022 COND_USE_OPENGL_1
=""
50026 if test "x$USE_PCH" = "x1" ; then
50030 COND_USE_PLUGINS_0
="#"
50031 if test "x$USE_PLUGINS" = "x0" ; then
50032 COND_USE_PLUGINS_0
=""
50035 COND_USE_RTTI_0
="#"
50036 if test "x$USE_RTTI" = "x0" ; then
50040 COND_USE_RTTI_1
="#"
50041 if test "x$USE_RTTI" = "x1" ; then
50045 COND_USE_SOSYMLINKS_1
="#"
50046 if test "x$USE_SOSYMLINKS" = "x1" ; then
50047 COND_USE_SOSYMLINKS_1
=""
50050 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50051 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50052 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50055 COND_USE_SOVERLINUX_1
="#"
50056 if test "x$USE_SOVERLINUX" = "x1" ; then
50057 COND_USE_SOVERLINUX_1
=""
50060 COND_USE_SOVERSION_0
="#"
50061 if test "x$USE_SOVERSION" = "x0" ; then
50062 COND_USE_SOVERSION_0
=""
50065 COND_USE_SOVERSOLARIS_1
="#"
50066 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50067 COND_USE_SOVERSOLARIS_1
=""
50071 if test "x$USE_STC" = "x1" ; then
50075 COND_USE_THREADS_0
="#"
50076 if test "x$USE_THREADS" = "x0" ; then
50077 COND_USE_THREADS_0
=""
50080 COND_USE_THREADS_1
="#"
50081 if test "x$USE_THREADS" = "x1" ; then
50082 COND_USE_THREADS_1
=""
50086 if test "x$USE_XRC" = "x1" ; then
50090 COND_WINDOWS_IMPLIB_1
="#"
50091 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50092 COND_WINDOWS_IMPLIB_1
=""
50095 COND_WITH_PLUGIN_SDL_1
="#"
50096 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50097 COND_WITH_PLUGIN_SDL_1
=""
50101 if test "x$WXUNIV" = "x0" ; then
50106 if test "x$WXUNIV" = "x1" ; then
50110 COND_WXUSE_EXPAT_BUILTIN
="#"
50111 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50112 COND_WXUSE_EXPAT_BUILTIN
=""
50115 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50116 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50117 COND_WXUSE_LIBJPEG_BUILTIN
=""
50120 COND_WXUSE_LIBPNG_BUILTIN
="#"
50121 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50122 COND_WXUSE_LIBPNG_BUILTIN
=""
50125 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50126 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50127 COND_WXUSE_LIBTIFF_BUILTIN
=""
50130 COND_WXUSE_REGEX_BUILTIN
="#"
50131 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50132 COND_WXUSE_REGEX_BUILTIN
=""
50135 COND_WXUSE_ZLIB_BUILTIN
="#"
50136 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50137 COND_WXUSE_ZLIB_BUILTIN
=""
50140 COND_wxUSE_EXPAT_builtin
="#"
50141 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50142 COND_wxUSE_EXPAT_builtin
=""
50145 COND_wxUSE_LIBJPEG_builtin
="#"
50146 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50147 COND_wxUSE_LIBJPEG_builtin
=""
50150 COND_wxUSE_LIBPNG_builtin
="#"
50151 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50152 COND_wxUSE_LIBPNG_builtin
=""
50155 COND_wxUSE_LIBTIFF_builtin
="#"
50156 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50157 COND_wxUSE_LIBTIFF_builtin
=""
50160 COND_wxUSE_REGEX_builtin
="#"
50161 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50162 COND_wxUSE_REGEX_builtin
=""
50165 COND_wxUSE_ZLIB_builtin
="#"
50166 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50167 COND_wxUSE_ZLIB_builtin
=""
50172 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50173 { { 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
50174 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;}
50175 { (exit 1); exit 1; }; }
50178 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50179 { { 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
50180 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;}
50181 { (exit 1); exit 1; }; }
50188 ?
:* ) # Drive letter, considered as absolute.
50191 INSTALL
=`pwd`/${INSTALL} ;;
50194 if test "$wxUSE_GUI" = "yes"; then
50196 if test "$wxUSE_MSW" = 1 ; then
50197 if test "x$WINDRES" = "x"; then
50198 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50199 echo "$as_me: error: Required windres program not found" >&2;}
50200 { (exit 1); exit 1; }; }
50206 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50207 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50208 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50210 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50212 # Extract the first word of "DeRez", so it can be a program name with args.
50213 set dummy DeRez
; ac_word
=$2
50214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50216 if test "${ac_cv_prog_DEREZ+set}" = set; then
50217 echo $ECHO_N "(cached) $ECHO_C" >&6
50219 if test -n "$DEREZ"; then
50220 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50223 for as_dir
in $PATH
50226 test -z "$as_dir" && as_dir
=.
50227 for ac_exec_ext
in '' $ac_executable_extensions; do
50228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50229 ac_cv_prog_DEREZ
="DeRez"
50230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50237 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50240 DEREZ
=$ac_cv_prog_DEREZ
50241 if test -n "$DEREZ"; then
50242 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50243 echo "${ECHO_T}$DEREZ" >&6; }
50245 { echo "$as_me:$LINENO: result: no" >&5
50246 echo "${ECHO_T}no" >&6; }
50251 MACSETFILE
="\$(SETFILE)"
50253 if test "$wxUSE_OSX_CARBON" = 1; then
50254 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50256 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50258 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50259 RESCOMP
="cat /dev/null \| $REZ"
50260 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50266 if test "$wxUSE_PM" = 1; then
50268 WXCONFIG_RESFLAGS
="-ep"
50270 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50272 POSTLINK_COMMAND
="@true"
50279 if test $GCC_PCH = 1
50281 if test "$wx_cv_gcc_pch_bug" = yes; then
50282 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50283 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50284 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50285 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50286 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50287 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50290 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50291 # the headers that benefit from precompilation are mostly C++ headers.
50292 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50293 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50294 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50298 if test "$wxUSE_MAC" = 1 ; then
50299 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50300 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50306 if test "$wxUSE_SHARED" = "yes"; then
50308 *-pc-os2_emx | *-pc-os2-emx )
50309 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50310 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50311 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50312 cp -p ${srcdir}/src
/os
2/dllar.sh .
50316 if test "$wxUSE_OMF" = "yes"; then
50318 *-pc-os2_emx | *-pc-os2-emx )
50319 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50320 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50321 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50326 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50331 if test "$GCC" = yes; then
50332 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50333 LIBS
=`echo $LIBS | sed 's/-mt//'`
50334 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50339 if test "x$SUNCXX" = xyes
; then
50340 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50341 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50342 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50347 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50348 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50349 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50350 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50352 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50413 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50414 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50415 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50416 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50417 echo $ECHO_N "(cached) $ECHO_C" >&6
50419 cat >conftest.
make <<\_ACEOF
50422 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50424 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50425 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50426 *@@@
%%%=?
*=@@@
%%%*)
50427 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50429 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50431 rm -f conftest.
make
50433 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50434 { echo "$as_me:$LINENO: result: yes" >&5
50435 echo "${ECHO_T}yes" >&6; }
50438 { echo "$as_me:$LINENO: result: no" >&5
50439 echo "${ECHO_T}no" >&6; }
50440 SET_MAKE
="MAKE=${MAKE-make}"
50445 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50448 if test "$USE_WIN32" = 1; then
50449 ac_config_commands
="$ac_config_commands
50455 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50458 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50461 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50464 if test "$wx_cv_version_script" = "yes"; then
50465 ac_config_files
="$ac_config_files version-script"
50468 ac_config_files
="$ac_config_files Makefile"
50471 ac_config_commands
="$ac_config_commands wx-config"
50475 if test "$wxWITH_SUBDIRS" != "no"; then
50476 if test "$wxUSE_GUI" = "yes"; then
50477 SUBDIRS
="samples demos utils"
50479 SUBDIRS
="samples utils"
50484 # Check whether --with-cppunit-prefix was given.
50485 if test "${with_cppunit_prefix+set}" = set; then
50486 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50488 cppunit_config_prefix
=""
50492 # Check whether --with-cppunit-exec-prefix was given.
50493 if test "${with_cppunit_exec_prefix+set}" = set; then
50494 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50496 cppunit_config_exec_prefix
=""
50500 if test x
$cppunit_config_exec_prefix != x
; then
50501 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50502 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50503 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50506 if test x
$cppunit_config_prefix != x
; then
50507 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50508 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50509 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50513 # Extract the first word of "cppunit-config", so it can be a program name with args.
50514 set dummy cppunit
-config; ac_word
=$2
50515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50517 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50518 echo $ECHO_N "(cached) $ECHO_C" >&6
50520 case $CPPUNIT_CONFIG in
50522 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50526 for as_dir
in $PATH
50529 test -z "$as_dir" && as_dir
=.
50530 for ac_exec_ext
in '' $ac_executable_extensions; do
50531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50532 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50540 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50544 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50545 if test -n "$CPPUNIT_CONFIG"; then
50546 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50547 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50549 { echo "$as_me:$LINENO: result: no" >&5
50550 echo "${ECHO_T}no" >&6; }
50554 cppunit_version_min
=1.8.0
50556 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50557 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50559 if test "$CPPUNIT_CONFIG" = "no" ; then
50560 { echo "$as_me:$LINENO: result: no" >&5
50561 echo "${ECHO_T}no" >&6; }
50564 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50565 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50566 cppunit_version
=`$CPPUNIT_CONFIG --version`
50568 cppunit_major_version
=`echo $cppunit_version | \
50569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50570 cppunit_minor_version
=`echo $cppunit_version | \
50571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50572 cppunit_micro_version
=`echo $cppunit_version | \
50573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50575 cppunit_major_min
=`echo $cppunit_version_min | \
50576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50577 cppunit_minor_min
=`echo $cppunit_version_min | \
50578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50579 cppunit_micro_min
=`echo $cppunit_version_min | \
50580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50582 cppunit_version_proper
=`expr \
50583 $cppunit_major_version \> $cppunit_major_min \| \
50584 $cppunit_major_version \= $cppunit_major_min \& \
50585 $cppunit_minor_version \> $cppunit_minor_min \| \
50586 $cppunit_major_version \= $cppunit_major_min \& \
50587 $cppunit_minor_version \= $cppunit_minor_min \& \
50588 $cppunit_micro_version \>= $cppunit_micro_min `
50590 if test "$cppunit_version_proper" = "1" ; then
50591 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50592 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50594 { echo "$as_me:$LINENO: result: no" >&5
50595 echo "${ECHO_T}no" >&6; }
50600 if test "x$no_cppunit" = x
; then
50601 SUBDIRS
="$SUBDIRS tests"
50612 for subdir
in $SUBDIRS; do
50613 if test -d ${srcdir}/${subdir} ; then
50614 if test "$wxUSE_GUI" = "yes"; then
50615 if test ${subdir} = "samples"; then
50616 makefiles
="samples/Makefile.in $makefiles"
50617 for sample
in $SAMPLES_SUBDIRS; do
50618 if test -d $srcdir/samples
/$sample; then
50619 makefiles
="samples/$sample/Makefile.in $makefiles"
50623 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50624 eval "disabled=\$$disabled_var"
50625 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50626 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50629 if test ${subdir} = "samples"; then
50630 makefiles
="samples/Makefile.in $makefiles"
50631 for sample
in `echo $SAMPLES_SUBDIRS`; do
50632 if test -d $srcdir/samples
/$sample; then
50633 makefiles
="samples/$sample/Makefile.in $makefiles"
50636 elif test ${subdir} = "utils"; then
50638 for util
in ifacecheck
; do
50639 if test -d $srcdir/utils
/$util ; then
50640 makefiles
="utils/$util/src/Makefile.in \
50645 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50649 for mkin
in $makefiles ; do
50650 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50651 ac_config_files
="$ac_config_files $mk"
50657 cat >confcache
<<\_ACEOF
50658 # This file is a shell script that caches the results of configure
50659 # tests run on this system so they can be shared between configure
50660 # scripts and configure runs, see configure's option --config-cache.
50661 # It is not useful on other systems. If it contains results you don't
50662 # want to keep, you may remove or edit it.
50664 # config.status only pays attention to the cache file if you give it
50665 # the --recheck option to rerun configure.
50667 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50668 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50669 # following values.
50673 # The following way of writing the cache mishandles newlines in values,
50674 # but we know of no workaround that is simple, portable, and efficient.
50675 # So, we kill variables containing newlines.
50676 # Ultrix sh set writes to stderr and can't be redirected directly,
50677 # and sets the high bit in the cache file unless we assign to the vars.
50679 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50680 eval ac_val
=\$
$ac_var
50684 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50685 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50688 _
| IFS
| as_nl
) ;; #(
50689 *) $as_unset $ac_var ;;
50695 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50696 *${as_nl}ac_space
=\
*)
50697 # `set' does not quote correctly, so add quotes (double-quote
50698 # substitution turns \\\\ into \\, and sed turns \\ into \).
50701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50704 # `set' quotes correctly as required by POSIX, so do not add quotes.
50705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50716 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50718 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50719 if test -w "$cache_file"; then
50720 test "x$cache_file" != "x/dev/null" &&
50721 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50722 echo "$as_me: updating cache $cache_file" >&6;}
50723 cat confcache
>$cache_file
50725 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50726 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50731 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50732 # Let make expand exec_prefix.
50733 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50735 DEFS
=-DHAVE_CONFIG_H
50739 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50740 # 1. Remove the extension, and $U if already installed.
50741 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50742 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50743 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50744 # will be set to the directory where LIBOBJS objects are built.
50745 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50746 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50748 LIBOBJS
=$ac_libobjs
50750 LTLIBOBJS
=$ac_ltlibobjs
50754 : ${CONFIG_STATUS=./config.status}
50755 ac_clean_files_save
=$ac_clean_files
50756 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50757 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50758 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50759 cat >$CONFIG_STATUS <<_ACEOF
50761 # Generated by $as_me.
50762 # Run this file to recreate the current configuration.
50763 # Compiler output produced by configure, useful for debugging
50764 # configure, is in config.log if it exists.
50767 ac_cs_recheck=false
50769 SHELL=\${CONFIG_SHELL-$SHELL}
50772 cat >>$CONFIG_STATUS <<\_ACEOF
50773 ## --------------------- ##
50774 ## M4sh Initialization. ##
50775 ## --------------------- ##
50777 # Be more Bourne compatible
50778 DUALCASE
=1; export DUALCASE
# for MKS sh
50779 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50782 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50783 # is contrary to our usage. Disable this feature.
50784 alias -g '${1+"$@"}'='"$@"'
50785 setopt NO_GLOB_SUBST
50787 case `(set -o) 2>/dev/null` in
50788 *posix
*) set -o posix
;;
50797 # Avoid depending upon Character Ranges.
50798 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50799 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50800 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50801 as_cr_digits
='0123456789'
50802 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50804 # The user is always right.
50805 if test "${PATH_SEPARATOR+set}" != set; then
50806 echo "#! /bin/sh" >conf$$.sh
50807 echo "exit 0" >>conf$$.sh
50809 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50817 # Support unset when possible.
50818 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50826 # We need space, tab and new line, in precisely that order. Quoting is
50827 # there to prevent editors from complaining about space-tab.
50828 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50829 # splitting by setting IFS to empty value.)
50834 # Find who we are. Look in the path if we contain no directory separator.
50836 *[\\/]* ) as_myself
=$0 ;;
50837 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50838 for as_dir
in $PATH
50841 test -z "$as_dir" && as_dir
=.
50842 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50848 # We did not find ourselves, most probably we were run as `sh COMMAND'
50849 # in which case we are not to be found in the path.
50850 if test "x$as_myself" = x
; then
50853 if test ! -f "$as_myself"; then
50854 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50855 { (exit 1); exit 1; }
50858 # Work around bugs in pre-3.0 UWIN ksh.
50859 for as_var
in ENV MAIL MAILPATH
50860 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50868 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50869 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50870 LC_TELEPHONE LC_TIME
50872 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50873 eval $as_var=C
; export $as_var
50875 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50879 # Required to use basename.
50880 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50881 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50887 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50888 as_basename
=basename
50894 # Name of the executable.
50895 as_me
=`$as_basename -- "$0" ||
50896 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50897 X"$0" : 'X\(//\)$' \| \
50898 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50900 sed '/^.*\/\([^/][^/]*\)\/*$/{
50919 as_lineno_1
=$LINENO
50920 as_lineno_2
=$LINENO
50921 test "x$as_lineno_1" != "x$as_lineno_2" &&
50922 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50924 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50925 # uniformly replaced by the line number. The first 'sed' inserts a
50926 # line-number line after each line using $LINENO; the second 'sed'
50927 # does the real work. The second script uses 'N' to pair each
50928 # line-number line with the line containing $LINENO, and appends
50929 # trailing '-' during substitution so that $LINENO is not a special
50930 # case at line end.
50931 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50932 # scripts with optimization help from Paolo Bonzini. Blame Lee
50933 # E. McMahon (1931-1989) for sed's syntax. :-)
50945 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50948 ' >$as_me.lineno
&&
50949 chmod +x
"$as_me.lineno" ||
50950 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50951 { (exit 1); exit 1; }; }
50953 # Don't try to exec as it changes $[0], causing all sort of problems
50954 # (the dirname of $[0] is not the place where we might find the
50955 # original and so on. Autoconf is especially sensitive to this).
50956 .
"./$as_me.lineno"
50957 # Exit status is that of the last command.
50962 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50968 ECHO_C
= ECHO_N
= ECHO_T
=
50969 case `echo -n x` in
50971 case `echo 'x\c'` in
50972 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50979 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50980 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50986 rm -f conf$$ conf$$.exe conf$$.
file
50987 if test -d conf$$.dir
; then
50988 rm -f conf$$.dir
/conf$$.
file
50994 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50996 # ... but there are two gotchas:
50997 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50998 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50999 # In both cases, we have to default to `cp -p'.
51000 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51002 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51007 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51008 rmdir conf$$.dir
2>/dev
/null
51010 if mkdir -p .
2>/dev
/null
; then
51013 test -d .
/-p && rmdir .
/-p
51017 if test -x / >/dev
/null
2>&1; then
51018 as_test_x
='test -x'
51020 if ls -dL / >/dev
/null
2>&1; then
51027 if test -d "$1"; then
51033 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51034 ???[sx]*):;;*)false;;esac;fi
51038 as_executable_p
=$as_test_x
51040 # Sed expression to map a string onto a valid CPP name.
51041 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51043 # Sed expression to map a string onto a valid variable name.
51044 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51049 # Save the log message, to keep $[0] and so on meaningful, and to
51050 # report actual input values of CONFIG_FILES etc. instead of their
51051 # values after options handling.
51053 This file was extended by wxWidgets $as_me 2.9.0, which was
51054 generated by GNU Autoconf 2.61. Invocation command line was
51056 CONFIG_FILES = $CONFIG_FILES
51057 CONFIG_HEADERS = $CONFIG_HEADERS
51058 CONFIG_LINKS = $CONFIG_LINKS
51059 CONFIG_COMMANDS = $CONFIG_COMMANDS
51062 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51067 cat >>$CONFIG_STATUS <<_ACEOF
51068 # Files that config.status was made for.
51069 config_files="$ac_config_files"
51070 config_headers="$ac_config_headers"
51071 config_commands="$ac_config_commands"
51075 cat >>$CONFIG_STATUS <<\_ACEOF
51077 \`$as_me' instantiates files from templates according to the
51078 current configuration.
51080 Usage: $0 [OPTIONS] [FILE]...
51082 -h, --help print this help, then exit
51083 -V, --version print version number and configuration settings, then exit
51084 -q, --quiet do not print progress messages
51085 -d, --debug don't remove temporary files
51086 --recheck update $as_me by reconfiguring in the same conditions
51087 --file=FILE[:TEMPLATE]
51088 instantiate the configuration file FILE
51089 --header=FILE[:TEMPLATE]
51090 instantiate the configuration header FILE
51092 Configuration files:
51095 Configuration headers:
51098 Configuration commands:
51101 Report bugs to <bug-autoconf@gnu.org>."
51104 cat >>$CONFIG_STATUS <<_ACEOF
51106 wxWidgets config.status 2.9.0
51107 configured by $0, generated by GNU Autoconf 2.61,
51108 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51110 Copyright (C) 2006 Free Software Foundation, Inc.
51111 This config.status script is free software; the Free Software Foundation
51112 gives unlimited permission to copy, distribute and modify it."
51119 cat >>$CONFIG_STATUS <<\_ACEOF
51120 # If no file are specified by the user, then we need to provide default
51121 # value. By we need to know if files were specified by the user.
51127 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51128 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51139 # Handling of the options.
51140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51142 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51143 echo "$ac_cs_version"; exit ;;
51144 --debug | --debu | --deb | --de | --d | -d )
51146 --file | --fil | --fi | --f )
51148 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51149 ac_need_defaults
=false
;;
51150 --header | --heade | --head | --hea )
51152 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51153 ac_need_defaults
=false
;;
51155 # Conflict between --help and --header
51156 { echo "$as_me: error: ambiguous option: $1
51157 Try \`$0 --help' for more information." >&2
51158 { (exit 1); exit 1; }; };;
51159 --help | --hel | -h )
51160 echo "$ac_cs_usage"; exit ;;
51161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51162 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51165 # This is an error.
51166 -*) { echo "$as_me: error: unrecognized option: $1
51167 Try \`$0 --help' for more information." >&2
51168 { (exit 1); exit 1; }; } ;;
51170 *) ac_config_targets
="$ac_config_targets $1"
51171 ac_need_defaults
=false
;;
51177 ac_configure_extra_args
=
51179 if $ac_cs_silent; then
51181 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51185 cat >>$CONFIG_STATUS <<_ACEOF
51186 if \$ac_cs_recheck; then
51187 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51188 CONFIG_SHELL=$SHELL
51189 export CONFIG_SHELL
51190 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51194 cat >>$CONFIG_STATUS <<\_ACEOF
51198 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51199 ## Running $as_me. ##
51205 cat >>$CONFIG_STATUS <<_ACEOF
51211 infile="$srcdir/include/wx/msw/genrcdefs.h"
51212 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51215 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51216 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51217 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51223 cat >>$CONFIG_STATUS <<\_ACEOF
51225 # Handling of arguments.
51226 for ac_config_target
in $ac_config_targets
51228 case $ac_config_target in
51229 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51230 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51231 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51232 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51233 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51234 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51235 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51236 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51237 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51239 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51240 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51241 { (exit 1); exit 1; }; };;
51246 # If the user did not use the arguments to specify the items to instantiate,
51247 # then the envvar interface is used. Set only those that are not.
51248 # We use the long form for the default assignment because of an extremely
51249 # bizarre bug on SunOS 4.1.3.
51250 if $ac_need_defaults; then
51251 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51252 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51253 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51256 # Have a temporary directory for convenience. Make it in the build tree
51257 # simply because there is no reason against having it here, and in addition,
51258 # creating and moving files from /tmp can sometimes cause problems.
51259 # Hook for its removal unless debugging.
51260 # Note that there is a small window in which the directory will not be cleaned:
51261 # after its creation but before its name has been assigned to `$tmp'.
51265 trap 'exit_status=$?
51266 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51268 trap '{ (exit 1); exit 1; }' 1 2 13 15
51270 # Create a (secure) tmp directory for tmp files.
51273 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51274 test -n "$tmp" && test -d "$tmp"
51277 tmp
=.
/conf$$
-$RANDOM
51278 (umask 077 && mkdir "$tmp")
51281 echo "$me: cannot create a temporary directory in ." >&2
51282 { (exit 1); exit 1; }
51286 # Set up the sed scripts for CONFIG_FILES section.
51289 # No need to generate the scripts if there are no CONFIG_FILES.
51290 # This happens for instance when ./config.status config.h
51291 if test -n "$CONFIG_FILES"; then
51298 for ac_last_try
in false false false false false
:; do
51299 cat >conf$
$subs.
sed <<_ACEOF
51300 SHELL!$SHELL$ac_delim
51301 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51302 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51303 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51304 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51305 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51306 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51307 exec_prefix!$exec_prefix$ac_delim
51308 prefix!$prefix$ac_delim
51309 program_transform_name!$program_transform_name$ac_delim
51310 bindir!$bindir$ac_delim
51311 sbindir!$sbindir$ac_delim
51312 libexecdir!$libexecdir$ac_delim
51313 datarootdir!$datarootdir$ac_delim
51314 datadir!$datadir$ac_delim
51315 sysconfdir!$sysconfdir$ac_delim
51316 sharedstatedir!$sharedstatedir$ac_delim
51317 localstatedir!$localstatedir$ac_delim
51318 includedir!$includedir$ac_delim
51319 oldincludedir!$oldincludedir$ac_delim
51320 docdir!$docdir$ac_delim
51321 infodir!$infodir$ac_delim
51322 htmldir!$htmldir$ac_delim
51323 dvidir!$dvidir$ac_delim
51324 pdfdir!$pdfdir$ac_delim
51325 psdir!$psdir$ac_delim
51326 libdir!$libdir$ac_delim
51327 localedir!$localedir$ac_delim
51328 mandir!$mandir$ac_delim
51329 DEFS!$DEFS$ac_delim
51330 ECHO_C!$ECHO_C$ac_delim
51331 ECHO_N!$ECHO_N$ac_delim
51332 ECHO_T!$ECHO_T$ac_delim
51333 LIBS!$LIBS$ac_delim
51334 build_alias!$build_alias$ac_delim
51335 host_alias!$host_alias$ac_delim
51336 target_alias!$target_alias$ac_delim
51337 build!$build$ac_delim
51338 build_cpu!$build_cpu$ac_delim
51339 build_vendor!$build_vendor$ac_delim
51340 build_os!$build_os$ac_delim
51341 host!$host$ac_delim
51342 host_cpu!$host_cpu$ac_delim
51343 host_vendor!$host_vendor$ac_delim
51344 host_os!$host_os$ac_delim
51345 target!$target$ac_delim
51346 target_cpu!$target_cpu$ac_delim
51347 target_vendor!$target_vendor$ac_delim
51348 target_os!$target_os$ac_delim
51349 wx_top_builddir!$wx_top_builddir$ac_delim
51351 CFLAGS!$CFLAGS$ac_delim
51352 LDFLAGS!$LDFLAGS$ac_delim
51353 CPPFLAGS!$CPPFLAGS$ac_delim
51354 ac_ct_CC!$ac_ct_CC$ac_delim
51355 EXEEXT!$EXEEXT$ac_delim
51356 OBJEXT!$OBJEXT$ac_delim
51358 GREP!$GREP$ac_delim
51359 EGREP!$EGREP$ac_delim
51361 CXXFLAGS!$CXXFLAGS$ac_delim
51362 ac_ct_CXX!$ac_ct_CXX$ac_delim
51364 subdirs!$subdirs$ac_delim
51365 PKG_CONFIG!$PKG_CONFIG$ac_delim
51366 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51367 GTK_LIBS!$GTK_LIBS$ac_delim
51368 GTK_CONFIG!$GTK_CONFIG$ac_delim
51369 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51370 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51371 XMKMF!$XMKMF$ac_delim
51372 X_CFLAGS!$X_CFLAGS$ac_delim
51373 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51374 X_LIBS!$X_LIBS$ac_delim
51375 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51376 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51377 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51378 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51379 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51380 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51381 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51382 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51383 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51384 LIBICONV!$LIBICONV$ac_delim
51385 SDL_CONFIG!$SDL_CONFIG$ac_delim
51386 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51387 SDL_LIBS!$SDL_LIBS$ac_delim
51388 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51389 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51390 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51391 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51392 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51393 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51394 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51395 HILDON_LIBS!$HILDON_LIBS$ac_delim
51396 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51399 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51401 elif $ac_last_try; then
51402 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51403 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51404 { (exit 1); exit 1; }; }
51406 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51410 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51411 if test -n "$ac_eof"; then
51412 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51413 ac_eof
=`expr $ac_eof + 1`
51416 cat >>$CONFIG_STATUS <<_ACEOF
51417 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51421 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51422 s/^/s,@/; s/!/@,|#_!!_#|/
51425 s/'"$ac_delim"'$/,g/; t
51427 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51428 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51429 rm -f conf$
$subs.
sed
51430 cat >>$CONFIG_STATUS <<_ACEOF
51436 for ac_last_try
in false false false false false
:; do
51437 cat >conf$
$subs.
sed <<_ACEOF
51438 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51439 GST_CFLAGS!$GST_CFLAGS$ac_delim
51440 GST_LIBS!$GST_LIBS$ac_delim
51441 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51442 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51443 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51444 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51445 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51446 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51447 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51448 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51449 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51450 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51451 VENDOR!$VENDOR$ac_delim
51452 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51453 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51454 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51455 WXUNIV!$WXUNIV$ac_delim
51456 MONOLITHIC!$MONOLITHIC$ac_delim
51457 USE_PLUGINS!$USE_PLUGINS$ac_delim
51458 CXXWARNINGS!$CXXWARNINGS$ac_delim
51459 EXTRALIBS!$EXTRALIBS$ac_delim
51460 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51461 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51462 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51463 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51464 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51465 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51466 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51467 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51468 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51469 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51470 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51471 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51472 UNICODE!$UNICODE$ac_delim
51473 BUILD!$BUILD$ac_delim
51474 DEBUG_INFO!$DEBUG_INFO$ac_delim
51475 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51476 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51477 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51478 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51479 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51480 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51481 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51482 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51483 RANLIB!$RANLIB$ac_delim
51484 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51485 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51486 INSTALL_DATA!$INSTALL_DATA$ac_delim
51487 LN_S!$LN_S$ac_delim
51488 SET_MAKE!$SET_MAKE$ac_delim
51489 MAKE_SET!$MAKE_SET$ac_delim
51490 AROPTIONS!$AROPTIONS$ac_delim
51491 STRIP!$STRIP$ac_delim
51493 INSTALL_DIR!$INSTALL_DIR$ac_delim
51494 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51495 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51496 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51497 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51498 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51499 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51500 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51501 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51502 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51503 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51504 SO_SUFFIX!$SO_SUFFIX$ac_delim
51505 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51506 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51507 LIBPREFIX!$LIBPREFIX$ac_delim
51508 LIBEXT!$LIBEXT$ac_delim
51509 DLLPREFIX!$DLLPREFIX$ac_delim
51510 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51511 dlldir!$dlldir$ac_delim
51512 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51513 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51514 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51515 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51516 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51517 PIC_FLAG!$PIC_FLAG$ac_delim
51518 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51519 USE_SOVERSION!$USE_SOVERSION$ac_delim
51520 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51521 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51522 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51523 USE_MACVERSION!$USE_MACVERSION$ac_delim
51524 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51525 SONAME_FLAG!$SONAME_FLAG$ac_delim
51526 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51527 BK_DEPS!$BK_DEPS$ac_delim
51528 WINDRES!$WINDRES$ac_delim
51530 SETFILE!$SETFILE$ac_delim
51531 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51532 GCC_PCH!$GCC_PCH$ac_delim
51533 ICC_PCH!$ICC_PCH$ac_delim
51534 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51537 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51539 elif $ac_last_try; then
51540 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51541 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51542 { (exit 1); exit 1; }; }
51544 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51548 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51549 if test -n "$ac_eof"; then
51550 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51551 ac_eof
=`expr $ac_eof + 1`
51554 cat >>$CONFIG_STATUS <<_ACEOF
51555 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51556 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51559 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51560 s/^/s,@/; s/!/@,|#_!!_#|/
51563 s/'"$ac_delim"'$/,g/; t
51565 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51566 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51567 rm -f conf$
$subs.
sed
51568 cat >>$CONFIG_STATUS <<_ACEOF
51574 for ac_last_try
in false false false false false
:; do
51575 cat >conf$
$subs.
sed <<_ACEOF
51576 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51577 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51578 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51579 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51580 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51581 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51582 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51583 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51584 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51585 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51586 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51587 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51588 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51589 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51590 COND_BUILD_release!$COND_BUILD_release$ac_delim
51591 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51592 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51593 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51594 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51595 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51596 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51597 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51598 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51599 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51600 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51601 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51602 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51603 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51604 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51605 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51606 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51607 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51608 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51609 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51610 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51611 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51612 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51613 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51614 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51615 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51616 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51617 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51618 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51619 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51620 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51621 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51622 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51623 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51624 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51625 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51626 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51627 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51628 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51629 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51630 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51631 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51632 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51633 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51634 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51635 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51636 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51637 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51638 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51639 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51640 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51641 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51642 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
51643 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51644 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
51645 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51646 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51647 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51648 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51649 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51650 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51651 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51652 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51653 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51654 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51655 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51656 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51657 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51658 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51659 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51660 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51661 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51662 COND_SHARED_0!$COND_SHARED_0$ac_delim
51663 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51664 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51665 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51666 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51667 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51668 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51669 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51670 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51671 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
51672 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
51675 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51677 elif $ac_last_try; then
51678 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51679 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51680 { (exit 1); exit 1; }; }
51682 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51686 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51687 if test -n "$ac_eof"; then
51688 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51689 ac_eof
=`expr $ac_eof + 1`
51692 cat >>$CONFIG_STATUS <<_ACEOF
51693 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51694 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51697 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51698 s/^/s,@/; s/!/@,|#_!!_#|/
51701 s/'"$ac_delim"'$/,g/; t
51703 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51704 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51705 rm -f conf$
$subs.
sed
51706 cat >>$CONFIG_STATUS <<_ACEOF
51712 for ac_last_try
in false false false false false
:; do
51713 cat >conf$
$subs.
sed <<_ACEOF
51714 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
51715 COND_SHARED_1!$COND_SHARED_1$ac_delim
51716 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51717 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51718 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51719 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51720 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51721 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51722 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51723 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51724 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51726 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51727 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51728 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51729 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51730 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51731 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51732 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51733 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51734 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51735 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51736 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51737 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51738 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51739 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51740 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51741 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
51742 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51743 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51744 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
51745 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51746 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51747 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
51748 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51749 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51750 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51751 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51752 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51753 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51754 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51755 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51756 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51757 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51758 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51759 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51760 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51761 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51762 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51763 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51764 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51765 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51766 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51767 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51768 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51769 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51770 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51771 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51772 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51773 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51774 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51775 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51776 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51777 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51778 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51779 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51780 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51781 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51782 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51783 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51784 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51785 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51786 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51787 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51788 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51789 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51790 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51791 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51792 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51793 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51794 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51795 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
51796 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
51797 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
51798 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
51799 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
51800 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
51801 DEREZ!$DEREZ$ac_delim
51802 SHARED!$SHARED$ac_delim
51803 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51804 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51805 USE_GUI!$USE_GUI$ac_delim
51806 AFMINSTALL!$AFMINSTALL$ac_delim
51807 WIN32INSTALL!$WIN32INSTALL$ac_delim
51808 TOOLKIT!$TOOLKIT$ac_delim
51809 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51810 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51813 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51815 elif $ac_last_try; then
51816 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51817 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51818 { (exit 1); exit 1; }; }
51820 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51824 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51825 if test -n "$ac_eof"; then
51826 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51827 ac_eof
=`expr $ac_eof + 1`
51830 cat >>$CONFIG_STATUS <<_ACEOF
51831 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51835 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51836 s/^/s,@/; s/!/@,|#_!!_#|/
51839 s/'"$ac_delim"'$/,g/; t
51841 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51842 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51843 rm -f conf$
$subs.
sed
51844 cat >>$CONFIG_STATUS <<_ACEOF
51850 for ac_last_try
in false false false false false
:; do
51851 cat >conf$
$subs.
sed <<_ACEOF
51852 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51853 cross_compiling!$cross_compiling$ac_delim
51854 WIDGET_SET!$WIDGET_SET$ac_delim
51855 WX_RELEASE!$WX_RELEASE$ac_delim
51856 WX_VERSION!$WX_VERSION$ac_delim
51857 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51858 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51859 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51860 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51861 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51862 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51863 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51864 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51865 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51866 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51867 GUIDIST!$GUIDIST$ac_delim
51868 DISTDIR!$DISTDIR$ac_delim
51869 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51870 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51871 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51872 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51873 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51874 RESCOMP!$RESCOMP$ac_delim
51875 RESFLAGS!$RESFLAGS$ac_delim
51876 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51877 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51878 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51879 LIBWXMACRES!$LIBWXMACRES$ac_delim
51880 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51881 MACSETFILE!$MACSETFILE$ac_delim
51883 DLLTOOL!$DLLTOOL$ac_delim
51884 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51885 LIBOBJS!$LIBOBJS$ac_delim
51886 LTLIBOBJS!$LTLIBOBJS$ac_delim
51889 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
51891 elif $ac_last_try; then
51892 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51893 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51894 { (exit 1); exit 1; }; }
51896 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51900 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51901 if test -n "$ac_eof"; then
51902 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51903 ac_eof
=`expr $ac_eof + 1`
51906 cat >>$CONFIG_STATUS <<_ACEOF
51907 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51908 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51911 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51912 s/^/s,@/; s/!/@,|#_!!_#|/
51915 s/'"$ac_delim"'$/,g/; t
51917 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51918 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51919 rm -f conf$
$subs.
sed
51920 cat >>$CONFIG_STATUS <<_ACEOF
51927 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51928 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51929 # trailing colons and then remove the whole line if VPATH becomes empty
51930 # (actually we leave an empty line to preserve line numbers).
51931 if test "x$srcdir" = x.
; then
51932 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51933 s/:*\$(srcdir):*/:/
51934 s/:*\${srcdir}:*/:/
51936 s/^\([^=]*=[ ]*\):*/\1/
51942 cat >>$CONFIG_STATUS <<\_ACEOF
51943 fi # test -n "$CONFIG_FILES"
51946 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51949 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51951 case $ac_mode$ac_tag in
51953 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51954 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51955 { (exit 1); exit 1; }; };;
51956 :[FH
]-) ac_tag
=-:-;;
51957 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51974 -) ac_f
="$tmp/stdin";;
51975 *) # Look for the file first in the build tree, then in the source tree
51976 # (if the path is not absolute). The absolute path cannot be DOS-style,
51977 # because $ac_f cannot contain `:'.
51981 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51983 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51984 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51985 { (exit 1); exit 1; }; };;
51987 ac_file_inputs
="$ac_file_inputs $ac_f"
51990 # Let's still pretend it is `configure' which instantiates (i.e., don't
51991 # use $as_me), people would be surprised to read:
51992 # /* config.h. Generated by config.status. */
51993 configure_input
="Generated from "`IFS=:
51994 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51995 if test x
"$ac_file" != x
-; then
51996 configure_input
="$ac_file. $configure_input"
51997 { echo "$as_me:$LINENO: creating $ac_file" >&5
51998 echo "$as_me: creating $ac_file" >&6;}
52002 *:-:* | *:-) cat >"$tmp/stdin";;
52007 ac_dir
=`$as_dirname -- "$ac_file" ||
52008 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52009 X"$ac_file" : 'X\(//\)[^/]' \| \
52010 X"$ac_file" : 'X\(//\)$' \| \
52011 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52017 /^X\(\/\/\)[^/].*/{
52032 -*) as_dir
=.
/$as_dir;;
52034 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52038 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52039 *) as_qdir
=$as_dir;;
52041 as_dirs
="'$as_qdir' $as_dirs"
52042 as_dir
=`$as_dirname -- "$as_dir" ||
52043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52044 X"$as_dir" : 'X\(//\)[^/]' \| \
52045 X"$as_dir" : 'X\(//\)$' \| \
52046 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52052 /^X\(\/\/\)[^/].*/{
52065 test -d "$as_dir" && break
52067 test -z "$as_dirs" || eval "mkdir $as_dirs"
52068 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52069 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52070 { (exit 1); exit 1; }; }; }
52074 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52076 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52077 # A ".." for each directory in $ac_dir_suffix.
52078 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52079 case $ac_top_builddir_sub in
52080 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52081 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52084 ac_abs_top_builddir
=$ac_pwd
52085 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52086 # for backward compatibility:
52087 ac_top_builddir
=$ac_top_build_prefix
52090 .
) # We are building in place.
52092 ac_top_srcdir
=$ac_top_builddir_sub
52093 ac_abs_top_srcdir
=$ac_pwd ;;
52094 [\\/]* | ?
:[\\/]* ) # Absolute name.
52095 ac_srcdir
=$srcdir$ac_dir_suffix;
52096 ac_top_srcdir
=$srcdir
52097 ac_abs_top_srcdir
=$srcdir ;;
52098 *) # Relative name.
52099 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52100 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52101 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52103 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52113 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52114 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52118 cat >>$CONFIG_STATUS <<\_ACEOF
52119 # If the template does not know about datarootdir, expand it.
52120 # FIXME: This hack should be removed a few years after 2.60.
52121 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52123 case `sed -n '/datarootdir/ {
52132 ' $ac_file_inputs` in
52133 *datarootdir
*) ac_datarootdir_seen
=yes;;
52134 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52135 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52136 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52138 cat >>$CONFIG_STATUS <<_ACEOF
52139 ac_datarootdir_hack='
52140 s&@datadir@&$datadir&g
52141 s&@docdir@&$docdir&g
52142 s&@infodir@&$infodir&g
52143 s&@localedir@&$localedir&g
52144 s&@mandir@&$mandir&g
52145 s&\\\${datarootdir}&$datarootdir&g' ;;
52149 # Neutralize VPATH when `$srcdir' = `.'.
52150 # Shell code in configure.ac might set extrasub.
52151 # FIXME: do we really want to maintain this feature?
52152 cat >>$CONFIG_STATUS <<_ACEOF
52156 cat >>$CONFIG_STATUS <<\_ACEOF
52158 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52159 s
&@configure_input@
&$configure_input&;t t
52160 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52161 s
&@srcdir@
&$ac_srcdir&;t t
52162 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52163 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52164 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52165 s
&@builddir@
&$ac_builddir&;t t
52166 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52167 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52168 s
&@INSTALL@
&$ac_INSTALL&;t t
52169 $ac_datarootdir_hack
52170 " $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
52172 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52173 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52174 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52175 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52176 which seems to be undefined. Please make sure it is defined." >&5
52177 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52178 which seems to be undefined. Please make sure it is defined." >&2;}
52182 -) cat "$tmp/out"; rm -f "$tmp/out";;
52183 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52192 # Transform confdefs.h into a sed script `conftest.defines', that
52193 # substitutes the proper values into config.h.in to produce config.h.
52194 rm -f conftest.defines conftest.
tail
52195 # First, append a space to every undef/define line, to ease matching.
52196 echo 's/$/ /' >conftest.defines
52197 # Then, protect against being on the right side of a sed subst, or in
52198 # an unquoted here document, in config.status. If some macros were
52199 # called several times there might be several #defines for the same
52200 # symbol, which is useless. But do not sort them, since the last
52201 # AC_DEFINE must be honored.
52202 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52203 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52204 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52205 # PARAMS is the parameter list in the macro definition--in most cases, it's
52206 # just an empty string.
52207 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52208 ac_dB
='\\)[ (].*,\\1define\\2'
52216 s/^[ ]*#[ ]*define[ ][ ]*//
52221 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52222 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52223 ' >>conftest.defines
52225 # Remove the space that was appended to ease matching.
52226 # Then replace #undef with comments. This is necessary, for
52227 # example, in the case of _POSIX_SOURCE, which is predefined and required
52228 # on some systems where configure will not decide to define it.
52229 # (The regexp can be short, since the line contains either #define or #undef.)
52231 s,^[ #]*u.*,/* & */,' >>conftest.defines
52233 # Break up conftest.defines:
52234 ac_max_sed_lines
=50
52236 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52237 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52238 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52240 ac_in
='$ac_file_inputs'
52241 ac_out
='"$tmp/out1"'
52242 ac_nxt
='"$tmp/out2"'
52246 # Write a here document:
52247 cat >>$CONFIG_STATUS <<_ACEOF
52248 # First, check the format of the line:
52249 cat >"\$tmp/defines.sed" <<\\CEOF
52250 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52251 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52255 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52257 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52258 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52259 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52260 grep . conftest.
tail >/dev
/null
|| break
52261 rm -f conftest.defines
52262 mv conftest.
tail conftest.defines
52264 rm -f conftest.defines conftest.
tail
52266 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52267 cat >>$CONFIG_STATUS <<\_ACEOF
52268 if test x
"$ac_file" != x
-; then
52269 echo "/* $configure_input */" >"$tmp/config.h"
52270 cat "$ac_result" >>"$tmp/config.h"
52271 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52272 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52273 echo "$as_me: $ac_file is unchanged" >&6;}
52276 mv "$tmp/config.h" $ac_file
52279 echo "/* $configure_input */"
52285 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52286 echo "$as_me: executing $ac_file commands" >&6;}
52291 case $ac_file$ac_mode in
52293 mkdir -p $outdir &&
52294 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52296 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52297 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52298 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52299 "wx-config":C
) rm -f wx
-config
52300 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52307 { (exit 0); exit 0; }
52309 chmod +x
$CONFIG_STATUS
52310 ac_clean_files
=$ac_clean_files_save
52313 # configure is writing to config.log, and then calls config.status.
52314 # config.status does its own redirection, appending to config.log.
52315 # Unfortunately, on DOS this fails, as config.log is still kept open
52316 # by configure, so config.status won't be able to write to it; its
52317 # output is simply discarded. So we exec the FD to /dev/null,
52318 # effectively closing config.log, so it can be properly (re)opened and
52319 # appended to by config.status. When coming back to configure, we
52320 # need to make the FD available again.
52321 if test "$no_create" != yes; then
52323 ac_config_status_args
=
52324 test "$silent" = yes &&
52325 ac_config_status_args
="$ac_config_status_args --quiet"
52327 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52329 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52330 # would make configure fail if this is the last instruction.
52331 $ac_cs_success || { (exit 1); exit 1; }
52335 # CONFIG_SUBDIRS section.
52337 if test "$no_recursion" != yes; then
52339 # Remove --cache-file and --srcdir arguments so they do not pile up.
52340 ac_sub_configure_args
=
52342 eval "set x $ac_configure_args"
52346 if test -n "$ac_prev"; then
52351 -cache-file | --cache-file | --cache-fil | --cache-fi \
52352 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52353 ac_prev
=cache_file
;;
52354 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52355 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52358 --config-cache | -C)
52360 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52362 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52364 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52366 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52370 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52372 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52376 # Always prepend --prefix to ensure using the same prefix
52377 # in subdir configurations.
52378 ac_arg
="--prefix=$prefix"
52380 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52382 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52385 if test "$silent" = yes; then
52386 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52390 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52392 # Do not complain, so a configure script can configure whichever
52393 # parts of a large source tree are present.
52394 test -d "$srcdir/$ac_dir" || continue
52396 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52397 echo "$as_me:$LINENO: $ac_msg" >&5
52401 -*) as_dir
=.
/$as_dir;;
52403 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52407 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52408 *) as_qdir
=$as_dir;;
52410 as_dirs
="'$as_qdir' $as_dirs"
52411 as_dir
=`$as_dirname -- "$as_dir" ||
52412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52413 X"$as_dir" : 'X\(//\)[^/]' \| \
52414 X"$as_dir" : 'X\(//\)$' \| \
52415 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52421 /^X\(\/\/\)[^/].*/{
52434 test -d "$as_dir" && break
52436 test -z "$as_dirs" || eval "mkdir $as_dirs"
52437 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52438 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52439 { (exit 1); exit 1; }; }; }
52443 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52445 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52446 # A ".." for each directory in $ac_dir_suffix.
52447 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52448 case $ac_top_builddir_sub in
52449 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52450 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52453 ac_abs_top_builddir
=$ac_pwd
52454 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52455 # for backward compatibility:
52456 ac_top_builddir
=$ac_top_build_prefix
52459 .
) # We are building in place.
52461 ac_top_srcdir
=$ac_top_builddir_sub
52462 ac_abs_top_srcdir
=$ac_pwd ;;
52463 [\\/]* | ?
:[\\/]* ) # Absolute name.
52464 ac_srcdir
=$srcdir$ac_dir_suffix;
52465 ac_top_srcdir
=$srcdir
52466 ac_abs_top_srcdir
=$srcdir ;;
52467 *) # Relative name.
52468 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52469 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52470 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52472 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52477 # Check for guested configure; otherwise get Cygnus style configure.
52478 if test -f "$ac_srcdir/configure.gnu"; then
52479 ac_sub_configure
=$ac_srcdir/configure.gnu
52480 elif test -f "$ac_srcdir/configure"; then
52481 ac_sub_configure
=$ac_srcdir/configure
52482 elif test -f "$ac_srcdir/configure.in"; then
52483 # This should be Cygnus configure.
52484 ac_sub_configure
=$ac_aux_dir/configure
52486 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52487 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52491 # The recursion is here.
52492 if test -n "$ac_sub_configure"; then
52493 # Make the cache file name correct relative to the subdirectory.
52494 case $cache_file in
52495 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52496 *) # Relative name.
52497 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52500 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52501 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52502 # The eval makes quoting arguments work.
52503 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52504 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52505 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52506 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52507 { (exit 1); exit 1; }; }
52516 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52518 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52519 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52521 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52522 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52523 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52524 if test "$wxUSE_UNICODE" = "yes"; then
52525 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52526 echo " (using UTF-8)"
52528 echo " (using wchar_t)"
52534 echo " What level of wxWidgets compatibility should be enabled?"
52535 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52536 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52538 echo " Which libraries should wxWidgets use?"
52539 echo " STL ${wxUSE_STL}"
52540 echo " jpeg ${wxUSE_LIBJPEG-none}"
52541 echo " png ${wxUSE_LIBPNG-none}"
52542 echo " regex ${wxUSE_REGEX}"
52543 echo " tiff ${wxUSE_LIBTIFF-none}"
52544 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52545 echo " xpm ${wxUSE_LIBXPM-none}"
52547 echo " zlib ${wxUSE_ZLIB}"
52548 echo " expat ${wxUSE_EXPAT}"
52549 echo " libmspack ${wxUSE_LIBMSPACK}"
52550 echo " sdl ${wxUSE_LIBSDL}"