2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
707 LIBGNOMEPRINTUI_CFLAGS
815 ICC_PCH_CREATE_SWITCH
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_DFB_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
940 COND_TOOLKIT_MGL_USE_GUI_1
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
961 COND_TOOLKIT_X11_USE_GUI_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1031 WXCONFIG_LDFLAGS_GUI
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1054 ac_precious_vars
='build_alias
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1090 ac_subdirs_all
='src/tiff
1093 # Initialize some variables set by options.
1095 ac_init_version
=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file
=/dev
/null
1105 program_transform_name
=s
,x
,x
,
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir
='${exec_prefix}/bin'
1120 sbindir
='${exec_prefix}/sbin'
1121 libexecdir
='${exec_prefix}/libexec'
1122 datarootdir
='${prefix}/share'
1123 datadir
='${datarootdir}'
1124 sysconfdir
='${prefix}/etc'
1125 sharedstatedir
='${prefix}/com'
1126 localstatedir
='${prefix}/var'
1127 includedir
='${prefix}/include'
1128 oldincludedir
='/usr/include'
1129 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir
='${datarootdir}/info'
1135 libdir
='${exec_prefix}/lib'
1136 localedir
='${datarootdir}/locale'
1137 mandir
='${datarootdir}/man'
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\
$ac_option
1151 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1157 case $ac_dashdash$ac_option in
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir
=$ac_optarg ;;
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev
=build_alias
;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias
=$ac_optarg ;;
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev
=cache_file
;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file
=$ac_optarg ;;
1178 --config-cache | -C)
1179 cache_file
=config.cache
;;
1181 -datadir | --datadir | --datadi | --datad)
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir
=$ac_optarg ;;
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev
=datarootdir
;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir
=$ac_optarg ;;
1193 -disable-* | --disable-*)
1194 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_
$ac_feature=no
;;
1202 -docdir | --docdir | --docdi | --doc | --do)
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir
=$ac_optarg ;;
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir
=$ac_optarg ;;
1212 -enable-* | --enable-*)
1213 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_
$ac_feature=\
$ac_optarg ;;
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev
=exec_prefix
;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix
=$ac_optarg ;;
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help
=long
;;
1236 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1237 ac_init_help
=recursive
;;
1238 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1239 ac_init_help
=short
;;
1241 -host | --host | --hos | --ho)
1242 ac_prev
=host_alias
;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias
=$ac_optarg ;;
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1250 htmldir
=$ac_optarg ;;
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev
=includedir
;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir
=$ac_optarg ;;
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir
=$ac_optarg ;;
1264 -libdir | --libdir | --libdi | --libd)
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir
=$ac_optarg ;;
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev
=libexecdir
;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir
=$ac_optarg ;;
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev
=localedir
;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir
=$ac_optarg ;;
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev
=localstatedir
;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir
=$ac_optarg ;;
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir
=$ac_optarg ;;
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev
=oldincludedir
;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir
=$ac_optarg ;;
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix
=$ac_optarg ;;
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev
=program_prefix
;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix
=$ac_optarg ;;
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev
=program_suffix
;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix
=$ac_optarg ;;
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev
=program_transform_name
;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name
=$ac_optarg ;;
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir
=$ac_optarg ;;
1355 -psdir | --psdir | --psdi | --psd | --ps)
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1368 sbindir
=$ac_optarg ;;
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1374 ac_prev
=sharedstatedir
;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1379 sharedstatedir
=$ac_optarg ;;
1381 -site | --site | --sit)
1383 -site=* | --site=* | --sit=*)
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir
=$ac_optarg ;;
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev
=sysconfdir
;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir
=$ac_optarg ;;
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev
=target_alias
;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias
=$ac_optarg ;;
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version
=: ;;
1410 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_
$ac_package=\
$ac_optarg ;;
1418 -without-* | --without-*)
1419 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_
$ac_package=no
;;
1428 # Obsolete; use --with-x.
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev
=x_includes
;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes
=$ac_optarg ;;
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev
=x_libraries
;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries
=$ac_optarg ;;
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1451 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\
$ac_optarg
1457 export $ac_envvar ;;
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1470 if test -n "$ac_prev"; then
1471 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1476 # Be sure to have absolute directory names.
1477 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1482 eval ac_val
=\$
$ac_var
1484 [\\/$
]* | ?
:[\\/]* ) continue;;
1485 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1496 target
=$target_alias
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x
; then
1500 if test "x$build_alias" = x
; then
1501 cross_compiling
=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1510 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1512 test "$silent" = yes && exec 6>/dev
/null
1515 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di
=`ls -di .` &&
1517 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted
=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir
=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1557 ac_srcdir_defaulted
=no
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1564 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1577 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1579 for ac_var
in $ac_precious_vars; do
1580 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1581 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1582 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1583 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1587 # Report the --help message.
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1600 Defaults for the options are specified in brackets.
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1624 For better control, use the options below.
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1651 --x-includes=DIR X include files are
in DIR
1652 --x-libraries=DIR X library files are
in DIR
1655 --build=BUILD configure
for building on BUILD
[guessed
]
1656 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1667 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1668 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1669 --disable-gui don
't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1684 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets
2.6 compatibility
1704 --disable-compat28 disable wxWidgets
2.8 compatibility
1705 --disable-rpath disable use of rpath
for uninstalled builds
1706 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even
if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x
-locale support
(requires wxLocale
)
1711 --enable-config use wxConfig
(and derived
) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP
(requires wxProtocol
1714 --enable-http use wxHTTP
(requires wxProtocol
1715 --enable-fileproto use wxFileProto class
(requires wxProtocol
1716 --enable-sockets use socket
/network classes
1717 --enable-ipv6 enable IPv6 support
in wxSocket
1718 --enable-ole use OLE classes
(Win32 only
)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication
(wxSocket etc.
)
1721 --enable-baseevtloop use event loop
in console programs too
1722 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding
/decoding functions
1728 --enable-backtrace use wxStackWalker class
for getting backtraces
1729 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class
for DLL loading
1735 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1736 --enable-exceptions build exception
-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filesystem use virtual
file systems classes
1740 --enable-fontenum use wxFontEnumerator class
1741 --enable-fontmap use font encodings conversion classes
1742 --enable-fs_archive use virtual archive filesystems
1743 --enable-fs_inet use virtual HTTP
/FTP filesystems
1744 --enable-fs_zip now replaced by fs_archive
1745 --enable-fswatcher use wxFileSystemWatcher class
1746 --enable-geometry use geometry class
1747 --enable-log use logging system
1748 --enable-longlong use wxLongLong class
1749 --enable-mimetype use wxMimeTypesManager
1750 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1751 --enable-snglinst use wxSingleInstanceChecker class
1752 --enable-sound use wxSound class
1753 --enable-stdpaths use wxStandardPaths class
1754 --enable-stopwatch use wxStopWatch class
1755 --enable-streams use wxStream etc classes
1756 --enable-sysoptions use wxSystemOptions
1757 --enable-tarstream use wxTar streams
1758 --enable-textbuf use wxTextBuffer class
1759 --enable-textfile use wxTextFile class
1760 --enable-timer use wxTimer class
1761 --enable-variant use wxVariant class
1762 --enable-zipstream use wxZip streams
1763 --enable-url use wxURL class
1764 --enable-protocol use wxProtocol class
1765 --enable-protocol-http HTTP support
in wxProtocol
1766 --enable-protocol-ftp FTP support
in wxProtocol
1767 --enable-protocol-file FILE support
in wxProtocol
1768 --enable-threads use threads
1769 --enable-iniconf use wxIniConfig
(Win32 only
)
1770 --enable-regkey use wxRegKey class
(Win32 only
)
1771 --enable-docview use document view architecture
1772 --enable-help use
help subsystem
1773 --enable-mshtmlhelp use MS HTML Help
(win32
)
1774 --enable-html use wxHTML sub
-library
1775 --enable-htmlhelp use wxHTML
-based help
1776 --enable-xrc use XRC resources sub
-library
1777 --enable-aui use AUI docking library
1778 --enable-propgrid use wxPropertyGrid library
1779 --enable-ribbon use wxRibbon library
1780 --enable-stc use wxStyledTextCtrl library
1781 --enable-constraints use layout
-constraints system
1782 --enable-loggui use standard GUI logger
1783 --enable-logwin use wxLogWindow
1784 --enable-logdialog use wxLogDialog
1785 --enable-mdi use multiple document interface architecture
1786 --enable-mdidoc use docview architecture with MDI
1787 --enable-mediactrl use wxMediaCtrl class
1788 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1789 --enable-webkit use wxWebKitCtrl
(Mac
)
1790 --enable-richtext use wxRichTextCtrl
1791 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1792 --enable-printarch use printing architecture
1793 --enable-svg use wxSVGFileDC device context
1794 --enable-graphics_ctx use graphics context
2D drawing API
1795 --enable-clipboard use wxClipboard class
1796 --enable-dnd use Drag
'n'Drop classes
1797 --enable-metafile use win32 metafiles
1798 --disable-controls disable compilation of all standard controls
1799 --enable-accel use accelerators
1800 --enable-animatectrl use wxAnimationCtrl class
1801 --enable-bmpbutton use wxBitmapButton class
1802 --enable-bmpcombobox use wxBitmapComboBox class
1803 --enable-button use wxButton class
1804 --enable-calendar use wxCalendarCtrl class
1805 --enable-caret use wxCaret class
1806 --enable-checkbox use wxCheckBox class
1807 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1808 --enable-choice use wxChoice class
1809 --enable-choicebook use wxChoicebook class
1810 --enable-collpane use wxCollapsiblePane class
1811 --enable-colourpicker use wxColourPickerCtrl class
1812 --enable-combobox use wxComboBox class
1813 --enable-comboctrl use wxComboCtrl class
1814 --enable-dataviewctrl use wxDataViewCtrl class
1815 --enable-datepick use wxDatePickerCtrl class
1816 --enable-detect_sm use code to detect X11 session manager
1817 --enable-dirpicker use wxDirPickerCtrl class
1818 --enable-display use wxDisplay class
1819 --enable-editablebox use wxEditableListBox class
1820 --enable-filectrl use wxFileCtrl class
1821 --enable-filepicker use wxFilePickerCtrl class
1822 --enable-fontpicker use wxFontPickerCtrl class
1823 --enable-gauge use wxGauge class
1824 --enable-grid use wxGrid class
1825 --enable-headerctrl use wxHeaderCtrl class
1826 --enable-hyperlink use wxHyperlinkCtrl class
1827 --enable-imaglist use wxImageList class
1828 --enable-infobar use wxInfoBar class
1829 --enable-listbook use wxListbook class
1830 --enable-listbox use wxListBox class
1831 --enable-listctrl use wxListCtrl class
1832 --enable-notebook use wxNotebook class
1833 --enable-notifmsg use wxNotificationMessage class
1834 --enable-odcombobox use wxOwnerDrawnComboBox class
1835 --enable-popupwin use wxPopUpWindow class
1836 --enable-radiobox use wxRadioBox class
1837 --enable-radiobtn use wxRadioButton class
1838 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1839 --enable-sash use wxSashWindow class
1840 --enable-scrollbar use wxScrollBar class and scrollable windows
1841 --enable-searchctrl use wxSearchCtrl class
1842 --enable-slider use wxSlider class
1843 --enable-spinbtn use wxSpinButton class
1844 --enable-spinctrl use wxSpinCtrl class
1845 --enable-splitter use wxSplitterWindow class
1846 --enable-statbmp use wxStaticBitmap class
1847 --enable-statbox use wxStaticBox class
1848 --enable-statline use wxStaticLine class
1849 --enable-stattext use wxStaticText class
1850 --enable-statusbar use wxStatusBar class
1851 --enable-taskbaricon use wxTaskBarIcon class
1852 --enable-tbarnative use native wxToolBar class
1853 --enable-textctrl use wxTextCtrl class
1854 --enable-tipwindow use wxTipWindow class
1855 --enable-togglebtn use wxToggleButton class
1856 --enable-toolbar use wxToolBar class
1857 --enable-toolbook use wxToolbook class
1858 --enable-treebook use wxTreebook class
1859 --enable-treectrl use wxTreeCtrl class
1860 --enable-commondlg use all common dialogs
1861 --enable-aboutdlg use wxAboutBox
1862 --enable-choicedlg use wxChoiceDialog
1863 --enable-coldlg use wxColourDialog
1864 --enable-filedlg use wxFileDialog
1865 --enable-finddlg use wxFindReplaceDialog
1866 --enable-fontdlg use wxFontDialog
1867 --enable-dirdlg use wxDirDialog
1868 --enable-msgdlg use wxMessageDialog
1869 --enable-numberdlg use wxNumberEntryDialog
1870 --enable-splash use wxSplashScreen
1871 --enable-textdlg use wxTextDialog
1872 --enable-tipdlg use startup tips
1873 --enable-progressdlg use wxProgressDialog
1874 --enable-wizarddlg use wxWizard
1875 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1876 --enable-miniframe use wxMiniFrame class
1877 --enable-tooltips use wxToolTip class
1878 --enable-splines use spline drawing code
1879 --enable-mousewheel use mousewheel
1880 --enable-validators use wxValidator and derived classes
1881 --enable-busyinfo use wxBusyInfo
1882 --enable-joystick use wxJoystick
1883 --enable-metafiles use wxMetaFile
(Win32 only
)
1884 --enable-dragimage use wxDragImage
1885 --enable-accessibility enable accessibility support
1886 --enable-palette use wxPalette class
1887 --enable-image use wxImage class
1888 --enable-gif use gif images
(GIF
file format
)
1889 --enable-pcx use pcx images
(PCX
file format
)
1890 --enable-tga use tga images
(TGA
file format
)
1891 --enable-iff use iff images
(IFF
file format
)
1892 --enable-pnm use pnm images
(PNM
file format
)
1893 --enable-xpm use xpm images
(XPM
file format
)
1894 --enable-ico_cur use Windows ICO and CUR formats
1895 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1896 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1897 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1898 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1899 --enable-wxdib use wxDIB class
(Win32 only
)
1900 --enable-autoidman use automatic ids management
1901 --disable-largefile omit support
for large files
1902 --disable-gtktest do not try to compile and run a
test GTK
+ program
1903 --disable-gtktest Do not try to compile and run a
test GTK program
1904 --disable-sdltest Do not try to compile and run a
test SDL program
1905 --enable-omf use OMF object format
(OS
/2)
1906 --disable-dependency-tracking
1907 don
't use dependency tracking even if the compiler
1909 --disable-precomp-headers
1910 don't use precompiled headers even
if compiler can
1913 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1914 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1915 --without-subdirs don
't generate makefiles for samples/demos/...
1916 --with-flavour=NAME specify a name to identify this build
1917 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1918 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1919 --with-motif use Motif/Lesstif
1920 --with-osx_carbon use Mac OS X (Carbon)
1921 --with-osx_cocoa use Mac OS X (Cocoa)
1922 --with-osx_iphone use iPhone OS X port
1923 --with-osx use Mac OS X (default port, currently Carbon)
1924 --with-carbon same as --with-osx_carbon
1925 --with-cocoa same as --with-osx_cocoa
1926 --with-iphone same as --with-osx_iphone
1927 --with-mac same as --with-osx
1928 --with-old_cocoa use old, deprecated, Cocoa port
1929 --with-wine use Wine
1930 --with-msw use MS-Windows
1931 --with-pm use OS/2 Presentation Manager
1932 --with-mgl use SciTech MGL
1933 --with-directfb use DirectFB
1934 --with-microwin use MicroWindows
1936 --with-libpng use libpng (PNG image format)
1937 --with-libjpeg use libjpeg (JPEG file format)
1938 --with-libtiff use libtiff (TIFF file format)
1939 --with-libxpm use libxpm (XPM file format)
1940 --with-libiconv use libiconv (character conversion)
1941 --with-libmspack use libmspack (CHM help files loading)
1942 --without-gtkprint don't use GTK printing support
1943 --without-gnomeprint don
't use GNOME printing libraries
1944 --with-gnomevfs use GNOME VFS for associating MIME types
1945 --with-hildon use Hildon framework for Nokia 770/800/810
1946 --with-opengl use OpenGL (or Mesa)
1947 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1948 --with-sdl use SDL for audio on Unix
1949 --with-regex enable support for wxRegEx class
1950 --with-zlib use zlib for LZW compression
1951 --with-expat enable XML support using expat parser
1952 --with-macosx-sdk=PATH use an OS X SDK at PATH
1953 --with-macosx-version-min=VER build binaries which require at least this OS X version
1954 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1955 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1956 --with-x use the X Window System
1957 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1958 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1959 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1960 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1961 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1963 Some influential environment variables:
1964 CC C compiler command
1965 CFLAGS C compiler flags
1966 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1967 nonstandard directory <lib dir>
1968 LIBS libraries to pass to the linker, e.g. -l<library>
1969 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1970 you have headers in a nonstandard directory <include dir>
1972 CXX C++ compiler command
1973 CXXFLAGS C++ compiler flags
1974 PKG_CONFIG path to pkg-config utility
1976 C compiler flags for DIRECTFB, overriding pkg-config
1978 linker flags for DIRECTFB, overriding pkg-config
1979 XMKMF Path to xmkmf, Makefile generator for X Window System
1981 C compiler flags for PANGOX, overriding pkg-config
1982 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1984 C compiler flags for PANGOFT2, overriding pkg-config
1986 linker flags for PANGOFT2, overriding pkg-config
1988 C compiler flags for PANGOXFT, overriding pkg-config
1990 linker flags for PANGOXFT, overriding pkg-config
1992 C compiler flags for GTKPRINT, overriding pkg-config
1994 linker flags for GTKPRINT, overriding pkg-config
1995 LIBGNOMEPRINTUI_CFLAGS
1996 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1997 LIBGNOMEPRINTUI_LIBS
1998 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2000 C compiler flags for GNOMEVFS, overriding pkg-config
2002 linker flags for GNOMEVFS, overriding pkg-config
2004 C compiler flags for HILDON, overriding pkg-config
2005 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2007 C compiler flags for HILDON2, overriding pkg-config
2009 linker flags for HILDON2, overriding pkg-config
2011 C compiler flags for CAIRO, overriding pkg-config
2012 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2013 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2014 GST_LIBS linker flags for GST, overriding pkg-config
2016 Use these variables to override the choices made by `configure' or to
help
2017 it to
find libraries and programs with nonstandard names
/locations.
2019 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2024 if test "$ac_init_help" = "recursive"; then
2025 # If there are subdirs, report their specific --help.
2026 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2027 test -d "$ac_dir" || continue
2031 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2033 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2034 # A ".." for each directory in $ac_dir_suffix.
2035 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2036 case $ac_top_builddir_sub in
2037 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2038 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2041 ac_abs_top_builddir
=$ac_pwd
2042 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2043 # for backward compatibility:
2044 ac_top_builddir
=$ac_top_build_prefix
2047 .
) # We are building in place.
2049 ac_top_srcdir
=$ac_top_builddir_sub
2050 ac_abs_top_srcdir
=$ac_pwd ;;
2051 [\\/]* | ?
:[\\/]* ) # Absolute name.
2052 ac_srcdir
=$srcdir$ac_dir_suffix;
2053 ac_top_srcdir
=$srcdir
2054 ac_abs_top_srcdir
=$srcdir ;;
2056 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2057 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2058 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2060 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2062 cd "$ac_dir" || { ac_status
=$?
; continue; }
2063 # Check for guested configure.
2064 if test -f "$ac_srcdir/configure.gnu"; then
2066 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2067 elif test -f "$ac_srcdir/configure"; then
2069 $SHELL "$ac_srcdir/configure" --help=recursive
2071 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2073 cd "$ac_pwd" || { ac_status
=$?
; break; }
2077 test -n "$ac_init_help" && exit $ac_status
2078 if $ac_init_version; then
2080 wxWidgets configure
2.9.1
2081 generated by GNU Autoconf
2.61
2083 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2084 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2085 This configure
script is free software
; the Free Software Foundation
2086 gives unlimited permission to copy
, distribute and modify it.
2090 cat >config.log
<<_ACEOF
2091 This file contains any messages produced by compilers while
2092 running configure, to aid debugging if configure makes a mistake.
2094 It was created by wxWidgets $as_me 2.9.1, which was
2095 generated by GNU Autoconf 2.61. Invocation command line was
2107 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2108 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2109 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2110 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2111 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2113 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2114 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2116 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2117 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2118 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2119 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2120 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2121 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2122 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 echo "PATH: $as_dir"
2147 # Keep a trace of the command line.
2148 # Strip out --no-create and --no-recursion so they do not pile up.
2149 # Strip out --silent because we don't want to record it for future runs.
2150 # Also quote any args containing shell meta-characters.
2151 # Make two passes to allow for proper duplicate-argument suppression.
2155 ac_must_keep_next
=false
2161 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2163 | -silent | --silent | --silen | --sile | --sil)
2166 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2171 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2172 if test $ac_must_keep_next = true
; then
2173 ac_must_keep_next
=false
# Got value, back to normal.
2176 *=* | --config-cache | -C | -disable-* | --disable-* \
2177 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2178 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2179 | -with-* | --with-* | -without-* | --without-* | --x)
2180 case "$ac_configure_args0 " in
2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2184 -* ) ac_must_keep_next
=true
;;
2187 ac_configure_args
="$ac_configure_args '$ac_arg'"
2192 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2193 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2195 # When interrupted or exit'd, cleanup temporary files, and complete
2196 # config.log. We remove comments because anyway the quotes in there
2197 # would cause problems or look ugly.
2198 # WARNING: Use '\'' to represent an apostrophe within the trap.
2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200 trap 'exit_status=$?
2201 # Save into config.log some information that might help in debugging.
2206 ## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##
2211 # The following way of writing the cache mishandles newlines in values,
2213 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2214 eval ac_val=\$$ac_var
2218 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2222 _ | IFS | as_nl) ;; #(
2223 *) $as_unset $ac_var ;;
2228 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2243 ## ----------------- ##
2244 ## Output variables. ##
2245 ## ----------------- ##
2248 for ac_var in $ac_subst_vars
2250 eval ac_val=\$$ac_var
2252 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2254 echo "$ac_var='\''$ac_val'\''"
2258 if test -n "$ac_subst_files"; then
2260 ## ------------------- ##
2261 ## File substitutions. ##
2262 ## ------------------- ##
2265 for ac_var
in $ac_subst_files
2267 eval ac_val
=\$
$ac_var
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 echo "$ac_var='\''$ac_val'\''"
2276 if test -s confdefs.h; then
2286 test "$ac_signal" != 0 &&
2287 echo "$as_me: caught signal $ac_signal"
2288 echo "$as_me: exit $exit_status"
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 for ac_signal
in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest
* confdefs.h
2302 # Predefined preprocessor variables.
2304 cat >>confdefs.h
<<_ACEOF
2305 #define PACKAGE_NAME "$PACKAGE_NAME"
2309 cat >>confdefs.h
<<_ACEOF
2310 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2314 cat >>confdefs.h
<<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2319 cat >>confdefs.h
<<_ACEOF
2320 #define PACKAGE_STRING "$PACKAGE_STRING"
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2329 # Let the site file select an alternate cache file if it wants to.
2330 # Prefer explicitly selected file to automatically selected ones.
2331 if test -n "$CONFIG_SITE"; then
2332 set x
"$CONFIG_SITE"
2333 elif test "x$prefix" != xNONE
; then
2334 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2336 set x
"$ac_default_prefix/share/config.site" \
2337 "$ac_default_prefix/etc/config.site"
2342 if test -r "$ac_site_file"; then
2343 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2344 echo "$as_me: loading site script $ac_site_file" >&6;}
2345 sed 's/^/| /' "$ac_site_file" >&5
2350 if test -r "$cache_file"; then
2351 # Some versions of bash will fail to source /dev/null (special
2352 # files actually), so we avoid doing that.
2353 if test -f "$cache_file"; then
2354 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2355 echo "$as_me: loading cache $cache_file" >&6;}
2357 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2358 *) .
"./$cache_file";;
2362 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2363 echo "$as_me: creating cache $cache_file" >&6;}
2367 # Check that the precious variables saved in the cache have kept the same
2369 ac_cache_corrupted
=false
2370 for ac_var
in $ac_precious_vars; do
2371 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2372 eval ac_new_set
=\
$ac_env_${ac_var}_set
2373 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2374 eval ac_new_val
=\
$ac_env_${ac_var}_value
2375 case $ac_old_set,$ac_new_set in
2377 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2378 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379 ac_cache_corrupted
=: ;;
2381 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2382 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2383 ac_cache_corrupted
=: ;;
2386 if test "x$ac_old_val" != "x$ac_new_val"; then
2387 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2388 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2389 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2390 echo "$as_me: former value: $ac_old_val" >&2;}
2391 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2392 echo "$as_me: current value: $ac_new_val" >&2;}
2393 ac_cache_corrupted
=:
2396 # Pass precious variables to config.status.
2397 if test "$ac_new_set" = set; then
2399 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 *) ac_arg
=$ac_var=$ac_new_val ;;
2402 case " $ac_configure_args " in
2403 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2404 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2408 if $ac_cache_corrupted; then
2409 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2410 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2412 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2413 { (exit 1); exit 1; }; }
2441 ac_cpp
='$CPP $CPPFLAGS'
2442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2451 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2452 if test -f "$ac_dir/install-sh"; then
2454 ac_install_sh
="$ac_aux_dir/install-sh -c"
2456 elif test -f "$ac_dir/install.sh"; then
2458 ac_install_sh
="$ac_aux_dir/install.sh -c"
2460 elif test -f "$ac_dir/shtool"; then
2462 ac_install_sh
="$ac_aux_dir/shtool install -c"
2466 if test -z "$ac_aux_dir"; then
2467 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2468 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2469 { (exit 1); exit 1; }; }
2472 # These three variables are undocumented and unsupported,
2473 # and are intended to be withdrawn in a future Autoconf release.
2474 # They can cause serious problems if a builder's source tree is in a directory
2475 # whose full name contains unusual characters.
2476 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2477 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2478 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2481 # Make sure we can run config.sub.
2482 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2483 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2484 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2485 { (exit 1); exit 1; }; }
2487 { echo "$as_me:$LINENO: checking build system type" >&5
2488 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2489 if test "${ac_cv_build+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 ac_build_alias
=$build_alias
2493 test "x$ac_build_alias" = x
&&
2494 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2495 test "x$ac_build_alias" = x
&&
2496 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2497 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2498 { (exit 1); exit 1; }; }
2499 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2500 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2501 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2502 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2506 echo "${ECHO_T}$ac_cv_build" >&6; }
2507 case $ac_cv_build in
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2510 echo "$as_me: error: invalid value of canonical build" >&2;}
2511 { (exit 1); exit 1; }; };;
2514 ac_save_IFS
=$IFS; IFS
='-'
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2524 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2527 { echo "$as_me:$LINENO: checking host system type" >&5
2528 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2529 if test "${ac_cv_host+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 if test "x$host_alias" = x
; then
2533 ac_cv_host
=$ac_cv_build
2535 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2536 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2537 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2538 { (exit 1); exit 1; }; }
2542 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2543 echo "${ECHO_T}$ac_cv_host" >&6; }
2546 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2547 echo "$as_me: error: invalid value of canonical host" >&2;}
2548 { (exit 1); exit 1; }; };;
2551 ac_save_IFS
=$IFS; IFS
='-'
2557 # Remember, the first character of IFS is used to create $*,
2558 # except with old shells:
2561 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2565 if test "$cross_compiling" != "no"; then
2566 HOST_PREFIX
="${host_alias}-"
2567 HOST_SUFFIX
="-$host_alias"
2574 wx_major_version_number
=2
2575 wx_minor_version_number
=9
2577 wx_subrelease_number
=0
2579 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2580 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2581 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2583 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2586 wx_top_builddir
="`pwd`"
2599 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2605 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2611 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2613 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2615 DEFAULT_wxUSE_OLD_COCOA
=0
2617 DEFAULT_wxUSE_OSX_CARBON
=0
2618 DEFAULT_wxUSE_OSX_COCOA
=0
2619 DEFAULT_wxUSE_OSX_IPHONE
=0
2621 DEFAULT_wxUSE_MICROWIN
=0
2622 DEFAULT_wxUSE_MOTIF
=0
2628 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2629 DEFAULT_DEFAULT_wxUSE_GTK
=0
2630 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2631 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2633 DEFAULT_DEFAULT_wxUSE_MGL
=0
2634 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2635 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2636 DEFAULT_DEFAULT_wxUSE_MSW
=0
2637 DEFAULT_DEFAULT_wxUSE_PM
=0
2638 DEFAULT_DEFAULT_wxUSE_X11
=0
2639 DEFAULT_DEFAULT_wxUSE_DFB
=0
2643 DYLIB_RPATH_INSTALL
=
2644 DYLIB_RPATH_POSTLINK
=
2646 DEFAULT_STD_FLAG
=yes
2651 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2652 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2653 cat >>confdefs.h
<<\_ACEOF
2658 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2662 cat >>confdefs.h
<<\_ACEOF
2667 if test "x$TMP" = "xalpha"; then
2669 cat >>confdefs.h
<<\_ACEOF
2674 DEFAULT_DEFAULT_wxUSE_GTK
=1
2676 *-*-gnu* | *-*-k*bsd
*-gnu )
2679 if test "x$TMP" = "xalpha"; then
2681 cat >>confdefs.h
<<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_GTK
=1
2688 *-*-irix5* | *-*-irix6* )
2691 cat >>confdefs.h
<<\_ACEOF
2695 cat >>confdefs.h
<<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2705 cat >>confdefs.h
<<\_ACEOF
2709 cat >>confdefs.h
<<\_ACEOF
2710 #define __SOLARIS__ 1
2713 cat >>confdefs.h
<<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2718 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2724 cat >>confdefs.h
<<\_ACEOF
2728 cat >>confdefs.h
<<\_ACEOF
2732 cat >>confdefs.h
<<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2741 cat >>confdefs.h
<<\_ACEOF
2742 #define __FREEBSD__ 1
2745 cat >>confdefs.h
<<\_ACEOF
2749 DEFAULT_DEFAULT_wxUSE_GTK
=1
2751 *-*-openbsd*|*-*-mirbsd*)
2754 cat >>confdefs.h
<<\_ACEOF
2755 #define __OPENBSD__ 1
2758 cat >>confdefs.h
<<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_GTK
=1
2767 cat >>confdefs.h
<<\_ACEOF
2768 #define __NETBSD__ 1
2771 cat >>confdefs.h
<<\_ACEOF
2775 DEFAULT_DEFAULT_wxUSE_GTK
=1
2776 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2778 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2783 cat >>confdefs.h
<<\_ACEOF
2787 cat >>confdefs.h
<<\_ACEOF
2791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2792 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2797 cat >>confdefs.h
<<\_ACEOF
2801 cat >>confdefs.h
<<\_ACEOF
2805 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2810 cat >>confdefs.h
<<\_ACEOF
2814 cat >>confdefs.h
<<\_ACEOF
2818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2824 cat >>confdefs.h
<<\_ACEOF
2828 cat >>confdefs.h
<<\_ACEOF
2832 cat >>confdefs.h
<<\_ACEOF
2836 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2843 cat >>confdefs.h
<<\_ACEOF
2844 #define __UNIXWARE__ 1
2849 *-*-cygwin* | *-*-mingw32* )
2851 DEFAULT_DEFAULT_wxUSE_MSW
=1
2857 cat >>confdefs.h
<<\_ACEOF
2862 DEFAULT_DEFAULT_wxUSE_MGL
=1
2865 *-pc-os2_emx | *-pc-os2-emx )
2866 cat >>confdefs.h
<<\_ACEOF
2871 cat >>confdefs.h
<<\_ACEOF
2876 DEFAULT_DEFAULT_wxUSE_PM
=1
2878 LDFLAGS
="$LDFLAGS -Zcrtdll"
2879 ac_executable_extensions
=".exe"
2880 export ac_executable_extensions
2884 for ac_dir
in $PATH; do
2886 if test -z "$ac_TEMP_PATH"; then
2887 ac_TEMP_PATH
="$ac_dir"
2889 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2892 export PATH
="$ac_TEMP_PATH"
2900 cat >>confdefs.h
<<\_ACEOF
2904 cat >>confdefs.h
<<\_ACEOF
2905 #define __DARWIN__ 1
2908 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2914 cat >>confdefs.h
<<\_ACEOF
2918 cat >>confdefs.h
<<\_ACEOF
2919 #define __DARWIN__ 1
2922 cat >>confdefs.h
<<\_ACEOF
2923 #define TARGET_CARBON 1
2926 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2931 cat >>confdefs.h
<<\_ACEOF
2938 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2939 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2940 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2941 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2943 DEFAULT_DEFAULT_wxUSE_X11
=1
2944 DEFAULT_wxUSE_SHARED
=no
2949 DEFAULT_wxUSE_ALL_FEATURES
=yes
2951 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2952 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2954 DEFAULT_wxUSE_DMALLOC
=no
2955 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2956 DEFAULT_wxUSE_LIBHILDON
=no
2957 DEFAULT_wxUSE_LIBHILDON2
=no
2958 DEFAULT_wxUSE_LIBMSPACK
=no
2959 DEFAULT_wxUSE_LIBSDL
=no
2961 DEFAULT_wxUSE_ACCESSIBILITY
=no
2962 DEFAULT_wxUSE_IPV6
=no
2963 DEFAULT_wxUSE_GSTREAMER8
=no
2965 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2966 DEFAULT_wxUSE_OPENGL
=auto
2967 DEFAULT_wxUSE_MEDIACTRL
=auto
2968 DEFAULT_wxUSE_COMPILER_TLS
=auto
2970 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2972 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2974 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2976 DEFAULT_wxUSE_GTK2
=yes
2978 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2984 enablestring
=disable
2986 if test -z "$defaultval"; then
2987 if test x
"$enablestring" = xdisable
; then
2994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2995 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2996 # Check whether --enable-gui was given.
2997 if test "${enable_gui+set}" = set; then
2998 enableval
=$enable_gui;
2999 if test "$enableval" = yes; then
3000 wx_cv_use_gui
='wxUSE_GUI=yes'
3002 wx_cv_use_gui
='wxUSE_GUI=no'
3007 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3012 eval "$wx_cv_use_gui"
3014 if test x"$enablestring" = xdisable; then
3015 if test $wxUSE_GUI = no; then
3024 { echo "$as_me:$LINENO: result: $result" >&5
3025 echo "${ECHO_T}$result" >&6; }
3030 if test -z "$defaultval"; then
3031 if test x"$enablestring" = xdisable; then
3038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3039 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3040 # Check whether --enable-monolithic was given.
3041 if test "${enable_monolithic+set}" = set; then
3042 enableval=$enable_monolithic;
3043 if test "$enableval" = yes; then
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3056 eval "$wx_cv_use_monolithic"
3058 if test x"$enablestring" = xdisable; then
3059 if test $wxUSE_MONOLITHIC = no; then
3065 result=$wxUSE_MONOLITHIC
3068 { echo "$as_me:$LINENO: result
: $result" >&5
3069 echo "${ECHO_T}$result" >&6; }
3074 if test -z "$defaultval"; then
3075 if test x"$enablestring" = xdisable; then
3082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3083 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3084 # Check whether --enable-plugins was given.
3085 if test "${enable_plugins+set}" = set; then
3086 enableval=$enable_plugins;
3087 if test "$enableval" = yes; then
3088 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3090 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3095 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3100 eval "$wx_cv_use_plugins"
3102 if test x
"$enablestring" = xdisable
; then
3103 if test $wxUSE_PLUGINS = no
; then
3109 result
=$wxUSE_PLUGINS
3112 { echo "$as_me:$LINENO: result: $result" >&5
3113 echo "${ECHO_T}$result" >&6; }
3117 defaultval
=$wxUSE_ALL_FEATURES
3118 if test -z "$defaultval"; then
3119 if test x
"$withstring" = xwithout
; then
3125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3128 # Check whether --with-subdirs was given.
3129 if test "${with_subdirs+set}" = set; then
3130 withval
=$with_subdirs;
3131 if test "$withval" = yes; then
3132 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3134 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3139 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3144 eval "$wx_cv_use_subdirs"
3146 if test x"$withstring" = xwithout; then
3147 if test $wxWITH_SUBDIRS = yes; then
3153 result=$wxWITH_SUBDIRS
3156 { echo "$as_me:$LINENO: result: $result" >&5
3157 echo "${ECHO_T}$result" >&6; }
3160 # Check whether --with-flavour was given.
3161 if test "${with_flavour+set}" = set; then
3162 withval=$with_flavour; WX_FLAVOUR="$withval"
3168 if test -z "$defaultval"; then
3169 if test x"$enablestring" = xdisable; then
3176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3177 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3178 # Check whether --enable-official_build was given.
3179 if test "${enable_official_build+set}" = set; then
3180 enableval=$enable_official_build;
3181 if test "$enableval" = yes; then
3182 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3189 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3194 eval "$wx_cv_use_official_build"
3196 if test x"$enablestring" = xdisable; then
3197 if test $wxUSE_OFFICIAL_BUILD = no; then
3203 result=$wxUSE_OFFICIAL_BUILD
3206 { echo "$as_me:$LINENO: result
: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3209 # Check whether --enable-vendor was given.
3210 if test "${enable_vendor+set}" = set; then
3211 enableval=$enable_vendor; VENDOR="$enableval"
3214 if test "x
$VENDOR" = "x
"; then
3219 enablestring=disable
3221 if test -z "$defaultval"; then
3222 if test x"$enablestring" = xdisable; then
3229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3230 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3231 # Check whether --enable-all-features was given.
3232 if test "${enable_all_features+set}" = set; then
3233 enableval=$enable_all_features;
3234 if test "$enableval" = yes; then
3235 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3242 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3247 eval "$wx_cv_use_all_features"
3249 if test x
"$enablestring" = xdisable
; then
3250 if test $wxUSE_ALL_FEATURES = no
; then
3256 result
=$wxUSE_ALL_FEATURES
3259 { echo "$as_me:$LINENO: result: $result" >&5
3260 echo "${ECHO_T}$result" >&6; }
3263 if test "$wxUSE_ALL_FEATURES" = "no"; then
3264 DEFAULT_wxUSE_MEDIACTRL
=no
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 = no; 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-osx_iphone was given.
3349 if test "${with_osx_iphone+set}" = set; then
3350 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-osx was given.
3355 if test "${with_osx+set}" = set; then
3356 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-carbon was given.
3361 if test "${with_carbon+set}" = set; then
3362 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-cocoa was given.
3367 if test "${with_cocoa+set}" = set; then
3368 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-iphone was given.
3373 if test "${with_iphone+set}" = set; then
3374 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-mac was given.
3379 if test "${with_mac+set}" = set; then
3380 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-old_cocoa was given.
3385 if test "${with_old_cocoa+set}" = set; then
3386 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-wine was given.
3391 if test "${with_wine+set}" = set; then
3392 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3396 # Check whether --with-msw was given.
3397 if test "${with_msw+set}" = set; then
3398 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-pm was given.
3403 if test "${with_pm+set}" = set; then
3404 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-mgl was given.
3409 if test "${with_mgl+set}" = set; then
3410 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-directfb was given.
3415 if test "${with_directfb+set}" = set; then
3416 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-microwin was given.
3421 if test "${with_microwin+set}" = set; then
3422 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3426 # Check whether --with-x11 was given.
3427 if test "${with_x11+set}" = set; then
3428 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3434 if test -z "$defaultval"; then
3435 if test x"$enablestring" = xdisable; then
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3444 # Check whether --enable-nanox was given.
3445 if test "${enable_nanox+set}" = set; then
3446 enableval=$enable_nanox;
3447 if test "$enableval" = yes; then
3448 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3450 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3455 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3460 eval "$wx_cv_use_nanox"
3462 if test x"$enablestring" = xdisable; then
3463 if test $wxUSE_NANOX = no; then
3472 { echo "$as_me:$LINENO: result
: $result" >&5
3473 echo "${ECHO_T}$result" >&6; }
3476 # Check whether --enable-gtk2 was given.
3477 if test "${enable_gtk2+set}" = set; then
3478 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3484 if test -z "$defaultval"; then
3485 if test x"$enablestring" = xdisable; then
3492 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3493 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3494 # Check whether --enable-gpe was given.
3495 if test "${enable_gpe+set}" = set; then
3496 enableval=$enable_gpe;
3497 if test "$enableval" = yes; then
3498 wx_cv_use_gpe='wxUSE_GPE=yes'
3500 wx_cv_use_gpe='wxUSE_GPE=no'
3505 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3510 eval "$wx_cv_use_gpe"
3512 if test x
"$enablestring" = xdisable
; then
3513 if test $wxUSE_GPE = no
; then
3522 { echo "$as_me:$LINENO: result: $result" >&5
3523 echo "${ECHO_T}$result" >&6; }
3527 { echo "$as_me:$LINENO: checking for toolkit" >&5
3528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3532 # In Wine, we need to default to MSW, not GTK or MOTIF
3533 if test "$wxUSE_WINE" = "yes"; then
3534 DEFAULT_DEFAULT_wxUSE_GTK
=0
3535 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3536 DEFAULT_DEFAULT_wxUSE_MSW
=1
3543 if test "$wxUSE_GUI" = "yes"; then
3545 if test "$USE_BEOS" = 1; then
3546 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3547 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3548 { (exit 1); exit 1; }; }
3551 if test "$TOOLKIT_GIVEN" = 1; then
3552 for toolkit
in $ALL_TOOLKITS; do
3554 eval "value=\$${var}"
3555 if test "x$value" = "xno"; then
3557 elif test "x$value" != "x"; then
3561 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3562 eval "wx${toolkit}_VERSION=$value"
3566 for toolkit
in $ALL_TOOLKITS; do
3567 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3568 eval "wxUSE_$toolkit=\$${var}"
3572 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3573 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3574 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3577 *-pc-os2_emx | *-pc-os2-emx )
3578 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3581 case "$NUM_TOOLKITS" in
3585 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3586 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3587 { (exit 1); exit 1; }; }
3590 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3591 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3592 { (exit 1); exit 1; }; }
3595 # to be removed when --disable-gtk2 isn't needed
3596 if test "x$wxUSE_GTK2" = "xyes"; then
3598 elif test "x$wxUSE_GTK2" = "xno"; then
3602 for toolkit
in $ALL_TOOLKITS; do
3604 eval "value=\$${var}"
3605 if test "$value" = 1; then
3606 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3607 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3608 echo "${ECHO_T}$toolkit_echo" >&6; }
3612 if test "x$host_alias" != "x"; then
3613 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3614 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3616 { echo "$as_me:$LINENO: result: base only" >&5
3617 echo "${ECHO_T}base only" >&6; }
3622 if test "$wxUSE_OSX_CARBON" = 1 \
3623 -o "$wxUSE_OSX_COCOA" = 1 \
3624 -o "$wxUSE_OSX_IPHONE" = 1; then
3630 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3631 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3633 # Check whether --with-libpng was given.
3634 if test "${with_libpng+set}" = set; then
3635 withval
=$with_libpng;
3636 if test "$withval" = yes; then
3637 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3638 elif test "$withval" = no
; then
3639 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3640 elif test "$withval" = sys
; then
3641 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3642 elif test "$withval" = builtin; then
3643 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3645 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3646 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3647 { (exit 1); exit 1; }; }
3652 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3657 eval "$wx_cv_use_libpng"
3659 if test "$wxUSE_LIBPNG" = yes; then
3660 { echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6; }
3662 elif test "$wxUSE_LIBPNG" = no; then
3663 { echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6; }
3665 elif test "$wxUSE_LIBPNG" = sys; then
3666 { echo "$as_me:$LINENO: result: system version" >&5
3667 echo "${ECHO_T}system version" >&6; }
3668 elif test "$wxUSE_LIBPNG" = builtin; then
3669 { echo "$as_me:$LINENO: result: builtin version" >&5
3670 echo "${ECHO_T}builtin version" >&6; }
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3678 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3679 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3681 # Check whether --with-libjpeg was given.
3682 if test "${with_libjpeg+set}" = set; then
3683 withval=$with_libjpeg;
3684 if test "$withval" = yes; then
3685 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3686 elif test "$withval" = no; then
3687 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3688 elif test "$withval" = sys; then
3689 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3690 elif test "$withval" = builtin; then
3691 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3700 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3705 eval "$wx_cv_use_libjpeg"
3707 if test "$wxUSE_LIBJPEG" = yes; then
3708 { echo "$as_me:$LINENO: result
: yes" >&5
3709 echo "${ECHO_T}yes" >&6; }
3710 elif test "$wxUSE_LIBJPEG" = no; then
3711 { echo "$as_me:$LINENO: result
: no
" >&5
3712 echo "${ECHO_T}no
" >&6; }
3713 elif test "$wxUSE_LIBJPEG" = sys; then
3714 { echo "$as_me:$LINENO: result
: system version
" >&5
3715 echo "${ECHO_T}system version
" >&6; }
3716 elif test "$wxUSE_LIBJPEG" = builtin; then
3717 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3718 echo "${ECHO_T}builtin version
" >&6; }
3720 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3721 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3726 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3727 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3729 # Check whether --with-libtiff was given.
3730 if test "${with_libtiff+set}" = set; then
3731 withval=$with_libtiff;
3732 if test "$withval" = yes; then
3733 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3734 elif test "$withval" = no; then
3735 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3736 elif test "$withval" = sys; then
3737 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3738 elif test "$withval" = builtin; then
3739 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3741 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3742 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3748 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3753 eval "$wx_cv_use_libtiff"
3755 if test "$wxUSE_LIBTIFF" = yes; then
3756 { echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = no
; then
3759 { echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6; }
3761 elif test "$wxUSE_LIBTIFF" = sys
; then
3762 { echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6; }
3764 elif test "$wxUSE_LIBTIFF" = builtin; then
3765 { echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6; }
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3774 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3775 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3777 # Check whether --with-libxpm was given.
3778 if test "${with_libxpm+set}" = set; then
3779 withval
=$with_libxpm;
3780 if test "$withval" = yes; then
3781 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3782 elif test "$withval" = no
; then
3783 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3784 elif test "$withval" = sys
; then
3785 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3786 elif test "$withval" = builtin; then
3787 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3796 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3801 eval "$wx_cv_use_libxpm"
3803 if test "$wxUSE_LIBXPM" = yes; then
3804 { echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6; }
3806 elif test "$wxUSE_LIBXPM" = no; then
3807 { echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6; }
3809 elif test "$wxUSE_LIBXPM" = sys; then
3810 { echo "$as_me:$LINENO: result: system version" >&5
3811 echo "${ECHO_T}system version" >&6; }
3812 elif test "$wxUSE_LIBXPM" = builtin; then
3813 { echo "$as_me:$LINENO: result: builtin version" >&5
3814 echo "${ECHO_T}builtin version" >&6; }
3816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3817 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3818 { (exit 1); exit 1; }; }
3823 defaultval=$wxUSE_ALL_FEATURES
3824 if test -z "$defaultval"; then
3825 if test x"$withstring" = xwithout; then
3831 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3832 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3834 # Check whether --with-libiconv was given.
3835 if test "${with_libiconv+set}" = set; then
3836 withval=$with_libiconv;
3837 if test "$withval" = yes; then
3838 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3840 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3845 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3850 eval "$wx_cv_use_libiconv"
3852 if test x"$withstring" = xwithout; then
3853 if test $wxUSE_LIBICONV = yes; then
3859 result=$wxUSE_LIBICONV
3862 { echo "$as_me:$LINENO: result
: $result" >&5
3863 echo "${ECHO_T}$result" >&6; }
3867 defaultval=$wxUSE_ALL_FEATURES
3868 if test -z "$defaultval"; then
3869 if test x"$withstring" = xwithout; then
3875 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3876 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3878 # Check whether --with-libmspack was given.
3879 if test "${with_libmspack+set}" = set; then
3880 withval=$with_libmspack;
3881 if test "$withval" = yes; then
3882 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3884 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3889 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3894 eval "$wx_cv_use_libmspack"
3896 if test x
"$withstring" = xwithout
; then
3897 if test $wxUSE_LIBMSPACK = yes; then
3903 result
=$wxUSE_LIBMSPACK
3906 { echo "$as_me:$LINENO: result: $result" >&5
3907 echo "${ECHO_T}$result" >&6; }
3911 defaultval
=$wxUSE_ALL_FEATURES
3912 if test -z "$defaultval"; then
3913 if test x
"$withstring" = xwithout
; then
3919 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3920 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3922 # Check whether --with-gtkprint was given.
3923 if test "${with_gtkprint+set}" = set; then
3924 withval
=$with_gtkprint;
3925 if test "$withval" = yes; then
3926 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3928 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3933 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3938 eval "$wx_cv_use_gtkprint"
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_GTKPRINT = yes; then
3947 result=$wxUSE_GTKPRINT
3950 { echo "$as_me:$LINENO: result: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3966 # Check whether --with-gnomeprint was given.
3967 if test "${with_gnomeprint+set}" = set; then
3968 withval=$with_gnomeprint;
3969 if test "$withval" = yes; then
3970 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3972 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3977 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3982 eval "$wx_cv_use_gnomeprint"
3984 if test x"$withstring" = xwithout; then
3985 if test $wxUSE_LIBGNOMEPRINT = yes; then
3991 result=$wxUSE_LIBGNOMEPRINT
3994 { echo "$as_me:$LINENO: result
: $result" >&5
3995 echo "${ECHO_T}$result" >&6; }
3999 defaultval=$wxUSE_ALL_FEATURES
4000 if test -z "$defaultval"; then
4001 if test x"$withstring" = xwithout; then
4007 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4008 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4010 # Check whether --with-gnomevfs was given.
4011 if test "${with_gnomevfs+set}" = set; then
4012 withval=$with_gnomevfs;
4013 if test "$withval" = yes; then
4014 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4016 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4021 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4026 eval "$wx_cv_use_gnomevfs"
4028 if test x
"$withstring" = xwithout
; then
4029 if test $wxUSE_LIBGNOMEVFS = yes; then
4035 result
=$wxUSE_LIBGNOMEVFS
4038 { echo "$as_me:$LINENO: result: $result" >&5
4039 echo "${ECHO_T}$result" >&6; }
4043 defaultval
=$wxUSE_ALL_FEATURES
4044 if test -z "$defaultval"; then
4045 if test x
"$withstring" = xwithout
; then
4051 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4052 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4054 # Check whether --with-hildon was given.
4055 if test "${with_hildon+set}" = set; then
4056 withval
=$with_hildon;
4057 if test "$withval" = yes; then
4058 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4060 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4065 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4070 eval "$wx_cv_use_hildon"
4072 if test x"$withstring" = xwithout; then
4073 if test $wxUSE_LIBHILDON = yes; then
4079 result=$wxUSE_LIBHILDON
4082 { echo "$as_me:$LINENO: result: $result" >&5
4083 echo "${ECHO_T}$result" >&6; }
4087 defaultval=$wxUSE_ALL_FEATURES
4088 if test -z "$defaultval"; then
4089 if test x"$withstring" = xwithout; then
4095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4096 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4098 # Check whether --with-opengl was given.
4099 if test "${with_opengl+set}" = set; then
4100 withval=$with_opengl;
4101 if test "$withval" = yes; then
4102 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4104 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4109 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4114 eval "$wx_cv_use_opengl"
4116 if test x"$withstring" = xwithout; then
4117 if test $wxUSE_OPENGL = yes; then
4123 result=$wxUSE_OPENGL
4126 { echo "$as_me:$LINENO: result
: $result" >&5
4127 echo "${ECHO_T}$result" >&6; }
4134 defaultval=$wxUSE_ALL_FEATURES
4135 if test -z "$defaultval"; then
4136 if test x"$withstring" = xwithout; then
4142 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4143 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4145 # Check whether --with-dmalloc was given.
4146 if test "${with_dmalloc+set}" = set; then
4147 withval=$with_dmalloc;
4148 if test "$withval" = yes; then
4149 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4151 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4156 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4161 eval "$wx_cv_use_dmalloc"
4163 if test x
"$withstring" = xwithout
; then
4164 if test $wxUSE_DMALLOC = yes; then
4170 result
=$wxUSE_DMALLOC
4173 { echo "$as_me:$LINENO: result: $result" >&5
4174 echo "${ECHO_T}$result" >&6; }
4178 defaultval
=$wxUSE_ALL_FEATURES
4179 if test -z "$defaultval"; then
4180 if test x
"$withstring" = xwithout
; then
4186 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4187 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4189 # Check whether --with-sdl was given.
4190 if test "${with_sdl+set}" = set; then
4192 if test "$withval" = yes; then
4193 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4195 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4200 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4205 eval "$wx_cv_use_sdl"
4207 if test x"$withstring" = xwithout; then
4208 if test $wxUSE_LIBSDL = yes; then
4214 result=$wxUSE_LIBSDL
4217 { echo "$as_me:$LINENO: result: $result" >&5
4218 echo "${ECHO_T}$result" >&6; }
4221 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4222 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4224 # Check whether --with-regex was given.
4225 if test "${with_regex+set}" = set; then
4226 withval=$with_regex;
4227 if test "$withval" = yes; then
4228 wx_cv_use_regex='wxUSE_REGEX
=yes'
4229 elif test "$withval" = no; then
4230 wx_cv_use_regex='wxUSE_REGEX
=no
'
4231 elif test "$withval" = sys; then
4232 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4233 elif test "$withval" = builtin; then
4234 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4236 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4237 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4238 { (exit 1); exit 1; }; }
4243 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4248 eval "$wx_cv_use_regex"
4250 if test "$wxUSE_REGEX" = yes; then
4251 { echo "$as_me:$LINENO: result
: yes" >&5
4252 echo "${ECHO_T}yes" >&6; }
4253 elif test "$wxUSE_REGEX" = no; then
4254 { echo "$as_me:$LINENO: result
: no
" >&5
4255 echo "${ECHO_T}no
" >&6; }
4256 elif test "$wxUSE_REGEX" = sys; then
4257 { echo "$as_me:$LINENO: result
: system version
" >&5
4258 echo "${ECHO_T}system version
" >&6; }
4259 elif test "$wxUSE_REGEX" = builtin; then
4260 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4261 echo "${ECHO_T}builtin version
" >&6; }
4263 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4264 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4265 { (exit 1); exit 1; }; }
4269 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4270 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4272 # Check whether --with-zlib was given.
4273 if test "${with_zlib+set}" = set; then
4275 if test "$withval" = yes; then
4276 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4277 elif test "$withval" = no; then
4278 wx_cv_use_zlib='wxUSE_ZLIB=no'
4279 elif test "$withval" = sys; then
4280 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4281 elif test "$withval" = builtin; then
4282 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4284 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4285 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4291 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4296 eval "$wx_cv_use_zlib"
4298 if test "$wxUSE_ZLIB" = yes; then
4299 { echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6; }
4301 elif test "$wxUSE_ZLIB" = no
; then
4302 { echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6; }
4304 elif test "$wxUSE_ZLIB" = sys
; then
4305 { echo "$as_me:$LINENO: result: system version" >&5
4306 echo "${ECHO_T}system version" >&6; }
4307 elif test "$wxUSE_ZLIB" = builtin; then
4308 { echo "$as_me:$LINENO: result: builtin version" >&5
4309 echo "${ECHO_T}builtin version" >&6; }
4311 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4312 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4313 { (exit 1); exit 1; }; }
4317 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4318 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4320 # Check whether --with-expat was given.
4321 if test "${with_expat+set}" = set; then
4322 withval
=$with_expat;
4323 if test "$withval" = yes; then
4324 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4325 elif test "$withval" = no
; then
4326 wx_cv_use_expat
='wxUSE_EXPAT=no'
4327 elif test "$withval" = sys
; then
4328 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4329 elif test "$withval" = builtin; then
4330 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4339 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4344 eval "$wx_cv_use_expat"
4346 if test "$wxUSE_EXPAT" = yes; then
4347 { echo "$as_me:$LINENO: result: yes" >&5
4348 echo "${ECHO_T}yes" >&6; }
4349 elif test "$wxUSE_EXPAT" = no; then
4350 { echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6; }
4352 elif test "$wxUSE_EXPAT" = sys; then
4353 { echo "$as_me:$LINENO: result: system version" >&5
4354 echo "${ECHO_T}system version" >&6; }
4355 elif test "$wxUSE_EXPAT" = builtin; then
4356 { echo "$as_me:$LINENO: result: builtin version" >&5
4357 echo "${ECHO_T}builtin version" >&6; }
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4365 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4366 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4368 # Check whether --with-macosx-sdk was given.
4369 if test "${with_macosx_sdk+set}" = set; then
4370 withval=$with_macosx_sdk;
4371 wxUSE_MACOSX_SDK=$withval
4372 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4376 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4377 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4379 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4380 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4382 # Check whether --with-macosx-version-min was given.
4383 if test "${with_macosx_version_min+set}" = set; then
4384 withval=$with_macosx_version_min;
4385 wxUSE_MACOSX_VERSION_MIN=$withval
4386 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4390 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4391 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4394 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4395 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4396 # Check whether --enable-debug was given.
4397 if test "${enable_debug+set}" = set; then
4398 enableval=$enable_debug;
4399 if test "$enableval" = yes; then
4401 elif test "$enableval" = no; then
4403 elif test "$enableval" = max; then
4405 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4407 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4408 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4409 { (exit 1); exit 1; }; }
4418 case "$wxUSE_DEBUG" in
4420 DEFAULT_wxUSE_DEBUG_FLAG=yes
4421 DEFAULT_wxUSE_DEBUG_INFO=yes
4423 DEFAULT_wxUSE_OPTIMISE=no
4427 DEFAULT_wxUSE_DEBUG_FLAG=no
4428 DEFAULT_wxUSE_DEBUG_INFO=no
4432 DEFAULT_wxUSE_DEBUG_FLAG=yes
4433 DEFAULT_wxUSE_DEBUG_INFO=no
4438 enablestring=disable
4440 if test -z "$defaultval"; then
4441 if test x"$enablestring" = xdisable; then
4448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4450 # Check whether --enable-debug_flag was given.
4451 if test "${enable_debug_flag+set}" = set; then
4452 enableval=$enable_debug_flag;
4453 if test "$enableval" = yes; then
4454 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4456 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4461 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4466 eval "$wx_cv_use_debug_flag"
4468 if test x"$enablestring" = xdisable; then
4469 if test $wxUSE_DEBUG_FLAG = no; then
4475 result=$wxUSE_DEBUG_FLAG
4478 { echo "$as_me:$LINENO: result
: $result" >&5
4479 echo "${ECHO_T}$result" >&6; }
4484 if test -z "$defaultval"; then
4485 if test x"$enablestring" = xdisable; then
4492 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4493 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4494 # Check whether --enable-debug_info was given.
4495 if test "${enable_debug_info+set}" = set; then
4496 enableval=$enable_debug_info;
4497 if test "$enableval" = yes; then
4498 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4500 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4505 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4510 eval "$wx_cv_use_debug_info"
4512 if test x
"$enablestring" = xdisable
; then
4513 if test $wxUSE_DEBUG_INFO = no
; then
4519 result
=$wxUSE_DEBUG_INFO
4522 { echo "$as_me:$LINENO: result: $result" >&5
4523 echo "${ECHO_T}$result" >&6; }
4530 if test -z "$defaultval"; then
4531 if test x
"$enablestring" = xdisable
; then
4538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4540 # Check whether --enable-debug_gdb was given.
4541 if test "${enable_debug_gdb+set}" = set; then
4542 enableval
=$enable_debug_gdb;
4543 if test "$enableval" = yes; then
4544 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4546 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4551 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4556 eval "$wx_cv_use_debug_gdb"
4558 if test x"$enablestring" = xdisable; then
4559 if test $wxUSE_DEBUG_GDB = no; then
4565 result=$wxUSE_DEBUG_GDB
4568 { echo "$as_me:$LINENO: result: $result" >&5
4569 echo "${ECHO_T}$result" >&6; }
4574 if test -z "$defaultval"; then
4575 if test x"$enablestring" = xdisable; then
4582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4584 # Check whether --enable-debug_cntxt was given.
4585 if test "${enable_debug_cntxt+set}" = set; then
4586 enableval=$enable_debug_cntxt;
4587 if test "$enableval" = yes; then
4588 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4590 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4595 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4600 eval "$wx_cv_use_debug_cntxt"
4602 if test x"$enablestring" = xdisable; then
4603 if test $wxUSE_DEBUG_CONTEXT = no; then
4609 result=$wxUSE_DEBUG_CONTEXT
4612 { echo "$as_me:$LINENO: result
: $result" >&5
4613 echo "${ECHO_T}$result" >&6; }
4618 if test -z "$defaultval"; then
4619 if test x"$enablestring" = xdisable; then
4626 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4627 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4628 # Check whether --enable-mem_tracing was given.
4629 if test "${enable_mem_tracing+set}" = set; then
4630 enableval=$enable_mem_tracing;
4631 if test "$enableval" = yes; then
4632 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4634 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4639 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4644 eval "$wx_cv_use_mem_tracing"
4646 if test x
"$enablestring" = xdisable
; then
4647 if test $wxUSE_MEM_TRACING = no
; then
4653 result
=$wxUSE_MEM_TRACING
4656 { echo "$as_me:$LINENO: result: $result" >&5
4657 echo "${ECHO_T}$result" >&6; }
4662 enablestring
=disable
4664 if test -z "$defaultval"; then
4665 if test x
"$enablestring" = xdisable
; then
4672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4674 # Check whether --enable-shared was given.
4675 if test "${enable_shared+set}" = set; then
4676 enableval
=$enable_shared;
4677 if test "$enableval" = yes; then
4678 wx_cv_use_shared
='wxUSE_SHARED=yes'
4680 wx_cv_use_shared
='wxUSE_SHARED=no'
4685 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4690 eval "$wx_cv_use_shared"
4692 if test x"$enablestring" = xdisable; then
4693 if test $wxUSE_SHARED = no; then
4699 result=$wxUSE_SHARED
4702 { echo "$as_me:$LINENO: result: $result" >&5
4703 echo "${ECHO_T}$result" >&6; }
4708 if test -z "$defaultval"; then
4709 if test x"$enablestring" = xdisable; then
4716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4717 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4718 # Check whether --enable-stl was given.
4719 if test "${enable_stl+set}" = set; then
4720 enableval=$enable_stl;
4721 if test "$enableval" = yes; then
4722 wx_cv_use_stl='wxUSE_STL
=yes'
4724 wx_cv_use_stl='wxUSE_STL
=no
'
4729 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4734 eval "$wx_cv_use_stl"
4736 if test x"$enablestring" = xdisable; then
4737 if test $wxUSE_STL = no; then
4746 { echo "$as_me:$LINENO: result
: $result" >&5
4747 echo "${ECHO_T}$result" >&6; }
4752 if test -z "$defaultval"; then
4753 if test x"$enablestring" = xdisable; then
4760 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4761 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4762 # Check whether --enable-std_iostreams was given.
4763 if test "${enable_std_iostreams+set}" = set; then
4764 enableval=$enable_std_iostreams;
4765 if test "$enableval" = yes; then
4766 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4768 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4773 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4778 eval "$wx_cv_use_std_iostreams"
4780 if test x
"$enablestring" = xdisable
; then
4781 if test $wxUSE_STD_IOSTREAM = no
; then
4787 result
=$wxUSE_STD_IOSTREAM
4790 { echo "$as_me:$LINENO: result: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4796 if test -z "$defaultval"; then
4797 if test x
"$enablestring" = xdisable
; then
4804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4806 # Check whether --enable-std_string was given.
4807 if test "${enable_std_string+set}" = set; then
4808 enableval
=$enable_std_string;
4809 if test "$enableval" = yes; then
4810 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4812 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4817 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4822 eval "$wx_cv_use_std_string"
4824 if test x"$enablestring" = xdisable; then
4825 if test $wxUSE_STD_STRING = no; then
4831 result=$wxUSE_STD_STRING
4834 { echo "$as_me:$LINENO: result: $result" >&5
4835 echo "${ECHO_T}$result" >&6; }
4838 enablestring=disable
4840 if test -z "$defaultval"; then
4841 if test x"$enablestring" = xdisable; then
4848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4849 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4850 # Check whether --enable-unicode was given.
4851 if test "${enable_unicode+set}" = set; then
4852 enableval=$enable_unicode;
4853 if test "$enableval" = yes; then
4854 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4856 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4861 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4866 eval "$wx_cv_use_unicode"
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_UNICODE = no; then
4875 result=$wxUSE_UNICODE
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}-mslu" >&5
4893 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4894 # Check whether --enable-mslu was given.
4895 if test "${enable_mslu+set}" = set; then
4896 enableval=$enable_mslu;
4897 if test "$enableval" = yes; then
4898 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4900 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4905 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4910 eval "$wx_cv_use_mslu"
4912 if test x
"$enablestring" = xdisable
; then
4913 if test $wxUSE_UNICODE_MSLU = no
; then
4919 result
=$wxUSE_UNICODE_MSLU
4922 { echo "$as_me:$LINENO: result: $result" >&5
4923 echo "${ECHO_T}$result" >&6; }
4927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4929 # Check whether --enable-utf8 was given.
4930 if test "${enable_utf8+set}" = set; then
4931 enableval
=$enable_utf8;
4932 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4936 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4941 eval "$wx_cv_use_utf8"
4943 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4944 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4949 if test -z "$defaultval"; then
4950 if test x
"$enablestring" = xdisable
; then
4957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4959 # Check whether --enable-utf8only was given.
4960 if test "${enable_utf8only+set}" = set; then
4961 enableval
=$enable_utf8only;
4962 if test "$enableval" = yes; then
4963 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4965 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4970 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4975 eval "$wx_cv_use_utf8only"
4977 if test x"$enablestring" = xdisable; then
4978 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4984 result=$wxUSE_UNICODE_UTF8_LOCALE
4987 { echo "$as_me:$LINENO: result: $result" >&5
4988 echo "${ECHO_T}$result" >&6; }
4993 if test -z "$defaultval"; then
4994 if test x"$enablestring" = xdisable; then
5001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5003 # Check whether --enable-extended_rtti was given.
5004 if test "${enable_extended_rtti+set}" = set; then
5005 enableval=$enable_extended_rtti;
5006 if test "$enableval" = yes; then
5007 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5009 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5014 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5019 eval "$wx_cv_use_extended_rtti"
5021 if test x"$enablestring" = xdisable; then
5022 if test $wxUSE_EXTENDED_RTTI = no; then
5028 result=$wxUSE_EXTENDED_RTTI
5031 { echo "$as_me:$LINENO: result
: $result" >&5
5032 echo "${ECHO_T}$result" >&6; }
5034 if test "$USE_OS2" = 1; then
5035 DEFAULT_wxUSE_OMF=no
5039 if test -z "$defaultval"; then
5040 if test x"$enablestring" = xdisable; then
5047 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5048 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5049 # Check whether --enable-omf was given.
5050 if test "${enable_omf+set}" = set; then
5051 enableval=$enable_omf;
5052 if test "$enableval" = yes; then
5053 wx_cv_use_omf='wxUSE_OMF=yes'
5055 wx_cv_use_omf='wxUSE_OMF=no'
5060 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5065 eval "$wx_cv_use_omf"
5067 if test x
"$enablestring" = xdisable
; then
5068 if test $wxUSE_OMF = no
; then
5077 { echo "$as_me:$LINENO: result: $result" >&5
5078 echo "${ECHO_T}$result" >&6; }
5083 enablestring
=disable
5085 if test -z "$defaultval"; then
5086 if test x
"$enablestring" = xdisable
; then
5093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5095 # Check whether --enable-optimise was given.
5096 if test "${enable_optimise+set}" = set; then
5097 enableval
=$enable_optimise;
5098 if test "$enableval" = yes; then
5099 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5101 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5106 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5111 eval "$wx_cv_use_optimise"
5113 if test x"$enablestring" = xdisable; then
5114 if test $wxUSE_OPTIMISE = no; then
5120 result=$wxUSE_OPTIMISE
5123 { echo "$as_me:$LINENO: result: $result" >&5
5124 echo "${ECHO_T}$result" >&6; }
5130 if test -z "$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5140 # Check whether --enable-profile was given.
5141 if test "${enable_profile+set}" = set; then
5142 enableval=$enable_profile;
5143 if test "$enableval" = yes; then
5144 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5146 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5151 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5156 eval "$wx_cv_use_profile"
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_PROFILE = no; then
5165 result=$wxUSE_PROFILE
5168 { echo "$as_me:$LINENO: result
: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5174 if test -z "$defaultval"; then
5175 if test x"$enablestring" = xdisable; then
5182 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5183 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5184 # Check whether --enable-no_rtti was given.
5185 if test "${enable_no_rtti+set}" = set; then
5186 enableval=$enable_no_rtti;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5190 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5195 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5200 eval "$wx_cv_use_no_rtti"
5202 if test x
"$enablestring" = xdisable
; then
5203 if test $wxUSE_NO_RTTI = no
; then
5209 result
=$wxUSE_NO_RTTI
5212 { echo "$as_me:$LINENO: result: $result" >&5
5213 echo "${ECHO_T}$result" >&6; }
5218 if test -z "$defaultval"; then
5219 if test x
"$enablestring" = xdisable
; then
5226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5227 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5228 # Check whether --enable-no_exceptions was given.
5229 if test "${enable_no_exceptions+set}" = set; then
5230 enableval
=$enable_no_exceptions;
5231 if test "$enableval" = yes; then
5232 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5234 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5239 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5244 eval "$wx_cv_use_no_exceptions"
5246 if test x"$enablestring" = xdisable; then
5247 if test $wxUSE_NO_EXCEPTIONS = no; then
5253 result=$wxUSE_NO_EXCEPTIONS
5256 { echo "$as_me:$LINENO: result: $result" >&5
5257 echo "${ECHO_T}$result" >&6; }
5262 if test -z "$defaultval"; then
5263 if test x"$enablestring" = xdisable; then
5270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5272 # Check whether --enable-permissive was given.
5273 if test "${enable_permissive+set}" = set; then
5274 enableval=$enable_permissive;
5275 if test "$enableval" = yes; then
5276 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5278 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5283 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5288 eval "$wx_cv_use_permissive"
5290 if test x"$enablestring" = xdisable; then
5291 if test $wxUSE_PERMISSIVE = no; then
5297 result=$wxUSE_PERMISSIVE
5300 { echo "$as_me:$LINENO: result
: $result" >&5
5301 echo "${ECHO_T}$result" >&6; }
5306 if test -z "$defaultval"; then
5307 if test x"$enablestring" = xdisable; then
5314 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5315 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5316 # Check whether --enable-no_deps was given.
5317 if test "${enable_no_deps+set}" = set; then
5318 enableval=$enable_no_deps;
5319 if test "$enableval" = yes; then
5320 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5322 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5327 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5332 eval "$wx_cv_use_no_deps"
5334 if test x
"$enablestring" = xdisable
; then
5335 if test $wxUSE_NO_DEPS = no
; then
5341 result
=$wxUSE_NO_DEPS
5344 { echo "$as_me:$LINENO: result: $result" >&5
5345 echo "${ECHO_T}$result" >&6; }
5348 enablestring
=disable
5350 if test -z "$defaultval"; then
5351 if test x
"$enablestring" = xdisable
; then
5358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5360 # Check whether --enable-vararg_macros was given.
5361 if test "${enable_vararg_macros+set}" = set; then
5362 enableval
=$enable_vararg_macros;
5363 if test "$enableval" = yes; then
5364 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5366 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5371 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5376 eval "$wx_cv_use_vararg_macros"
5378 if test x"$enablestring" = xdisable; then
5379 if test $wxUSE_VARARG_MACROS = no; then
5385 result=$wxUSE_VARARG_MACROS
5388 { echo "$as_me:$LINENO: result: $result" >&5
5389 echo "${ECHO_T}$result" >&6; }
5393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5395 # Check whether --enable-universal_binary was given.
5396 if test "${enable_universal_binary+set}" = set; then
5397 enableval=$enable_universal_binary;
5398 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5402 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5407 eval "$wx_cv_use_universal_binary"
5409 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5410 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5416 if test -z "$defaultval"; then
5417 if test x"$enablestring" = xdisable; then
5424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5426 # Check whether --enable-compat26 was given.
5427 if test "${enable_compat26+set}" = set; then
5428 enableval=$enable_compat26;
5429 if test "$enableval" = yes; then
5430 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5432 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5437 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5442 eval "$wx_cv_use_compat26"
5444 if test x"$enablestring" = xdisable; then
5445 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5451 result=$WXWIN_COMPATIBILITY_2_6
5454 { echo "$as_me:$LINENO: result
: $result" >&5
5455 echo "${ECHO_T}$result" >&6; }
5458 enablestring=disable
5460 if test -z "$defaultval"; then
5461 if test x"$enablestring" = xdisable; then
5468 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5469 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5470 # Check whether --enable-compat28 was given.
5471 if test "${enable_compat28+set}" = set; then
5472 enableval=$enable_compat28;
5473 if test "$enableval" = yes; then
5474 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5476 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5481 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5486 eval "$wx_cv_use_compat28"
5488 if test x
"$enablestring" = xdisable
; then
5489 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5495 result
=$WXWIN_COMPATIBILITY_2_8
5498 { echo "$as_me:$LINENO: result: $result" >&5
5499 echo "${ECHO_T}$result" >&6; }
5503 enablestring
=disable
5505 if test -z "$defaultval"; then
5506 if test x
"$enablestring" = xdisable
; then
5513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5515 # Check whether --enable-rpath was given.
5516 if test "${enable_rpath+set}" = set; then
5517 enableval
=$enable_rpath;
5518 if test "$enableval" = yes; then
5519 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5521 wx_cv_use_rpath
='wxUSE_RPATH=no'
5526 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5531 eval "$wx_cv_use_rpath"
5533 if test x"$enablestring" = xdisable; then
5534 if test $wxUSE_RPATH = no; then
5543 { echo "$as_me:$LINENO: result: $result" >&5
5544 echo "${ECHO_T}$result" >&6; }
5550 if test -z "$defaultval"; then
5551 if test x"$enablestring" = xdisable; then
5558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5560 # Check whether --enable-objc_uniquifying was given.
5561 if test "${enable_objc_uniquifying+set}" = set; then
5562 enableval=$enable_objc_uniquifying;
5563 if test "$enableval" = yes; then
5564 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5566 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5571 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5576 eval "$wx_cv_use_objc_uniquifying"
5578 if test x"$enablestring" = xdisable; then
5579 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5585 result=$wxUSE_OBJC_UNIQUIFYING
5588 { echo "$as_me:$LINENO: result
: $result" >&5
5589 echo "${ECHO_T}$result" >&6; }
5593 enablestring=disable
5595 if test -z "$defaultval"; then
5596 if test x"$enablestring" = xdisable; then
5603 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5604 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5605 # Check whether --enable-visibility was given.
5606 if test "${enable_visibility+set}" = set; then
5607 enableval=$enable_visibility;
5608 if test "$enableval" = yes; then
5609 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5611 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5616 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5621 eval "$wx_cv_use_visibility"
5623 if test x
"$enablestring" = xdisable
; then
5624 if test $wxUSE_VISIBILITY = no
; then
5630 result
=$wxUSE_VISIBILITY
5633 { echo "$as_me:$LINENO: result: $result" >&5
5634 echo "${ECHO_T}$result" >&6; }
5637 enablestring
=disable
5639 if test -z "$defaultval"; then
5640 if test x
"$enablestring" = xdisable
; then
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5649 # Check whether --enable-tls was given.
5650 if test "${enable_tls+set}" = set; then
5651 enableval
=$enable_tls;
5652 if test "$enableval" = yes; then
5653 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5655 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5660 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5665 eval "$wx_cv_use_tls"
5667 if test x"$enablestring" = xdisable; then
5668 if test $wxUSE_COMPILER_TLS = no; then
5674 result=$wxUSE_COMPILER_TLS
5677 { echo "$as_me:$LINENO: result: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5684 defaultval=$wxUSE_ALL_FEATURES
5685 if test -z "$defaultval"; then
5686 if test x"$enablestring" = xdisable; then
5693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5694 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5695 # Check whether --enable-intl was given.
5696 if test "${enable_intl+set}" = set; then
5697 enableval=$enable_intl;
5698 if test "$enableval" = yes; then
5699 wx_cv_use_intl='wxUSE_INTL
=yes'
5701 wx_cv_use_intl='wxUSE_INTL
=no
'
5706 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5711 eval "$wx_cv_use_intl"
5713 if test x"$enablestring" = xdisable; then
5714 if test $wxUSE_INTL = no; then
5723 { echo "$as_me:$LINENO: result
: $result" >&5
5724 echo "${ECHO_T}$result" >&6; }
5728 defaultval=$wxUSE_ALL_FEATURES
5729 if test -z "$defaultval"; then
5730 if test x"$enablestring" = xdisable; then
5737 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5738 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5739 # Check whether --enable-xlocale was given.
5740 if test "${enable_xlocale+set}" = set; then
5741 enableval=$enable_xlocale;
5742 if test "$enableval" = yes; then
5743 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5745 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5750 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5755 eval "$wx_cv_use_xlocale"
5757 if test x
"$enablestring" = xdisable
; then
5758 if test $wxUSE_XLOCALE = no
; then
5764 result
=$wxUSE_XLOCALE
5767 { echo "$as_me:$LINENO: result: $result" >&5
5768 echo "${ECHO_T}$result" >&6; }
5772 defaultval
=$wxUSE_ALL_FEATURES
5773 if test -z "$defaultval"; then
5774 if test x
"$enablestring" = xdisable
; then
5781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5782 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5783 # Check whether --enable-config was given.
5784 if test "${enable_config+set}" = set; then
5785 enableval
=$enable_config;
5786 if test "$enableval" = yes; then
5787 wx_cv_use_config
='wxUSE_CONFIG=yes'
5789 wx_cv_use_config
='wxUSE_CONFIG=no'
5794 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5799 eval "$wx_cv_use_config"
5801 if test x"$enablestring" = xdisable; then
5802 if test $wxUSE_CONFIG = no; then
5808 result=$wxUSE_CONFIG
5811 { echo "$as_me:$LINENO: result: $result" >&5
5812 echo "${ECHO_T}$result" >&6; }
5817 defaultval=$wxUSE_ALL_FEATURES
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5828 # Check whether --enable-protocols was given.
5829 if test "${enable_protocols+set}" = set; then
5830 enableval=$enable_protocols;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5834 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5839 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5844 eval "$wx_cv_use_protocols"
5846 if test x"$enablestring" = xdisable; then
5847 if test $wxUSE_PROTOCOL = no; then
5853 result=$wxUSE_PROTOCOL
5856 { echo "$as_me:$LINENO: result
: $result" >&5
5857 echo "${ECHO_T}$result" >&6; }
5861 defaultval=$wxUSE_ALL_FEATURES
5862 if test -z "$defaultval"; then
5863 if test x"$enablestring" = xdisable; then
5870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5871 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5872 # Check whether --enable-ftp was given.
5873 if test "${enable_ftp+set}" = set; then
5874 enableval=$enable_ftp;
5875 if test "$enableval" = yes; then
5876 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5878 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5883 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5888 eval "$wx_cv_use_ftp"
5890 if test x
"$enablestring" = xdisable
; then
5891 if test $wxUSE_PROTOCOL_FTP = no
; then
5897 result
=$wxUSE_PROTOCOL_FTP
5900 { echo "$as_me:$LINENO: result: $result" >&5
5901 echo "${ECHO_T}$result" >&6; }
5905 defaultval
=$wxUSE_ALL_FEATURES
5906 if test -z "$defaultval"; then
5907 if test x
"$enablestring" = xdisable
; then
5914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5916 # Check whether --enable-http was given.
5917 if test "${enable_http+set}" = set; then
5918 enableval
=$enable_http;
5919 if test "$enableval" = yes; then
5920 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5922 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5927 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5932 eval "$wx_cv_use_http"
5934 if test x"$enablestring" = xdisable; then
5935 if test $wxUSE_PROTOCOL_HTTP = no; then
5941 result=$wxUSE_PROTOCOL_HTTP
5944 { echo "$as_me:$LINENO: result: $result" >&5
5945 echo "${ECHO_T}$result" >&6; }
5949 defaultval=$wxUSE_ALL_FEATURES
5950 if test -z "$defaultval"; then
5951 if test x"$enablestring" = xdisable; then
5958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5960 # Check whether --enable-fileproto was given.
5961 if test "${enable_fileproto+set}" = set; then
5962 enableval=$enable_fileproto;
5963 if test "$enableval" = yes; then
5964 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5966 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5971 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5976 eval "$wx_cv_use_fileproto"
5978 if test x"$enablestring" = xdisable; then
5979 if test $wxUSE_PROTOCOL_FILE = no; then
5985 result=$wxUSE_PROTOCOL_FILE
5988 { echo "$as_me:$LINENO: result
: $result" >&5
5989 echo "${ECHO_T}$result" >&6; }
5993 defaultval=$wxUSE_ALL_FEATURES
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
6002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6003 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6004 # Check whether --enable-sockets was given.
6005 if test "${enable_sockets+set}" = set; then
6006 enableval=$enable_sockets;
6007 if test "$enableval" = yes; then
6008 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6010 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6015 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6020 eval "$wx_cv_use_sockets"
6022 if test x
"$enablestring" = xdisable
; then
6023 if test $wxUSE_SOCKETS = no
; then
6029 result
=$wxUSE_SOCKETS
6032 { echo "$as_me:$LINENO: result: $result" >&5
6033 echo "${ECHO_T}$result" >&6; }
6037 defaultval
=$wxUSE_ALL_FEATURES
6038 if test -z "$defaultval"; then
6039 if test x
"$enablestring" = xdisable
; then
6046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6047 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6048 # Check whether --enable-ipv6 was given.
6049 if test "${enable_ipv6+set}" = set; then
6050 enableval
=$enable_ipv6;
6051 if test "$enableval" = yes; then
6052 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6054 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6059 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6064 eval "$wx_cv_use_ipv6"
6066 if test x"$enablestring" = xdisable; then
6067 if test $wxUSE_IPV6 = no; then
6076 { echo "$as_me:$LINENO: result: $result" >&5
6077 echo "${ECHO_T}$result" >&6; }
6081 defaultval=$wxUSE_ALL_FEATURES
6082 if test -z "$defaultval"; then
6083 if test x"$enablestring" = xdisable; then
6090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6092 # Check whether --enable-ole was given.
6093 if test "${enable_ole+set}" = set; then
6094 enableval=$enable_ole;
6095 if test "$enableval" = yes; then
6096 wx_cv_use_ole='wxUSE_OLE
=yes'
6098 wx_cv_use_ole='wxUSE_OLE
=no
'
6103 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6108 eval "$wx_cv_use_ole"
6110 if test x"$enablestring" = xdisable; then
6111 if test $wxUSE_OLE = no; then
6120 { echo "$as_me:$LINENO: result
: $result" >&5
6121 echo "${ECHO_T}$result" >&6; }
6125 defaultval=$wxUSE_ALL_FEATURES
6126 if test -z "$defaultval"; then
6127 if test x"$enablestring" = xdisable; then
6134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6135 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6136 # Check whether --enable-dataobj was given.
6137 if test "${enable_dataobj+set}" = set; then
6138 enableval=$enable_dataobj;
6139 if test "$enableval" = yes; then
6140 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6142 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6147 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6152 eval "$wx_cv_use_dataobj"
6154 if test x
"$enablestring" = xdisable
; then
6155 if test $wxUSE_DATAOBJ = no
; then
6161 result
=$wxUSE_DATAOBJ
6164 { echo "$as_me:$LINENO: result: $result" >&5
6165 echo "${ECHO_T}$result" >&6; }
6170 defaultval
=$wxUSE_ALL_FEATURES
6171 if test -z "$defaultval"; then
6172 if test x
"$enablestring" = xdisable
; then
6179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6181 # Check whether --enable-ipc was given.
6182 if test "${enable_ipc+set}" = set; then
6183 enableval
=$enable_ipc;
6184 if test "$enableval" = yes; then
6185 wx_cv_use_ipc
='wxUSE_IPC=yes'
6187 wx_cv_use_ipc
='wxUSE_IPC=no'
6192 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6197 eval "$wx_cv_use_ipc"
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_IPC = no; then
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6215 defaultval=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x"$enablestring" = xdisable; then
6224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6225 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6226 # Check whether --enable-baseevtloop was given.
6227 if test "${enable_baseevtloop+set}" = set; then
6228 enableval=$enable_baseevtloop;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6232 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6237 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6242 eval "$wx_cv_use_baseevtloop"
6244 if test x"$enablestring" = xdisable; then
6245 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6251 result=$wxUSE_CONSOLE_EVENTLOOP
6254 { echo "$as_me:$LINENO: result
: $result" >&5
6255 echo "${ECHO_T}$result" >&6; }
6259 defaultval=$wxUSE_ALL_FEATURES
6260 if test -z "$defaultval"; then
6261 if test x"$enablestring" = xdisable; then
6268 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6269 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6270 # Check whether --enable-epollloop was given.
6271 if test "${enable_epollloop+set}" = set; then
6272 enableval=$enable_epollloop;
6273 if test "$enableval" = yes; then
6274 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6276 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6281 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6286 eval "$wx_cv_use_epollloop"
6288 if test x
"$enablestring" = xdisable
; then
6289 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6295 result
=$wxUSE_EPOLL_DISPATCHER
6298 { echo "$as_me:$LINENO: result: $result" >&5
6299 echo "${ECHO_T}$result" >&6; }
6303 defaultval
=$wxUSE_ALL_FEATURES
6304 if test -z "$defaultval"; then
6305 if test x
"$enablestring" = xdisable
; then
6312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6313 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6314 # Check whether --enable-selectloop was given.
6315 if test "${enable_selectloop+set}" = set; then
6316 enableval
=$enable_selectloop;
6317 if test "$enableval" = yes; then
6318 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6320 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6325 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6330 eval "$wx_cv_use_selectloop"
6332 if test x"$enablestring" = xdisable; then
6333 if test $wxUSE_SELECT_DISPATCHER = no; then
6339 result=$wxUSE_SELECT_DISPATCHER
6342 { echo "$as_me:$LINENO: result: $result" >&5
6343 echo "${ECHO_T}$result" >&6; }
6348 defaultval=$wxUSE_ALL_FEATURES
6349 if test -z "$defaultval"; then
6350 if test x"$enablestring" = xdisable; then
6357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6359 # Check whether --enable-any was given.
6360 if test "${enable_any+set}" = set; then
6361 enableval=$enable_any;
6362 if test "$enableval" = yes; then
6363 wx_cv_use_any='wxUSE_ANY
=yes'
6365 wx_cv_use_any='wxUSE_ANY
=no
'
6370 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6375 eval "$wx_cv_use_any"
6377 if test x"$enablestring" = xdisable; then
6378 if test $wxUSE_ANY = no; then
6387 { echo "$as_me:$LINENO: result
: $result" >&5
6388 echo "${ECHO_T}$result" >&6; }
6392 defaultval=$wxUSE_ALL_FEATURES
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6402 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6403 # Check whether --enable-apple_ieee was given.
6404 if test "${enable_apple_ieee+set}" = set; then
6405 enableval=$enable_apple_ieee;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6409 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6414 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6419 eval "$wx_cv_use_apple_ieee"
6421 if test x
"$enablestring" = xdisable
; then
6422 if test $wxUSE_APPLE_IEEE = no
; then
6428 result
=$wxUSE_APPLE_IEEE
6431 { echo "$as_me:$LINENO: result: $result" >&5
6432 echo "${ECHO_T}$result" >&6; }
6436 defaultval
=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x
"$enablestring" = xdisable
; then
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6447 # Check whether --enable-arcstream was given.
6448 if test "${enable_arcstream+set}" = set; then
6449 enableval
=$enable_arcstream;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6453 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6458 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6463 eval "$wx_cv_use_arcstream"
6465 if test x"$enablestring" = xdisable; then
6466 if test $wxUSE_ARCHIVE_STREAMS = no; then
6472 result=$wxUSE_ARCHIVE_STREAMS
6475 { echo "$as_me:$LINENO: result: $result" >&5
6476 echo "${ECHO_T}$result" >&6; }
6480 defaultval=$wxUSE_ALL_FEATURES
6481 if test -z "$defaultval"; then
6482 if test x"$enablestring" = xdisable; then
6489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6490 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6491 # Check whether --enable-base64 was given.
6492 if test "${enable_base64+set}" = set; then
6493 enableval=$enable_base64;
6494 if test "$enableval" = yes; then
6495 wx_cv_use_base64='wxUSE_BASE64
=yes'
6497 wx_cv_use_base64='wxUSE_BASE64
=no
'
6502 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6507 eval "$wx_cv_use_base64"
6509 if test x"$enablestring" = xdisable; then
6510 if test $wxUSE_BASE64 = no; then
6516 result=$wxUSE_BASE64
6519 { echo "$as_me:$LINENO: result
: $result" >&5
6520 echo "${ECHO_T}$result" >&6; }
6524 defaultval=$wxUSE_ALL_FEATURES
6525 if test -z "$defaultval"; then
6526 if test x"$enablestring" = xdisable; then
6533 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6534 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6535 # Check whether --enable-backtrace was given.
6536 if test "${enable_backtrace+set}" = set; then
6537 enableval=$enable_backtrace;
6538 if test "$enableval" = yes; then
6539 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6541 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6546 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6551 eval "$wx_cv_use_backtrace"
6553 if test x
"$enablestring" = xdisable
; then
6554 if test $wxUSE_STACKWALKER = no
; then
6560 result
=$wxUSE_STACKWALKER
6563 { echo "$as_me:$LINENO: result: $result" >&5
6564 echo "${ECHO_T}$result" >&6; }
6568 defaultval
=$wxUSE_ALL_FEATURES
6569 if test -z "$defaultval"; then
6570 if test x
"$enablestring" = xdisable
; then
6577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6579 # Check whether --enable-catch_segvs was given.
6580 if test "${enable_catch_segvs+set}" = set; then
6581 enableval
=$enable_catch_segvs;
6582 if test "$enableval" = yes; then
6583 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6585 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6590 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6595 eval "$wx_cv_use_catch_segvs"
6597 if test x"$enablestring" = xdisable; then
6598 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6604 result=$wxUSE_ON_FATAL_EXCEPTION
6607 { echo "$as_me:$LINENO: result: $result" >&5
6608 echo "${ECHO_T}$result" >&6; }
6612 defaultval=$wxUSE_ALL_FEATURES
6613 if test -z "$defaultval"; then
6614 if test x"$enablestring" = xdisable; then
6621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6623 # Check whether --enable-cmdline was given.
6624 if test "${enable_cmdline+set}" = set; then
6625 enableval=$enable_cmdline;
6626 if test "$enableval" = yes; then
6627 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6629 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6634 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6639 eval "$wx_cv_use_cmdline"
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_CMDLINE_PARSER = no; then
6648 result=$wxUSE_CMDLINE_PARSER
6651 { echo "$as_me:$LINENO: result
: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6665 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6666 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6667 # Check whether --enable-datetime was given.
6668 if test "${enable_datetime+set}" = set; then
6669 enableval=$enable_datetime;
6670 if test "$enableval" = yes; then
6671 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6673 wx_cv_use_datetime='wxUSE_DATETIME=no'
6678 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6683 eval "$wx_cv_use_datetime"
6685 if test x
"$enablestring" = xdisable
; then
6686 if test $wxUSE_DATETIME = no
; then
6692 result
=$wxUSE_DATETIME
6695 { echo "$as_me:$LINENO: result: $result" >&5
6696 echo "${ECHO_T}$result" >&6; }
6700 defaultval
=$wxUSE_ALL_FEATURES
6701 if test -z "$defaultval"; then
6702 if test x
"$enablestring" = xdisable
; then
6709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6711 # Check whether --enable-debugreport was given.
6712 if test "${enable_debugreport+set}" = set; then
6713 enableval
=$enable_debugreport;
6714 if test "$enableval" = yes; then
6715 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6717 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6722 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6727 eval "$wx_cv_use_debugreport"
6729 if test x"$enablestring" = xdisable; then
6730 if test $wxUSE_DEBUGREPORT = no; then
6736 result=$wxUSE_DEBUGREPORT
6739 { echo "$as_me:$LINENO: result: $result" >&5
6740 echo "${ECHO_T}$result" >&6; }
6744 defaultval=$wxUSE_ALL_FEATURES
6745 if test -z "$defaultval"; then
6746 if test x"$enablestring" = xdisable; then
6753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6755 # Check whether --enable-dialupman was given.
6756 if test "${enable_dialupman+set}" = set; then
6757 enableval=$enable_dialupman;
6758 if test "$enableval" = yes; then
6759 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6761 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6766 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6771 eval "$wx_cv_use_dialupman"
6773 if test x"$enablestring" = xdisable; then
6774 if test $wxUSE_DIALUP_MANAGER = no; then
6780 result=$wxUSE_DIALUP_MANAGER
6783 { echo "$as_me:$LINENO: result
: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6788 defaultval=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x"$enablestring" = xdisable; then
6797 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6798 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6799 # Check whether --enable-dynlib was given.
6800 if test "${enable_dynlib+set}" = set; then
6801 enableval=$enable_dynlib;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6805 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6810 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6815 eval "$wx_cv_use_dynlib"
6817 if test x
"$enablestring" = xdisable
; then
6818 if test $wxUSE_DYNLIB_CLASS = no
; then
6824 result
=$wxUSE_DYNLIB_CLASS
6827 { echo "$as_me:$LINENO: result: $result" >&5
6828 echo "${ECHO_T}$result" >&6; }
6832 defaultval
=$wxUSE_ALL_FEATURES
6833 if test -z "$defaultval"; then
6834 if test x
"$enablestring" = xdisable
; then
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6843 # Check whether --enable-dynamicloader was given.
6844 if test "${enable_dynamicloader+set}" = set; then
6845 enableval
=$enable_dynamicloader;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6849 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6854 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6859 eval "$wx_cv_use_dynamicloader"
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_DYNAMIC_LOADER = no; then
6868 result=$wxUSE_DYNAMIC_LOADER
6871 { echo "$as_me:$LINENO: result: $result" >&5
6872 echo "${ECHO_T}$result" >&6; }
6876 defaultval=$wxUSE_ALL_FEATURES
6877 if test -z "$defaultval"; then
6878 if test x"$enablestring" = xdisable; then
6885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6887 # Check whether --enable-exceptions was given.
6888 if test "${enable_exceptions+set}" = set; then
6889 enableval=$enable_exceptions;
6890 if test "$enableval" = yes; then
6891 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6893 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6898 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6903 eval "$wx_cv_use_exceptions"
6905 if test x"$enablestring" = xdisable; then
6906 if test $wxUSE_EXCEPTIONS = no; then
6912 result=$wxUSE_EXCEPTIONS
6915 { echo "$as_me:$LINENO: result
: $result" >&5
6916 echo "${ECHO_T}$result" >&6; }
6920 defaultval=$wxUSE_ALL_FEATURES
6921 if test -z "$defaultval"; then
6922 if test x"$enablestring" = xdisable; then
6929 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6930 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6931 # Check whether --enable-ffile was given.
6932 if test "${enable_ffile+set}" = set; then
6933 enableval=$enable_ffile;
6934 if test "$enableval" = yes; then
6935 wx_cv_use_ffile='wxUSE_FFILE=yes'
6937 wx_cv_use_ffile='wxUSE_FFILE=no'
6942 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6947 eval "$wx_cv_use_ffile"
6949 if test x
"$enablestring" = xdisable
; then
6950 if test $wxUSE_FFILE = no
; then
6959 { echo "$as_me:$LINENO: result: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6964 defaultval
=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x
"$enablestring" = xdisable
; then
6973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6975 # Check whether --enable-file was given.
6976 if test "${enable_file+set}" = set; then
6977 enableval
=$enable_file;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_file
='wxUSE_FILE=yes'
6981 wx_cv_use_file
='wxUSE_FILE=no'
6986 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6991 eval "$wx_cv_use_file"
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_FILE = no; then
7003 { echo "$as_me:$LINENO: result: $result" >&5
7004 echo "${ECHO_T}$result" >&6; }
7008 defaultval=$wxUSE_ALL_FEATURES
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7019 # Check whether --enable-filesystem was given.
7020 if test "${enable_filesystem+set}" = set; then
7021 enableval=$enable_filesystem;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7025 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7030 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7035 eval "$wx_cv_use_filesystem"
7037 if test x"$enablestring" = xdisable; then
7038 if test $wxUSE_FILESYSTEM = no; then
7044 result=$wxUSE_FILESYSTEM
7047 { echo "$as_me:$LINENO: result
: $result" >&5
7048 echo "${ECHO_T}$result" >&6; }
7052 defaultval=$wxUSE_ALL_FEATURES
7053 if test -z "$defaultval"; then
7054 if test x"$enablestring" = xdisable; then
7061 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7062 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7063 # Check whether --enable-fontenum was given.
7064 if test "${enable_fontenum+set}" = set; then
7065 enableval=$enable_fontenum;
7066 if test "$enableval" = yes; then
7067 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7069 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7074 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7079 eval "$wx_cv_use_fontenum"
7081 if test x
"$enablestring" = xdisable
; then
7082 if test $wxUSE_FONTENUM = no
; then
7088 result
=$wxUSE_FONTENUM
7091 { echo "$as_me:$LINENO: result: $result" >&5
7092 echo "${ECHO_T}$result" >&6; }
7096 defaultval
=$wxUSE_ALL_FEATURES
7097 if test -z "$defaultval"; then
7098 if test x
"$enablestring" = xdisable
; then
7105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7107 # Check whether --enable-fontmap was given.
7108 if test "${enable_fontmap+set}" = set; then
7109 enableval
=$enable_fontmap;
7110 if test "$enableval" = yes; then
7111 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7113 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7118 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7123 eval "$wx_cv_use_fontmap"
7125 if test x"$enablestring" = xdisable; then
7126 if test $wxUSE_FONTMAP = no; then
7132 result=$wxUSE_FONTMAP
7135 { echo "$as_me:$LINENO: result: $result" >&5
7136 echo "${ECHO_T}$result" >&6; }
7140 defaultval=$wxUSE_ALL_FEATURES
7141 if test -z "$defaultval"; then
7142 if test x"$enablestring" = xdisable; then
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7151 # Check whether --enable-fs_archive was given.
7152 if test "${enable_fs_archive+set}" = set; then
7153 enableval=$enable_fs_archive;
7154 if test "$enableval" = yes; then
7155 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7157 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7162 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7167 eval "$wx_cv_use_fs_archive"
7169 if test x"$enablestring" = xdisable; then
7170 if test $wxUSE_FS_ARCHIVE = no; then
7176 result=$wxUSE_FS_ARCHIVE
7179 { echo "$as_me:$LINENO: result
: $result" >&5
7180 echo "${ECHO_T}$result" >&6; }
7184 defaultval=$wxUSE_ALL_FEATURES
7185 if test -z "$defaultval"; then
7186 if test x"$enablestring" = xdisable; then
7193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7194 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7195 # Check whether --enable-fs_inet was given.
7196 if test "${enable_fs_inet+set}" = set; then
7197 enableval=$enable_fs_inet;
7198 if test "$enableval" = yes; then
7199 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7201 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7206 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7211 eval "$wx_cv_use_fs_inet"
7213 if test x
"$enablestring" = xdisable
; then
7214 if test $wxUSE_FS_INET = no
; then
7220 result
=$wxUSE_FS_INET
7223 { echo "$as_me:$LINENO: result: $result" >&5
7224 echo "${ECHO_T}$result" >&6; }
7228 defaultval
=$wxUSE_ALL_FEATURES
7229 if test -z "$defaultval"; then
7230 if test x
"$enablestring" = xdisable
; then
7237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7239 # Check whether --enable-fs_zip was given.
7240 if test "${enable_fs_zip+set}" = set; then
7241 enableval
=$enable_fs_zip;
7242 if test "$enableval" = yes; then
7243 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7245 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7250 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7255 eval "$wx_cv_use_fs_zip"
7257 if test x"$enablestring" = xdisable; then
7258 if test $wxUSE_FS_ZIP = no; then
7264 result=$wxUSE_FS_ZIP
7267 { echo "$as_me:$LINENO: result: $result" >&5
7268 echo "${ECHO_T}$result" >&6; }
7272 defaultval=$wxUSE_ALL_FEATURES
7273 if test -z "$defaultval"; then
7274 if test x"$enablestring" = xdisable; then
7281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7282 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7283 # Check whether --enable-fswatcher was given.
7284 if test "${enable_fswatcher+set}" = set; then
7285 enableval=$enable_fswatcher;
7286 if test "$enableval" = yes; then
7287 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7289 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7294 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7299 eval "$wx_cv_use_fswatcher"
7301 if test x"$enablestring" = xdisable; then
7302 if test $wxUSE_FSWATCHER = no; then
7308 result=$wxUSE_FSWATCHER
7311 { echo "$as_me:$LINENO: result
: $result" >&5
7312 echo "${ECHO_T}$result" >&6; }
7316 defaultval=$wxUSE_ALL_FEATURES
7317 if test -z "$defaultval"; then
7318 if test x"$enablestring" = xdisable; then
7325 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7326 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7327 # Check whether --enable-geometry was given.
7328 if test "${enable_geometry+set}" = set; then
7329 enableval=$enable_geometry;
7330 if test "$enableval" = yes; then
7331 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7333 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7338 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7343 eval "$wx_cv_use_geometry"
7345 if test x
"$enablestring" = xdisable
; then
7346 if test $wxUSE_GEOMETRY = no
; then
7352 result
=$wxUSE_GEOMETRY
7355 { echo "$as_me:$LINENO: result: $result" >&5
7356 echo "${ECHO_T}$result" >&6; }
7360 defaultval
=$wxUSE_ALL_FEATURES
7361 if test -z "$defaultval"; then
7362 if test x
"$enablestring" = xdisable
; then
7369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7370 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7371 # Check whether --enable-log was given.
7372 if test "${enable_log+set}" = set; then
7373 enableval
=$enable_log;
7374 if test "$enableval" = yes; then
7375 wx_cv_use_log
='wxUSE_LOG=yes'
7377 wx_cv_use_log
='wxUSE_LOG=no'
7382 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7387 eval "$wx_cv_use_log"
7389 if test x"$enablestring" = xdisable; then
7390 if test $wxUSE_LOG = no; then
7399 { echo "$as_me:$LINENO: result: $result" >&5
7400 echo "${ECHO_T}$result" >&6; }
7404 defaultval=$wxUSE_ALL_FEATURES
7405 if test -z "$defaultval"; then
7406 if test x"$enablestring" = xdisable; then
7413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7415 # Check whether --enable-longlong was given.
7416 if test "${enable_longlong+set}" = set; then
7417 enableval=$enable_longlong;
7418 if test "$enableval" = yes; then
7419 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7421 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7426 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7431 eval "$wx_cv_use_longlong"
7433 if test x"$enablestring" = xdisable; then
7434 if test $wxUSE_LONGLONG = no; then
7440 result=$wxUSE_LONGLONG
7443 { echo "$as_me:$LINENO: result
: $result" >&5
7444 echo "${ECHO_T}$result" >&6; }
7448 defaultval=$wxUSE_ALL_FEATURES
7449 if test -z "$defaultval"; then
7450 if test x"$enablestring" = xdisable; then
7457 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7458 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7459 # Check whether --enable-mimetype was given.
7460 if test "${enable_mimetype+set}" = set; then
7461 enableval=$enable_mimetype;
7462 if test "$enableval" = yes; then
7463 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7465 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7470 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7475 eval "$wx_cv_use_mimetype"
7477 if test x
"$enablestring" = xdisable
; then
7478 if test $wxUSE_MIMETYPE = no
; then
7484 result
=$wxUSE_MIMETYPE
7487 { echo "$as_me:$LINENO: result: $result" >&5
7488 echo "${ECHO_T}$result" >&6; }
7492 defaultval
=$wxUSE_ALL_FEATURES
7493 if test -z "$defaultval"; then
7494 if test x
"$enablestring" = xdisable
; then
7501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7503 # Check whether --enable-printfposparam was given.
7504 if test "${enable_printfposparam+set}" = set; then
7505 enableval
=$enable_printfposparam;
7506 if test "$enableval" = yes; then
7507 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7509 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7514 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7519 eval "$wx_cv_use_printfposparam"
7521 if test x"$enablestring" = xdisable; then
7522 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7528 result=$wxUSE_PRINTF_POS_PARAMS
7531 { echo "$as_me:$LINENO: result: $result" >&5
7532 echo "${ECHO_T}$result" >&6; }
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7547 # Check whether --enable-snglinst was given.
7548 if test "${enable_snglinst+set}" = set; then
7549 enableval=$enable_snglinst;
7550 if test "$enableval" = yes; then
7551 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7553 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7558 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7563 eval "$wx_cv_use_snglinst"
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_SNGLINST_CHECKER = no; then
7572 result=$wxUSE_SNGLINST_CHECKER
7575 { echo "$as_me:$LINENO: result
: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7589 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7590 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7591 # Check whether --enable-sound was given.
7592 if test "${enable_sound+set}" = set; then
7593 enableval=$enable_sound;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_sound='wxUSE_SOUND=yes'
7597 wx_cv_use_sound='wxUSE_SOUND=no'
7602 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7607 eval "$wx_cv_use_sound"
7609 if test x
"$enablestring" = xdisable
; then
7610 if test $wxUSE_SOUND = no
; then
7619 { echo "$as_me:$LINENO: result: $result" >&5
7620 echo "${ECHO_T}$result" >&6; }
7624 defaultval
=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x
"$enablestring" = xdisable
; then
7633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7635 # Check whether --enable-stdpaths was given.
7636 if test "${enable_stdpaths+set}" = set; then
7637 enableval
=$enable_stdpaths;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7641 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7646 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7651 eval "$wx_cv_use_stdpaths"
7653 if test x"$enablestring" = xdisable; then
7654 if test $wxUSE_STDPATHS = no; then
7660 result=$wxUSE_STDPATHS
7663 { echo "$as_me:$LINENO: result: $result" >&5
7664 echo "${ECHO_T}$result" >&6; }
7668 defaultval=$wxUSE_ALL_FEATURES
7669 if test -z "$defaultval"; then
7670 if test x"$enablestring" = xdisable; then
7677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7679 # Check whether --enable-stopwatch was given.
7680 if test "${enable_stopwatch+set}" = set; then
7681 enableval=$enable_stopwatch;
7682 if test "$enableval" = yes; then
7683 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7685 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7690 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7695 eval "$wx_cv_use_stopwatch"
7697 if test x"$enablestring" = xdisable; then
7698 if test $wxUSE_STOPWATCH = no; then
7704 result=$wxUSE_STOPWATCH
7707 { echo "$as_me:$LINENO: result
: $result" >&5
7708 echo "${ECHO_T}$result" >&6; }
7712 defaultval=$wxUSE_ALL_FEATURES
7713 if test -z "$defaultval"; then
7714 if test x"$enablestring" = xdisable; then
7721 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7722 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7723 # Check whether --enable-streams was given.
7724 if test "${enable_streams+set}" = set; then
7725 enableval=$enable_streams;
7726 if test "$enableval" = yes; then
7727 wx_cv_use_streams='wxUSE_STREAMS=yes'
7729 wx_cv_use_streams='wxUSE_STREAMS=no'
7734 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7739 eval "$wx_cv_use_streams"
7741 if test x
"$enablestring" = xdisable
; then
7742 if test $wxUSE_STREAMS = no
; then
7748 result
=$wxUSE_STREAMS
7751 { echo "$as_me:$LINENO: result: $result" >&5
7752 echo "${ECHO_T}$result" >&6; }
7756 defaultval
=$wxUSE_ALL_FEATURES
7757 if test -z "$defaultval"; then
7758 if test x
"$enablestring" = xdisable
; then
7765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7767 # Check whether --enable-sysoptions was given.
7768 if test "${enable_sysoptions+set}" = set; then
7769 enableval
=$enable_sysoptions;
7770 if test "$enableval" = yes; then
7771 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7773 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7778 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7783 eval "$wx_cv_use_sysoptions"
7785 if test x"$enablestring" = xdisable; then
7786 if test $wxUSE_SYSTEM_OPTIONS = no; then
7792 result=$wxUSE_SYSTEM_OPTIONS
7795 { echo "$as_me:$LINENO: result: $result" >&5
7796 echo "${ECHO_T}$result" >&6; }
7800 defaultval=$wxUSE_ALL_FEATURES
7801 if test -z "$defaultval"; then
7802 if test x"$enablestring" = xdisable; then
7809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7810 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7811 # Check whether --enable-tarstream was given.
7812 if test "${enable_tarstream+set}" = set; then
7813 enableval=$enable_tarstream;
7814 if test "$enableval" = yes; then
7815 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7817 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7822 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7827 eval "$wx_cv_use_tarstream"
7829 if test x"$enablestring" = xdisable; then
7830 if test $wxUSE_TARSTREAM = no; then
7836 result=$wxUSE_TARSTREAM
7839 { echo "$as_me:$LINENO: result
: $result" >&5
7840 echo "${ECHO_T}$result" >&6; }
7844 defaultval=$wxUSE_ALL_FEATURES
7845 if test -z "$defaultval"; then
7846 if test x"$enablestring" = xdisable; then
7853 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7854 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7855 # Check whether --enable-textbuf was given.
7856 if test "${enable_textbuf+set}" = set; then
7857 enableval=$enable_textbuf;
7858 if test "$enableval" = yes; then
7859 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7861 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7866 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7871 eval "$wx_cv_use_textbuf"
7873 if test x
"$enablestring" = xdisable
; then
7874 if test $wxUSE_TEXTBUFFER = no
; then
7880 result
=$wxUSE_TEXTBUFFER
7883 { echo "$as_me:$LINENO: result: $result" >&5
7884 echo "${ECHO_T}$result" >&6; }
7888 defaultval
=$wxUSE_ALL_FEATURES
7889 if test -z "$defaultval"; then
7890 if test x
"$enablestring" = xdisable
; then
7897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7898 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7899 # Check whether --enable-textfile was given.
7900 if test "${enable_textfile+set}" = set; then
7901 enableval
=$enable_textfile;
7902 if test "$enableval" = yes; then
7903 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7905 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7910 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7915 eval "$wx_cv_use_textfile"
7917 if test x"$enablestring" = xdisable; then
7918 if test $wxUSE_TEXTFILE = no; then
7924 result=$wxUSE_TEXTFILE
7927 { echo "$as_me:$LINENO: result: $result" >&5
7928 echo "${ECHO_T}$result" >&6; }
7932 defaultval=$wxUSE_ALL_FEATURES
7933 if test -z "$defaultval"; then
7934 if test x"$enablestring" = xdisable; then
7941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7942 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7943 # Check whether --enable-timer was given.
7944 if test "${enable_timer+set}" = set; then
7945 enableval=$enable_timer;
7946 if test "$enableval" = yes; then
7947 wx_cv_use_timer='wxUSE_TIMER
=yes'
7949 wx_cv_use_timer='wxUSE_TIMER
=no
'
7954 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7959 eval "$wx_cv_use_timer"
7961 if test x"$enablestring" = xdisable; then
7962 if test $wxUSE_TIMER = no; then
7971 { echo "$as_me:$LINENO: result
: $result" >&5
7972 echo "${ECHO_T}$result" >&6; }
7976 defaultval=$wxUSE_ALL_FEATURES
7977 if test -z "$defaultval"; then
7978 if test x"$enablestring" = xdisable; then
7985 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7986 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7987 # Check whether --enable-variant was given.
7988 if test "${enable_variant+set}" = set; then
7989 enableval=$enable_variant;
7990 if test "$enableval" = yes; then
7991 wx_cv_use_variant='wxUSE_VARIANT=yes'
7993 wx_cv_use_variant='wxUSE_VARIANT=no'
7998 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8003 eval "$wx_cv_use_variant"
8005 if test x
"$enablestring" = xdisable
; then
8006 if test $wxUSE_VARIANT = no
; then
8012 result
=$wxUSE_VARIANT
8015 { echo "$as_me:$LINENO: result: $result" >&5
8016 echo "${ECHO_T}$result" >&6; }
8020 defaultval
=$wxUSE_ALL_FEATURES
8021 if test -z "$defaultval"; then
8022 if test x
"$enablestring" = xdisable
; then
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8031 # Check whether --enable-zipstream was given.
8032 if test "${enable_zipstream+set}" = set; then
8033 enableval
=$enable_zipstream;
8034 if test "$enableval" = yes; then
8035 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8037 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8042 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8047 eval "$wx_cv_use_zipstream"
8049 if test x"$enablestring" = xdisable; then
8050 if test $wxUSE_ZIPSTREAM = no; then
8056 result=$wxUSE_ZIPSTREAM
8059 { echo "$as_me:$LINENO: result: $result" >&5
8060 echo "${ECHO_T}$result" >&6; }
8065 defaultval=$wxUSE_ALL_FEATURES
8066 if test -z "$defaultval"; then
8067 if test x"$enablestring" = xdisable; then
8074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8076 # Check whether --enable-url was given.
8077 if test "${enable_url+set}" = set; then
8078 enableval=$enable_url;
8079 if test "$enableval" = yes; then
8080 wx_cv_use_url='wxUSE_URL
=yes'
8082 wx_cv_use_url='wxUSE_URL
=no
'
8087 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8092 eval "$wx_cv_use_url"
8094 if test x"$enablestring" = xdisable; then
8095 if test $wxUSE_URL = no; then
8104 { echo "$as_me:$LINENO: result
: $result" >&5
8105 echo "${ECHO_T}$result" >&6; }
8109 defaultval=$wxUSE_ALL_FEATURES
8110 if test -z "$defaultval"; then
8111 if test x"$enablestring" = xdisable; then
8118 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8119 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8120 # Check whether --enable-protocol was given.
8121 if test "${enable_protocol+set}" = set; then
8122 enableval=$enable_protocol;
8123 if test "$enableval" = yes; then
8124 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8126 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8131 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8136 eval "$wx_cv_use_protocol"
8138 if test x
"$enablestring" = xdisable
; then
8139 if test $wxUSE_PROTOCOL = no
; then
8145 result
=$wxUSE_PROTOCOL
8148 { echo "$as_me:$LINENO: result: $result" >&5
8149 echo "${ECHO_T}$result" >&6; }
8153 defaultval
=$wxUSE_ALL_FEATURES
8154 if test -z "$defaultval"; then
8155 if test x
"$enablestring" = xdisable
; then
8162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8164 # Check whether --enable-protocol_http was given.
8165 if test "${enable_protocol_http+set}" = set; then
8166 enableval
=$enable_protocol_http;
8167 if test "$enableval" = yes; then
8168 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8170 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8175 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8180 eval "$wx_cv_use_protocol_http"
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_PROTOCOL_HTTP = no; then
8189 result=$wxUSE_PROTOCOL_HTTP
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8208 # Check whether --enable-protocol_ftp was given.
8209 if test "${enable_protocol_ftp+set}" = set; then
8210 enableval=$enable_protocol_ftp;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8214 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8219 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8224 eval "$wx_cv_use_protocol_ftp"
8226 if test x"$enablestring" = xdisable; then
8227 if test $wxUSE_PROTOCOL_FTP = no; then
8233 result=$wxUSE_PROTOCOL_FTP
8236 { echo "$as_me:$LINENO: result
: $result" >&5
8237 echo "${ECHO_T}$result" >&6; }
8241 defaultval=$wxUSE_ALL_FEATURES
8242 if test -z "$defaultval"; then
8243 if test x"$enablestring" = xdisable; then
8250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8251 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8252 # Check whether --enable-protocol_file was given.
8253 if test "${enable_protocol_file+set}" = set; then
8254 enableval=$enable_protocol_file;
8255 if test "$enableval" = yes; then
8256 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8258 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8263 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8268 eval "$wx_cv_use_protocol_file"
8270 if test x
"$enablestring" = xdisable
; then
8271 if test $wxUSE_PROTOCOL_FILE = no
; then
8277 result
=$wxUSE_PROTOCOL_FILE
8280 { echo "$as_me:$LINENO: result: $result" >&5
8281 echo "${ECHO_T}$result" >&6; }
8286 defaultval
=$wxUSE_ALL_FEATURES
8287 if test -z "$defaultval"; then
8288 if test x
"$enablestring" = xdisable
; then
8295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8296 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8297 # Check whether --enable-threads was given.
8298 if test "${enable_threads+set}" = set; then
8299 enableval
=$enable_threads;
8300 if test "$enableval" = yes; then
8301 wx_cv_use_threads
='wxUSE_THREADS=yes'
8303 wx_cv_use_threads
='wxUSE_THREADS=no'
8308 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8313 eval "$wx_cv_use_threads"
8315 if test x"$enablestring" = xdisable; then
8316 if test $wxUSE_THREADS = no; then
8322 result=$wxUSE_THREADS
8325 { echo "$as_me:$LINENO: result: $result" >&5
8326 echo "${ECHO_T}$result" >&6; }
8332 if test -z "$defaultval"; then
8333 if test x"$enablestring" = xdisable; then
8340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8342 # Check whether --enable-iniconf was given.
8343 if test "${enable_iniconf+set}" = set; then
8344 enableval=$enable_iniconf;
8345 if test "$enableval" = yes; then
8346 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8348 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8353 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8358 eval "$wx_cv_use_iniconf"
8360 if test x"$enablestring" = xdisable; then
8361 if test $wxUSE_INICONF = no; then
8367 result=$wxUSE_INICONF
8370 { echo "$as_me:$LINENO: result
: $result" >&5
8371 echo "${ECHO_T}$result" >&6; }
8375 defaultval=$wxUSE_ALL_FEATURES
8376 if test -z "$defaultval"; then
8377 if test x"$enablestring" = xdisable; then
8384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8385 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8386 # Check whether --enable-regkey was given.
8387 if test "${enable_regkey+set}" = set; then
8388 enableval=$enable_regkey;
8389 if test "$enableval" = yes; then
8390 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8392 wx_cv_use_regkey='wxUSE_REGKEY=no'
8397 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8402 eval "$wx_cv_use_regkey"
8404 if test x
"$enablestring" = xdisable
; then
8405 if test $wxUSE_REGKEY = no
; then
8411 result
=$wxUSE_REGKEY
8414 { echo "$as_me:$LINENO: result: $result" >&5
8415 echo "${ECHO_T}$result" >&6; }
8418 if test "$wxUSE_GUI" = "yes"; then
8423 defaultval
=$wxUSE_ALL_FEATURES
8424 if test -z "$defaultval"; then
8425 if test x
"$enablestring" = xdisable
; then
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8434 # Check whether --enable-docview was given.
8435 if test "${enable_docview+set}" = set; then
8436 enableval
=$enable_docview;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8440 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8445 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8450 eval "$wx_cv_use_docview"
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8459 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8462 { echo "$as_me:$LINENO: result: $result" >&5
8463 echo "${ECHO_T}$result" >&6; }
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8478 # Check whether --enable-help was given.
8479 if test "${enable_help+set}" = set; then
8480 enableval=$enable_help;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_help='wxUSE_HELP
=yes'
8484 wx_cv_use_help='wxUSE_HELP
=no
'
8489 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8494 eval "$wx_cv_use_help"
8496 if test x"$enablestring" = xdisable; then
8497 if test $wxUSE_HELP = no; then
8506 { echo "$as_me:$LINENO: result
: $result" >&5
8507 echo "${ECHO_T}$result" >&6; }
8511 defaultval=$wxUSE_ALL_FEATURES
8512 if test -z "$defaultval"; then
8513 if test x"$enablestring" = xdisable; then
8520 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8521 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8522 # Check whether --enable-mshtmlhelp was given.
8523 if test "${enable_mshtmlhelp+set}" = set; then
8524 enableval=$enable_mshtmlhelp;
8525 if test "$enableval" = yes; then
8526 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8528 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8533 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8538 eval "$wx_cv_use_mshtmlhelp"
8540 if test x
"$enablestring" = xdisable
; then
8541 if test $wxUSE_MS_HTML_HELP = no
; then
8547 result
=$wxUSE_MS_HTML_HELP
8550 { echo "$as_me:$LINENO: result: $result" >&5
8551 echo "${ECHO_T}$result" >&6; }
8555 defaultval
=$wxUSE_ALL_FEATURES
8556 if test -z "$defaultval"; then
8557 if test x
"$enablestring" = xdisable
; then
8564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8566 # Check whether --enable-html was given.
8567 if test "${enable_html+set}" = set; then
8568 enableval
=$enable_html;
8569 if test "$enableval" = yes; then
8570 wx_cv_use_html
='wxUSE_HTML=yes'
8572 wx_cv_use_html
='wxUSE_HTML=no'
8577 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8582 eval "$wx_cv_use_html"
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_HTML = no; then
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8610 # Check whether --enable-htmlhelp was given.
8611 if test "${enable_htmlhelp+set}" = set; then
8612 enableval=$enable_htmlhelp;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8616 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8621 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8626 eval "$wx_cv_use_htmlhelp"
8628 if test x"$enablestring" = xdisable; then
8629 if test $wxUSE_WXHTML_HELP = no; then
8635 result=$wxUSE_WXHTML_HELP
8638 { echo "$as_me:$LINENO: result
: $result" >&5
8639 echo "${ECHO_T}$result" >&6; }
8643 defaultval=$wxUSE_ALL_FEATURES
8644 if test -z "$defaultval"; then
8645 if test x"$enablestring" = xdisable; then
8652 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8653 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8654 # Check whether --enable-xrc was given.
8655 if test "${enable_xrc+set}" = set; then
8656 enableval=$enable_xrc;
8657 if test "$enableval" = yes; then
8658 wx_cv_use_xrc='wxUSE_XRC=yes'
8660 wx_cv_use_xrc='wxUSE_XRC=no'
8665 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8670 eval "$wx_cv_use_xrc"
8672 if test x
"$enablestring" = xdisable
; then
8673 if test $wxUSE_XRC = no
; then
8682 { echo "$as_me:$LINENO: result: $result" >&5
8683 echo "${ECHO_T}$result" >&6; }
8687 defaultval
=$wxUSE_ALL_FEATURES
8688 if test -z "$defaultval"; then
8689 if test x
"$enablestring" = xdisable
; then
8696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8698 # Check whether --enable-aui was given.
8699 if test "${enable_aui+set}" = set; then
8700 enableval
=$enable_aui;
8701 if test "$enableval" = yes; then
8702 wx_cv_use_aui
='wxUSE_AUI=yes'
8704 wx_cv_use_aui
='wxUSE_AUI=no'
8709 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8714 eval "$wx_cv_use_aui"
8716 if test x"$enablestring" = xdisable; then
8717 if test $wxUSE_AUI = no; then
8726 { echo "$as_me:$LINENO: result: $result" >&5
8727 echo "${ECHO_T}$result" >&6; }
8731 defaultval=$wxUSE_ALL_FEATURES
8732 if test -z "$defaultval"; then
8733 if test x"$enablestring" = xdisable; then
8740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8741 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8742 # Check whether --enable-propgrid was given.
8743 if test "${enable_propgrid+set}" = set; then
8744 enableval=$enable_propgrid;
8745 if test "$enableval" = yes; then
8746 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8748 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8753 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8758 eval "$wx_cv_use_propgrid"
8760 if test x"$enablestring" = xdisable; then
8761 if test $wxUSE_PROPGRID = no; then
8767 result=$wxUSE_PROPGRID
8770 { echo "$as_me:$LINENO: result
: $result" >&5
8771 echo "${ECHO_T}$result" >&6; }
8775 defaultval=$wxUSE_ALL_FEATURES
8776 if test -z "$defaultval"; then
8777 if test x"$enablestring" = xdisable; then
8784 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8785 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8786 # Check whether --enable-ribbon was given.
8787 if test "${enable_ribbon+set}" = set; then
8788 enableval=$enable_ribbon;
8789 if test "$enableval" = yes; then
8790 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8792 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8797 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8802 eval "$wx_cv_use_ribbon"
8804 if test x
"$enablestring" = xdisable
; then
8805 if test $wxUSE_RIBBON = no
; then
8811 result
=$wxUSE_RIBBON
8814 { echo "$as_me:$LINENO: result: $result" >&5
8815 echo "${ECHO_T}$result" >&6; }
8819 defaultval
=$wxUSE_ALL_FEATURES
8820 if test -z "$defaultval"; then
8821 if test x
"$enablestring" = xdisable
; then
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8830 # Check whether --enable-stc was given.
8831 if test "${enable_stc+set}" = set; then
8832 enableval
=$enable_stc;
8833 if test "$enableval" = yes; then
8834 wx_cv_use_stc
='wxUSE_STC=yes'
8836 wx_cv_use_stc
='wxUSE_STC=no'
8841 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8846 eval "$wx_cv_use_stc"
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_STC = no; then
8858 { echo "$as_me:$LINENO: result: $result" >&5
8859 echo "${ECHO_T}$result" >&6; }
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8874 # Check whether --enable-constraints was given.
8875 if test "${enable_constraints+set}" = set; then
8876 enableval=$enable_constraints;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8880 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8885 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8890 eval "$wx_cv_use_constraints"
8892 if test x"$enablestring" = xdisable; then
8893 if test $wxUSE_CONSTRAINTS = no; then
8899 result=$wxUSE_CONSTRAINTS
8902 { echo "$as_me:$LINENO: result
: $result" >&5
8903 echo "${ECHO_T}$result" >&6; }
8907 defaultval=$wxUSE_ALL_FEATURES
8908 if test -z "$defaultval"; then
8909 if test x"$enablestring" = xdisable; then
8916 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8917 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8918 # Check whether --enable-loggui was given.
8919 if test "${enable_loggui+set}" = set; then
8920 enableval=$enable_loggui;
8921 if test "$enableval" = yes; then
8922 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8924 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8929 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8934 eval "$wx_cv_use_loggui"
8936 if test x
"$enablestring" = xdisable
; then
8937 if test $wxUSE_LOGGUI = no
; then
8943 result
=$wxUSE_LOGGUI
8946 { echo "$as_me:$LINENO: result: $result" >&5
8947 echo "${ECHO_T}$result" >&6; }
8951 defaultval
=$wxUSE_ALL_FEATURES
8952 if test -z "$defaultval"; then
8953 if test x
"$enablestring" = xdisable
; then
8960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8962 # Check whether --enable-logwin was given.
8963 if test "${enable_logwin+set}" = set; then
8964 enableval
=$enable_logwin;
8965 if test "$enableval" = yes; then
8966 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8968 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8973 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8978 eval "$wx_cv_use_logwin"
8980 if test x"$enablestring" = xdisable; then
8981 if test $wxUSE_LOGWINDOW = no; then
8987 result=$wxUSE_LOGWINDOW
8990 { echo "$as_me:$LINENO: result: $result" >&5
8991 echo "${ECHO_T}$result" >&6; }
8995 defaultval=$wxUSE_ALL_FEATURES
8996 if test -z "$defaultval"; then
8997 if test x"$enablestring" = xdisable; then
9004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9006 # Check whether --enable-logdialog was given.
9007 if test "${enable_logdialog+set}" = set; then
9008 enableval=$enable_logdialog;
9009 if test "$enableval" = yes; then
9010 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9012 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9017 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9022 eval "$wx_cv_use_logdialog"
9024 if test x"$enablestring" = xdisable; then
9025 if test $wxUSE_LOGDIALOG = no; then
9031 result=$wxUSE_LOGDIALOG
9034 { echo "$as_me:$LINENO: result
: $result" >&5
9035 echo "${ECHO_T}$result" >&6; }
9039 defaultval=$wxUSE_ALL_FEATURES
9040 if test -z "$defaultval"; then
9041 if test x"$enablestring" = xdisable; then
9048 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9049 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9050 # Check whether --enable-mdi was given.
9051 if test "${enable_mdi+set}" = set; then
9052 enableval=$enable_mdi;
9053 if test "$enableval" = yes; then
9054 wx_cv_use_mdi='wxUSE_MDI=yes'
9056 wx_cv_use_mdi='wxUSE_MDI=no'
9061 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9066 eval "$wx_cv_use_mdi"
9068 if test x
"$enablestring" = xdisable
; then
9069 if test $wxUSE_MDI = no
; then
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9083 defaultval
=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x
"$enablestring" = xdisable
; then
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9094 # Check whether --enable-mdidoc was given.
9095 if test "${enable_mdidoc+set}" = set; then
9096 enableval
=$enable_mdidoc;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9100 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9105 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9110 eval "$wx_cv_use_mdidoc"
9112 if test x"$enablestring" = xdisable; then
9113 if test $wxUSE_MDI_ARCHITECTURE = no; then
9119 result=$wxUSE_MDI_ARCHITECTURE
9122 { echo "$as_me:$LINENO: result: $result" >&5
9123 echo "${ECHO_T}$result" >&6; }
9127 defaultval=$wxUSE_ALL_FEATURES
9128 if test -z "$defaultval"; then
9129 if test x"$enablestring" = xdisable; then
9136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9137 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9138 # Check whether --enable-mediactrl was given.
9139 if test "${enable_mediactrl+set}" = set; then
9140 enableval=$enable_mediactrl;
9141 if test "$enableval" = yes; then
9142 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9144 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9149 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9154 eval "$wx_cv_use_mediactrl"
9156 if test x"$enablestring" = xdisable; then
9157 if test $wxUSE_MEDIACTRL = no; then
9163 result=$wxUSE_MEDIACTRL
9166 { echo "$as_me:$LINENO: result
: $result" >&5
9167 echo "${ECHO_T}$result" >&6; }
9171 defaultval=$wxUSE_ALL_FEATURES
9172 if test -z "$defaultval"; then
9173 if test x"$enablestring" = xdisable; then
9180 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9181 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9182 # Check whether --enable-gstreamer8 was given.
9183 if test "${enable_gstreamer8+set}" = set; then
9184 enableval=$enable_gstreamer8;
9185 if test "$enableval" = yes; then
9186 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9188 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9193 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9198 eval "$wx_cv_use_gstreamer8"
9200 if test x
"$enablestring" = xdisable
; then
9201 if test $wxUSE_GSTREAMER8 = no
; then
9207 result
=$wxUSE_GSTREAMER8
9210 { echo "$as_me:$LINENO: result: $result" >&5
9211 echo "${ECHO_T}$result" >&6; }
9215 defaultval
=$wxUSE_ALL_FEATURES
9216 if test -z "$defaultval"; then
9217 if test x
"$enablestring" = xdisable
; then
9224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9226 # Check whether --enable-webkit was given.
9227 if test "${enable_webkit+set}" = set; then
9228 enableval
=$enable_webkit;
9229 if test "$enableval" = yes; then
9230 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9232 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9237 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9242 eval "$wx_cv_use_webkit"
9244 if test x"$enablestring" = xdisable; then
9245 if test $wxUSE_WEBKIT = no; then
9251 result=$wxUSE_WEBKIT
9254 { echo "$as_me:$LINENO: result: $result" >&5
9255 echo "${ECHO_T}$result" >&6; }
9259 defaultval=$wxUSE_ALL_FEATURES
9260 if test -z "$defaultval"; then
9261 if test x"$enablestring" = xdisable; then
9268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9270 # Check whether --enable-richtext was given.
9271 if test "${enable_richtext+set}" = set; then
9272 enableval=$enable_richtext;
9273 if test "$enableval" = yes; then
9274 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9276 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9281 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9286 eval "$wx_cv_use_richtext"
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_RICHTEXT = no; then
9295 result=$wxUSE_RICHTEXT
9298 { echo "$as_me:$LINENO: result
: $result" >&5
9299 echo "${ECHO_T}$result" >&6; }
9303 defaultval=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x"$enablestring" = xdisable; then
9312 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9313 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9314 # Check whether --enable-postscript was given.
9315 if test "${enable_postscript+set}" = set; then
9316 enableval=$enable_postscript;
9317 if test "$enableval" = yes; then
9318 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9320 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9325 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9330 eval "$wx_cv_use_postscript"
9332 if test x
"$enablestring" = xdisable
; then
9333 if test $wxUSE_POSTSCRIPT = no
; then
9339 result
=$wxUSE_POSTSCRIPT
9342 { echo "$as_me:$LINENO: result: $result" >&5
9343 echo "${ECHO_T}$result" >&6; }
9347 defaultval
=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x
"$enablestring" = xdisable
; then
9356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9358 # Check whether --enable-printarch was given.
9359 if test "${enable_printarch+set}" = set; then
9360 enableval
=$enable_printarch;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9364 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9369 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9374 eval "$wx_cv_use_printarch"
9376 if test x"$enablestring" = xdisable; then
9377 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9383 result=$wxUSE_PRINTING_ARCHITECTURE
9386 { echo "$as_me:$LINENO: result: $result" >&5
9387 echo "${ECHO_T}$result" >&6; }
9391 defaultval=$wxUSE_ALL_FEATURES
9392 if test -z "$defaultval"; then
9393 if test x"$enablestring" = xdisable; then
9400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9401 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9402 # Check whether --enable-svg was given.
9403 if test "${enable_svg+set}" = set; then
9404 enableval=$enable_svg;
9405 if test "$enableval" = yes; then
9406 wx_cv_use_svg='wxUSE_SVG
=yes'
9408 wx_cv_use_svg='wxUSE_SVG
=no
'
9413 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9418 eval "$wx_cv_use_svg"
9420 if test x"$enablestring" = xdisable; then
9421 if test $wxUSE_SVG = no; then
9430 { echo "$as_me:$LINENO: result
: $result" >&5
9431 echo "${ECHO_T}$result" >&6; }
9434 if test "$wxUSE_MAC" != 1; then
9437 defaultval=$wxUSE_ALL_FEATURES
9438 if test -z "$defaultval"; then
9439 if test x"$enablestring" = xdisable; then
9446 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9447 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9448 # Check whether --enable-graphics_ctx was given.
9449 if test "${enable_graphics_ctx+set}" = set; then
9450 enableval=$enable_graphics_ctx;
9451 if test "$enableval" = yes; then
9452 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9454 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9459 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9464 eval "$wx_cv_use_graphics_ctx"
9466 if test x
"$enablestring" = xdisable
; then
9467 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9473 result
=$wxUSE_GRAPHICS_CONTEXT
9476 { echo "$as_me:$LINENO: result: $result" >&5
9477 echo "${ECHO_T}$result" >&6; }
9484 defaultval
=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x
"$enablestring" = xdisable
; then
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9495 # Check whether --enable-clipboard was given.
9496 if test "${enable_clipboard+set}" = set; then
9497 enableval
=$enable_clipboard;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9501 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9506 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9511 eval "$wx_cv_use_clipboard"
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_CLIPBOARD = no; then
9520 result=$wxUSE_CLIPBOARD
9523 { echo "$as_me:$LINENO: result: $result" >&5
9524 echo "${ECHO_T}$result" >&6; }
9528 defaultval=$wxUSE_ALL_FEATURES
9529 if test -z "$defaultval"; then
9530 if test x"$enablestring" = xdisable; then
9537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9539 # Check whether --enable-dnd was given.
9540 if test "${enable_dnd+set}" = set; then
9541 enableval=$enable_dnd;
9542 if test "$enableval" = yes; then
9543 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9545 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9550 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9555 eval "$wx_cv_use_dnd"
9557 if test x"$enablestring" = xdisable; then
9558 if test $wxUSE_DRAG_AND_DROP = no; then
9564 result=$wxUSE_DRAG_AND_DROP
9567 { echo "$as_me:$LINENO: result
: $result" >&5
9568 echo "${ECHO_T}$result" >&6; }
9572 defaultval=$wxUSE_ALL_FEATURES
9573 if test -z "$defaultval"; then
9574 if test x"$enablestring" = xdisable; then
9581 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9582 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9583 # Check whether --enable-metafile was given.
9584 if test "${enable_metafile+set}" = set; then
9585 enableval=$enable_metafile;
9586 if test "$enableval" = yes; then
9587 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9589 wx_cv_use_metafile='wxUSE_METAFILE=no'
9594 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9599 eval "$wx_cv_use_metafile"
9601 if test x
"$enablestring" = xdisable
; then
9602 if test $wxUSE_METAFILE = no
; then
9608 result
=$wxUSE_METAFILE
9611 { echo "$as_me:$LINENO: result: $result" >&5
9612 echo "${ECHO_T}$result" >&6; }
9616 DEFAULT_wxUSE_CONTROLS
=none
9618 enablestring
=disable
9620 if test -z "$defaultval"; then
9621 if test x
"$enablestring" = xdisable
; then
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9630 # Check whether --enable-controls was given.
9631 if test "${enable_controls+set}" = set; then
9632 enableval
=$enable_controls;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9636 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9641 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9646 eval "$wx_cv_use_controls"
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_CONTROLS = no; then
9655 result=$wxUSE_CONTROLS
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9662 if test "$wxUSE_CONTROLS" = "no"; then
9663 DEFAULT_wxUSE_ACCEL=no
9664 DEFAULT_wxUSE_ANIMATIONCTRL=no
9665 DEFAULT_wxUSE_BMPBUTTON=no
9666 DEFAULT_wxUSE_BUTTON=no
9667 DEFAULT_wxUSE_CALCTRL=no
9668 DEFAULT_wxUSE_CARET=no
9669 DEFAULT_wxUSE_CHECKBOX=no
9670 DEFAULT_wxUSE_CHECKLISTBOX=no
9671 DEFAULT_wxUSE_CHOICE=no
9672 DEFAULT_wxUSE_CHOICEBOOK=no
9673 DEFAULT_wxUSE_COLLPANE=no
9674 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9675 DEFAULT_wxUSE_COMBOBOX=no
9676 DEFAULT_wxUSE_COMBOBOX=no
9677 DEFAULT_wxUSE_DATAVIEWCTRL=no
9678 DEFAULT_wxUSE_DATEPICKCTRL=no
9679 DEFAULT_wxUSE_DETECT_SM=no
9680 DEFAULT_wxUSE_DIRPICKERCTRL=no
9681 DEFAULT_wxUSE_DISPLAY=no
9682 DEFAULT_wxUSE_FILECTRL=no
9683 DEFAULT_wxUSE_FILEPICKERCTRL=no
9684 DEFAULT_wxUSE_FONTPICKERCTRL=no
9685 DEFAULT_wxUSE_GAUGE=no
9686 DEFAULT_wxUSE_GRID=no
9687 DEFAULT_wxUSE_HEADERCTRL=no
9688 DEFAULT_wxUSE_HYPERLINKCTRL=no
9689 DEFAULT_wxUSE_IMAGLIST=no
9690 DEFAULT_wxUSE_LISTBOOK=no
9691 DEFAULT_wxUSE_LISTBOX=no
9692 DEFAULT_wxUSE_LISTCTRL=no
9693 DEFAULT_wxUSE_NOTEBOOK=no
9694 DEFAULT_wxUSE_POPUPWIN=no
9695 DEFAULT_wxUSE_RADIOBOX=no
9696 DEFAULT_wxUSE_RADIOBTN=no
9697 DEFAULT_wxUSE_REARRANGECTRL=no
9698 DEFAULT_wxUSE_SASH=no
9699 DEFAULT_wxUSE_SCROLLBAR=no
9700 DEFAULT_wxUSE_SEARCHCTRL=no
9701 DEFAULT_wxUSE_SLIDER=no
9702 DEFAULT_wxUSE_SPINBTN=no
9703 DEFAULT_wxUSE_SPINCTRL=no
9704 DEFAULT_wxUSE_SPLITTER=no
9705 DEFAULT_wxUSE_STATBMP=no
9706 DEFAULT_wxUSE_STATBOX=no
9707 DEFAULT_wxUSE_STATLINE=no
9708 DEFAULT_wxUSE_STATUSBAR=no
9709 DEFAULT_wxUSE_TIPWINDOW=no
9710 DEFAULT_wxUSE_TOGGLEBTN=no
9711 DEFAULT_wxUSE_TOOLBAR=no
9712 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9713 DEFAULT_wxUSE_TOOLBOOK=no
9714 DEFAULT_wxUSE_TOOLTIPS=no
9715 DEFAULT_wxUSE_TREEBOOK=no
9716 DEFAULT_wxUSE_TREECTRL=no
9721 defaultval=$wxUSE_ALL_FEATURES
9722 if test -z "$defaultval"; then
9723 if test x"$enablestring" = xdisable; then
9730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9732 # Check whether --enable-accel was given.
9733 if test "${enable_accel+set}" = set; then
9734 enableval=$enable_accel;
9735 if test "$enableval" = yes; then
9736 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9738 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9743 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9748 eval "$wx_cv_use_accel"
9750 if test x"$enablestring" = xdisable; then
9751 if test $wxUSE_ACCEL = no; then
9760 { echo "$as_me:$LINENO: result
: $result" >&5
9761 echo "${ECHO_T}$result" >&6; }
9765 defaultval=$wxUSE_ALL_FEATURES
9766 if test -z "$defaultval"; then
9767 if test x"$enablestring" = xdisable; then
9774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9775 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9776 # Check whether --enable-animatectrl was given.
9777 if test "${enable_animatectrl+set}" = set; then
9778 enableval=$enable_animatectrl;
9779 if test "$enableval" = yes; then
9780 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9782 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9787 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9792 eval "$wx_cv_use_animatectrl"
9794 if test x
"$enablestring" = xdisable
; then
9795 if test $wxUSE_ANIMATIONCTRL = no
; then
9801 result
=$wxUSE_ANIMATIONCTRL
9804 { echo "$as_me:$LINENO: result: $result" >&5
9805 echo "${ECHO_T}$result" >&6; }
9809 defaultval
=$wxUSE_ALL_FEATURES
9810 if test -z "$defaultval"; then
9811 if test x
"$enablestring" = xdisable
; then
9818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9820 # Check whether --enable-bmpbutton was given.
9821 if test "${enable_bmpbutton+set}" = set; then
9822 enableval
=$enable_bmpbutton;
9823 if test "$enableval" = yes; then
9824 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9826 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9831 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9836 eval "$wx_cv_use_bmpbutton"
9838 if test x"$enablestring" = xdisable; then
9839 if test $wxUSE_BMPBUTTON = no; then
9845 result=$wxUSE_BMPBUTTON
9848 { echo "$as_me:$LINENO: result: $result" >&5
9849 echo "${ECHO_T}$result" >&6; }
9853 defaultval=$wxUSE_ALL_FEATURES
9854 if test -z "$defaultval"; then
9855 if test x"$enablestring" = xdisable; then
9862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9864 # Check whether --enable-bmpcombobox was given.
9865 if test "${enable_bmpcombobox+set}" = set; then
9866 enableval=$enable_bmpcombobox;
9867 if test "$enableval" = yes; then
9868 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9870 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9875 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9880 eval "$wx_cv_use_bmpcombobox"
9882 if test x"$enablestring" = xdisable; then
9883 if test $wxUSE_BITMAPCOMBOBOX = no; then
9889 result=$wxUSE_BITMAPCOMBOBOX
9892 { echo "$as_me:$LINENO: result
: $result" >&5
9893 echo "${ECHO_T}$result" >&6; }
9897 defaultval=$wxUSE_ALL_FEATURES
9898 if test -z "$defaultval"; then
9899 if test x"$enablestring" = xdisable; then
9906 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9907 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9908 # Check whether --enable-button was given.
9909 if test "${enable_button+set}" = set; then
9910 enableval=$enable_button;
9911 if test "$enableval" = yes; then
9912 wx_cv_use_button='wxUSE_BUTTON=yes'
9914 wx_cv_use_button='wxUSE_BUTTON=no'
9919 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9924 eval "$wx_cv_use_button"
9926 if test x
"$enablestring" = xdisable
; then
9927 if test $wxUSE_BUTTON = no
; then
9933 result
=$wxUSE_BUTTON
9936 { echo "$as_me:$LINENO: result: $result" >&5
9937 echo "${ECHO_T}$result" >&6; }
9941 defaultval
=$wxUSE_ALL_FEATURES
9942 if test -z "$defaultval"; then
9943 if test x
"$enablestring" = xdisable
; then
9950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9952 # Check whether --enable-calendar was given.
9953 if test "${enable_calendar+set}" = set; then
9954 enableval
=$enable_calendar;
9955 if test "$enableval" = yes; then
9956 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9958 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9963 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9968 eval "$wx_cv_use_calendar"
9970 if test x"$enablestring" = xdisable; then
9971 if test $wxUSE_CALCTRL = no; then
9977 result=$wxUSE_CALCTRL
9980 { echo "$as_me:$LINENO: result: $result" >&5
9981 echo "${ECHO_T}$result" >&6; }
9985 defaultval=$wxUSE_ALL_FEATURES
9986 if test -z "$defaultval"; then
9987 if test x"$enablestring" = xdisable; then
9994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9995 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9996 # Check whether --enable-caret was given.
9997 if test "${enable_caret+set}" = set; then
9998 enableval=$enable_caret;
9999 if test "$enableval" = yes; then
10000 wx_cv_use_caret='wxUSE_CARET
=yes'
10002 wx_cv_use_caret='wxUSE_CARET
=no
'
10007 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10012 eval "$wx_cv_use_caret"
10014 if test x"$enablestring" = xdisable; then
10015 if test $wxUSE_CARET = no; then
10021 result=$wxUSE_CARET
10024 { echo "$as_me:$LINENO: result
: $result" >&5
10025 echo "${ECHO_T}$result" >&6; }
10029 defaultval=$wxUSE_ALL_FEATURES
10030 if test -z "$defaultval"; then
10031 if test x"$enablestring" = xdisable; then
10038 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
10039 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
10040 # Check whether --enable-checkbox was given.
10041 if test "${enable_checkbox+set}" = set; then
10042 enableval=$enable_checkbox;
10043 if test "$enableval" = yes; then
10044 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10046 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10051 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10056 eval "$wx_cv_use_checkbox"
10058 if test x
"$enablestring" = xdisable
; then
10059 if test $wxUSE_CHECKBOX = no
; then
10065 result
=$wxUSE_CHECKBOX
10068 { echo "$as_me:$LINENO: result: $result" >&5
10069 echo "${ECHO_T}$result" >&6; }
10073 defaultval
=$wxUSE_ALL_FEATURES
10074 if test -z "$defaultval"; then
10075 if test x
"$enablestring" = xdisable
; then
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10084 # Check whether --enable-checklst was given.
10085 if test "${enable_checklst+set}" = set; then
10086 enableval
=$enable_checklst;
10087 if test "$enableval" = yes; then
10088 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10090 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10095 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10100 eval "$wx_cv_use_checklst"
10102 if test x"$enablestring" = xdisable; then
10103 if test $wxUSE_CHECKLST = no; then
10109 result=$wxUSE_CHECKLST
10112 { echo "$as_me:$LINENO: result: $result" >&5
10113 echo "${ECHO_T}$result" >&6; }
10117 defaultval=$wxUSE_ALL_FEATURES
10118 if test -z "$defaultval"; then
10119 if test x"$enablestring" = xdisable; then
10126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10128 # Check whether --enable-choice was given.
10129 if test "${enable_choice+set}" = set; then
10130 enableval=$enable_choice;
10131 if test "$enableval" = yes; then
10132 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10134 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10139 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10144 eval "$wx_cv_use_choice"
10146 if test x"$enablestring" = xdisable; then
10147 if test $wxUSE_CHOICE = no; then
10153 result=$wxUSE_CHOICE
10156 { echo "$as_me:$LINENO: result
: $result" >&5
10157 echo "${ECHO_T}$result" >&6; }
10161 defaultval=$wxUSE_ALL_FEATURES
10162 if test -z "$defaultval"; then
10163 if test x"$enablestring" = xdisable; then
10170 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10171 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10172 # Check whether --enable-choicebook was given.
10173 if test "${enable_choicebook+set}" = set; then
10174 enableval=$enable_choicebook;
10175 if test "$enableval" = yes; then
10176 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10178 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10183 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10188 eval "$wx_cv_use_choicebook"
10190 if test x
"$enablestring" = xdisable
; then
10191 if test $wxUSE_CHOICEBOOK = no
; then
10197 result
=$wxUSE_CHOICEBOOK
10200 { echo "$as_me:$LINENO: result: $result" >&5
10201 echo "${ECHO_T}$result" >&6; }
10205 defaultval
=$wxUSE_ALL_FEATURES
10206 if test -z "$defaultval"; then
10207 if test x
"$enablestring" = xdisable
; then
10214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10215 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10216 # Check whether --enable-collpane was given.
10217 if test "${enable_collpane+set}" = set; then
10218 enableval
=$enable_collpane;
10219 if test "$enableval" = yes; then
10220 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10222 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10227 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10232 eval "$wx_cv_use_collpane"
10234 if test x"$enablestring" = xdisable; then
10235 if test $wxUSE_COLLPANE = no; then
10241 result=$wxUSE_COLLPANE
10244 { echo "$as_me:$LINENO: result: $result" >&5
10245 echo "${ECHO_T}$result" >&6; }
10249 defaultval=$wxUSE_ALL_FEATURES
10250 if test -z "$defaultval"; then
10251 if test x"$enablestring" = xdisable; then
10258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10260 # Check whether --enable-colourpicker was given.
10261 if test "${enable_colourpicker+set}" = set; then
10262 enableval=$enable_colourpicker;
10263 if test "$enableval" = yes; then
10264 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10266 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10271 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10276 eval "$wx_cv_use_colourpicker"
10278 if test x"$enablestring" = xdisable; then
10279 if test $wxUSE_COLOURPICKERCTRL = no; then
10285 result=$wxUSE_COLOURPICKERCTRL
10288 { echo "$as_me:$LINENO: result
: $result" >&5
10289 echo "${ECHO_T}$result" >&6; }
10293 defaultval=$wxUSE_ALL_FEATURES
10294 if test -z "$defaultval"; then
10295 if test x"$enablestring" = xdisable; then
10302 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10303 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10304 # Check whether --enable-combobox was given.
10305 if test "${enable_combobox+set}" = set; then
10306 enableval=$enable_combobox;
10307 if test "$enableval" = yes; then
10308 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10310 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10315 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10320 eval "$wx_cv_use_combobox"
10322 if test x
"$enablestring" = xdisable
; then
10323 if test $wxUSE_COMBOBOX = no
; then
10329 result
=$wxUSE_COMBOBOX
10332 { echo "$as_me:$LINENO: result: $result" >&5
10333 echo "${ECHO_T}$result" >&6; }
10337 defaultval
=$wxUSE_ALL_FEATURES
10338 if test -z "$defaultval"; then
10339 if test x
"$enablestring" = xdisable
; then
10346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10347 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10348 # Check whether --enable-comboctrl was given.
10349 if test "${enable_comboctrl+set}" = set; then
10350 enableval
=$enable_comboctrl;
10351 if test "$enableval" = yes; then
10352 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10354 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10359 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10364 eval "$wx_cv_use_comboctrl"
10366 if test x"$enablestring" = xdisable; then
10367 if test $wxUSE_COMBOCTRL = no; then
10373 result=$wxUSE_COMBOCTRL
10376 { echo "$as_me:$LINENO: result: $result" >&5
10377 echo "${ECHO_T}$result" >&6; }
10381 defaultval=$wxUSE_ALL_FEATURES
10382 if test -z "$defaultval"; then
10383 if test x"$enablestring" = xdisable; then
10390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10392 # Check whether --enable-dataviewctrl was given.
10393 if test "${enable_dataviewctrl+set}" = set; then
10394 enableval=$enable_dataviewctrl;
10395 if test "$enableval" = yes; then
10396 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10398 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10403 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10408 eval "$wx_cv_use_dataviewctrl"
10410 if test x"$enablestring" = xdisable; then
10411 if test $wxUSE_DATAVIEWCTRL = no; then
10417 result=$wxUSE_DATAVIEWCTRL
10420 { echo "$as_me:$LINENO: result
: $result" >&5
10421 echo "${ECHO_T}$result" >&6; }
10425 defaultval=$wxUSE_ALL_FEATURES
10426 if test -z "$defaultval"; then
10427 if test x"$enablestring" = xdisable; then
10434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10435 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10436 # Check whether --enable-datepick was given.
10437 if test "${enable_datepick+set}" = set; then
10438 enableval=$enable_datepick;
10439 if test "$enableval" = yes; then
10440 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10442 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10447 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10452 eval "$wx_cv_use_datepick"
10454 if test x
"$enablestring" = xdisable
; then
10455 if test $wxUSE_DATEPICKCTRL = no
; then
10461 result
=$wxUSE_DATEPICKCTRL
10464 { echo "$as_me:$LINENO: result: $result" >&5
10465 echo "${ECHO_T}$result" >&6; }
10469 defaultval
=$wxUSE_ALL_FEATURES
10470 if test -z "$defaultval"; then
10471 if test x
"$enablestring" = xdisable
; then
10478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10479 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10480 # Check whether --enable-detect_sm was given.
10481 if test "${enable_detect_sm+set}" = set; then
10482 enableval
=$enable_detect_sm;
10483 if test "$enableval" = yes; then
10484 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10486 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10491 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10496 eval "$wx_cv_use_detect_sm"
10498 if test x"$enablestring" = xdisable; then
10499 if test $wxUSE_DETECT_SM = no; then
10505 result=$wxUSE_DETECT_SM
10508 { echo "$as_me:$LINENO: result: $result" >&5
10509 echo "${ECHO_T}$result" >&6; }
10513 defaultval=$wxUSE_ALL_FEATURES
10514 if test -z "$defaultval"; then
10515 if test x"$enablestring" = xdisable; then
10522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10523 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10524 # Check whether --enable-dirpicker was given.
10525 if test "${enable_dirpicker+set}" = set; then
10526 enableval=$enable_dirpicker;
10527 if test "$enableval" = yes; then
10528 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10530 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10535 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10540 eval "$wx_cv_use_dirpicker"
10542 if test x"$enablestring" = xdisable; then
10543 if test $wxUSE_DIRPICKERCTRL = no; then
10549 result=$wxUSE_DIRPICKERCTRL
10552 { echo "$as_me:$LINENO: result
: $result" >&5
10553 echo "${ECHO_T}$result" >&6; }
10557 defaultval=$wxUSE_ALL_FEATURES
10558 if test -z "$defaultval"; then
10559 if test x"$enablestring" = xdisable; then
10566 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10567 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10568 # Check whether --enable-display was given.
10569 if test "${enable_display+set}" = set; then
10570 enableval=$enable_display;
10571 if test "$enableval" = yes; then
10572 wx_cv_use_display='wxUSE_DISPLAY=yes'
10574 wx_cv_use_display='wxUSE_DISPLAY=no'
10579 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10584 eval "$wx_cv_use_display"
10586 if test x
"$enablestring" = xdisable
; then
10587 if test $wxUSE_DISPLAY = no
; then
10593 result
=$wxUSE_DISPLAY
10596 { echo "$as_me:$LINENO: result: $result" >&5
10597 echo "${ECHO_T}$result" >&6; }
10601 defaultval
=$wxUSE_ALL_FEATURES
10602 if test -z "$defaultval"; then
10603 if test x
"$enablestring" = xdisable
; then
10610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10611 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10612 # Check whether --enable-editablebox was given.
10613 if test "${enable_editablebox+set}" = set; then
10614 enableval
=$enable_editablebox;
10615 if test "$enableval" = yes; then
10616 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10618 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10623 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10628 eval "$wx_cv_use_editablebox"
10630 if test x"$enablestring" = xdisable; then
10631 if test $wxUSE_EDITABLELISTBOX = no; then
10637 result=$wxUSE_EDITABLELISTBOX
10640 { echo "$as_me:$LINENO: result: $result" >&5
10641 echo "${ECHO_T}$result" >&6; }
10645 defaultval=$wxUSE_ALL_FEATURES
10646 if test -z "$defaultval"; then
10647 if test x"$enablestring" = xdisable; then
10654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10655 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10656 # Check whether --enable-filectrl was given.
10657 if test "${enable_filectrl+set}" = set; then
10658 enableval=$enable_filectrl;
10659 if test "$enableval" = yes; then
10660 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10662 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10667 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10672 eval "$wx_cv_use_filectrl"
10674 if test x"$enablestring" = xdisable; then
10675 if test $wxUSE_FILECTRL = no; then
10681 result=$wxUSE_FILECTRL
10684 { echo "$as_me:$LINENO: result
: $result" >&5
10685 echo "${ECHO_T}$result" >&6; }
10689 defaultval=$wxUSE_ALL_FEATURES
10690 if test -z "$defaultval"; then
10691 if test x"$enablestring" = xdisable; then
10698 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10699 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10700 # Check whether --enable-filepicker was given.
10701 if test "${enable_filepicker+set}" = set; then
10702 enableval=$enable_filepicker;
10703 if test "$enableval" = yes; then
10704 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10706 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10711 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10716 eval "$wx_cv_use_filepicker"
10718 if test x
"$enablestring" = xdisable
; then
10719 if test $wxUSE_FILEPICKERCTRL = no
; then
10725 result
=$wxUSE_FILEPICKERCTRL
10728 { echo "$as_me:$LINENO: result: $result" >&5
10729 echo "${ECHO_T}$result" >&6; }
10733 defaultval
=$wxUSE_ALL_FEATURES
10734 if test -z "$defaultval"; then
10735 if test x
"$enablestring" = xdisable
; then
10742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10744 # Check whether --enable-fontpicker was given.
10745 if test "${enable_fontpicker+set}" = set; then
10746 enableval
=$enable_fontpicker;
10747 if test "$enableval" = yes; then
10748 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10750 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10755 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10760 eval "$wx_cv_use_fontpicker"
10762 if test x"$enablestring" = xdisable; then
10763 if test $wxUSE_FONTPICKERCTRL = no; then
10769 result=$wxUSE_FONTPICKERCTRL
10772 { echo "$as_me:$LINENO: result: $result" >&5
10773 echo "${ECHO_T}$result" >&6; }
10777 defaultval=$wxUSE_ALL_FEATURES
10778 if test -z "$defaultval"; then
10779 if test x"$enablestring" = xdisable; then
10786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10788 # Check whether --enable-gauge was given.
10789 if test "${enable_gauge+set}" = set; then
10790 enableval=$enable_gauge;
10791 if test "$enableval" = yes; then
10792 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10794 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10799 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10804 eval "$wx_cv_use_gauge"
10806 if test x"$enablestring" = xdisable; then
10807 if test $wxUSE_GAUGE = no; then
10813 result=$wxUSE_GAUGE
10816 { echo "$as_me:$LINENO: result
: $result" >&5
10817 echo "${ECHO_T}$result" >&6; }
10821 defaultval=$wxUSE_ALL_FEATURES
10822 if test -z "$defaultval"; then
10823 if test x"$enablestring" = xdisable; then
10830 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10831 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10832 # Check whether --enable-grid was given.
10833 if test "${enable_grid+set}" = set; then
10834 enableval=$enable_grid;
10835 if test "$enableval" = yes; then
10836 wx_cv_use_grid='wxUSE_GRID=yes'
10838 wx_cv_use_grid='wxUSE_GRID=no'
10843 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10848 eval "$wx_cv_use_grid"
10850 if test x
"$enablestring" = xdisable
; then
10851 if test $wxUSE_GRID = no
; then
10860 { echo "$as_me:$LINENO: result: $result" >&5
10861 echo "${ECHO_T}$result" >&6; }
10865 defaultval
=$wxUSE_ALL_FEATURES
10866 if test -z "$defaultval"; then
10867 if test x
"$enablestring" = xdisable
; then
10874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10875 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10876 # Check whether --enable-headerctrl was given.
10877 if test "${enable_headerctrl+set}" = set; then
10878 enableval
=$enable_headerctrl;
10879 if test "$enableval" = yes; then
10880 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10882 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10887 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10892 eval "$wx_cv_use_headerctrl"
10894 if test x"$enablestring" = xdisable; then
10895 if test $wxUSE_HEADERCTRL = no; then
10901 result=$wxUSE_HEADERCTRL
10904 { echo "$as_me:$LINENO: result: $result" >&5
10905 echo "${ECHO_T}$result" >&6; }
10909 defaultval=$wxUSE_ALL_FEATURES
10910 if test -z "$defaultval"; then
10911 if test x"$enablestring" = xdisable; then
10918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10919 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10920 # Check whether --enable-hyperlink was given.
10921 if test "${enable_hyperlink+set}" = set; then
10922 enableval=$enable_hyperlink;
10923 if test "$enableval" = yes; then
10924 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10926 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10931 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10936 eval "$wx_cv_use_hyperlink"
10938 if test x"$enablestring" = xdisable; then
10939 if test $wxUSE_HYPERLINKCTRL = no; then
10945 result=$wxUSE_HYPERLINKCTRL
10948 { echo "$as_me:$LINENO: result
: $result" >&5
10949 echo "${ECHO_T}$result" >&6; }
10953 defaultval=$wxUSE_ALL_FEATURES
10954 if test -z "$defaultval"; then
10955 if test x"$enablestring" = xdisable; then
10962 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10963 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10964 # Check whether --enable-imaglist was given.
10965 if test "${enable_imaglist+set}" = set; then
10966 enableval=$enable_imaglist;
10967 if test "$enableval" = yes; then
10968 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10970 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10975 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10980 eval "$wx_cv_use_imaglist"
10982 if test x
"$enablestring" = xdisable
; then
10983 if test $wxUSE_IMAGLIST = no
; then
10989 result
=$wxUSE_IMAGLIST
10992 { echo "$as_me:$LINENO: result: $result" >&5
10993 echo "${ECHO_T}$result" >&6; }
10997 defaultval
=$wxUSE_ALL_FEATURES
10998 if test -z "$defaultval"; then
10999 if test x
"$enablestring" = xdisable
; then
11006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11007 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11008 # Check whether --enable-infobar was given.
11009 if test "${enable_infobar+set}" = set; then
11010 enableval
=$enable_infobar;
11011 if test "$enableval" = yes; then
11012 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
11014 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
11019 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11024 eval "$wx_cv_use_infobar"
11026 if test x"$enablestring" = xdisable; then
11027 if test $wxUSE_INFOBAR = no; then
11033 result=$wxUSE_INFOBAR
11036 { echo "$as_me:$LINENO: result: $result" >&5
11037 echo "${ECHO_T}$result" >&6; }
11041 defaultval=$wxUSE_ALL_FEATURES
11042 if test -z "$defaultval"; then
11043 if test x"$enablestring" = xdisable; then
11050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11051 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11052 # Check whether --enable-listbook was given.
11053 if test "${enable_listbook+set}" = set; then
11054 enableval=$enable_listbook;
11055 if test "$enableval" = yes; then
11056 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
11058 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
11063 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11068 eval "$wx_cv_use_listbook"
11070 if test x"$enablestring" = xdisable; then
11071 if test $wxUSE_LISTBOOK = no; then
11077 result=$wxUSE_LISTBOOK
11080 { echo "$as_me:$LINENO: result
: $result" >&5
11081 echo "${ECHO_T}$result" >&6; }
11085 defaultval=$wxUSE_ALL_FEATURES
11086 if test -z "$defaultval"; then
11087 if test x"$enablestring" = xdisable; then
11094 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
11095 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
11096 # Check whether --enable-listbox was given.
11097 if test "${enable_listbox+set}" = set; then
11098 enableval=$enable_listbox;
11099 if test "$enableval" = yes; then
11100 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11102 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11107 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11112 eval "$wx_cv_use_listbox"
11114 if test x
"$enablestring" = xdisable
; then
11115 if test $wxUSE_LISTBOX = no
; then
11121 result
=$wxUSE_LISTBOX
11124 { echo "$as_me:$LINENO: result: $result" >&5
11125 echo "${ECHO_T}$result" >&6; }
11129 defaultval
=$wxUSE_ALL_FEATURES
11130 if test -z "$defaultval"; then
11131 if test x
"$enablestring" = xdisable
; then
11138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11140 # Check whether --enable-listctrl was given.
11141 if test "${enable_listctrl+set}" = set; then
11142 enableval
=$enable_listctrl;
11143 if test "$enableval" = yes; then
11144 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
11146 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
11151 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11156 eval "$wx_cv_use_listctrl"
11158 if test x"$enablestring" = xdisable; then
11159 if test $wxUSE_LISTCTRL = no; then
11165 result=$wxUSE_LISTCTRL
11168 { echo "$as_me:$LINENO: result: $result" >&5
11169 echo "${ECHO_T}$result" >&6; }
11173 defaultval=$wxUSE_ALL_FEATURES
11174 if test -z "$defaultval"; then
11175 if test x"$enablestring" = xdisable; then
11182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11184 # Check whether --enable-notebook was given.
11185 if test "${enable_notebook+set}" = set; then
11186 enableval=$enable_notebook;
11187 if test "$enableval" = yes; then
11188 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
11190 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
11195 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11200 eval "$wx_cv_use_notebook"
11202 if test x"$enablestring" = xdisable; then
11203 if test $wxUSE_NOTEBOOK = no; then
11209 result=$wxUSE_NOTEBOOK
11212 { echo "$as_me:$LINENO: result
: $result" >&5
11213 echo "${ECHO_T}$result" >&6; }
11217 defaultval=$wxUSE_ALL_FEATURES
11218 if test -z "$defaultval"; then
11219 if test x"$enablestring" = xdisable; then
11226 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
11227 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
11228 # Check whether --enable-notifmsg was given.
11229 if test "${enable_notifmsg+set}" = set; then
11230 enableval=$enable_notifmsg;
11231 if test "$enableval" = yes; then
11232 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11234 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11239 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11244 eval "$wx_cv_use_notifmsg"
11246 if test x
"$enablestring" = xdisable
; then
11247 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11253 result
=$wxUSE_NOTIFICATION_MESSAGE
11256 { echo "$as_me:$LINENO: result: $result" >&5
11257 echo "${ECHO_T}$result" >&6; }
11261 defaultval
=$wxUSE_ALL_FEATURES
11262 if test -z "$defaultval"; then
11263 if test x
"$enablestring" = xdisable
; then
11270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11272 # Check whether --enable-odcombobox was given.
11273 if test "${enable_odcombobox+set}" = set; then
11274 enableval
=$enable_odcombobox;
11275 if test "$enableval" = yes; then
11276 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11278 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11283 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11288 eval "$wx_cv_use_odcombobox"
11290 if test x"$enablestring" = xdisable; then
11291 if test $wxUSE_ODCOMBOBOX = no; then
11297 result=$wxUSE_ODCOMBOBOX
11300 { echo "$as_me:$LINENO: result: $result" >&5
11301 echo "${ECHO_T}$result" >&6; }
11305 defaultval=$wxUSE_ALL_FEATURES
11306 if test -z "$defaultval"; then
11307 if test x"$enablestring" = xdisable; then
11314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11315 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11316 # Check whether --enable-popupwin was given.
11317 if test "${enable_popupwin+set}" = set; then
11318 enableval=$enable_popupwin;
11319 if test "$enableval" = yes; then
11320 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11322 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11327 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11332 eval "$wx_cv_use_popupwin"
11334 if test x"$enablestring" = xdisable; then
11335 if test $wxUSE_POPUPWIN = no; then
11341 result=$wxUSE_POPUPWIN
11344 { echo "$as_me:$LINENO: result
: $result" >&5
11345 echo "${ECHO_T}$result" >&6; }
11349 defaultval=$wxUSE_ALL_FEATURES
11350 if test -z "$defaultval"; then
11351 if test x"$enablestring" = xdisable; then
11358 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11359 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11360 # Check whether --enable-radiobox was given.
11361 if test "${enable_radiobox+set}" = set; then
11362 enableval=$enable_radiobox;
11363 if test "$enableval" = yes; then
11364 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11366 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11371 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11376 eval "$wx_cv_use_radiobox"
11378 if test x
"$enablestring" = xdisable
; then
11379 if test $wxUSE_RADIOBOX = no
; then
11385 result
=$wxUSE_RADIOBOX
11388 { echo "$as_me:$LINENO: result: $result" >&5
11389 echo "${ECHO_T}$result" >&6; }
11393 defaultval
=$wxUSE_ALL_FEATURES
11394 if test -z "$defaultval"; then
11395 if test x
"$enablestring" = xdisable
; then
11402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11403 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11404 # Check whether --enable-radiobtn was given.
11405 if test "${enable_radiobtn+set}" = set; then
11406 enableval
=$enable_radiobtn;
11407 if test "$enableval" = yes; then
11408 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11410 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11415 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11420 eval "$wx_cv_use_radiobtn"
11422 if test x"$enablestring" = xdisable; then
11423 if test $wxUSE_RADIOBTN = no; then
11429 result=$wxUSE_RADIOBTN
11432 { echo "$as_me:$LINENO: result: $result" >&5
11433 echo "${ECHO_T}$result" >&6; }
11437 defaultval=$wxUSE_ALL_FEATURES
11438 if test -z "$defaultval"; then
11439 if test x"$enablestring" = xdisable; then
11446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11448 # Check whether --enable-rearrangectrl was given.
11449 if test "${enable_rearrangectrl+set}" = set; then
11450 enableval=$enable_rearrangectrl;
11451 if test "$enableval" = yes; then
11452 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11454 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11459 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11464 eval "$wx_cv_use_rearrangectrl"
11466 if test x"$enablestring" = xdisable; then
11467 if test $wxUSE_REARRANGECTRL = no; then
11473 result=$wxUSE_REARRANGECTRL
11476 { echo "$as_me:$LINENO: result
: $result" >&5
11477 echo "${ECHO_T}$result" >&6; }
11481 defaultval=$wxUSE_ALL_FEATURES
11482 if test -z "$defaultval"; then
11483 if test x"$enablestring" = xdisable; then
11490 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11491 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11492 # Check whether --enable-sash was given.
11493 if test "${enable_sash+set}" = set; then
11494 enableval=$enable_sash;
11495 if test "$enableval" = yes; then
11496 wx_cv_use_sash='wxUSE_SASH=yes'
11498 wx_cv_use_sash='wxUSE_SASH=no'
11503 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11508 eval "$wx_cv_use_sash"
11510 if test x
"$enablestring" = xdisable
; then
11511 if test $wxUSE_SASH = no
; then
11520 { echo "$as_me:$LINENO: result: $result" >&5
11521 echo "${ECHO_T}$result" >&6; }
11525 defaultval
=$wxUSE_ALL_FEATURES
11526 if test -z "$defaultval"; then
11527 if test x
"$enablestring" = xdisable
; then
11534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11535 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11536 # Check whether --enable-scrollbar was given.
11537 if test "${enable_scrollbar+set}" = set; then
11538 enableval
=$enable_scrollbar;
11539 if test "$enableval" = yes; then
11540 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11542 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11547 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11552 eval "$wx_cv_use_scrollbar"
11554 if test x"$enablestring" = xdisable; then
11555 if test $wxUSE_SCROLLBAR = no; then
11561 result=$wxUSE_SCROLLBAR
11564 { echo "$as_me:$LINENO: result: $result" >&5
11565 echo "${ECHO_T}$result" >&6; }
11569 defaultval=$wxUSE_ALL_FEATURES
11570 if test -z "$defaultval"; then
11571 if test x"$enablestring" = xdisable; then
11578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11579 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11580 # Check whether --enable-searchctrl was given.
11581 if test "${enable_searchctrl+set}" = set; then
11582 enableval=$enable_searchctrl;
11583 if test "$enableval" = yes; then
11584 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11586 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11591 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11596 eval "$wx_cv_use_searchctrl"
11598 if test x"$enablestring" = xdisable; then
11599 if test $wxUSE_SEARCHCTRL = no; then
11605 result=$wxUSE_SEARCHCTRL
11608 { echo "$as_me:$LINENO: result
: $result" >&5
11609 echo "${ECHO_T}$result" >&6; }
11613 defaultval=$wxUSE_ALL_FEATURES
11614 if test -z "$defaultval"; then
11615 if test x"$enablestring" = xdisable; then
11622 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11623 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11624 # Check whether --enable-slider was given.
11625 if test "${enable_slider+set}" = set; then
11626 enableval=$enable_slider;
11627 if test "$enableval" = yes; then
11628 wx_cv_use_slider='wxUSE_SLIDER=yes'
11630 wx_cv_use_slider='wxUSE_SLIDER=no'
11635 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11640 eval "$wx_cv_use_slider"
11642 if test x
"$enablestring" = xdisable
; then
11643 if test $wxUSE_SLIDER = no
; then
11649 result
=$wxUSE_SLIDER
11652 { echo "$as_me:$LINENO: result: $result" >&5
11653 echo "${ECHO_T}$result" >&6; }
11657 defaultval
=$wxUSE_ALL_FEATURES
11658 if test -z "$defaultval"; then
11659 if test x
"$enablestring" = xdisable
; then
11666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11667 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11668 # Check whether --enable-spinbtn was given.
11669 if test "${enable_spinbtn+set}" = set; then
11670 enableval
=$enable_spinbtn;
11671 if test "$enableval" = yes; then
11672 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11674 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11679 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11684 eval "$wx_cv_use_spinbtn"
11686 if test x"$enablestring" = xdisable; then
11687 if test $wxUSE_SPINBTN = no; then
11693 result=$wxUSE_SPINBTN
11696 { echo "$as_me:$LINENO: result: $result" >&5
11697 echo "${ECHO_T}$result" >&6; }
11701 defaultval=$wxUSE_ALL_FEATURES
11702 if test -z "$defaultval"; then
11703 if test x"$enablestring" = xdisable; then
11710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11711 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11712 # Check whether --enable-spinctrl was given.
11713 if test "${enable_spinctrl+set}" = set; then
11714 enableval=$enable_spinctrl;
11715 if test "$enableval" = yes; then
11716 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11718 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11723 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11728 eval "$wx_cv_use_spinctrl"
11730 if test x"$enablestring" = xdisable; then
11731 if test $wxUSE_SPINCTRL = no; then
11737 result=$wxUSE_SPINCTRL
11740 { echo "$as_me:$LINENO: result
: $result" >&5
11741 echo "${ECHO_T}$result" >&6; }
11745 defaultval=$wxUSE_ALL_FEATURES
11746 if test -z "$defaultval"; then
11747 if test x"$enablestring" = xdisable; then
11754 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11755 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11756 # Check whether --enable-splitter was given.
11757 if test "${enable_splitter+set}" = set; then
11758 enableval=$enable_splitter;
11759 if test "$enableval" = yes; then
11760 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11762 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11767 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11772 eval "$wx_cv_use_splitter"
11774 if test x
"$enablestring" = xdisable
; then
11775 if test $wxUSE_SPLITTER = no
; then
11781 result
=$wxUSE_SPLITTER
11784 { echo "$as_me:$LINENO: result: $result" >&5
11785 echo "${ECHO_T}$result" >&6; }
11789 defaultval
=$wxUSE_ALL_FEATURES
11790 if test -z "$defaultval"; then
11791 if test x
"$enablestring" = xdisable
; then
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11800 # Check whether --enable-statbmp was given.
11801 if test "${enable_statbmp+set}" = set; then
11802 enableval
=$enable_statbmp;
11803 if test "$enableval" = yes; then
11804 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11806 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11811 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11816 eval "$wx_cv_use_statbmp"
11818 if test x"$enablestring" = xdisable; then
11819 if test $wxUSE_STATBMP = no; then
11825 result=$wxUSE_STATBMP
11828 { echo "$as_me:$LINENO: result: $result" >&5
11829 echo "${ECHO_T}$result" >&6; }
11833 defaultval=$wxUSE_ALL_FEATURES
11834 if test -z "$defaultval"; then
11835 if test x"$enablestring" = xdisable; then
11842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11843 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11844 # Check whether --enable-statbox was given.
11845 if test "${enable_statbox+set}" = set; then
11846 enableval=$enable_statbox;
11847 if test "$enableval" = yes; then
11848 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11850 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11855 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11860 eval "$wx_cv_use_statbox"
11862 if test x"$enablestring" = xdisable; then
11863 if test $wxUSE_STATBOX = no; then
11869 result=$wxUSE_STATBOX
11872 { echo "$as_me:$LINENO: result
: $result" >&5
11873 echo "${ECHO_T}$result" >&6; }
11877 defaultval=$wxUSE_ALL_FEATURES
11878 if test -z "$defaultval"; then
11879 if test x"$enablestring" = xdisable; then
11886 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11887 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11888 # Check whether --enable-statline was given.
11889 if test "${enable_statline+set}" = set; then
11890 enableval=$enable_statline;
11891 if test "$enableval" = yes; then
11892 wx_cv_use_statline='wxUSE_STATLINE=yes'
11894 wx_cv_use_statline='wxUSE_STATLINE=no'
11899 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11904 eval "$wx_cv_use_statline"
11906 if test x
"$enablestring" = xdisable
; then
11907 if test $wxUSE_STATLINE = no
; then
11913 result
=$wxUSE_STATLINE
11916 { echo "$as_me:$LINENO: result: $result" >&5
11917 echo "${ECHO_T}$result" >&6; }
11921 defaultval
=$wxUSE_ALL_FEATURES
11922 if test -z "$defaultval"; then
11923 if test x
"$enablestring" = xdisable
; then
11930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11931 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11932 # Check whether --enable-stattext was given.
11933 if test "${enable_stattext+set}" = set; then
11934 enableval
=$enable_stattext;
11935 if test "$enableval" = yes; then
11936 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11938 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11943 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11948 eval "$wx_cv_use_stattext"
11950 if test x"$enablestring" = xdisable; then
11951 if test $wxUSE_STATTEXT = no; then
11957 result=$wxUSE_STATTEXT
11960 { echo "$as_me:$LINENO: result: $result" >&5
11961 echo "${ECHO_T}$result" >&6; }
11965 defaultval=$wxUSE_ALL_FEATURES
11966 if test -z "$defaultval"; then
11967 if test x"$enablestring" = xdisable; then
11974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11975 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11976 # Check whether --enable-statusbar was given.
11977 if test "${enable_statusbar+set}" = set; then
11978 enableval=$enable_statusbar;
11979 if test "$enableval" = yes; then
11980 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11982 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11987 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11992 eval "$wx_cv_use_statusbar"
11994 if test x"$enablestring" = xdisable; then
11995 if test $wxUSE_STATUSBAR = no; then
12001 result=$wxUSE_STATUSBAR
12004 { echo "$as_me:$LINENO: result
: $result" >&5
12005 echo "${ECHO_T}$result" >&6; }
12009 defaultval=$wxUSE_ALL_FEATURES
12010 if test -z "$defaultval"; then
12011 if test x"$enablestring" = xdisable; then
12018 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12019 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12020 # Check whether --enable-taskbaricon was given.
12021 if test "${enable_taskbaricon+set}" = set; then
12022 enableval=$enable_taskbaricon;
12023 if test "$enableval" = yes; then
12024 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12026 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12031 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12036 eval "$wx_cv_use_taskbaricon"
12038 if test x
"$enablestring" = xdisable
; then
12039 if test $wxUSE_TASKBARICON = no
; then
12045 result
=$wxUSE_TASKBARICON
12048 { echo "$as_me:$LINENO: result: $result" >&5
12049 echo "${ECHO_T}$result" >&6; }
12053 defaultval
=$wxUSE_ALL_FEATURES
12054 if test -z "$defaultval"; then
12055 if test x
"$enablestring" = xdisable
; then
12062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12063 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12064 # Check whether --enable-tbarnative was given.
12065 if test "${enable_tbarnative+set}" = set; then
12066 enableval
=$enable_tbarnative;
12067 if test "$enableval" = yes; then
12068 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12070 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12075 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12080 eval "$wx_cv_use_tbarnative"
12082 if test x"$enablestring" = xdisable; then
12083 if test $wxUSE_TOOLBAR_NATIVE = no; then
12089 result=$wxUSE_TOOLBAR_NATIVE
12092 { echo "$as_me:$LINENO: result: $result" >&5
12093 echo "${ECHO_T}$result" >&6; }
12097 defaultval=$wxUSE_ALL_FEATURES
12098 if test -z "$defaultval"; then
12099 if test x"$enablestring" = xdisable; then
12106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12107 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12108 # Check whether --enable-textctrl was given.
12109 if test "${enable_textctrl+set}" = set; then
12110 enableval=$enable_textctrl;
12111 if test "$enableval" = yes; then
12112 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12114 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12119 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12124 eval "$wx_cv_use_textctrl"
12126 if test x"$enablestring" = xdisable; then
12127 if test $wxUSE_TEXTCTRL = no; then
12133 result=$wxUSE_TEXTCTRL
12136 { echo "$as_me:$LINENO: result
: $result" >&5
12137 echo "${ECHO_T}$result" >&6; }
12141 defaultval=$wxUSE_ALL_FEATURES
12142 if test -z "$defaultval"; then
12143 if test x"$enablestring" = xdisable; then
12150 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12151 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12152 # Check whether --enable-tipwindow was given.
12153 if test "${enable_tipwindow+set}" = set; then
12154 enableval=$enable_tipwindow;
12155 if test "$enableval" = yes; then
12156 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12158 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12163 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12168 eval "$wx_cv_use_tipwindow"
12170 if test x
"$enablestring" = xdisable
; then
12171 if test $wxUSE_TIPWINDOW = no
; then
12177 result
=$wxUSE_TIPWINDOW
12180 { echo "$as_me:$LINENO: result: $result" >&5
12181 echo "${ECHO_T}$result" >&6; }
12185 defaultval
=$wxUSE_ALL_FEATURES
12186 if test -z "$defaultval"; then
12187 if test x
"$enablestring" = xdisable
; then
12194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12195 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12196 # Check whether --enable-togglebtn was given.
12197 if test "${enable_togglebtn+set}" = set; then
12198 enableval
=$enable_togglebtn;
12199 if test "$enableval" = yes; then
12200 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12202 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12207 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12212 eval "$wx_cv_use_togglebtn"
12214 if test x"$enablestring" = xdisable; then
12215 if test $wxUSE_TOGGLEBTN = no; then
12221 result=$wxUSE_TOGGLEBTN
12224 { echo "$as_me:$LINENO: result: $result" >&5
12225 echo "${ECHO_T}$result" >&6; }
12229 defaultval=$wxUSE_ALL_FEATURES
12230 if test -z "$defaultval"; then
12231 if test x"$enablestring" = xdisable; then
12238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12239 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12240 # Check whether --enable-toolbar was given.
12241 if test "${enable_toolbar+set}" = set; then
12242 enableval=$enable_toolbar;
12243 if test "$enableval" = yes; then
12244 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12246 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12251 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12256 eval "$wx_cv_use_toolbar"
12258 if test x"$enablestring" = xdisable; then
12259 if test $wxUSE_TOOLBAR = no; then
12265 result=$wxUSE_TOOLBAR
12268 { echo "$as_me:$LINENO: result
: $result" >&5
12269 echo "${ECHO_T}$result" >&6; }
12273 defaultval=$wxUSE_ALL_FEATURES
12274 if test -z "$defaultval"; then
12275 if test x"$enablestring" = xdisable; then
12282 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12283 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12284 # Check whether --enable-toolbook was given.
12285 if test "${enable_toolbook+set}" = set; then
12286 enableval=$enable_toolbook;
12287 if test "$enableval" = yes; then
12288 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12290 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12295 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12300 eval "$wx_cv_use_toolbook"
12302 if test x
"$enablestring" = xdisable
; then
12303 if test $wxUSE_TOOLBOOK = no
; then
12309 result
=$wxUSE_TOOLBOOK
12312 { echo "$as_me:$LINENO: result: $result" >&5
12313 echo "${ECHO_T}$result" >&6; }
12317 defaultval
=$wxUSE_ALL_FEATURES
12318 if test -z "$defaultval"; then
12319 if test x
"$enablestring" = xdisable
; then
12326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12327 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12328 # Check whether --enable-treebook was given.
12329 if test "${enable_treebook+set}" = set; then
12330 enableval
=$enable_treebook;
12331 if test "$enableval" = yes; then
12332 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12334 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12339 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12344 eval "$wx_cv_use_treebook"
12346 if test x"$enablestring" = xdisable; then
12347 if test $wxUSE_TREEBOOK = no; then
12353 result=$wxUSE_TREEBOOK
12356 { echo "$as_me:$LINENO: result: $result" >&5
12357 echo "${ECHO_T}$result" >&6; }
12361 defaultval=$wxUSE_ALL_FEATURES
12362 if test -z "$defaultval"; then
12363 if test x"$enablestring" = xdisable; then
12370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12371 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12372 # Check whether --enable-treectrl was given.
12373 if test "${enable_treectrl+set}" = set; then
12374 enableval=$enable_treectrl;
12375 if test "$enableval" = yes; then
12376 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12378 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12383 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12388 eval "$wx_cv_use_treectrl"
12390 if test x"$enablestring" = xdisable; then
12391 if test $wxUSE_TREECTRL = no; then
12397 result=$wxUSE_TREECTRL
12400 { echo "$as_me:$LINENO: result
: $result" >&5
12401 echo "${ECHO_T}$result" >&6; }
12407 defaultval=$wxUSE_ALL_FEATURES
12408 if test -z "$defaultval"; then
12409 if test x"$enablestring" = xdisable; then
12416 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12417 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12418 # Check whether --enable-commondlg was given.
12419 if test "${enable_commondlg+set}" = set; then
12420 enableval=$enable_commondlg;
12421 if test "$enableval" = yes; then
12422 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12424 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12429 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12434 eval "$wx_cv_use_commondlg"
12436 if test x
"$enablestring" = xdisable
; then
12437 if test $wxUSE_COMMONDLGS = no
; then
12443 result
=$wxUSE_COMMONDLGS
12446 { echo "$as_me:$LINENO: result: $result" >&5
12447 echo "${ECHO_T}$result" >&6; }
12451 defaultval
=$wxUSE_ALL_FEATURES
12452 if test -z "$defaultval"; then
12453 if test x
"$enablestring" = xdisable
; then
12460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12461 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12462 # Check whether --enable-aboutdlg was given.
12463 if test "${enable_aboutdlg+set}" = set; then
12464 enableval
=$enable_aboutdlg;
12465 if test "$enableval" = yes; then
12466 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12468 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12473 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12478 eval "$wx_cv_use_aboutdlg"
12480 if test x"$enablestring" = xdisable; then
12481 if test $wxUSE_ABOUTDLG = no; then
12487 result=$wxUSE_ABOUTDLG
12490 { echo "$as_me:$LINENO: result: $result" >&5
12491 echo "${ECHO_T}$result" >&6; }
12495 defaultval=$wxUSE_ALL_FEATURES
12496 if test -z "$defaultval"; then
12497 if test x"$enablestring" = xdisable; then
12504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12505 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12506 # Check whether --enable-choicedlg was given.
12507 if test "${enable_choicedlg+set}" = set; then
12508 enableval=$enable_choicedlg;
12509 if test "$enableval" = yes; then
12510 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12512 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12517 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12522 eval "$wx_cv_use_choicedlg"
12524 if test x"$enablestring" = xdisable; then
12525 if test $wxUSE_CHOICEDLG = no; then
12531 result=$wxUSE_CHOICEDLG
12534 { echo "$as_me:$LINENO: result
: $result" >&5
12535 echo "${ECHO_T}$result" >&6; }
12539 defaultval=$wxUSE_ALL_FEATURES
12540 if test -z "$defaultval"; then
12541 if test x"$enablestring" = xdisable; then
12548 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12549 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12550 # Check whether --enable-coldlg was given.
12551 if test "${enable_coldlg+set}" = set; then
12552 enableval=$enable_coldlg;
12553 if test "$enableval" = yes; then
12554 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12556 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12561 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12566 eval "$wx_cv_use_coldlg"
12568 if test x
"$enablestring" = xdisable
; then
12569 if test $wxUSE_COLOURDLG = no
; then
12575 result
=$wxUSE_COLOURDLG
12578 { echo "$as_me:$LINENO: result: $result" >&5
12579 echo "${ECHO_T}$result" >&6; }
12583 defaultval
=$wxUSE_ALL_FEATURES
12584 if test -z "$defaultval"; then
12585 if test x
"$enablestring" = xdisable
; then
12592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12593 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12594 # Check whether --enable-filedlg was given.
12595 if test "${enable_filedlg+set}" = set; then
12596 enableval
=$enable_filedlg;
12597 if test "$enableval" = yes; then
12598 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12600 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12605 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12610 eval "$wx_cv_use_filedlg"
12612 if test x"$enablestring" = xdisable; then
12613 if test $wxUSE_FILEDLG = no; then
12619 result=$wxUSE_FILEDLG
12622 { echo "$as_me:$LINENO: result: $result" >&5
12623 echo "${ECHO_T}$result" >&6; }
12627 defaultval=$wxUSE_ALL_FEATURES
12628 if test -z "$defaultval"; then
12629 if test x"$enablestring" = xdisable; then
12636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12637 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12638 # Check whether --enable-finddlg was given.
12639 if test "${enable_finddlg+set}" = set; then
12640 enableval=$enable_finddlg;
12641 if test "$enableval" = yes; then
12642 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12644 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12649 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12654 eval "$wx_cv_use_finddlg"
12656 if test x"$enablestring" = xdisable; then
12657 if test $wxUSE_FINDREPLDLG = no; then
12663 result=$wxUSE_FINDREPLDLG
12666 { echo "$as_me:$LINENO: result
: $result" >&5
12667 echo "${ECHO_T}$result" >&6; }
12671 defaultval=$wxUSE_ALL_FEATURES
12672 if test -z "$defaultval"; then
12673 if test x"$enablestring" = xdisable; then
12680 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12681 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12682 # Check whether --enable-fontdlg was given.
12683 if test "${enable_fontdlg+set}" = set; then
12684 enableval=$enable_fontdlg;
12685 if test "$enableval" = yes; then
12686 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12688 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12693 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12698 eval "$wx_cv_use_fontdlg"
12700 if test x
"$enablestring" = xdisable
; then
12701 if test $wxUSE_FONTDLG = no
; then
12707 result
=$wxUSE_FONTDLG
12710 { echo "$as_me:$LINENO: result: $result" >&5
12711 echo "${ECHO_T}$result" >&6; }
12715 defaultval
=$wxUSE_ALL_FEATURES
12716 if test -z "$defaultval"; then
12717 if test x
"$enablestring" = xdisable
; then
12724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12725 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12726 # Check whether --enable-dirdlg was given.
12727 if test "${enable_dirdlg+set}" = set; then
12728 enableval
=$enable_dirdlg;
12729 if test "$enableval" = yes; then
12730 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12732 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12737 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12742 eval "$wx_cv_use_dirdlg"
12744 if test x"$enablestring" = xdisable; then
12745 if test $wxUSE_DIRDLG = no; then
12751 result=$wxUSE_DIRDLG
12754 { echo "$as_me:$LINENO: result: $result" >&5
12755 echo "${ECHO_T}$result" >&6; }
12759 defaultval=$wxUSE_ALL_FEATURES
12760 if test -z "$defaultval"; then
12761 if test x"$enablestring" = xdisable; then
12768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12769 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12770 # Check whether --enable-msgdlg was given.
12771 if test "${enable_msgdlg+set}" = set; then
12772 enableval=$enable_msgdlg;
12773 if test "$enableval" = yes; then
12774 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12776 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12781 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12786 eval "$wx_cv_use_msgdlg"
12788 if test x"$enablestring" = xdisable; then
12789 if test $wxUSE_MSGDLG = no; then
12795 result=$wxUSE_MSGDLG
12798 { echo "$as_me:$LINENO: result
: $result" >&5
12799 echo "${ECHO_T}$result" >&6; }
12803 defaultval=$wxUSE_ALL_FEATURES
12804 if test -z "$defaultval"; then
12805 if test x"$enablestring" = xdisable; then
12812 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12813 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12814 # Check whether --enable-numberdlg was given.
12815 if test "${enable_numberdlg+set}" = set; then
12816 enableval=$enable_numberdlg;
12817 if test "$enableval" = yes; then
12818 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12820 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12825 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12830 eval "$wx_cv_use_numberdlg"
12832 if test x
"$enablestring" = xdisable
; then
12833 if test $wxUSE_NUMBERDLG = no
; then
12839 result
=$wxUSE_NUMBERDLG
12842 { echo "$as_me:$LINENO: result: $result" >&5
12843 echo "${ECHO_T}$result" >&6; }
12847 defaultval
=$wxUSE_ALL_FEATURES
12848 if test -z "$defaultval"; then
12849 if test x
"$enablestring" = xdisable
; then
12856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12857 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12858 # Check whether --enable-splash was given.
12859 if test "${enable_splash+set}" = set; then
12860 enableval
=$enable_splash;
12861 if test "$enableval" = yes; then
12862 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12864 wx_cv_use_splash
='wxUSE_SPLASH=no'
12869 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12874 eval "$wx_cv_use_splash"
12876 if test x"$enablestring" = xdisable; then
12877 if test $wxUSE_SPLASH = no; then
12883 result=$wxUSE_SPLASH
12886 { echo "$as_me:$LINENO: result: $result" >&5
12887 echo "${ECHO_T}$result" >&6; }
12891 defaultval=$wxUSE_ALL_FEATURES
12892 if test -z "$defaultval"; then
12893 if test x"$enablestring" = xdisable; then
12900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12901 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12902 # Check whether --enable-textdlg was given.
12903 if test "${enable_textdlg+set}" = set; then
12904 enableval=$enable_textdlg;
12905 if test "$enableval" = yes; then
12906 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12908 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12913 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12918 eval "$wx_cv_use_textdlg"
12920 if test x"$enablestring" = xdisable; then
12921 if test $wxUSE_TEXTDLG = no; then
12927 result=$wxUSE_TEXTDLG
12930 { echo "$as_me:$LINENO: result
: $result" >&5
12931 echo "${ECHO_T}$result" >&6; }
12935 defaultval=$wxUSE_ALL_FEATURES
12936 if test -z "$defaultval"; then
12937 if test x"$enablestring" = xdisable; then
12944 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12945 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12946 # Check whether --enable-tipdlg was given.
12947 if test "${enable_tipdlg+set}" = set; then
12948 enableval=$enable_tipdlg;
12949 if test "$enableval" = yes; then
12950 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12952 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12957 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12962 eval "$wx_cv_use_tipdlg"
12964 if test x
"$enablestring" = xdisable
; then
12965 if test $wxUSE_STARTUP_TIPS = no
; then
12971 result
=$wxUSE_STARTUP_TIPS
12974 { echo "$as_me:$LINENO: result: $result" >&5
12975 echo "${ECHO_T}$result" >&6; }
12979 defaultval
=$wxUSE_ALL_FEATURES
12980 if test -z "$defaultval"; then
12981 if test x
"$enablestring" = xdisable
; then
12988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12989 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12990 # Check whether --enable-progressdlg was given.
12991 if test "${enable_progressdlg+set}" = set; then
12992 enableval
=$enable_progressdlg;
12993 if test "$enableval" = yes; then
12994 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12996 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13001 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13006 eval "$wx_cv_use_progressdlg"
13008 if test x"$enablestring" = xdisable; then
13009 if test $wxUSE_PROGRESSDLG = no; then
13015 result=$wxUSE_PROGRESSDLG
13018 { echo "$as_me:$LINENO: result: $result" >&5
13019 echo "${ECHO_T}$result" >&6; }
13023 defaultval=$wxUSE_ALL_FEATURES
13024 if test -z "$defaultval"; then
13025 if test x"$enablestring" = xdisable; then
13032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13033 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13034 # Check whether --enable-wizarddlg was given.
13035 if test "${enable_wizarddlg+set}" = set; then
13036 enableval=$enable_wizarddlg;
13037 if test "$enableval" = yes; then
13038 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13040 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13045 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13050 eval "$wx_cv_use_wizarddlg"
13052 if test x"$enablestring" = xdisable; then
13053 if test $wxUSE_WIZARDDLG = no; then
13059 result=$wxUSE_WIZARDDLG
13062 { echo "$as_me:$LINENO: result
: $result" >&5
13063 echo "${ECHO_T}$result" >&6; }
13069 defaultval=$wxUSE_ALL_FEATURES
13070 if test -z "$defaultval"; then
13071 if test x"$enablestring" = xdisable; then
13078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13079 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13080 # Check whether --enable-menus was given.
13081 if test "${enable_menus+set}" = set; then
13082 enableval=$enable_menus;
13083 if test "$enableval" = yes; then
13084 wx_cv_use_menus='wxUSE_MENUS=yes'
13086 wx_cv_use_menus='wxUSE_MENUS=no'
13091 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13096 eval "$wx_cv_use_menus"
13098 if test x
"$enablestring" = xdisable
; then
13099 if test $wxUSE_MENUS = no
; then
13105 result
=$wxUSE_MENUS
13108 { echo "$as_me:$LINENO: result: $result" >&5
13109 echo "${ECHO_T}$result" >&6; }
13113 defaultval
=$wxUSE_ALL_FEATURES
13114 if test -z "$defaultval"; then
13115 if test x
"$enablestring" = xdisable
; then
13122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13123 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13124 # Check whether --enable-miniframe was given.
13125 if test "${enable_miniframe+set}" = set; then
13126 enableval
=$enable_miniframe;
13127 if test "$enableval" = yes; then
13128 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13130 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13135 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13140 eval "$wx_cv_use_miniframe"
13142 if test x"$enablestring" = xdisable; then
13143 if test $wxUSE_MINIFRAME = no; then
13149 result=$wxUSE_MINIFRAME
13152 { echo "$as_me:$LINENO: result: $result" >&5
13153 echo "${ECHO_T}$result" >&6; }
13157 defaultval=$wxUSE_ALL_FEATURES
13158 if test -z "$defaultval"; then
13159 if test x"$enablestring" = xdisable; then
13166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13167 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13168 # Check whether --enable-tooltips was given.
13169 if test "${enable_tooltips+set}" = set; then
13170 enableval=$enable_tooltips;
13171 if test "$enableval" = yes; then
13172 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13174 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13179 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13184 eval "$wx_cv_use_tooltips"
13186 if test x"$enablestring" = xdisable; then
13187 if test $wxUSE_TOOLTIPS = no; then
13193 result=$wxUSE_TOOLTIPS
13196 { echo "$as_me:$LINENO: result
: $result" >&5
13197 echo "${ECHO_T}$result" >&6; }
13201 defaultval=$wxUSE_ALL_FEATURES
13202 if test -z "$defaultval"; then
13203 if test x"$enablestring" = xdisable; then
13210 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13211 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13212 # Check whether --enable-splines was given.
13213 if test "${enable_splines+set}" = set; then
13214 enableval=$enable_splines;
13215 if test "$enableval" = yes; then
13216 wx_cv_use_splines='wxUSE_SPLINES=yes'
13218 wx_cv_use_splines='wxUSE_SPLINES=no'
13223 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13228 eval "$wx_cv_use_splines"
13230 if test x
"$enablestring" = xdisable
; then
13231 if test $wxUSE_SPLINES = no
; then
13237 result
=$wxUSE_SPLINES
13240 { echo "$as_me:$LINENO: result: $result" >&5
13241 echo "${ECHO_T}$result" >&6; }
13245 defaultval
=$wxUSE_ALL_FEATURES
13246 if test -z "$defaultval"; then
13247 if test x
"$enablestring" = xdisable
; then
13254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13255 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13256 # Check whether --enable-mousewheel was given.
13257 if test "${enable_mousewheel+set}" = set; then
13258 enableval
=$enable_mousewheel;
13259 if test "$enableval" = yes; then
13260 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13262 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13267 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13272 eval "$wx_cv_use_mousewheel"
13274 if test x"$enablestring" = xdisable; then
13275 if test $wxUSE_MOUSEWHEEL = no; then
13281 result=$wxUSE_MOUSEWHEEL
13284 { echo "$as_me:$LINENO: result: $result" >&5
13285 echo "${ECHO_T}$result" >&6; }
13289 defaultval=$wxUSE_ALL_FEATURES
13290 if test -z "$defaultval"; then
13291 if test x"$enablestring" = xdisable; then
13298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13299 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13300 # Check whether --enable-validators was given.
13301 if test "${enable_validators+set}" = set; then
13302 enableval=$enable_validators;
13303 if test "$enableval" = yes; then
13304 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13306 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13311 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13316 eval "$wx_cv_use_validators"
13318 if test x"$enablestring" = xdisable; then
13319 if test $wxUSE_VALIDATORS = no; then
13325 result=$wxUSE_VALIDATORS
13328 { echo "$as_me:$LINENO: result
: $result" >&5
13329 echo "${ECHO_T}$result" >&6; }
13333 defaultval=$wxUSE_ALL_FEATURES
13334 if test -z "$defaultval"; then
13335 if test x"$enablestring" = xdisable; then
13342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13343 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13344 # Check whether --enable-busyinfo was given.
13345 if test "${enable_busyinfo+set}" = set; then
13346 enableval=$enable_busyinfo;
13347 if test "$enableval" = yes; then
13348 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13350 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13355 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13360 eval "$wx_cv_use_busyinfo"
13362 if test x
"$enablestring" = xdisable
; then
13363 if test $wxUSE_BUSYINFO = no
; then
13369 result
=$wxUSE_BUSYINFO
13372 { echo "$as_me:$LINENO: result: $result" >&5
13373 echo "${ECHO_T}$result" >&6; }
13377 defaultval
=$wxUSE_ALL_FEATURES
13378 if test -z "$defaultval"; then
13379 if test x
"$enablestring" = xdisable
; then
13386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13387 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13388 # Check whether --enable-joystick was given.
13389 if test "${enable_joystick+set}" = set; then
13390 enableval
=$enable_joystick;
13391 if test "$enableval" = yes; then
13392 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13394 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13399 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13404 eval "$wx_cv_use_joystick"
13406 if test x"$enablestring" = xdisable; then
13407 if test $wxUSE_JOYSTICK = no; then
13413 result=$wxUSE_JOYSTICK
13416 { echo "$as_me:$LINENO: result: $result" >&5
13417 echo "${ECHO_T}$result" >&6; }
13421 defaultval=$wxUSE_ALL_FEATURES
13422 if test -z "$defaultval"; then
13423 if test x"$enablestring" = xdisable; then
13430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13431 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13432 # Check whether --enable-metafile was given.
13433 if test "${enable_metafile+set}" = set; then
13434 enableval=$enable_metafile;
13435 if test "$enableval" = yes; then
13436 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13438 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13443 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13448 eval "$wx_cv_use_metafile"
13450 if test x"$enablestring" = xdisable; then
13451 if test $wxUSE_METAFILE = no; then
13457 result=$wxUSE_METAFILE
13460 { echo "$as_me:$LINENO: result
: $result" >&5
13461 echo "${ECHO_T}$result" >&6; }
13465 defaultval=$wxUSE_ALL_FEATURES
13466 if test -z "$defaultval"; then
13467 if test x"$enablestring" = xdisable; then
13474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13475 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13476 # Check whether --enable-dragimage was given.
13477 if test "${enable_dragimage+set}" = set; then
13478 enableval=$enable_dragimage;
13479 if test "$enableval" = yes; then
13480 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13482 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13487 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13492 eval "$wx_cv_use_dragimage"
13494 if test x
"$enablestring" = xdisable
; then
13495 if test $wxUSE_DRAGIMAGE = no
; then
13501 result
=$wxUSE_DRAGIMAGE
13504 { echo "$as_me:$LINENO: result: $result" >&5
13505 echo "${ECHO_T}$result" >&6; }
13509 defaultval
=$wxUSE_ALL_FEATURES
13510 if test -z "$defaultval"; then
13511 if test x
"$enablestring" = xdisable
; then
13518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13519 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13520 # Check whether --enable-accessibility was given.
13521 if test "${enable_accessibility+set}" = set; then
13522 enableval
=$enable_accessibility;
13523 if test "$enableval" = yes; then
13524 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13526 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13531 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13536 eval "$wx_cv_use_accessibility"
13538 if test x"$enablestring" = xdisable; then
13539 if test $wxUSE_ACCESSIBILITY = no; then
13545 result=$wxUSE_ACCESSIBILITY
13548 { echo "$as_me:$LINENO: result: $result" >&5
13549 echo "${ECHO_T}$result" >&6; }
13555 defaultval=$wxUSE_ALL_FEATURES
13556 if test -z "$defaultval"; then
13557 if test x"$enablestring" = xdisable; then
13564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13565 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13566 # Check whether --enable-palette was given.
13567 if test "${enable_palette+set}" = set; then
13568 enableval=$enable_palette;
13569 if test "$enableval" = yes; then
13570 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13572 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13577 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13582 eval "$wx_cv_use_palette"
13584 if test x"$enablestring" = xdisable; then
13585 if test $wxUSE_PALETTE = no; then
13591 result=$wxUSE_PALETTE
13594 { echo "$as_me:$LINENO: result
: $result" >&5
13595 echo "${ECHO_T}$result" >&6; }
13599 defaultval=$wxUSE_ALL_FEATURES
13600 if test -z "$defaultval"; then
13601 if test x"$enablestring" = xdisable; then
13608 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13609 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13610 # Check whether --enable-image was given.
13611 if test "${enable_image+set}" = set; then
13612 enableval=$enable_image;
13613 if test "$enableval" = yes; then
13614 wx_cv_use_image='wxUSE_IMAGE=yes'
13616 wx_cv_use_image='wxUSE_IMAGE=no'
13621 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13626 eval "$wx_cv_use_image"
13628 if test x
"$enablestring" = xdisable
; then
13629 if test $wxUSE_IMAGE = no
; then
13635 result
=$wxUSE_IMAGE
13638 { echo "$as_me:$LINENO: result: $result" >&5
13639 echo "${ECHO_T}$result" >&6; }
13643 defaultval
=$wxUSE_ALL_FEATURES
13644 if test -z "$defaultval"; then
13645 if test x
"$enablestring" = xdisable
; then
13652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13653 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13654 # Check whether --enable-gif was given.
13655 if test "${enable_gif+set}" = set; then
13656 enableval
=$enable_gif;
13657 if test "$enableval" = yes; then
13658 wx_cv_use_gif
='wxUSE_GIF=yes'
13660 wx_cv_use_gif
='wxUSE_GIF=no'
13665 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13670 eval "$wx_cv_use_gif"
13672 if test x"$enablestring" = xdisable; then
13673 if test $wxUSE_GIF = no; then
13682 { echo "$as_me:$LINENO: result: $result" >&5
13683 echo "${ECHO_T}$result" >&6; }
13687 defaultval=$wxUSE_ALL_FEATURES
13688 if test -z "$defaultval"; then
13689 if test x"$enablestring" = xdisable; then
13696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13697 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13698 # Check whether --enable-pcx was given.
13699 if test "${enable_pcx+set}" = set; then
13700 enableval=$enable_pcx;
13701 if test "$enableval" = yes; then
13702 wx_cv_use_pcx='wxUSE_PCX
=yes'
13704 wx_cv_use_pcx='wxUSE_PCX
=no
'
13709 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13714 eval "$wx_cv_use_pcx"
13716 if test x"$enablestring" = xdisable; then
13717 if test $wxUSE_PCX = no; then
13726 { echo "$as_me:$LINENO: result
: $result" >&5
13727 echo "${ECHO_T}$result" >&6; }
13731 defaultval=$wxUSE_ALL_FEATURES
13732 if test -z "$defaultval"; then
13733 if test x"$enablestring" = xdisable; then
13740 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13741 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13742 # Check whether --enable-tga was given.
13743 if test "${enable_tga+set}" = set; then
13744 enableval=$enable_tga;
13745 if test "$enableval" = yes; then
13746 wx_cv_use_tga='wxUSE_TGA=yes'
13748 wx_cv_use_tga='wxUSE_TGA=no'
13753 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13758 eval "$wx_cv_use_tga"
13760 if test x
"$enablestring" = xdisable
; then
13761 if test $wxUSE_TGA = no
; then
13770 { echo "$as_me:$LINENO: result: $result" >&5
13771 echo "${ECHO_T}$result" >&6; }
13775 defaultval
=$wxUSE_ALL_FEATURES
13776 if test -z "$defaultval"; then
13777 if test x
"$enablestring" = xdisable
; then
13784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13785 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13786 # Check whether --enable-iff was given.
13787 if test "${enable_iff+set}" = set; then
13788 enableval
=$enable_iff;
13789 if test "$enableval" = yes; then
13790 wx_cv_use_iff
='wxUSE_IFF=yes'
13792 wx_cv_use_iff
='wxUSE_IFF=no'
13797 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13802 eval "$wx_cv_use_iff"
13804 if test x"$enablestring" = xdisable; then
13805 if test $wxUSE_IFF = no; then
13814 { echo "$as_me:$LINENO: result: $result" >&5
13815 echo "${ECHO_T}$result" >&6; }
13819 defaultval=$wxUSE_ALL_FEATURES
13820 if test -z "$defaultval"; then
13821 if test x"$enablestring" = xdisable; then
13828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13829 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13830 # Check whether --enable-pnm was given.
13831 if test "${enable_pnm+set}" = set; then
13832 enableval=$enable_pnm;
13833 if test "$enableval" = yes; then
13834 wx_cv_use_pnm='wxUSE_PNM
=yes'
13836 wx_cv_use_pnm='wxUSE_PNM
=no
'
13841 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13846 eval "$wx_cv_use_pnm"
13848 if test x"$enablestring" = xdisable; then
13849 if test $wxUSE_PNM = no; then
13858 { echo "$as_me:$LINENO: result
: $result" >&5
13859 echo "${ECHO_T}$result" >&6; }
13863 defaultval=$wxUSE_ALL_FEATURES
13864 if test -z "$defaultval"; then
13865 if test x"$enablestring" = xdisable; then
13872 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13873 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13874 # Check whether --enable-xpm was given.
13875 if test "${enable_xpm+set}" = set; then
13876 enableval=$enable_xpm;
13877 if test "$enableval" = yes; then
13878 wx_cv_use_xpm='wxUSE_XPM=yes'
13880 wx_cv_use_xpm='wxUSE_XPM=no'
13885 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13890 eval "$wx_cv_use_xpm"
13892 if test x
"$enablestring" = xdisable
; then
13893 if test $wxUSE_XPM = no
; then
13902 { echo "$as_me:$LINENO: result: $result" >&5
13903 echo "${ECHO_T}$result" >&6; }
13907 defaultval
=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x
"$enablestring" = xdisable
; then
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13918 # Check whether --enable-ico_cur was given.
13919 if test "${enable_ico_cur+set}" = set; then
13920 enableval
=$enable_ico_cur;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13924 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13929 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13934 eval "$wx_cv_use_ico_cur"
13936 if test x"$enablestring" = xdisable; then
13937 if test $wxUSE_ICO_CUR = no; then
13943 result=$wxUSE_ICO_CUR
13946 { echo "$as_me:$LINENO: result: $result" >&5
13947 echo "${ECHO_T}$result" >&6; }
13953 defaultval=$wxUSE_ALL_FEATURES
13954 if test -z "$defaultval"; then
13955 if test x"$enablestring" = xdisable; then
13962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13963 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13964 # Check whether --enable-dccache was given.
13965 if test "${enable_dccache+set}" = set; then
13966 enableval=$enable_dccache;
13967 if test "$enableval" = yes; then
13968 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13970 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13975 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13980 eval "$wx_cv_use_dccache"
13982 if test x"$enablestring" = xdisable; then
13983 if test $wxUSE_DC_CACHEING = no; then
13989 result=$wxUSE_DC_CACHEING
13992 { echo "$as_me:$LINENO: result
: $result" >&5
13993 echo "${ECHO_T}$result" >&6; }
13997 defaultval=$wxUSE_ALL_FEATURES
13998 if test -z "$defaultval"; then
13999 if test x"$enablestring" = xdisable; then
14006 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
14007 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
14008 # Check whether --enable-ps-in-msw was given.
14009 if test "${enable_ps_in_msw+set}" = set; then
14010 enableval=$enable_ps_in_msw;
14011 if test "$enableval" = yes; then
14012 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14014 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14019 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14024 eval "$wx_cv_use_ps_in_msw"
14026 if test x
"$enablestring" = xdisable
; then
14027 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
14033 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14036 { echo "$as_me:$LINENO: result: $result" >&5
14037 echo "${ECHO_T}$result" >&6; }
14041 defaultval
=$wxUSE_ALL_FEATURES
14042 if test -z "$defaultval"; then
14043 if test x
"$enablestring" = xdisable
; then
14050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14051 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14052 # Check whether --enable-ownerdrawn was given.
14053 if test "${enable_ownerdrawn+set}" = set; then
14054 enableval
=$enable_ownerdrawn;
14055 if test "$enableval" = yes; then
14056 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
14058 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14063 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14068 eval "$wx_cv_use_ownerdrawn"
14070 if test x"$enablestring" = xdisable; then
14071 if test $wxUSE_OWNER_DRAWN = no; then
14077 result=$wxUSE_OWNER_DRAWN
14080 { echo "$as_me:$LINENO: result: $result" >&5
14081 echo "${ECHO_T}$result" >&6; }
14085 defaultval=$wxUSE_ALL_FEATURES
14086 if test -z "$defaultval"; then
14087 if test x"$enablestring" = xdisable; then
14094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14095 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14096 # Check whether --enable-uxtheme was given.
14097 if test "${enable_uxtheme+set}" = set; then
14098 enableval=$enable_uxtheme;
14099 if test "$enableval" = yes; then
14100 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14102 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14107 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14112 eval "$wx_cv_use_uxtheme"
14114 if test x"$enablestring" = xdisable; then
14115 if test $wxUSE_UXTHEME = no; then
14121 result=$wxUSE_UXTHEME
14124 { echo "$as_me:$LINENO: result
: $result" >&5
14125 echo "${ECHO_T}$result" >&6; }
14129 defaultval=$wxUSE_ALL_FEATURES
14130 if test -z "$defaultval"; then
14131 if test x"$enablestring" = xdisable; then
14138 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14139 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14140 # Check whether --enable-wxdib was given.
14141 if test "${enable_wxdib+set}" = set; then
14142 enableval=$enable_wxdib;
14143 if test "$enableval" = yes; then
14144 wx_cv_use_wxdib='wxUSE_DIB=yes'
14146 wx_cv_use_wxdib='wxUSE_DIB=no'
14151 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14156 eval "$wx_cv_use_wxdib"
14158 if test x
"$enablestring" = xdisable
; then
14159 if test $wxUSE_DIB = no
; then
14168 { echo "$as_me:$LINENO: result: $result" >&5
14169 echo "${ECHO_T}$result" >&6; }
14172 if test "$wxUSE_MSW" != 1; then
14173 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14178 defaultval
=$wxUSE_ALL_FEATURES
14179 if test -z "$defaultval"; then
14180 if test x
"$enablestring" = xdisable
; then
14187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14188 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14189 # Check whether --enable-autoidman was given.
14190 if test "${enable_autoidman+set}" = set; then
14191 enableval
=$enable_autoidman;
14192 if test "$enableval" = yes; then
14193 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14195 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14200 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14205 eval "$wx_cv_use_autoidman"
14207 if test x"$enablestring" = xdisable; then
14208 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14214 result=$wxUSE_AUTOID_MANAGEMENT
14217 { echo "$as_me:$LINENO: result: $result" >&5
14218 echo "${ECHO_T}$result" >&6; }
14224 cat >confcache <<\_ACEOF
14225 # This file is a shell script that caches the results of configure
14226 # tests run on this system so they can be shared between configure
14227 # scripts and configure runs, see configure's option
--config-cache.
14228 # It is not useful on other systems. If it contains results you don't
14229 # want to keep, you may remove or edit it.
14231 # config.status only pays attention to the cache file if you give it
14232 # the --recheck option to rerun configure.
14234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14236 # following values.
14240 # The following way of writing the cache mishandles newlines in values,
14241 # but we know of no workaround that is simple, portable, and efficient.
14242 # So, we kill variables containing newlines.
14243 # Ultrix sh set writes to stderr and can't be redirected directly,
14244 # and sets the high bit in the cache file unless we assign to the vars.
14246 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14247 eval ac_val
=\$
$ac_var
14251 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14252 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14255 _
| IFS
| as_nl
) ;; #(
14256 *) $as_unset $ac_var ;;
14262 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14263 *${as_nl}ac_space
=\
*)
14264 # `set' does not quote correctly, so add quotes (double-quote
14265 # substitution turns \\\\ into \\, and sed turns \\ into \).
14268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14271 # `set' quotes correctly as required by POSIX, so do not add quotes.
14272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14283 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14285 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14286 if test -w "$cache_file"; then
14287 test "x$cache_file" != "x/dev/null" &&
14288 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14289 echo "$as_me: updating cache $cache_file" >&6;}
14290 cat confcache
>$cache_file
14292 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14293 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14303 ac_cpp
='$CPP $CPPFLAGS'
14304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14307 if test -n "$ac_tool_prefix"; then
14308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14309 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14312 if test "${ac_cv_prog_CC+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 if test -n "$CC"; then
14316 ac_cv_prog_CC
="$CC" # Let the user override the test.
14318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14319 for as_dir
in $PATH
14322 test -z "$as_dir" && as_dir
=.
14323 for ac_exec_ext
in '' $ac_executable_extensions; do
14324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14325 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14336 if test -n "$CC"; then
14337 { echo "$as_me:$LINENO: result: $CC" >&5
14338 echo "${ECHO_T}$CC" >&6; }
14340 { echo "$as_me:$LINENO: result: no" >&5
14341 echo "${ECHO_T}no" >&6; }
14346 if test -z "$ac_cv_prog_CC"; then
14348 # Extract the first word of "gcc", so it can be a program name with args.
14349 set dummy gcc
; ac_word
=$2
14350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 if test -n "$ac_ct_CC"; then
14356 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14359 for as_dir
in $PATH
14362 test -z "$as_dir" && as_dir
=.
14363 for ac_exec_ext
in '' $ac_executable_extensions; do
14364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14365 ac_cv_prog_ac_ct_CC
="gcc"
14366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14375 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14376 if test -n "$ac_ct_CC"; then
14377 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14378 echo "${ECHO_T}$ac_ct_CC" >&6; }
14380 { echo "$as_me:$LINENO: result: no" >&5
14381 echo "${ECHO_T}no" >&6; }
14384 if test "x$ac_ct_CC" = x
; then
14387 case $cross_compiling:$ac_tool_warned in
14389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14390 whose name does not start with the host triplet. If you think this
14391 configuration is useful to you, please write to autoconf@gnu.org." >&5
14392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14393 whose name does not start with the host triplet. If you think this
14394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14395 ac_tool_warned
=yes ;;
14400 CC
="$ac_cv_prog_CC"
14403 if test -z "$CC"; then
14404 if test -n "$ac_tool_prefix"; then
14405 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14406 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14409 if test "${ac_cv_prog_CC+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 if test -n "$CC"; then
14413 ac_cv_prog_CC
="$CC" # Let the user override the test.
14415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14416 for as_dir
in $PATH
14419 test -z "$as_dir" && as_dir
=.
14420 for ac_exec_ext
in '' $ac_executable_extensions; do
14421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14422 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14433 if test -n "$CC"; then
14434 { echo "$as_me:$LINENO: result: $CC" >&5
14435 echo "${ECHO_T}$CC" >&6; }
14437 { echo "$as_me:$LINENO: result: no" >&5
14438 echo "${ECHO_T}no" >&6; }
14444 if test -z "$CC"; then
14445 # Extract the first word of "cc", so it can be a program name with args.
14446 set dummy cc
; ac_word
=$2
14447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14449 if test "${ac_cv_prog_CC+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14452 if test -n "$CC"; then
14453 ac_cv_prog_CC
="$CC" # Let the user override the test.
14455 ac_prog_rejected
=no
14456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14457 for as_dir
in $PATH
14460 test -z "$as_dir" && as_dir
=.
14461 for ac_exec_ext
in '' $ac_executable_extensions; do
14462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14464 ac_prog_rejected
=yes
14468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14475 if test $ac_prog_rejected = yes; then
14476 # We found a bogon in the path, so make sure we never use it.
14477 set dummy
$ac_cv_prog_CC
14479 if test $# != 0; then
14480 # We chose a different compiler from the bogus one.
14481 # However, it has the same basename, so the bogon will be chosen
14482 # first if we set CC to just the basename; use the full file name.
14484 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14490 if test -n "$CC"; then
14491 { echo "$as_me:$LINENO: result: $CC" >&5
14492 echo "${ECHO_T}$CC" >&6; }
14494 { echo "$as_me:$LINENO: result: no" >&5
14495 echo "${ECHO_T}no" >&6; }
14500 if test -z "$CC"; then
14501 if test -n "$ac_tool_prefix"; then
14502 for ac_prog
in cl.exe
14504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14505 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC
="$CC" # Let the user override the test.
14514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14515 for as_dir
in $PATH
14518 test -z "$as_dir" && as_dir
=.
14519 for ac_exec_ext
in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14541 test -n "$CC" && break
14544 if test -z "$CC"; then
14546 for ac_prog
in cl.exe
14548 # Extract the first word of "$ac_prog", so it can be a program name with args.
14549 set dummy
$ac_prog; ac_word
=$2
14550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14552 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14553 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 if test -n "$ac_ct_CC"; then
14556 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14559 for as_dir
in $PATH
14562 test -z "$as_dir" && as_dir
=.
14563 for ac_exec_ext
in '' $ac_executable_extensions; do
14564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14565 ac_cv_prog_ac_ct_CC
="$ac_prog"
14566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14575 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14576 if test -n "$ac_ct_CC"; then
14577 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14578 echo "${ECHO_T}$ac_ct_CC" >&6; }
14580 { echo "$as_me:$LINENO: result: no" >&5
14581 echo "${ECHO_T}no" >&6; }
14585 test -n "$ac_ct_CC" && break
14588 if test "x$ac_ct_CC" = x
; then
14591 case $cross_compiling:$ac_tool_warned in
14593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14594 whose name does not start with the host triplet. If you think this
14595 configuration is useful to you, please write to autoconf@gnu.org." >&5
14596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14597 whose name does not start with the host triplet. If you think this
14598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14599 ac_tool_warned
=yes ;;
14608 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14609 See \`config.log' for more details." >&5
14610 echo "$as_me: error: no acceptable C compiler found in \$PATH
14611 See \`config.log' for more details." >&2;}
14612 { (exit 1); exit 1; }; }
14614 # Provide some information about the compiler.
14615 echo "$as_me:$LINENO: checking for C compiler version" >&5
14616 ac_compiler
=`set X $ac_compile; echo $2`
14617 { (ac_try
="$ac_compiler --version >&5"
14618 case "(($ac_try" in
14619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14620 *) ac_try_echo=$ac_try;;
14622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14623 (eval "$ac_compiler --version >&5") 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }
14627 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }
14637 { (ac_try
="$ac_compiler -V >&5"
14638 case "(($ac_try" in
14639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compiler -V >&5") 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }
14648 cat >conftest.$ac_ext <<_ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14663 ac_clean_files_save=$ac_clean_files
14664 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14665 # Try to create an executable without -o first, disregard a.out.
14666 # It will help us diagnose broken compilers, and finding out an intuition
14668 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14669 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14670 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14672 # List of possible output files, starting from the most likely.
14673 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14674 # only as a last resort. b.out is created by i960 compilers.
14675 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14677 # The IRIX 6 linker writes into existing files which may not be
14678 # executable, retaining their permissions. Remove them first so a
14679 # subsequent execution test works.
14681 for ac_file in $ac_files
14684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14685 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14690 if { (ac_try="$ac_link_default"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_link_default") 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; then
14700 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14701 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14702 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14703 # so that the user can short-circuit this test for compilers unknown to
14705 for ac_file
in $ac_files ''
14707 test -f "$ac_file" || continue
14709 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14712 # We found the default executable, but exeext='' is most
14716 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14718 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14720 # We set ac_cv_exeext here because the later test for it is not
14721 # safe: cross compilers may not add the suffix if given an `-o'
14722 # argument, so we may need to know it at that point already.
14723 # Even if this section looks crufty: it has the advantage of
14724 # actually working.
14730 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14736 { echo "$as_me:$LINENO: result: $ac_file" >&5
14737 echo "${ECHO_T}$ac_file" >&6; }
14738 if test -z "$ac_file"; then
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.
$ac_ext >&5
14742 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14743 See \`config.log' for more details." >&5
14744 echo "$as_me: error: C compiler cannot create executables
14745 See \`config.log' for more details." >&2;}
14746 { (exit 77); exit 77; }; }
14749 ac_exeext
=$ac_cv_exeext
14751 # Check that the compiler produces executables we can run. If not, either
14752 # the compiler is broken, or we cross compile.
14753 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14754 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14755 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14756 # If not cross compiling, check that we can run a simple program.
14757 if test "$cross_compiling" != yes; then
14758 if { ac_try
='./$ac_file'
14759 { (case "(($ac_try" in
14760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14761 *) ac_try_echo=$ac_try;;
14763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14764 (eval "$ac_try") 2>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14770 if test "$cross_compiling" = maybe; then
14771 cross_compiling=yes
14773 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14774 If you meant to cross compile, use \`--host'.
14775 See \`config.log' for more details.
" >&5
14776 echo "$as_me: error
: cannot run C compiled programs.
14777 If you meant to cross compile
, use \
`--host'.
14778 See \`config.log
' for more details." >&2;}
14779 { (exit 1); exit 1; }; }
14783 { echo "$as_me:$LINENO: result: yes" >&5
14784 echo "${ECHO_T}yes" >&6; }
14786 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14787 ac_clean_files=$ac_clean_files_save
14788 # Check that the compiler produces executables we can run. If not, either
14789 # the compiler is broken, or we cross compile.
14790 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14791 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14792 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14793 echo "${ECHO_T}$cross_compiling" >&6; }
14795 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14796 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14797 if { (ac_try="$ac_link"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_link") 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14808 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14809 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14811 for ac_file
in conftest.exe conftest conftest.
*; do
14812 test -f "$ac_file" || continue
14814 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14815 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14821 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14822 See \`config.log' for more details." >&5
14823 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14824 See \`config.log' for more details." >&2;}
14825 { (exit 1); exit 1; }; }
14828 rm -f conftest
$ac_cv_exeext
14829 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14830 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14832 rm -f conftest.
$ac_ext
14833 EXEEXT
=$ac_cv_exeext
14835 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14836 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14837 if test "${ac_cv_objext+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 cat >conftest.
$ac_ext <<_ACEOF
14843 cat confdefs.h
>>conftest.
$ac_ext
14844 cat >>conftest.
$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14855 rm -f conftest.o conftest.obj
14856 if { (ac_try
="$ac_compile"
14857 case "(($ac_try" in
14858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_compile") 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; then
14866 for ac_file in conftest.o conftest.obj conftest.*; do
14867 test -f "$ac_file" || continue;
14869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14870 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14878 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14879 See \`config.log
' for more details." >&5
14880 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14881 See \`config.log' for more details.
" >&2;}
14882 { (exit 1); exit 1; }; }
14885 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14887 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14888 echo "${ECHO_T}$ac_cv_objext" >&6; }
14889 OBJEXT=$ac_cv_objext
14891 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14892 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14893 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14894 echo $ECHO_N "(cached
) $ECHO_C" >&6
14896 cat >conftest.$ac_ext <<_ACEOF
14899 cat confdefs.h >>conftest.$ac_ext
14900 cat >>conftest.$ac_ext <<_ACEOF
14901 /* end confdefs.h. */
14914 rm -f conftest.$ac_objext
14915 if { (ac_try="$ac_compile"
14916 case "(($ac_try" in
14917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14921 (eval "$ac_compile") 2>conftest.er1
14923 grep -v '^ *+' conftest.er1 >conftest.err
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14927 (exit $ac_status); } && {
14928 test -z "$ac_c_werror_flag" ||
14929 test ! -s conftest.err
14930 } && test -s conftest.$ac_objext; then
14931 ac_compiler_gnu=yes
14933 echo "$as_me: failed program was
:" >&5
14934 sed 's/^/| /' conftest.$ac_ext >&5
14939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14943 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14944 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14945 GCC=`test $ac_compiler_gnu = yes && echo yes`
14946 ac_test_CFLAGS=${CFLAGS+set}
14947 ac_save_CFLAGS=$CFLAGS
14948 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14949 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14950 if test "${ac_cv_prog_cc_g+set}" = set; then
14951 echo $ECHO_N "(cached
) $ECHO_C" >&6
14953 ac_save_c_werror_flag=$ac_c_werror_flag
14954 ac_c_werror_flag=yes
14957 cat >conftest.$ac_ext <<_ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14972 rm -f conftest.$ac_objext
14973 if { (ac_try="$ac_compile"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_compile") 2>conftest.er1
14981 grep -v '^ *+' conftest.er1 >conftest.err
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest.$ac_objext; then
14989 ac_cv_prog_cc_g=yes
14991 echo "$as_me: failed program was
:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14995 cat >conftest.$ac_ext <<_ACEOF
14998 cat confdefs.h >>conftest.$ac_ext
14999 cat >>conftest.$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15010 rm -f conftest.$ac_objext
15011 if { (ac_try="$ac_compile"
15012 case "(($ac_try" in
15013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15014 *) ac_try_echo=$ac_try;;
15016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15017 (eval "$ac_compile") 2>conftest.er1
15019 grep -v '^ *+' conftest.er1 >conftest.err
15021 cat conftest.err >&5
15022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15023 (exit $ac_status); } && {
15024 test -z "$ac_c_werror_flag" ||
15025 test ! -s conftest.err
15026 } && test -s conftest.$ac_objext; then
15029 echo "$as_me: failed program was
:" >&5
15030 sed 's/^/| /' conftest.$ac_ext >&5
15032 ac_c_werror_flag=$ac_save_c_werror_flag
15034 cat >conftest.$ac_ext <<_ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h. */
15049 rm -f conftest.$ac_objext
15050 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_compile") 2>conftest.er1
15058 grep -v '^ *+' conftest.er1 >conftest.err
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest.$ac_objext; then
15066 ac_cv_prog_cc_g=yes
15068 echo "$as_me: failed program was
:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081 ac_c_werror_flag=$ac_save_c_werror_flag
15083 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15085 if test "$ac_test_CFLAGS" = set; then
15086 CFLAGS=$ac_save_CFLAGS
15087 elif test $ac_cv_prog_cc_g = yes; then
15088 if test "$GCC" = yes; then
15094 if test "$GCC" = yes; then
15100 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15101 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15102 if test "${ac_cv_prog_cc_c89+set}" = set; then
15103 echo $ECHO_N "(cached
) $ECHO_C" >&6
15105 ac_cv_prog_cc_c89=no
15107 cat >conftest.$ac_ext <<_ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113 #include <stdarg.h>
15115 #include <sys/types.h>
15116 #include <sys/stat.h>
15117 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15118 struct buf { int x; };
15119 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15120 static char *e (p, i)
15126 static char *f (char * (*g) (char **, int), char **p, ...)
15131 s = g (p, va_arg (v,int));
15136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15137 function prototypes and stuff, but not '\xHH' hex character constants.
15138 These don't provoke an error unfortunately, instead are silently treated
15139 as 'x'. The following induces an error, until -std is added to get
15140 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15141 array size at least. It's necessary to write '\x00'==0 to get something
15142 that's true only with -std. */
15143 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15145 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15146 inside strings and character constants. */
15148 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15150 int test (int i, double x);
15151 struct s1 {int (*f) (int a);};
15152 struct s2 {int (*f) (double a);};
15153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15159 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15164 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15165 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15167 CC="$ac_save_CC $ac_arg"
15168 rm -f conftest.$ac_objext
15169 if { (ac_try="$ac_compile"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compile") 2>conftest.er1
15177 grep -v '^ *+' conftest.er1 >conftest.err
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest.$ac_objext; then
15185 ac_cv_prog_cc_c89=$ac_arg
15187 echo "$as_me: failed program was
:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15193 rm -f core conftest.err conftest.$ac_objext
15194 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15196 rm -f conftest.$ac_ext
15201 case "x
$ac_cv_prog_cc_c89" in
15203 { echo "$as_me:$LINENO: result
: none needed
" >&5
15204 echo "${ECHO_T}none needed
" >&6; } ;;
15206 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15207 echo "${ECHO_T}unsupported
" >&6; } ;;
15209 CC="$CC $ac_cv_prog_cc_c89"
15210 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15211 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15216 ac_cpp='$CPP $CPPFLAGS'
15217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15225 ac_cpp='$CPP $CPPFLAGS'
15226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15230 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15231 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15232 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15233 echo $ECHO_N "(cached
) $ECHO_C" >&6
15235 cat >conftest.$ac_ext <<_ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15246 #ifndef __INTEL_COMPILER
15254 rm -f conftest.$ac_objext
15255 if { (ac_try="$ac_compile"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_compile") 2>conftest.er1
15263 grep -v '^ *+' conftest.er1 >conftest.err
15265 cat conftest.err >&5
15266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15267 (exit $ac_status); } && {
15268 test -z "$ac_c_werror_flag" ||
15269 test ! -s conftest.err
15270 } && test -s conftest.$ac_objext; then
15271 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15273 echo "$as_me: failed program was
:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15276 bakefile_cv_c_compiler___INTEL_COMPILER=no
15280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15284 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15285 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15286 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15292 ac_cpp='$CPP $CPPFLAGS'
15293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15300 if test "$INTELCC" = "yes"; then
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15309 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15310 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15311 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15312 echo $ECHO_N "(cached
) $ECHO_C" >&6
15314 cat >conftest.$ac_ext <<_ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15325 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15333 rm -f conftest.$ac_objext
15334 if { (ac_try="$ac_compile"
15335 case "(($ac_try" in
15336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_compile") 2>conftest.er1
15342 grep -v '^ *+' conftest.er1 >conftest.err
15344 cat conftest.err >&5
15345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15346 (exit $ac_status); } && {
15347 test -z "$ac_c_werror_flag" ||
15348 test ! -s conftest.err
15349 } && test -s conftest.$ac_objext; then
15350 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15352 echo "$as_me: failed program was
:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15355 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15363 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15364 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15365 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15371 ac_cpp='$CPP $CPPFLAGS'
15372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15381 ac_cpp='$CPP $CPPFLAGS'
15382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15386 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15387 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15388 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15389 echo $ECHO_N "(cached
) $ECHO_C" >&6
15391 cat >conftest.$ac_ext <<_ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15402 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15410 rm -f conftest.$ac_objext
15411 if { (ac_try="$ac_compile"
15412 case "(($ac_try" in
15413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15414 *) ac_try_echo=$ac_try;;
15416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15417 (eval "$ac_compile") 2>conftest.er1
15419 grep -v '^ *+' conftest.er1 >conftest.err
15421 cat conftest.err >&5
15422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15423 (exit $ac_status); } && {
15424 test -z "$ac_c_werror_flag" ||
15425 test ! -s conftest.err
15426 } && test -s conftest.$ac_objext; then
15427 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15429 echo "$as_me: failed program was
:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15432 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15440 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15441 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15442 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15448 ac_cpp='$CPP $CPPFLAGS'
15449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15457 if test "x
$GCC" != "xyes
"; then
15458 if test "xCC
" = "xC
"; then
15459 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15460 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15461 if test "${bakefile_cv_c_exto+set}" = set; then
15462 echo $ECHO_N "(cached
) $ECHO_C" >&6
15464 cat >conftest.$ac_ext <<_ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15479 rm -f conftest.$ac_objext conftest.$ac_ext.o
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>&5
15483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15484 (exit $ac_status); }; then
15485 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15487 conftest.$ac_ext.o)
15488 bakefile_cv_c_exto="-ext o
"
15495 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15496 See \
`config.log' for more details." >&5
15497 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15498 See \`config.log
' for more details." >&2;}
15499 { (exit 1); exit 1; }; }
15503 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15506 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15507 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15508 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15509 if test "c" = "c"; then
15510 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15512 if test "c" = "cxx"; then
15513 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15517 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15518 unset ac_cv_prog_cc_g
15519 ac_test_CFLAGS=${CFLAGS+set}
15520 ac_save_CFLAGS=$CFLAGS
15521 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15523 if test "${ac_cv_prog_cc_g+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 ac_save_c_werror_flag=$ac_c_werror_flag
15527 ac_c_werror_flag=yes
15530 cat >conftest.$ac_ext <<_ACEOF
15533 cat confdefs.h >>conftest.$ac_ext
15534 cat >>conftest.$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15545 rm -f conftest.$ac_objext
15546 if { (ac_try="$ac_compile"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_compile") 2>conftest.er1
15554 grep -v '^
*+' conftest.er1 >conftest.err
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest.$ac_objext; then
15562 ac_cv_prog_cc_g=yes
15564 echo "$as_me: failed program was:" >&5
15565 sed 's
/^
/| /' conftest.$ac_ext >&5
15568 cat >conftest.$ac_ext <<_ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15583 rm -f conftest.$ac_objext
15584 if { (ac_try="$ac_compile"
15585 case "(($ac_try" in
15586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15587 *) ac_try_echo=$ac_try;;
15589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15590 (eval "$ac_compile") 2>conftest.er1
15592 grep -v '^
*+' conftest.er1 >conftest.err
15594 cat conftest.err >&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } && {
15597 test -z "$ac_c_werror_flag" ||
15598 test ! -s conftest.err
15599 } && test -s conftest.$ac_objext; then
15602 echo "$as_me: failed program was:" >&5
15603 sed 's
/^
/| /' conftest.$ac_ext >&5
15605 ac_c_werror_flag=$ac_save_c_werror_flag
15607 cat >conftest.$ac_ext <<_ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15622 rm -f conftest.$ac_objext
15623 if { (ac_try="$ac_compile"
15624 case "(($ac_try" in
15625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15626 *) ac_try_echo=$ac_try;;
15628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15629 (eval "$ac_compile") 2>conftest.er1
15631 grep -v '^
*+' conftest.er1 >conftest.err
15633 cat conftest.err >&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } && {
15636 test -z "$ac_c_werror_flag" ||
15637 test ! -s conftest.err
15638 } && test -s conftest.$ac_objext; then
15639 ac_cv_prog_cc_g=yes
15641 echo "$as_me: failed program was:" >&5
15642 sed 's
/^
/| /' conftest.$ac_ext >&5
15647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15654 ac_c_werror_flag=$ac_save_c_werror_flag
15656 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15658 if test "$ac_test_CFLAGS" = set; then
15659 CFLAGS=$ac_save_CFLAGS
15660 elif test $ac_cv_prog_cc_g = yes; then
15661 if test "$GCC" = yes; then
15667 if test "$GCC" = yes; then
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15683 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15687 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15688 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15691 cat >conftest.$ac_ext <<_ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15710 rm -f conftest.$ac_objext
15711 if { (ac_try="$ac_compile"
15712 case "(($ac_try" in
15713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15714 *) ac_try_echo=$ac_try;;
15716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15717 (eval "$ac_compile") 2>conftest.er1
15719 grep -v '^
*+' conftest.er1 >conftest.err
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } && {
15724 test -z "$ac_c_werror_flag" ||
15725 test ! -s conftest.err
15726 } && test -s conftest.$ac_objext; then
15727 bakefile_cv_c_compiler___xlC__=yes
15729 echo "$as_me: failed program was:" >&5
15730 sed 's
/^
/| /' conftest.$ac_ext >&5
15732 bakefile_cv_c_compiler___xlC__=no
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15740 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15741 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15742 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15748 ac_cpp='$CPP $CPPFLAGS'
15749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15750 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 ac_cpp='$CPP $CPPFLAGS'
15762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15763 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15766 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15767 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15768 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 cat >conftest.$ac_ext <<_ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15790 rm -f conftest.$ac_objext
15791 if { (ac_try="$ac_compile"
15792 case "(($ac_try" in
15793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15794 *) ac_try_echo=$ac_try;;
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_compile") 2>conftest.er1
15799 grep -v '^
*+' conftest.er1 >conftest.err
15801 cat conftest.err >&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); } && {
15804 test -z "$ac_c_werror_flag" ||
15805 test ! -s conftest.err
15806 } && test -s conftest.$ac_objext; then
15807 bakefile_cv_c_compiler___MWERKS__=yes
15809 echo "$as_me: failed program was:" >&5
15810 sed 's
/^
/| /' conftest.$ac_ext >&5
15812 bakefile_cv_c_compiler___MWERKS__=no
15816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15820 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15821 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15822 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15828 ac_cpp='$CPP $CPPFLAGS'
15829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15830 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15835 if test "$MWCC" != "yes"; 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
15844 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15845 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15846 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15849 cat >conftest.$ac_ext <<_ACEOF
15852 cat confdefs.h >>conftest.$ac_ext
15853 cat >>conftest.$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15868 rm -f conftest.$ac_objext
15869 if { (ac_try="$ac_compile"
15870 case "(($ac_try" in
15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15872 *) ac_try_echo=$ac_try;;
15874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15875 (eval "$ac_compile") 2>conftest.er1
15877 grep -v '^
*+' conftest.er1 >conftest.err
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } && {
15882 test -z "$ac_c_werror_flag" ||
15883 test ! -s conftest.err
15884 } && test -s conftest.$ac_objext; then
15885 bakefile_cv_c_compiler___xlC__=yes
15887 echo "$as_me: failed program was:" >&5
15888 sed 's
/^
/| /' conftest.$ac_ext >&5
15890 bakefile_cv_c_compiler___xlC__=no
15894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15898 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15899 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15900 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15906 ac_cpp='$CPP $CPPFLAGS'
15907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15908 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15920 ac_cpp='$CPP $CPPFLAGS'
15921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15922 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15925 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15926 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15927 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 cat >conftest.$ac_ext <<_ACEOF
15933 cat confdefs.h >>conftest.$ac_ext
15934 cat >>conftest.$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15941 #ifndef _SGI_COMPILER_VERSION
15949 rm -f conftest.$ac_objext
15950 if { (ac_try="$ac_compile"
15951 case "(($ac_try" in
15952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15953 *) ac_try_echo=$ac_try;;
15955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15956 (eval "$ac_compile") 2>conftest.er1
15958 grep -v '^
*+' conftest.er1 >conftest.err
15960 cat conftest.err >&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && {
15963 test -z "$ac_c_werror_flag" ||
15964 test ! -s conftest.err
15965 } && test -s conftest.$ac_objext; then
15966 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15968 echo "$as_me: failed program was:" >&5
15969 sed 's
/^
/| /' conftest.$ac_ext >&5
15971 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15980 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15981 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15987 ac_cpp='$CPP $CPPFLAGS'
15988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15989 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15997 if test "$INTELCC" != "yes"; then
16001 ac_cpp='$CPP $CPPFLAGS'
16002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16003 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16006 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16007 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16008 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16011 cat >conftest.$ac_ext <<_ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16030 rm -f conftest.$ac_objext
16031 if { (ac_try="$ac_compile"
16032 case "(($ac_try" in
16033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16034 *) ac_try_echo=$ac_try;;
16036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16037 (eval "$ac_compile") 2>conftest.er1
16039 grep -v '^
*+' conftest.er1 >conftest.err
16041 cat conftest.err >&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } && {
16044 test -z "$ac_c_werror_flag" ||
16045 test ! -s conftest.err
16046 } && test -s conftest.$ac_objext; then
16047 bakefile_cv_c_compiler___SUNPRO_C=yes
16049 echo "$as_me: failed program was:" >&5
16050 sed 's
/^
/| /' conftest.$ac_ext >&5
16052 bakefile_cv_c_compiler___SUNPRO_C=no
16056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16060 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16061 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16062 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16068 ac_cpp='$CPP $CPPFLAGS'
16069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16070 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082 ac_cpp='$CPP $CPPFLAGS'
16083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16084 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16087 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16088 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16089 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 cat >conftest.$ac_ext <<_ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16111 rm -f conftest.$ac_objext
16112 if { (ac_try="$ac_compile"
16113 case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;;
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_compile") 2>conftest.er1
16120 grep -v '^
*+' conftest.er1 >conftest.err
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && {
16125 test -z "$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 } && test -s conftest.$ac_objext; then
16128 bakefile_cv_c_compiler___HP_cc=yes
16130 echo "$as_me: failed program was:" >&5
16131 sed 's
/^
/| /' conftest.$ac_ext >&5
16133 bakefile_cv_c_compiler___HP_cc=no
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16142 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16143 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16151 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16162 ac_cpp='$CPP $CPPFLAGS'
16163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16164 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16167 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16168 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16169 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16172 cat >conftest.$ac_ext <<_ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16191 rm -f conftest.$ac_objext
16192 if { (ac_try="$ac_compile"
16193 case "(($ac_try" in
16194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16195 *) ac_try_echo=$ac_try;;
16197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16198 (eval "$ac_compile") 2>conftest.er1
16200 grep -v '^
*+' conftest.er1 >conftest.err
16202 cat conftest.err >&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); } && {
16205 test -z "$ac_c_werror_flag" ||
16206 test ! -s conftest.err
16207 } && test -s conftest.$ac_objext; then
16208 bakefile_cv_c_compiler___DECC=yes
16210 echo "$as_me: failed program was:" >&5
16211 sed 's
/^
/| /' conftest.$ac_ext >&5
16213 bakefile_cv_c_compiler___DECC=no
16217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16221 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16222 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16223 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16229 ac_cpp='$CPP $CPPFLAGS'
16230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16231 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16244 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16247 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16248 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16249 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16250 echo $ECHO_N "(cached) $ECHO_C" >&6
16252 cat >conftest.$ac_ext <<_ACEOF
16255 cat confdefs.h >>conftest.$ac_ext
16256 cat >>conftest.$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16271 rm -f conftest.$ac_objext
16272 if { (ac_try="$ac_compile"
16273 case "(($ac_try" in
16274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16275 *) ac_try_echo=$ac_try;;
16277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16278 (eval "$ac_compile") 2>conftest.er1
16280 grep -v '^
*+' conftest.er1 >conftest.err
16282 cat conftest.err >&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } && {
16285 test -z "$ac_c_werror_flag" ||
16286 test ! -s conftest.err
16287 } && test -s conftest.$ac_objext; then
16288 bakefile_cv_c_compiler___SUNPRO_C=yes
16290 echo "$as_me: failed program was:" >&5
16291 sed 's
/^
/| /' conftest.$ac_ext >&5
16293 bakefile_cv_c_compiler___SUNPRO_C=no
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16302 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16303 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16309 ac_cpp='$CPP $CPPFLAGS'
16310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16311 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16323 ac_cpp='$CPP $CPPFLAGS'
16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16325 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16327 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16328 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16329 # On Suns, sometimes $CPP names a directory.
16330 if test -n "$CPP" && test -d "$CPP"; then
16333 if test -z "$CPP"; then
16334 if test "${ac_cv_prog_CPP+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16337 # Double quotes because CPP needs to be expanded
16338 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16340 ac_preproc_ok=false
16341 for ac_c_preproc_warn_flag in '' yes
16343 # Use a header file that comes with gcc, so configuring glibc
16344 # with a fresh cross-compiler works.
16345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16346 # <limits.h> exists even on freestanding compilers.
16347 # On the NeXT, cc -E runs the code through the compiler's parser
,
16348 # not just through cpp. "Syntax error" is here to catch this case.
16349 cat >conftest.
$ac_ext <<_ACEOF
16352 cat confdefs.h
>>conftest.
$ac_ext
16353 cat >>conftest.
$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16356 # include <limits.h>
16358 # include <assert.h>
16362 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16363 case "(($ac_try" in
16364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16365 *) ac_try_echo=$ac_try;;
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16370 grep -v '^ *+' conftest.er1 >conftest.err
16372 cat conftest.err >&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } >/dev/null && {
16375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16376 test ! -s conftest.err
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16383 # Broken: fails on valid input.
16387 rm -f conftest.err conftest.$ac_ext
16389 # OK, works on sane cases. Now check whether nonexistent headers
16390 # can be detected and how.
16391 cat >conftest.$ac_ext <<_ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16397 #include <ac_nonexistent.h>
16399 if { (ac_try="$ac_cpp conftest.$ac_ext"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16402 *) ac_try_echo
=$ac_try;;
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16407 grep -v '^ *+' conftest.er1
>conftest.err
16409 cat conftest.err
>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } >/dev
/null
&& {
16412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16413 test ! -s conftest.err
16415 # Broken: success on invalid input.
16418 echo "$as_me: failed program was:" >&5
16419 sed 's/^/| /' conftest.
$ac_ext >&5
16421 # Passes both tests.
16426 rm -f conftest.err conftest.
$ac_ext
16429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16430 rm -f conftest.err conftest.
$ac_ext
16431 if $ac_preproc_ok; then
16436 ac_cv_prog_CPP
=$CPP
16439 CPP
=$ac_cv_prog_CPP
16441 ac_cv_prog_CPP
=$CPP
16443 { echo "$as_me:$LINENO: result: $CPP" >&5
16444 echo "${ECHO_T}$CPP" >&6; }
16445 ac_preproc_ok
=false
16446 for ac_c_preproc_warn_flag
in '' yes
16448 # Use a header file that comes with gcc, so configuring glibc
16449 # with a fresh cross-compiler works.
16450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16451 # <limits.h> exists even on freestanding compilers.
16452 # On the NeXT, cc -E runs the code through the compiler's parser,
16453 # not just through cpp. "Syntax error" is here to catch this case.
16454 cat >conftest.
$ac_ext <<_ACEOF
16457 cat confdefs.h
>>conftest.
$ac_ext
16458 cat >>conftest.
$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16461 # include <limits.h>
16463 # include <assert.h>
16467 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16468 case "(($ac_try" in
16469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16475 grep -v '^ *+' conftest.er1 >conftest.err
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } >/dev/null && {
16480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16481 test ! -s conftest.err
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16488 # Broken: fails on valid input.
16492 rm -f conftest.err conftest.$ac_ext
16494 # OK, works on sane cases. Now check whether nonexistent headers
16495 # can be detected and how.
16496 cat >conftest.$ac_ext <<_ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 #include <ac_nonexistent.h>
16504 if { (ac_try="$ac_cpp conftest.$ac_ext"
16505 case "(($ac_try" in
16506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16507 *) ac_try_echo
=$ac_try;;
16509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16512 grep -v '^ *+' conftest.er1
>conftest.err
16514 cat conftest.err
>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } >/dev
/null
&& {
16517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16518 test ! -s conftest.err
16520 # Broken: success on invalid input.
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.
$ac_ext >&5
16526 # Passes both tests.
16531 rm -f conftest.err conftest.
$ac_ext
16534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16535 rm -f conftest.err conftest.
$ac_ext
16536 if $ac_preproc_ok; then
16539 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16540 See \`config.log' for more details." >&5
16541 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16542 See \`config.log' for more details." >&2;}
16543 { (exit 1); exit 1; }; }
16547 ac_cpp
='$CPP $CPPFLAGS'
16548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16553 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16554 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16555 if test "${ac_cv_path_GREP+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 # Extract the first word of "grep ggrep" to use in msg output
16559 if test -z "$GREP"; then
16560 set dummy
grep ggrep
; ac_prog_name
=$2
16561 if test "${ac_cv_path_GREP+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16564 ac_path_GREP_found
=false
16565 # Loop through the user's path and test for each of PROGNAME-LIST
16566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16567 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16570 test -z "$as_dir" && as_dir
=.
16571 for ac_prog
in grep ggrep
; do
16572 for ac_exec_ext
in '' $ac_executable_extensions; do
16573 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16574 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16575 # Check for GNU ac_path_GREP and select it if it is found.
16576 # Check for GNU $ac_path_GREP
16577 case `"$ac_path_GREP" --version 2>&1` in
16579 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16582 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16585 cat "conftest.in" "conftest.in" >"conftest.tmp"
16586 mv "conftest.tmp" "conftest.in"
16587 cp "conftest.in" "conftest.nl"
16588 echo 'GREP' >> "conftest.nl"
16589 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16590 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16591 ac_count
=`expr $ac_count + 1`
16592 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16593 # Best one so far, save it but keep looking for a better one
16594 ac_cv_path_GREP
="$ac_path_GREP"
16595 ac_path_GREP_max
=$ac_count
16597 # 10*(2^10) chars as input seems more than enough
16598 test $ac_count -gt 10 && break
16600 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16604 $ac_path_GREP_found && break 3
16614 GREP
="$ac_cv_path_GREP"
16615 if test -z "$GREP"; then
16616 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16617 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16618 { (exit 1); exit 1; }; }
16622 ac_cv_path_GREP
=$GREP
16627 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16628 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16629 GREP
="$ac_cv_path_GREP"
16632 { echo "$as_me:$LINENO: checking for egrep" >&5
16633 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16634 if test "${ac_cv_path_EGREP+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16637 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16638 then ac_cv_path_EGREP
="$GREP -E"
16640 # Extract the first word of "egrep" to use in msg output
16641 if test -z "$EGREP"; then
16642 set dummy
egrep; ac_prog_name
=$2
16643 if test "${ac_cv_path_EGREP+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 ac_path_EGREP_found
=false
16647 # Loop through the user's path and test for each of PROGNAME-LIST
16648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16649 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16652 test -z "$as_dir" && as_dir
=.
16653 for ac_prog
in egrep; do
16654 for ac_exec_ext
in '' $ac_executable_extensions; do
16655 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16656 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16657 # Check for GNU ac_path_EGREP and select it if it is found.
16658 # Check for GNU $ac_path_EGREP
16659 case `"$ac_path_EGREP" --version 2>&1` in
16661 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16664 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16667 cat "conftest.in" "conftest.in" >"conftest.tmp"
16668 mv "conftest.tmp" "conftest.in"
16669 cp "conftest.in" "conftest.nl"
16670 echo 'EGREP' >> "conftest.nl"
16671 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16672 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16673 ac_count
=`expr $ac_count + 1`
16674 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16675 # Best one so far, save it but keep looking for a better one
16676 ac_cv_path_EGREP
="$ac_path_EGREP"
16677 ac_path_EGREP_max
=$ac_count
16679 # 10*(2^10) chars as input seems more than enough
16680 test $ac_count -gt 10 && break
16682 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16686 $ac_path_EGREP_found && break 3
16696 EGREP
="$ac_cv_path_EGREP"
16697 if test -z "$EGREP"; then
16698 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16699 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16700 { (exit 1); exit 1; }; }
16704 ac_cv_path_EGREP
=$EGREP
16710 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16711 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16712 EGREP
="$ac_cv_path_EGREP"
16715 if test $ac_cv_c_compiler_gnu = yes; then
16716 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16717 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16718 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 ac_pattern
="Autoconf.*'x'"
16722 cat >conftest.
$ac_ext <<_ACEOF
16725 cat confdefs.h
>>conftest.
$ac_ext
16726 cat >>conftest.
$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16732 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16733 ac_cv_prog_gcc_traditional
=yes
16735 ac_cv_prog_gcc_traditional
=no
16740 if test $ac_cv_prog_gcc_traditional = no
; then
16741 cat >conftest.
$ac_ext <<_ACEOF
16744 cat confdefs.h
>>conftest.
$ac_ext
16745 cat >>conftest.
$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 #include <termio.h>
16750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16751 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16752 ac_cv_prog_gcc_traditional
=yes
16758 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16759 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16760 if test $ac_cv_prog_gcc_traditional = yes; then
16761 CC
="$CC -traditional"
16766 CXXFLAGS
=${CXXFLAGS:=}
16771 ac_cpp
='$CXXCPP $CPPFLAGS'
16772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16775 if test -z "$CXX"; then
16776 if test -n "$CCC"; then
16779 if test -n "$ac_tool_prefix"; then
16780 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16783 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16786 if test "${ac_cv_prog_CXX+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 if test -n "$CXX"; then
16790 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16793 for as_dir
in $PATH
16796 test -z "$as_dir" && as_dir
=.
16797 for ac_exec_ext
in '' $ac_executable_extensions; do
16798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16799 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16809 CXX
=$ac_cv_prog_CXX
16810 if test -n "$CXX"; then
16811 { echo "$as_me:$LINENO: result: $CXX" >&5
16812 echo "${ECHO_T}$CXX" >&6; }
16814 { echo "$as_me:$LINENO: result: no" >&5
16815 echo "${ECHO_T}no" >&6; }
16819 test -n "$CXX" && break
16822 if test -z "$CXX"; then
16824 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16826 # Extract the first word of "$ac_prog", so it can be a program name with args.
16827 set dummy
$ac_prog; ac_word
=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 if test -n "$ac_ct_CXX"; then
16834 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16837 for as_dir
in $PATH
16840 test -z "$as_dir" && as_dir
=.
16841 for ac_exec_ext
in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16853 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16854 if test -n "$ac_ct_CXX"; then
16855 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16856 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16863 test -n "$ac_ct_CXX" && break
16866 if test "x$ac_ct_CXX" = x
; then
16869 case $cross_compiling:$ac_tool_warned in
16871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16872 whose name does not start with the host triplet. If you think this
16873 configuration is useful to you, please write to autoconf@gnu.org." >&5
16874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16875 whose name does not start with the host triplet. If you think this
16876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16877 ac_tool_warned
=yes ;;
16885 # Provide some information about the compiler.
16886 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16887 ac_compiler
=`set X $ac_compile; echo $2`
16888 { (ac_try
="$ac_compiler --version >&5"
16889 case "(($ac_try" in
16890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compiler --version >&5") 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }
16898 { (ac_try="$ac_compiler -v >&5"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16901 *) ac_try_echo
=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_compiler -v >&5") 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }
16908 { (ac_try
="$ac_compiler -V >&5"
16909 case "(($ac_try" in
16910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16911 *) ac_try_echo=$ac_try;;
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_compiler -V >&5") 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }
16919 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16920 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16921 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 cat >conftest.$ac_ext <<_ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16942 rm -f conftest.$ac_objext
16943 if { (ac_try="$ac_compile"
16944 case "(($ac_try" in
16945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16946 *) ac_try_echo
=$ac_try;;
16948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16949 (eval "$ac_compile") 2>conftest.er1
16951 grep -v '^ *+' conftest.er1
>conftest.err
16953 cat conftest.err
>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } && {
16956 test -z "$ac_cxx_werror_flag" ||
16957 test ! -s conftest.err
16958 } && test -s conftest.
$ac_objext; then
16959 ac_compiler_gnu
=yes
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.
$ac_ext >&5
16967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16968 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16971 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16972 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16973 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16974 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16975 ac_save_CXXFLAGS
=$CXXFLAGS
16976 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16977 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16978 if test "${ac_cv_prog_cxx_g+set}" = set; then
16979 echo $ECHO_N "(cached) $ECHO_C" >&6
16981 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16982 ac_cxx_werror_flag
=yes
16983 ac_cv_prog_cxx_g
=no
16985 cat >conftest.
$ac_ext <<_ACEOF
16988 cat confdefs.h
>>conftest.
$ac_ext
16989 cat >>conftest.
$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
17000 rm -f conftest.
$ac_objext
17001 if { (ac_try
="$ac_compile"
17002 case "(($ac_try" in
17003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_compile") 2>conftest.er1
17009 grep -v '^ *+' conftest.er1 >conftest.err
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } && {
17014 test -z "$ac_cxx_werror_flag" ||
17015 test ! -s conftest.err
17016 } && test -s conftest.$ac_objext; then
17017 ac_cv_prog_cxx_g=yes
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17023 cat >conftest.$ac_ext <<_ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17038 rm -f conftest.$ac_objext
17039 if { (ac_try="$ac_compile"
17040 case "(($ac_try" in
17041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17042 *) ac_try_echo
=$ac_try;;
17044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17045 (eval "$ac_compile") 2>conftest.er1
17047 grep -v '^ *+' conftest.er1
>conftest.err
17049 cat conftest.err
>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } && {
17052 test -z "$ac_cxx_werror_flag" ||
17053 test ! -s conftest.err
17054 } && test -s conftest.
$ac_objext; then
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.
$ac_ext >&5
17060 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17062 cat >conftest.
$ac_ext <<_ACEOF
17065 cat confdefs.h
>>conftest.
$ac_ext
17066 cat >>conftest.
$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17077 rm -f conftest.
$ac_objext
17078 if { (ac_try
="$ac_compile"
17079 case "(($ac_try" in
17080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17081 *) ac_try_echo=$ac_try;;
17083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17084 (eval "$ac_compile") 2>conftest.er1
17086 grep -v '^ *+' conftest.er1 >conftest.err
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } && {
17091 test -z "$ac_cxx_werror_flag" ||
17092 test ! -s conftest.err
17093 } && test -s conftest.$ac_objext; then
17094 ac_cv_prog_cxx_g=yes
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.$ac_ext >&5
17102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17109 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17111 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17112 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17113 if test "$ac_test_CXXFLAGS" = set; then
17114 CXXFLAGS=$ac_save_CXXFLAGS
17115 elif test $ac_cv_prog_cxx_g = yes; then
17116 if test "$GXX" = yes; then
17122 if test "$GXX" = yes; then
17129 ac_cpp='$CPP $CPPFLAGS'
17130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17143 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17144 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17145 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 cat >conftest.$ac_ext <<_ACEOF
17151 cat confdefs.h >>conftest.$ac_ext
17152 cat >>conftest.$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17159 #ifndef __INTEL_COMPILER
17167 rm -f conftest.$ac_objext
17168 if { (ac_try="$ac_compile"
17169 case "(($ac_try" in
17170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17171 *) ac_try_echo
=$ac_try;;
17173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17174 (eval "$ac_compile") 2>conftest.er1
17176 grep -v '^ *+' conftest.er1
>conftest.err
17178 cat conftest.err
>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && {
17181 test -z "$ac_cxx_werror_flag" ||
17182 test ! -s conftest.err
17183 } && test -s conftest.
$ac_objext; then
17184 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.
$ac_ext >&5
17189 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17197 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17198 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17199 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17205 ac_cpp
='$CPP $CPPFLAGS'
17206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17213 if test "$INTELCXX" = "yes"; then
17217 ac_cpp
='$CXXCPP $CPPFLAGS'
17218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17222 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17223 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17224 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 cat >conftest.
$ac_ext <<_ACEOF
17230 cat confdefs.h
>>conftest.
$ac_ext
17231 cat >>conftest.
$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17238 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17246 rm -f conftest.
$ac_objext
17247 if { (ac_try
="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17255 grep -v '^ *+' conftest.er1 >conftest.err
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_cxx_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17268 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17277 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17278 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17294 ac_cpp='$CXXCPP $CPPFLAGS'
17295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17299 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17300 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17301 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17304 cat >conftest.$ac_ext <<_ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17315 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17323 rm -f conftest.$ac_objext
17324 if { (ac_try="$ac_compile"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17327 *) ac_try_echo
=$ac_try;;
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_compile") 2>conftest.er1
17332 grep -v '^ *+' conftest.er1
>conftest.err
17334 cat conftest.err
>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_cxx_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest.
$ac_objext; then
17340 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.
$ac_ext >&5
17345 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17353 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17354 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17355 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17361 ac_cpp
='$CPP $CPPFLAGS'
17362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17370 if test "x$GCXX" != "xyes"; then
17371 if test "xCXX" = "xC"; then
17372 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17373 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17374 if test "${bakefile_cv_c_exto+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17392 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17394 (eval $ac_compile) 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; then
17398 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17400 conftest.
$ac_ext.o
)
17401 bakefile_cv_c_exto
="-ext o"
17408 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17409 See \`config.log' for more details." >&5
17410 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17411 See \`config.log' for more details." >&2;}
17412 { (exit 1); exit 1; }; }
17416 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17419 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17420 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17421 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17422 if test "c" = "c"; then
17423 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17425 if test "c" = "cxx"; then
17426 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17430 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17431 unset ac_cv_prog_cc_g
17432 ac_test_CFLAGS
=${CFLAGS+set}
17433 ac_save_CFLAGS
=$CFLAGS
17434 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17435 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17436 if test "${ac_cv_prog_cc_g+set}" = set; then
17437 echo $ECHO_N "(cached) $ECHO_C" >&6
17439 ac_save_c_werror_flag
=$ac_c_werror_flag
17440 ac_c_werror_flag
=yes
17443 cat >conftest.
$ac_ext <<_ACEOF
17446 cat confdefs.h
>>conftest.
$ac_ext
17447 cat >>conftest.
$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17458 rm -f conftest.
$ac_objext
17459 if { (ac_try
="$ac_compile"
17460 case "(($ac_try" in
17461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_compile") 2>conftest.er1
17467 grep -v '^ *+' conftest.er1 >conftest.err
17469 cat conftest.err >&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } && {
17472 test -z "$ac_c_werror_flag" ||
17473 test ! -s conftest.err
17474 } && test -s conftest.$ac_objext; then
17475 ac_cv_prog_cc_g=yes
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17481 cat >conftest.$ac_ext <<_ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17496 rm -f conftest.$ac_objext
17497 if { (ac_try="$ac_compile"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17500 *) ac_try_echo
=$ac_try;;
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_compile") 2>conftest.er1
17505 grep -v '^ *+' conftest.er1
>conftest.err
17507 cat conftest.err
>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest.
$ac_objext; then
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17518 ac_c_werror_flag
=$ac_save_c_werror_flag
17520 cat >conftest.
$ac_ext <<_ACEOF
17523 cat confdefs.h
>>conftest.
$ac_ext
17524 cat >>conftest.
$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17535 rm -f conftest.
$ac_objext
17536 if { (ac_try
="$ac_compile"
17537 case "(($ac_try" in
17538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17539 *) ac_try_echo=$ac_try;;
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_compile") 2>conftest.er1
17544 grep -v '^ *+' conftest.er1 >conftest.err
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } && {
17549 test -z "$ac_c_werror_flag" ||
17550 test ! -s conftest.err
17551 } && test -s conftest.$ac_objext; then
17552 ac_cv_prog_cc_g=yes
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17567 ac_c_werror_flag=$ac_save_c_werror_flag
17569 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17570 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17571 if test "$ac_test_CFLAGS" = set; then
17572 CFLAGS=$ac_save_CFLAGS
17573 elif test $ac_cv_prog_cc_g = yes; then
17574 if test "$GCC" = yes; then
17580 if test "$GCC" = yes; then
17594 ac_cpp='$CXXCPP $CPPFLAGS'
17595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17599 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17600 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17601 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17604 cat >conftest.$ac_ext <<_ACEOF
17607 cat confdefs.h >>conftest.$ac_ext
17608 cat >>conftest.$ac_ext <<_ACEOF
17609 /* end confdefs.h. */
17623 rm -f conftest.$ac_objext
17624 if { (ac_try="$ac_compile"
17625 case "(($ac_try" in
17626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17627 *) ac_try_echo
=$ac_try;;
17629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17630 (eval "$ac_compile") 2>conftest.er1
17632 grep -v '^ *+' conftest.er1
>conftest.err
17634 cat conftest.err
>&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } && {
17637 test -z "$ac_cxx_werror_flag" ||
17638 test ! -s conftest.err
17639 } && test -s conftest.
$ac_objext; then
17640 bakefile_cv_cxx_compiler___xlC__
=yes
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.
$ac_ext >&5
17645 bakefile_cv_cxx_compiler___xlC__
=no
17649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17655 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17661 ac_cpp
='$CPP $CPPFLAGS'
17662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17674 ac_cpp
='$CXXCPP $CPPFLAGS'
17675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17679 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17680 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17681 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17684 cat >conftest.
$ac_ext <<_ACEOF
17687 cat confdefs.h
>>conftest.
$ac_ext
17688 cat >>conftest.
$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17703 rm -f conftest.
$ac_objext
17704 if { (ac_try
="$ac_compile"
17705 case "(($ac_try" in
17706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_compile") 2>conftest.er1
17712 grep -v '^ *+' conftest.er1 >conftest.err
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } && {
17717 test -z "$ac_cxx_werror_flag" ||
17718 test ! -s conftest.err
17719 } && test -s conftest.$ac_objext; then
17720 bakefile_cv_cxx_compiler___MWERKS__=yes
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17725 bakefile_cv_cxx_compiler___MWERKS__=no
17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17733 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17734 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17735 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17741 ac_cpp='$CPP $CPPFLAGS'
17742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17748 if test "$MWCXX" != "yes"; then
17752 ac_cpp='$CXXCPP $CPPFLAGS'
17753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17757 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17758 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17759 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17762 cat >conftest.$ac_ext <<_ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17781 rm -f conftest.$ac_objext
17782 if { (ac_try="$ac_compile"
17783 case "(($ac_try" in
17784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17785 *) ac_try_echo
=$ac_try;;
17787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17788 (eval "$ac_compile") 2>conftest.er1
17790 grep -v '^ *+' conftest.er1
>conftest.err
17792 cat conftest.err
>&5
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); } && {
17795 test -z "$ac_cxx_werror_flag" ||
17796 test ! -s conftest.err
17797 } && test -s conftest.
$ac_objext; then
17798 bakefile_cv_cxx_compiler___xlC__
=yes
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.
$ac_ext >&5
17803 bakefile_cv_cxx_compiler___xlC__
=no
17807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17811 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17812 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17813 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17819 ac_cpp
='$CPP $CPPFLAGS'
17820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17833 ac_cpp
='$CXXCPP $CPPFLAGS'
17834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17838 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17839 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17840 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17841 echo $ECHO_N "(cached) $ECHO_C" >&6
17843 cat >conftest.
$ac_ext <<_ACEOF
17846 cat confdefs.h
>>conftest.
$ac_ext
17847 cat >>conftest.
$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17854 #ifndef _SGI_COMPILER_VERSION
17862 rm -f conftest.
$ac_objext
17863 if { (ac_try
="$ac_compile"
17864 case "(($ac_try" in
17865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17866 *) ac_try_echo=$ac_try;;
17868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17869 (eval "$ac_compile") 2>conftest.er1
17871 grep -v '^ *+' conftest.er1 >conftest.err
17873 cat conftest.err >&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } && {
17876 test -z "$ac_cxx_werror_flag" ||
17877 test ! -s conftest.err
17878 } && test -s conftest.$ac_objext; then
17879 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17884 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17893 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17894 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17900 ac_cpp='$CPP $CPPFLAGS'
17901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17910 if test "$INTELCXX" != "yes"; then
17914 ac_cpp='$CXXCPP $CPPFLAGS'
17915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17919 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17920 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17921 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17922 echo $ECHO_N "(cached) $ECHO_C" >&6
17924 cat >conftest.$ac_ext <<_ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17935 #ifndef __SUNPRO_CC
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17947 *) ac_try_echo
=$ac_try;;
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17952 grep -v '^ *+' conftest.er1
>conftest.err
17954 cat conftest.err
>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_cxx_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.
$ac_objext; then
17960 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.
$ac_ext >&5
17965 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17973 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17974 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17975 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17981 ac_cpp
='$CPP $CPPFLAGS'
17982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17995 ac_cpp
='$CXXCPP $CPPFLAGS'
17996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18000 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18001 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18002 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 cat >conftest.
$ac_ext <<_ACEOF
18008 cat confdefs.h
>>conftest.
$ac_ext
18009 cat >>conftest.
$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18024 rm -f conftest.
$ac_objext
18025 if { (ac_try
="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18028 *) ac_try_echo=$ac_try;;
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18033 grep -v '^ *+' conftest.er1 >conftest.err
18035 cat conftest.err >&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_cxx_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.$ac_objext; then
18041 bakefile_cv_cxx_compiler___HP_aCC=yes
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18046 bakefile_cv_cxx_compiler___HP_aCC=no
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18054 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18055 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18056 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18062 ac_cpp='$CPP $CPPFLAGS'
18063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18075 ac_cpp='$CXXCPP $CPPFLAGS'
18076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18080 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18081 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18082 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 cat >conftest.$ac_ext <<_ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18104 rm -f conftest.$ac_objext
18105 if { (ac_try="$ac_compile"
18106 case "(($ac_try" in
18107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18108 *) ac_try_echo
=$ac_try;;
18110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18111 (eval "$ac_compile") 2>conftest.er1
18113 grep -v '^ *+' conftest.er1
>conftest.err
18115 cat conftest.err
>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } && {
18118 test -z "$ac_cxx_werror_flag" ||
18119 test ! -s conftest.err
18120 } && test -s conftest.
$ac_objext; then
18121 bakefile_cv_cxx_compiler___DECCXX
=yes
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.
$ac_ext >&5
18126 bakefile_cv_cxx_compiler___DECCXX
=no
18130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18134 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18135 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18136 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18142 ac_cpp
='$CPP $CPPFLAGS'
18143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18155 ac_cpp
='$CXXCPP $CPPFLAGS'
18156 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18157 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18158 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18160 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18161 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18162 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 cat >conftest.
$ac_ext <<_ACEOF
18168 cat confdefs.h
>>conftest.
$ac_ext
18169 cat >>conftest.
$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18176 #ifndef __SUNPRO_CC
18184 rm -f conftest.
$ac_objext
18185 if { (ac_try
="$ac_compile"
18186 case "(($ac_try" in
18187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18188 *) ac_try_echo=$ac_try;;
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_compile") 2>conftest.er1
18193 grep -v '^ *+' conftest.er1 >conftest.err
18195 cat conftest.err >&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } && {
18198 test -z "$ac_cxx_werror_flag" ||
18199 test ! -s conftest.err
18200 } && test -s conftest.$ac_objext; then
18201 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18206 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18214 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18215 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18216 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18222 ac_cpp='$CPP $CPPFLAGS'
18223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18235 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18236 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18237 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18238 { (exit 1); exit 1; }; }
18241 if test "x$SUNCXX" != xyes; then
18242 if test -n "$ac_tool_prefix"; then
18243 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18244 set dummy ${ac_tool_prefix}ar; ac_word=$2
18245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18247 if test "${ac_cv_prog_AR+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 if test -n "$AR"; then
18251 ac_cv_prog_AR="$AR" # Let the user override the test.
18253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18254 for as_dir in $PATH
18257 test -z "$as_dir" && as_dir=.
18258 for ac_exec_ext in '' $ac_executable_extensions; do
18259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18260 ac_cv_prog_AR="${ac_tool_prefix}ar"
18261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18271 if test -n "$AR"; then
18272 { echo "$as_me:$LINENO: result: $AR" >&5
18273 echo "${ECHO_T}$AR" >&6; }
18275 { echo "$as_me:$LINENO: result: no" >&5
18276 echo "${ECHO_T}no" >&6; }
18281 if test -z "$ac_cv_prog_AR"; then
18283 # Extract the first word of "ar", so it can be a program name with args.
18284 set dummy ar; ac_word=$2
18285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18287 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18290 if test -n "$ac_ct_AR"; then
18291 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18294 for as_dir in $PATH
18297 test -z "$as_dir" && as_dir=.
18298 for ac_exec_ext in '' $ac_executable_extensions; do
18299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18300 ac_cv_prog_ac_ct_AR="ar"
18301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18310 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18311 if test -n "$ac_ct_AR"; then
18312 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18313 echo "${ECHO_T}$ac_ct_AR" >&6; }
18315 { echo "$as_me:$LINENO: result: no" >&5
18316 echo "${ECHO_T}no" >&6; }
18319 if test "x$ac_ct_AR" = x; then
18322 case $cross_compiling:$ac_tool_warned in
18324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18325 whose name does not start with the host triplet. If you think this
18326 configuration is useful to you, please write to autoconf@gnu.org." >&5
18327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18328 whose name does not start with the host triplet. If you think this
18329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18330 ac_tool_warned=yes ;;
18335 AR="$ac_cv_prog_AR"
18338 if test "x$AR" = "x" ; then
18339 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18340 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18341 { (exit 1); exit 1; }; }
18346 if test "$wxUSE_MAC" = 1; then
18348 retest_macosx_linking=no
18350 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18351 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18352 # Implicitly turn on the new --with-macosx-sdk using the default
18353 # SDK which provides the behavior this option has always had.
18354 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18355 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18356 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18357 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18358 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18359 wxUSE_MACOSX_SDK=yes
18362 # Complain to user if he specified an argument to --enable-universal_binary
18363 # and also 1) specified --with-macosx-sdk using the default (yes) or
18364 # 2) specified --with-macosx-sdk using a path or 3) specified
18365 # --without-macosx-sdk (no).
18366 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18367 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18368 See \`config.log
' for more details." >&5
18369 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18370 See \`config.log' for more details.
" >&2;}
18371 { (exit 1); exit 1; }; }
18373 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18374 # special-case the empty string because the below test simply
18375 # converts "no
" to the empty string anyway.
18376 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18377 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18378 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18381 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18382 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18383 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18384 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18385 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18386 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18387 retest_macosx_linking=yes
18389 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18390 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18394 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18396 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18397 # TODO: Search for most recent SDK and use it.
18398 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18402 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18403 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18404 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18405 if ! test -d "$wxUSE_MACOSX_SDK"; then
18406 { { echo "$as_me:$LINENO: error
: not found
18407 See \
`config.log' for more details." >&5
18408 echo "$as_me: error: not found
18409 See \`config.log
' for more details." >&2;}
18410 { (exit 1); exit 1; }; }
18412 { echo "$as_me:$LINENO: result: exists" >&5
18413 echo "${ECHO_T}exists" >&6; }
18415 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18416 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18417 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18418 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18419 retest_macosx_linking=yes
18422 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18423 wxUSE_MACOSX_VERSION_MIN=
18424 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18425 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18426 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18427 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18429 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/'`
18431 # If that failed, try again with the new key
18432 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18434 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/'`
18438 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18439 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18440 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18441 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18443 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18444 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18445 wxUSE_MACOSX_VERSION_MIN=
18448 wxUSE_MACOSX_VERSION_MIN=
18450 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18451 for ac_prog in sw_vers
18453 # Extract the first word of "$ac_prog", so it can be a program name with args.
18454 set dummy $ac_prog; ac_word=$2
18455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18457 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18460 if test -n "$OSX_SW_VERS"; then
18461 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18464 for as_dir in $PATH
18467 test -z "$as_dir" && as_dir=.
18468 for ac_exec_ext in '' $ac_executable_extensions; do
18469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18470 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18480 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18481 if test -n "$OSX_SW_VERS"; then
18482 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18483 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18485 { echo "$as_me:$LINENO: result: no" >&5
18486 echo "${ECHO_T}no" >&6; }
18490 test -n "$OSX_SW_VERS" && break
18493 if test "$OSX_SW_VERS" != ""; then
18494 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18496 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18497 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18501 case "$OSX_VERSION" in
18503 wxUSE_MACOSX_VERSION_MIN=10.4
18507 if test "$wxUSE_OSX_CARBON" = 1; then
18508 # otherwise configure stops on leopard for universal_binary
18509 wxUSE_MACOSX_VERSION_MIN=10.4
18511 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18512 wxUSE_MACOSX_VERSION_MIN=10.5
18519 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18523 if test "$wxUSE_OSX_CARBON" = 1; then
18527 if test "x$NEEDS_GCC40" == "xyes"; then
18528 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18529 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18530 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18531 if test "x$CC" = "xgcc"; then
18532 CCVERSION=`$CC --version | grep 4.[2-9].`
18533 if test "x$CCVERSION" != "x"; then
18534 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18535 CC="/usr/bin/gcc-4.0"
18539 if test "x$CXX" = "xg++"; then
18540 CCVERSION=`$CXX --version | grep 4.[2-9].`
18541 if test "x$CCVERSION" != "x"; then
18542 CXX="/usr/bin/g++-4.0"
18547 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18548 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18549 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18550 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18551 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18552 retest_macosx_linking=yes
18555 if test "x$retest_macosx_linking" = "xyes"; then
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18559 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18562 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18563 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18564 cat >conftest.$ac_ext <<_ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18579 rm -f conftest.$ac_objext conftest$ac_exeext
18580 if { (ac_try="$ac_link"
18581 case "(($ac_try" in
18582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_link") 2>conftest.er1
18588 grep -v '^
*+' conftest.er1 >conftest.err
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } && {
18593 test -z "$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18595 } && test -s conftest$ac_exeext &&
18596 $as_test_x conftest$ac_exeext; then
18597 { echo "$as_me:$LINENO: result: yes" >&5
18598 echo "${ECHO_T}yes" >&6; }
18600 echo "$as_me: failed program was:" >&5
18601 sed 's
/^
/| /' conftest.$ac_ext >&5
18603 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18604 See \`config.log' for more details.
" >&5
18605 echo "$as_me: error
: no. Try a different SDK
18606 See \
`config.log' for more details." >&2;}
18607 { (exit 1); exit 1; }; }; exit 1
18610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18611 conftest$ac_exeext conftest.$ac_ext
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620 ac_cpp='$CXXCPP $CPPFLAGS'
18621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18625 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18626 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18627 cat >conftest.$ac_ext <<_ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18642 rm -f conftest.$ac_objext conftest$ac_exeext
18643 if { (ac_try="$ac_link"
18644 case "(($ac_try" in
18645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18646 *) ac_try_echo
=$ac_try;;
18648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18649 (eval "$ac_link") 2>conftest.er1
18651 grep -v '^ *+' conftest.er1
>conftest.err
18653 cat conftest.err
>&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); } && {
18656 test -z "$ac_cxx_werror_flag" ||
18657 test ! -s conftest.err
18658 } && test -s conftest
$ac_exeext &&
18659 $as_test_x conftest
$ac_exeext; then
18660 { echo "$as_me:$LINENO: result: yes" >&5
18661 echo "${ECHO_T}yes" >&6; }
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.
$ac_ext >&5
18666 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18667 See \`config.log' for more details." >&5
18668 echo "$as_me: error: no. Try a different SDK
18669 See \`config.log' for more details." >&2;}
18670 { (exit 1); exit 1; }; }; exit 1
18673 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18674 conftest
$ac_exeext conftest.
$ac_ext
18676 ac_cpp
='$CPP $CPPFLAGS'
18677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18687 INSTALL_PROGRAM
="cp -fp"
18688 INSTALL_DATA
="cp -fp"
18695 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18696 CXXFLAGS
="-qunique $CXXFLAGS"
18700 powerpc
-*-darwin* )
18701 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18702 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18703 cat >conftest.
$ac_ext <<_ACEOF
18706 cat confdefs.h
>>conftest.
$ac_ext
18707 cat >>conftest.
$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18713 #ifndef __POWERPC__
18714 choke me for lack of PowerPC
18721 rm -f conftest.
$ac_objext
18722 if { (ac_try
="$ac_compile"
18723 case "(($ac_try" in
18724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18725 *) ac_try_echo=$ac_try;;
18727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18728 (eval "$ac_compile") 2>conftest.er1
18730 grep -v '^ *+' conftest.er1 >conftest.err
18732 cat conftest.err >&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } && {
18735 test -z "$ac_c_werror_flag" ||
18736 test ! -s conftest.err
18737 } && test -s conftest.$ac_objext; then
18738 { echo "$as_me:$LINENO: result: yes" >&5
18739 echo "${ECHO_T}yes" >&6; }
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18744 { echo "$as_me:$LINENO: result: no" >&5
18745 echo "${ECHO_T}no" >&6; }
18746 cat >>confdefs.h <<\_ACEOF
18747 #define __POWERPC__ 1
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18760 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18761 cat >conftest.$ac_ext <<_ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 #include <CoreFoundation/CFBase.h>
18777 rm -f conftest.$ac_objext
18778 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
18786 grep -v '^ *+' conftest.er1
>conftest.err
18788 cat conftest.err
>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); } && {
18791 test -z "$ac_c_werror_flag" ||
18792 test ! -s conftest.err
18793 } && test -s conftest.
$ac_objext; then
18794 { echo "$as_me:$LINENO: result: yes" >&5
18795 echo "${ECHO_T}yes" >&6; }
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.
$ac_ext >&5
18800 { echo "$as_me:$LINENO: result: no" >&5
18801 echo "${ECHO_T}no" >&6; }
18802 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18803 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18804 cat >conftest.
$ac_ext <<_ACEOF
18807 cat confdefs.h
>>conftest.
$ac_ext
18808 cat >>conftest.
$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 #define __CF_USE_FRAMEWORK_INCLUDES__
18811 #include <CoreFoundation/CFBase.h>
18821 rm -f conftest.
$ac_objext
18822 if { (ac_try
="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18825 *) ac_try_echo=$ac_try;;
18827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18830 grep -v '^ *+' conftest.er1 >conftest.err
18832 cat conftest.err >&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.$ac_objext; then
18838 { echo "$as_me:$LINENO: result: yes" >&5
18839 echo "${ECHO_T}yes" >&6; }
18840 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18845 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18846 See \`config.log
' for more details." >&5
18847 echo "$as_me: error: no. CoreFoundation not available.
18848 See \`config.log' for more details.
" >&2;}
18849 { (exit 1); exit 1; }; }
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18863 doesnt_want_win32=0
18866 if test "$wxUSE_MSW" = 1 ; then
18869 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18870 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18871 if test "${wx_cv_nocygwin+set}" = set; then
18872 echo $ECHO_N "(cached
) $ECHO_C" >&6
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18894 rm -f conftest.$ac_objext
18895 if { (ac_try="$ac_compile"
18896 case "(($ac_try" in
18897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18898 *) ac_try_echo=$ac_try;;
18900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18901 (eval "$ac_compile") 2>conftest.er1
18903 grep -v '^ *+' conftest.er1 >conftest.err
18905 cat conftest.err >&5
18906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18907 (exit $ac_status); } && {
18908 test -z "$ac_c_werror_flag" ||
18909 test ! -s conftest.err
18910 } && test -s conftest.$ac_objext; then
18913 echo "$as_me: failed program was
:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18924 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18925 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18927 if test "$wx_cv_nocygwin" = "yes"; then
18930 doesnt_want_win32=1
18933 if test "$wants_win32" = 1 ; then
18934 BAKEFILE_FORCE_PLATFORM=win32
18942 if test "$wxUSE_WINE" = "yes"; then
18944 LDFLAGS_GUI="-mwindows"
18947 if test "$wants_win32" = 1 ; then
18950 cat >>confdefs.h <<\_ACEOF
18951 #define __WIN32__ 1
18954 cat >>confdefs.h <<\_ACEOF
18955 #define __WIN95__ 1
18958 cat >>confdefs.h <<\_ACEOF
18959 #define __WINDOWS__ 1
18962 cat >>confdefs.h <<\_ACEOF
18963 #define __GNUWIN32__ 1
18966 cat >>confdefs.h <<\_ACEOF
18971 if test "$doesnt_want_win32" = 1 ; then
18976 if test "$USE_UNIX" = 1 ; then
18978 cat >>confdefs.h <<\_ACEOF
18985 *-pc-os2_emx | *-pc-os2-emx )
18986 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18987 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18988 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18989 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18990 echo $ECHO_N "(cached
) $ECHO_C" >&6
18992 ac_check_lib_save_LIBS=$LIBS
18993 LIBS="-lcExt $LIBS"
18994 cat >conftest.$ac_ext <<_ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19001 /* Override any GCC internal prototype to avoid an error.
19002 Use char because int might match the return type of a GCC
19003 builtin and then its argument prototype would still apply. */
19016 rm -f conftest.$ac_objext conftest$ac_exeext
19017 if { (ac_try="$ac_link"
19018 case "(($ac_try" in
19019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19020 *) ac_try_echo=$ac_try;;
19022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19023 (eval "$ac_link") 2>conftest.er1
19025 grep -v '^ *+' conftest.er1 >conftest.err
19027 cat conftest.err >&5
19028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19029 (exit $ac_status); } && {
19030 test -z "$ac_c_werror_flag" ||
19031 test ! -s conftest.err
19032 } && test -s conftest$ac_exeext &&
19033 $as_test_x conftest$ac_exeext; then
19034 ac_cv_lib_cExt_drand48=yes
19036 echo "$as_me: failed program was
:" >&5
19037 sed 's/^/| /' conftest.$ac_ext >&5
19039 ac_cv_lib_cExt_drand48=no
19042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19043 conftest$ac_exeext conftest.$ac_ext
19044 LIBS=$ac_check_lib_save_LIBS
19046 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19047 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19048 if test $ac_cv_lib_cExt_drand48 = yes; then
19049 LIBS="$LIBS -lcExt"
19053 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19055 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19056 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19057 if test "${wx_cv_gccversion+set}" = set; then
19058 echo $ECHO_N "(cached
) $ECHO_C" >&6
19061 if test "$cross_compiling" = yes; then
19062 wx_cv_gccversion="EMX2
"
19065 cat >conftest.$ac_ext <<_ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19076 FILE *f=fopen("conftestval
", "w
");
19081 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19083 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19093 rm -f conftest$ac_exeext
19094 if { (ac_try="$ac_link"
19095 case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_link") 2>&5
19102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 wx_cv_gccversion=`cat conftestval`
19115 echo "$as_me: program exited with status
$ac_status" >&5
19116 echo "$as_me: failed program was
:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 ( exit $ac_status )
19120 wx_cv_gccversion="EMX2
"
19122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19128 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19129 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19130 if test "$wx_cv_gccversion" = "EMX2
"; then
19131 LIBS="$LIBS -lstdcpp"
19132 LDFLAGS="$LDFLAGS -Zsysv-signals"
19134 if test "$wx_cv_gccversion" = "EMX3
"; then
19135 LIBS="$LIBS -lstdcxx -lgcc"
19136 LDFLAGS="$LDFLAGS -Zsysv-signals"
19138 LIBS="$LIBS -lstdc++"
19141 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19142 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19143 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19150 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19151 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19152 if test "${ac_cv_string_strcasecmp+set}" = set; then
19153 echo $ECHO_N "(cached
) $ECHO_C" >&6
19156 cat >conftest.$ac_ext <<_ACEOF
19159 cat confdefs.h >>conftest.$ac_ext
19160 cat >>conftest.$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19163 #include <string.h>
19169 strcasecmp("foo
", "bar
");
19175 rm -f conftest.$ac_objext conftest$ac_exeext
19176 if { (ac_try="$ac_link"
19177 case "(($ac_try" in
19178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_link") 2>conftest.er1
19184 grep -v '^ *+' conftest.er1 >conftest.err
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19188 (exit $ac_status); } && {
19189 test -z "$ac_c_werror_flag" ||
19190 test ! -s conftest.err
19191 } && test -s conftest$ac_exeext &&
19192 $as_test_x conftest$ac_exeext; then
19193 ac_cv_string_strcasecmp=yes
19195 echo "$as_me: failed program was
:" >&5
19196 sed 's/^/| /' conftest.$ac_ext >&5
19198 ac_cv_string_strcasecmp=no
19202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19203 conftest$ac_exeext conftest.$ac_ext
19206 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19207 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19209 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19210 cat >>confdefs.h <<\_ACEOF
19211 #define HAVE_STRCASECMP_IN_STRING_H 1
19215 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19216 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19217 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19218 echo $ECHO_N "(cached
) $ECHO_C" >&6
19221 cat >conftest.$ac_ext <<_ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19228 #include <strings.h>
19234 strcasecmp("foo
", "bar
");
19240 rm -f conftest.$ac_objext conftest$ac_exeext
19241 if { (ac_try="$ac_link"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_link") 2>conftest.er1
19249 grep -v '^ *+' conftest.er1 >conftest.err
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest$ac_exeext &&
19257 $as_test_x conftest$ac_exeext; then
19258 ac_cv_strings_strcasecmp=yes
19260 echo "$as_me: failed program was
:" >&5
19261 sed 's/^/| /' conftest.$ac_ext >&5
19263 ac_cv_strings_strcasecmp=no
19267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19268 conftest$ac_exeext conftest.$ac_ext
19271 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19272 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19274 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19275 cat >>confdefs.h <<\_ACEOF
19276 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19280 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19281 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19282 { (exit 1); exit 1; }; }
19290 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19291 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19292 if test "${ac_cv_header_stdc+set}" = set; then
19293 echo $ECHO_N "(cached
) $ECHO_C" >&6
19295 cat >conftest.$ac_ext <<_ACEOF
19298 cat confdefs.h >>conftest.$ac_ext
19299 cat >>conftest.$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19301 #include <stdlib.h>
19302 #include <stdarg.h>
19303 #include <string.h>
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19323 grep -v '^ *+' conftest.er1 >conftest.err
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 ac_cv_header_stdc=yes
19333 echo "$as_me: failed program was
:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_cv_header_stdc=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19341 if test $ac_cv_header_stdc = yes; then
19342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19343 cat >conftest.$ac_ext <<_ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <string.h>
19352 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19353 $EGREP "memchr
" >/dev/null 2>&1; then
19356 ac_cv_header_stdc=no
19362 if test $ac_cv_header_stdc = yes; then
19363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19364 cat >conftest.$ac_ext <<_ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 #include <stdlib.h>
19373 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19374 $EGREP "free
" >/dev/null 2>&1; then
19377 ac_cv_header_stdc=no
19383 if test $ac_cv_header_stdc = yes; then
19384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19385 if test "$cross_compiling" = yes; then
19388 cat >conftest.$ac_ext <<_ACEOF
19391 cat confdefs.h >>conftest.$ac_ext
19392 cat >>conftest.$ac_ext <<_ACEOF
19393 /* end confdefs.h. */
19395 #include <stdlib.h>
19396 #if ((' ' & 0x0FF) == 0x020)
19397 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19398 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19400 # define ISLOWER(c) \
19401 (('a' <= (c) && (c) <= 'i') \
19402 || ('j' <= (c) && (c) <= 'r') \
19403 || ('s' <= (c) && (c) <= 'z'))
19404 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19407 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19412 for (i = 0; i < 256; i++)
19413 if (XOR (islower (i), ISLOWER (i))
19414 || toupper (i) != TOUPPER (i))
19419 rm -f conftest$ac_exeext
19420 if { (ac_try="$ac_link"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_link") 2>&5
19428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19430 { (case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_try") 2>&5
19437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19438 (exit $ac_status); }; }; then
19441 echo "$as_me: program exited with status
$ac_status" >&5
19442 echo "$as_me: failed program was
:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19445 ( exit $ac_status )
19446 ac_cv_header_stdc=no
19448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19455 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19456 if test $ac_cv_header_stdc = yes; then
19458 cat >>confdefs.h <<\_ACEOF
19459 #define STDC_HEADERS 1
19464 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19474 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19475 inttypes.h stdint.h unistd.h
19477 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19478 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19479 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19480 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19481 echo $ECHO_N "(cached
) $ECHO_C" >&6
19483 cat >conftest.$ac_ext <<_ACEOF
19486 cat confdefs.h >>conftest.$ac_ext
19487 cat >>conftest.$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 $ac_includes_default
19491 #include <$ac_header>
19493 rm -f conftest.$ac_objext
19494 if { (ac_try="$ac_compile"
19495 case "(($ac_try" in
19496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19497 *) ac_try_echo=$ac_try;;
19499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19500 (eval "$ac_compile") 2>conftest.er1
19502 grep -v '^ *+' conftest.er1 >conftest.err
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19506 (exit $ac_status); } && {
19507 test -z "$ac_c_werror_flag" ||
19508 test ! -s conftest.err
19509 } && test -s conftest.$ac_objext; then
19510 eval "$as_ac_Header=yes"
19512 echo "$as_me: failed program was
:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19515 eval "$as_ac_Header=no
"
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520 ac_res=`eval echo '${'$as_ac_Header'}'`
19521 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19522 echo "${ECHO_T}$ac_res" >&6; }
19523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19524 cat >>confdefs.h <<_ACEOF
19525 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19535 for ac_header in langinfo.h wchar.h
19537 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19538 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19539 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19540 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19541 echo $ECHO_N "(cached
) $ECHO_C" >&6
19543 cat >conftest.$ac_ext <<_ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 $ac_includes_default
19551 #include <$ac_header>
19553 rm -f conftest.$ac_objext
19554 if { (ac_try="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19562 grep -v '^ *+' conftest.er1 >conftest.err
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 eval "$as_ac_Header=yes"
19572 echo "$as_me: failed program was
:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19575 eval "$as_ac_Header=no
"
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 ac_res=`eval echo '${'$as_ac_Header'}'`
19581 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19582 echo "${ECHO_T}$ac_res" >&6; }
19583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19584 cat >>confdefs.h <<_ACEOF
19585 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19593 if test "$ac_cv_header_wchar_h" != "yes"; then
19595 for ac_header in wcstr.h
19597 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19598 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19599 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19600 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19601 echo $ECHO_N "(cached
) $ECHO_C" >&6
19603 cat >conftest.$ac_ext <<_ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19611 #include <$ac_header>
19613 rm -f conftest.$ac_objext
19614 if { (ac_try="$ac_compile"
19615 case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_compile") 2>conftest.er1
19622 grep -v '^ *+' conftest.er1 >conftest.err
19624 cat conftest.err >&5
19625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19626 (exit $ac_status); } && {
19627 test -z "$ac_c_werror_flag" ||
19628 test ! -s conftest.err
19629 } && test -s conftest.$ac_objext; then
19630 eval "$as_ac_Header=yes"
19632 echo "$as_me: failed program was
:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19635 eval "$as_ac_Header=no
"
19638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19640 ac_res=`eval echo '${'$as_ac_Header'}'`
19641 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19642 echo "${ECHO_T}$ac_res" >&6; }
19643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19644 cat >>confdefs.h <<_ACEOF
19645 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19655 *-pc-os2_emx | *-pc-os2-emx )
19656 if test $ac_cv_header_langinfo_h = "yes" \
19657 -a \( "$wx_cv_gccversion" = "EMX2
" \
19658 -o "$wx_cv_gccversion" = "EMX3
" \
19659 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19660 LIBS="$LIBS -lintl"
19665 if test "$USE_UNIX" = 1 ; then
19667 for ac_header in sys/select.h
19669 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19670 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19671 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19672 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19673 echo $ECHO_N "(cached
) $ECHO_C" >&6
19675 cat >conftest.$ac_ext <<_ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19683 #include <$ac_header>
19685 rm -f conftest.$ac_objext
19686 if { (ac_try="$ac_compile"
19687 case "(($ac_try" in
19688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19689 *) ac_try_echo=$ac_try;;
19691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19692 (eval "$ac_compile") 2>conftest.er1
19694 grep -v '^ *+' conftest.er1 >conftest.err
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19698 (exit $ac_status); } && {
19699 test -z "$ac_c_werror_flag" ||
19700 test ! -s conftest.err
19701 } && test -s conftest.$ac_objext; then
19702 eval "$as_ac_Header=yes"
19704 echo "$as_me: failed program was
:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 eval "$as_ac_Header=no
"
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19712 ac_res=`eval echo '${'$as_ac_Header'}'`
19713 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19714 echo "${ECHO_T}$ac_res" >&6; }
19715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19716 cat >>confdefs.h <<_ACEOF
19717 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19727 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19728 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19729 if test "${ac_cv_c_const+set}" = set; then
19730 echo $ECHO_N "(cached
) $ECHO_C" >&6
19732 cat >conftest.$ac_ext <<_ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19742 /* FIXME: Include the comments suggested by Paul. */
19743 #ifndef __cplusplus
19744 /* Ultrix mips cc rejects this. */
19745 typedef int charset[2];
19747 /* SunOS 4.1.1 cc rejects this. */
19748 char const *const *pcpcc;
19750 /* NEC SVR4.0.2 mips cc rejects this. */
19751 struct point {int x, y;};
19752 static struct point const zero = {0,0};
19753 /* AIX XL C 1.02.0.0 rejects this.
19754 It does not let you subtract one const X* pointer from another in
19755 an arm of an if-expression whose if-part is not a constant
19757 const char *g = "string
";
19758 pcpcc = &g + (g ? g-g : 0);
19759 /* HPUX 7.0 cc rejects these. */
19761 ppc = (char**) pcpcc;
19762 pcpcc = (char const *const *) ppc;
19763 { /* SCO 3.2v4 cc rejects this. */
19765 char const *s = 0 ? (char *) 0 : (char const *) 0;
19770 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19771 int x[] = {25, 17};
19772 const int *foo = &x[0];
19775 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19776 typedef const int *iptr;
19780 { /* AIX XL C 1.02.0.0 rejects this saying
19781 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19782 struct s { int j; const int *ap[3]; };
19783 struct s *b; b->j = 5;
19785 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19786 const int foo = 10;
19787 if (!foo) return 0;
19789 return !cs[0] && !zero.x;
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19805 grep -v '^ *+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19815 echo "$as_me: failed program was
:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19824 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19825 if test $ac_cv_c_const = no; then
19827 cat >>confdefs.h <<\_ACEOF
19833 { echo "$as_me:$LINENO: checking
for inline
" >&5
19834 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19835 if test "${ac_cv_c_inline+set}" = set; then
19836 echo $ECHO_N "(cached
) $ECHO_C" >&6
19839 for ac_kw in inline __inline__ __inline; do
19840 cat >conftest.$ac_ext <<_ACEOF
19843 cat confdefs.h >>conftest.$ac_ext
19844 cat >>conftest.$ac_ext <<_ACEOF
19845 /* end confdefs.h. */
19846 #ifndef __cplusplus
19848 static $ac_kw foo_t static_foo () {return 0; }
19849 $ac_kw foo_t foo () {return 0; }
19853 rm -f conftest.$ac_objext
19854 if { (ac_try="$ac_compile"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_compile") 2>conftest.er1
19862 grep -v '^ *+' conftest.er1 >conftest.err
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest.$ac_objext; then
19870 ac_cv_c_inline=$ac_kw
19872 echo "$as_me: failed program was
:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 test "$ac_cv_c_inline" != no && break
19883 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19884 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19887 case $ac_cv_c_inline in
19890 case $ac_cv_c_inline in
19892 *) ac_val=$ac_cv_c_inline;;
19894 cat >>confdefs.h <<_ACEOF
19895 #ifndef __cplusplus
19896 #define inline $ac_val
19903 { echo "$as_me:$LINENO: checking
for short
" >&5
19904 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19905 if test "${ac_cv_type_short+set}" = set; then
19906 echo $ECHO_N "(cached
) $ECHO_C" >&6
19908 cat >conftest.$ac_ext <<_ACEOF
19911 cat confdefs.h >>conftest.$ac_ext
19912 cat >>conftest.$ac_ext <<_ACEOF
19913 /* end confdefs.h. */
19914 $ac_includes_default
19915 typedef short ac__type_new_;
19919 if ((ac__type_new_ *) 0)
19921 if (sizeof (ac__type_new_))
19927 rm -f conftest.$ac_objext
19928 if { (ac_try="$ac_compile"
19929 case "(($ac_try" in
19930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19931 *) ac_try_echo=$ac_try;;
19933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19934 (eval "$ac_compile") 2>conftest.er1
19936 grep -v '^ *+' conftest.er1 >conftest.err
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19940 (exit $ac_status); } && {
19941 test -z "$ac_c_werror_flag" ||
19942 test ! -s conftest.err
19943 } && test -s conftest.$ac_objext; then
19944 ac_cv_type_short=yes
19946 echo "$as_me: failed program was
:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19949 ac_cv_type_short=no
19952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19954 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19955 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19957 # The cast to long int works around a bug in the HP C Compiler
19958 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19959 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19960 # This bug is HP SR number 8606223364.
19961 { echo "$as_me:$LINENO: checking size of short
" >&5
19962 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19963 if test "${ac_cv_sizeof_short+set}" = set; then
19964 echo $ECHO_N "(cached
) $ECHO_C" >&6
19966 if test "$cross_compiling" = yes; then
19967 # Depending upon the size, compute the lo and hi bounds.
19968 cat >conftest.$ac_ext <<_ACEOF
19971 cat confdefs.h >>conftest.$ac_ext
19972 cat >>conftest.$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 $ac_includes_default
19975 typedef short ac__type_sizeof_;
19979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19995 grep -v '^ *+' conftest.er1 >conftest.err
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19999 (exit $ac_status); } && {
20000 test -z "$ac_c_werror_flag" ||
20001 test ! -s conftest.err
20002 } && test -s conftest.$ac_objext; then
20005 cat >conftest.$ac_ext <<_ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 $ac_includes_default
20012 typedef short ac__type_sizeof_;
20016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20032 grep -v '^ *+' conftest.er1 >conftest.err
20034 cat conftest.err >&5
20035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_c_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.$ac_objext; then
20040 ac_hi=$ac_mid; break
20042 echo "$as_me: failed program was
:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 ac_lo=`expr $ac_mid + 1`
20046 if test $ac_lo -le $ac_mid; then
20050 ac_mid=`expr 2 '*' $ac_mid + 1`
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 echo "$as_me: failed program was
:" >&5
20057 sed 's/^/| /' conftest.$ac_ext >&5
20059 cat >conftest.$ac_ext <<_ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20065 $ac_includes_default
20066 typedef short ac__type_sizeof_;
20070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20077 rm -f conftest.$ac_objext
20078 if { (ac_try="$ac_compile"
20079 case "(($ac_try" in
20080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20081 *) ac_try_echo=$ac_try;;
20083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20084 (eval "$ac_compile") 2>conftest.er1
20086 grep -v '^ *+' conftest.er1 >conftest.err
20088 cat conftest.err >&5
20089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20090 (exit $ac_status); } && {
20091 test -z "$ac_c_werror_flag" ||
20092 test ! -s conftest.err
20093 } && test -s conftest.$ac_objext; then
20096 cat >conftest.$ac_ext <<_ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 typedef short ac__type_sizeof_;
20107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20114 rm -f conftest.$ac_objext
20115 if { (ac_try="$ac_compile"
20116 case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20120 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_compile") 2>conftest.er1
20123 grep -v '^ *+' conftest.er1 >conftest.err
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20127 (exit $ac_status); } && {
20128 test -z "$ac_c_werror_flag" ||
20129 test ! -s conftest.err
20130 } && test -s conftest.$ac_objext; then
20131 ac_lo=$ac_mid; break
20133 echo "$as_me: failed program was
:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20136 ac_hi=`expr '(' $ac_mid ')' - 1`
20137 if test $ac_mid -le $ac_hi; then
20141 ac_mid=`expr 2 '*' $ac_mid`
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20147 echo "$as_me: failed program was
:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 # Binary search between lo and hi bounds.
20158 while test "x
$ac_lo" != "x
$ac_hi"; do
20159 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20160 cat >conftest.$ac_ext <<_ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20167 typedef short ac__type_sizeof_;
20171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20187 grep -v '^ *+' conftest.er1 >conftest.err
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20197 echo "$as_me: failed program was
:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20200 ac_lo=`expr '(' $ac_mid ')' + 1`
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 ?*) ac_cv_sizeof_short=$ac_lo;;
20207 '') if test "$ac_cv_type_short" = yes; then
20208 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20209 See \
`config.log' for more details." >&5
20210 echo "$as_me: error: cannot compute sizeof (short)
20211 See \`config.log
' for more details." >&2;}
20212 { (exit 77); exit 77; }; }
20214 ac_cv_sizeof_short=0
20218 cat >conftest.$ac_ext <<_ACEOF
20221 cat confdefs.h >>conftest.$ac_ext
20222 cat >>conftest.$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20224 $ac_includes_default
20225 typedef short ac__type_sizeof_;
20226 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20227 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20229 #include <stdlib.h>
20234 FILE *f = fopen ("conftest.val", "w");
20237 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20239 long int i = longval ();
20240 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20242 fprintf (f, "%ld\n", i);
20246 unsigned long int i = ulongval ();
20247 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20249 fprintf (f, "%lu\n", i);
20251 return ferror (f) || fclose (f) != 0;
20257 rm -f conftest$ac_exeext
20258 if { (ac_try="$ac_link"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_link") 2>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20268 { (case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_try") 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; }; then
20277 ac_cv_sizeof_short=`cat conftest.val`
20279 echo "$as_me: program exited with status $ac_status" >&5
20280 echo "$as_me: failed program was:" >&5
20281 sed 's
/^
/| /' conftest.$ac_ext >&5
20283 ( exit $ac_status )
20284 if test "$ac_cv_type_short" = yes; then
20285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20286 See \`config.log' for more details.
" >&5
20287 echo "$as_me: error
: cannot compute sizeof
(short
)
20288 See \
`config.log' for more details." >&2;}
20289 { (exit 77); exit 77; }; }
20291 ac_cv_sizeof_short=0
20294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20298 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20299 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20303 cat >>confdefs.h <<_ACEOF
20304 #define SIZEOF_SHORT $ac_cv_sizeof_short
20308 { echo "$as_me:$LINENO: checking for void *" >&5
20309 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20310 if test "${ac_cv_type_void_p+set}" = set; then
20311 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 cat >conftest.$ac_ext <<_ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 $ac_includes_default
20320 typedef void * ac__type_new_;
20324 if ((ac__type_new_ *) 0)
20326 if (sizeof (ac__type_new_))
20332 rm -f conftest.$ac_objext
20333 if { (ac_try="$ac_compile"
20334 case "(($ac_try" in
20335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20336 *) ac_try_echo
=$ac_try;;
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_compile") 2>conftest.er1
20341 grep -v '^ *+' conftest.er1
>conftest.err
20343 cat conftest.err
>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && {
20346 test -z "$ac_c_werror_flag" ||
20347 test ! -s conftest.err
20348 } && test -s conftest.
$ac_objext; then
20349 ac_cv_type_void_p
=yes
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.
$ac_ext >&5
20354 ac_cv_type_void_p
=no
20357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20359 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20360 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20362 # The cast to long int works around a bug in the HP C Compiler
20363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20365 # This bug is HP SR number 8606223364.
20366 { echo "$as_me:$LINENO: checking size of void *" >&5
20367 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20368 if test "${ac_cv_sizeof_void_p+set}" = set; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 if test "$cross_compiling" = yes; then
20372 # Depending upon the size, compute the lo and hi bounds.
20373 cat >conftest.
$ac_ext <<_ACEOF
20376 cat confdefs.h
>>conftest.
$ac_ext
20377 cat >>conftest.
$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20379 $ac_includes_default
20380 typedef void * ac__type_sizeof_;
20384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20391 rm -f conftest.
$ac_objext
20392 if { (ac_try
="$ac_compile"
20393 case "(($ac_try" in
20394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20395 *) ac_try_echo=$ac_try;;
20397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20398 (eval "$ac_compile") 2>conftest.er1
20400 grep -v '^ *+' conftest.er1 >conftest.err
20402 cat conftest.err >&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } && {
20405 test -z "$ac_c_werror_flag" ||
20406 test ! -s conftest.err
20407 } && test -s conftest.$ac_objext; then
20410 cat >conftest.$ac_ext <<_ACEOF
20413 cat confdefs.h >>conftest.$ac_ext
20414 cat >>conftest.$ac_ext <<_ACEOF
20415 /* end confdefs.h. */
20416 $ac_includes_default
20417 typedef void * ac__type_sizeof_;
20421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20428 rm -f conftest.$ac_objext
20429 if { (ac_try="$ac_compile"
20430 case "(($ac_try" in
20431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20432 *) ac_try_echo
=$ac_try;;
20434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20435 (eval "$ac_compile") 2>conftest.er1
20437 grep -v '^ *+' conftest.er1
>conftest.err
20439 cat conftest.err
>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } && {
20442 test -z "$ac_c_werror_flag" ||
20443 test ! -s conftest.err
20444 } && test -s conftest.
$ac_objext; then
20445 ac_hi
=$ac_mid; break
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20450 ac_lo
=`expr $ac_mid + 1`
20451 if test $ac_lo -le $ac_mid; then
20455 ac_mid
=`expr 2 '*' $ac_mid + 1`
20458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.
$ac_ext >&5
20464 cat >conftest.
$ac_ext <<_ACEOF
20467 cat confdefs.h
>>conftest.
$ac_ext
20468 cat >>conftest.
$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 $ac_includes_default
20471 typedef void * ac__type_sizeof_;
20475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20482 rm -f conftest.
$ac_objext
20483 if { (ac_try
="$ac_compile"
20484 case "(($ac_try" in
20485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20486 *) ac_try_echo=$ac_try;;
20488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20489 (eval "$ac_compile") 2>conftest.er1
20491 grep -v '^ *+' conftest.er1 >conftest.err
20493 cat conftest.err >&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } && {
20496 test -z "$ac_c_werror_flag" ||
20497 test ! -s conftest.err
20498 } && test -s conftest.$ac_objext; then
20501 cat >conftest.$ac_ext <<_ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 typedef void * ac__type_sizeof_;
20512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20519 rm -f conftest.$ac_objext
20520 if { (ac_try="$ac_compile"
20521 case "(($ac_try" in
20522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20523 *) ac_try_echo
=$ac_try;;
20525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20526 (eval "$ac_compile") 2>conftest.er1
20528 grep -v '^ *+' conftest.er1
>conftest.err
20530 cat conftest.err
>&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); } && {
20533 test -z "$ac_c_werror_flag" ||
20534 test ! -s conftest.err
20535 } && test -s conftest.
$ac_objext; then
20536 ac_lo
=$ac_mid; break
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.
$ac_ext >&5
20541 ac_hi
=`expr '(' $ac_mid ')' - 1`
20542 if test $ac_mid -le $ac_hi; then
20546 ac_mid
=`expr 2 '*' $ac_mid`
20549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.
$ac_ext >&5
20558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20562 # Binary search between lo and hi bounds.
20563 while test "x$ac_lo" != "x$ac_hi"; do
20564 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20565 cat >conftest.
$ac_ext <<_ACEOF
20568 cat confdefs.h
>>conftest.
$ac_ext
20569 cat >>conftest.
$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 $ac_includes_default
20572 typedef void * ac__type_sizeof_;
20576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20583 rm -f conftest.
$ac_objext
20584 if { (ac_try
="$ac_compile"
20585 case "(($ac_try" in
20586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_compile") 2>conftest.er1
20592 grep -v '^ *+' conftest.er1 >conftest.err
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && {
20597 test -z "$ac_c_werror_flag" ||
20598 test ! -s conftest.err
20599 } && test -s conftest.$ac_objext; then
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20605 ac_lo=`expr '(' $ac_mid ')' + 1`
20608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20611 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20612 '') if test "$ac_cv_type_void_p" = yes; then
20613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20614 See \`config.log
' for more details." >&5
20615 echo "$as_me: error: cannot compute sizeof (void *)
20616 See \`config.log' for more details.
" >&2;}
20617 { (exit 77); exit 77; }; }
20619 ac_cv_sizeof_void_p=0
20623 cat >conftest.$ac_ext <<_ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 typedef void * ac__type_sizeof_;
20631 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20632 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20634 #include <stdlib.h>
20639 FILE *f = fopen ("conftest.val
", "w
");
20642 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20644 long int i = longval ();
20645 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20647 fprintf (f, "%ld
\n", i);
20651 unsigned long int i = ulongval ();
20652 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20654 fprintf (f, "%lu
\n", i);
20656 return ferror (f) || fclose (f) != 0;
20662 rm -f conftest$ac_exeext
20663 if { (ac_try="$ac_link"
20664 case "(($ac_try" in
20665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_link") 2>&5
20671 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20673 { (case "(($ac_try" in
20674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20675 *) ac_try_echo=$ac_try;;
20677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20678 (eval "$ac_try") 2>&5
20680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20681 (exit $ac_status); }; }; then
20682 ac_cv_sizeof_void_p=`cat conftest.val`
20684 echo "$as_me: program exited with status
$ac_status" >&5
20685 echo "$as_me: failed program was
:" >&5
20686 sed 's/^/| /' conftest.$ac_ext >&5
20688 ( exit $ac_status )
20689 if test "$ac_cv_type_void_p" = yes; then
20690 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20691 See \
`config.log' for more details." >&5
20692 echo "$as_me: error: cannot compute sizeof (void *)
20693 See \`config.log
' for more details." >&2;}
20694 { (exit 77); exit 77; }; }
20696 ac_cv_sizeof_void_p=0
20699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20703 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20704 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20708 cat >>confdefs.h <<_ACEOF
20709 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20713 { echo "$as_me:$LINENO: checking for int" >&5
20714 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20715 if test "${ac_cv_type_int+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 cat >conftest.$ac_ext <<_ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20724 $ac_includes_default
20725 typedef int ac__type_new_;
20729 if ((ac__type_new_ *) 0)
20731 if (sizeof (ac__type_new_))
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20746 grep -v '^
*+' conftest.er1 >conftest.err
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20756 echo "$as_me: failed program was:" >&5
20757 sed 's
/^
/| /' conftest.$ac_ext >&5
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20765 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20767 # The cast to long int works around a bug in the HP C Compiler
20768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20770 # This bug is HP SR number 8606223364.
20771 { echo "$as_me:$LINENO: checking size of int" >&5
20772 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20773 if test "${ac_cv_sizeof_int+set}" = set; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20776 if test "$cross_compiling" = yes; then
20777 # Depending upon the size, compute the lo and hi bounds.
20778 cat >conftest.
$ac_ext <<_ACEOF
20781 cat confdefs.h
>>conftest.
$ac_ext
20782 cat >>conftest.
$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784 $ac_includes_default
20785 typedef int ac__type_sizeof_;
20789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20796 rm -f conftest.
$ac_objext
20797 if { (ac_try
="$ac_compile"
20798 case "(($ac_try" in
20799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20800 *) ac_try_echo=$ac_try;;
20802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20803 (eval "$ac_compile") 2>conftest.er1
20805 grep -v '^ *+' conftest.er1 >conftest.err
20807 cat conftest.err >&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); } && {
20810 test -z "$ac_c_werror_flag" ||
20811 test ! -s conftest.err
20812 } && test -s conftest.$ac_objext; then
20815 cat >conftest.$ac_ext <<_ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20822 typedef int ac__type_sizeof_;
20826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20833 rm -f conftest.$ac_objext
20834 if { (ac_try="$ac_compile"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20837 *) ac_try_echo
=$ac_try;;
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_compile") 2>conftest.er1
20842 grep -v '^ *+' conftest.er1
>conftest.err
20844 cat conftest.err
>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } && {
20847 test -z "$ac_c_werror_flag" ||
20848 test ! -s conftest.err
20849 } && test -s conftest.
$ac_objext; then
20850 ac_hi
=$ac_mid; break
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.
$ac_ext >&5
20855 ac_lo
=`expr $ac_mid + 1`
20856 if test $ac_lo -le $ac_mid; then
20860 ac_mid
=`expr 2 '*' $ac_mid + 1`
20863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.
$ac_ext >&5
20869 cat >conftest.
$ac_ext <<_ACEOF
20872 cat confdefs.h
>>conftest.
$ac_ext
20873 cat >>conftest.
$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875 $ac_includes_default
20876 typedef int ac__type_sizeof_;
20880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20887 rm -f conftest.
$ac_objext
20888 if { (ac_try
="$ac_compile"
20889 case "(($ac_try" in
20890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20891 *) ac_try_echo=$ac_try;;
20893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20894 (eval "$ac_compile") 2>conftest.er1
20896 grep -v '^ *+' conftest.er1 >conftest.err
20898 cat conftest.err >&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && {
20901 test -z "$ac_c_werror_flag" ||
20902 test ! -s conftest.err
20903 } && test -s conftest.$ac_objext; then
20906 cat >conftest.$ac_ext <<_ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 $ac_includes_default
20913 typedef int ac__type_sizeof_;
20917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20924 rm -f conftest.$ac_objext
20925 if { (ac_try="$ac_compile"
20926 case "(($ac_try" in
20927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20928 *) ac_try_echo
=$ac_try;;
20930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20931 (eval "$ac_compile") 2>conftest.er1
20933 grep -v '^ *+' conftest.er1
>conftest.err
20935 cat conftest.err
>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } && {
20938 test -z "$ac_c_werror_flag" ||
20939 test ! -s conftest.err
20940 } && test -s conftest.
$ac_objext; then
20941 ac_lo
=$ac_mid; break
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.
$ac_ext >&5
20946 ac_hi
=`expr '(' $ac_mid ')' - 1`
20947 if test $ac_mid -le $ac_hi; then
20951 ac_mid
=`expr 2 '*' $ac_mid`
20954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.
$ac_ext >&5
20963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20967 # Binary search between lo and hi bounds.
20968 while test "x$ac_lo" != "x$ac_hi"; do
20969 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20970 cat >conftest.
$ac_ext <<_ACEOF
20973 cat confdefs.h
>>conftest.
$ac_ext
20974 cat >>conftest.
$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 typedef int ac__type_sizeof_;
20981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20988 rm -f conftest.
$ac_objext
20989 if { (ac_try
="$ac_compile"
20990 case "(($ac_try" in
20991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20992 *) ac_try_echo=$ac_try;;
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_compile") 2>conftest.er1
20997 grep -v '^ *+' conftest.er1 >conftest.err
20999 cat conftest.err >&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } && {
21002 test -z "$ac_c_werror_flag" ||
21003 test ! -s conftest.err
21004 } && test -s conftest.$ac_objext; then
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.$ac_ext >&5
21010 ac_lo=`expr '(' $ac_mid ')' + 1`
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21016 ?*) ac_cv_sizeof_int=$ac_lo;;
21017 '') if test "$ac_cv_type_int" = yes; then
21018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21019 See \`config.log
' for more details." >&5
21020 echo "$as_me: error: cannot compute sizeof (int)
21021 See \`config.log' for more details.
" >&2;}
21022 { (exit 77); exit 77; }; }
21028 cat >conftest.$ac_ext <<_ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 $ac_includes_default
21035 typedef int ac__type_sizeof_;
21036 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21037 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21039 #include <stdlib.h>
21044 FILE *f = fopen ("conftest.val
", "w
");
21047 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21049 long int i = longval ();
21050 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21052 fprintf (f, "%ld
\n", i);
21056 unsigned long int i = ulongval ();
21057 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21059 fprintf (f, "%lu
\n", i);
21061 return ferror (f) || fclose (f) != 0;
21067 rm -f conftest$ac_exeext
21068 if { (ac_try="$ac_link"
21069 case "(($ac_try" in
21070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_link") 2>&5
21076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21078 { (case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080 *) ac_try_echo=$ac_try;;
21082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_try") 2>&5
21085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21086 (exit $ac_status); }; }; then
21087 ac_cv_sizeof_int=`cat conftest.val`
21089 echo "$as_me: program exited with status
$ac_status" >&5
21090 echo "$as_me: failed program was
:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21093 ( exit $ac_status )
21094 if test "$ac_cv_type_int" = yes; then
21095 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21096 See \
`config.log' for more details." >&5
21097 echo "$as_me: error: cannot compute sizeof (int)
21098 See \`config.log
' for more details." >&2;}
21099 { (exit 77); exit 77; }; }
21104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21108 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21109 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21113 cat >>confdefs.h <<_ACEOF
21114 #define SIZEOF_INT $ac_cv_sizeof_int
21118 { echo "$as_me:$LINENO: checking for long" >&5
21119 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21120 if test "${ac_cv_type_long+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 cat >conftest.$ac_ext <<_ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 $ac_includes_default
21130 typedef long ac__type_new_;
21134 if ((ac__type_new_ *) 0)
21136 if (sizeof (ac__type_new_))
21142 rm -f conftest.$ac_objext
21143 if { (ac_try="$ac_compile"
21144 case "(($ac_try" in
21145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21146 *) ac_try_echo=$ac_try;;
21148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21149 (eval "$ac_compile") 2>conftest.er1
21151 grep -v '^
*+' conftest.er1 >conftest.err
21153 cat conftest.err >&5
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); } && {
21156 test -z "$ac_c_werror_flag" ||
21157 test ! -s conftest.err
21158 } && test -s conftest.$ac_objext; then
21159 ac_cv_type_long=yes
21161 echo "$as_me: failed program was:" >&5
21162 sed 's
/^
/| /' conftest.$ac_ext >&5
21167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21169 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21170 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21172 # The cast to long int works around a bug in the HP C Compiler
21173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21175 # This bug is HP SR number 8606223364.
21176 { echo "$as_me:$LINENO: checking size of long" >&5
21177 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21178 if test "${ac_cv_sizeof_long+set}" = set; then
21179 echo $ECHO_N "(cached) $ECHO_C" >&6
21181 if test "$cross_compiling" = yes; then
21182 # Depending upon the size, compute the lo and hi bounds.
21183 cat >conftest.
$ac_ext <<_ACEOF
21186 cat confdefs.h
>>conftest.
$ac_ext
21187 cat >>conftest.
$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21189 $ac_includes_default
21190 typedef long ac__type_sizeof_;
21194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21201 rm -f conftest.
$ac_objext
21202 if { (ac_try
="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
21210 grep -v '^ *+' conftest.er1 >conftest.err
21212 cat conftest.err >&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.$ac_objext; then
21220 cat >conftest.$ac_ext <<_ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 $ac_includes_default
21227 typedef long ac__type_sizeof_;
21231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21238 rm -f conftest.$ac_objext
21239 if { (ac_try="$ac_compile"
21240 case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21242 *) ac_try_echo
=$ac_try;;
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_compile") 2>conftest.er1
21247 grep -v '^ *+' conftest.er1
>conftest.err
21249 cat conftest.err
>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest.
$ac_objext; then
21255 ac_hi
=$ac_mid; break
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21260 ac_lo
=`expr $ac_mid + 1`
21261 if test $ac_lo -le $ac_mid; then
21265 ac_mid
=`expr 2 '*' $ac_mid + 1`
21268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.
$ac_ext >&5
21274 cat >conftest.
$ac_ext <<_ACEOF
21277 cat confdefs.h
>>conftest.
$ac_ext
21278 cat >>conftest.
$ac_ext <<_ACEOF
21279 /* end confdefs.h. */
21280 $ac_includes_default
21281 typedef long ac__type_sizeof_;
21285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21292 rm -f conftest.
$ac_objext
21293 if { (ac_try
="$ac_compile"
21294 case "(($ac_try" in
21295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21296 *) ac_try_echo=$ac_try;;
21298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21299 (eval "$ac_compile") 2>conftest.er1
21301 grep -v '^ *+' conftest.er1 >conftest.err
21303 cat conftest.err >&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } && {
21306 test -z "$ac_c_werror_flag" ||
21307 test ! -s conftest.err
21308 } && test -s conftest.$ac_objext; then
21311 cat >conftest.$ac_ext <<_ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 $ac_includes_default
21318 typedef long ac__type_sizeof_;
21322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21329 rm -f conftest.$ac_objext
21330 if { (ac_try="$ac_compile"
21331 case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21333 *) ac_try_echo
=$ac_try;;
21335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_compile") 2>conftest.er1
21338 grep -v '^ *+' conftest.er1
>conftest.err
21340 cat conftest.err
>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } && {
21343 test -z "$ac_c_werror_flag" ||
21344 test ! -s conftest.err
21345 } && test -s conftest.
$ac_objext; then
21346 ac_lo
=$ac_mid; break
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.
$ac_ext >&5
21351 ac_hi
=`expr '(' $ac_mid ')' - 1`
21352 if test $ac_mid -le $ac_hi; then
21356 ac_mid
=`expr 2 '*' $ac_mid`
21359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.
$ac_ext >&5
21368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21372 # Binary search between lo and hi bounds.
21373 while test "x$ac_lo" != "x$ac_hi"; do
21374 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21375 cat >conftest.
$ac_ext <<_ACEOF
21378 cat confdefs.h
>>conftest.
$ac_ext
21379 cat >>conftest.
$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21381 $ac_includes_default
21382 typedef long ac__type_sizeof_;
21386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21393 rm -f conftest.
$ac_objext
21394 if { (ac_try
="$ac_compile"
21395 case "(($ac_try" in
21396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21397 *) ac_try_echo=$ac_try;;
21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21400 (eval "$ac_compile") 2>conftest.er1
21402 grep -v '^ *+' conftest.er1 >conftest.err
21404 cat conftest.err >&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } && {
21407 test -z "$ac_c_werror_flag" ||
21408 test ! -s conftest.err
21409 } && test -s conftest.$ac_objext; then
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21415 ac_lo=`expr '(' $ac_mid ')' + 1`
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21421 ?*) ac_cv_sizeof_long=$ac_lo;;
21422 '') if test "$ac_cv_type_long" = yes; then
21423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21424 See \`config.log
' for more details." >&5
21425 echo "$as_me: error: cannot compute sizeof (long)
21426 See \`config.log' for more details.
" >&2;}
21427 { (exit 77); exit 77; }; }
21429 ac_cv_sizeof_long=0
21433 cat >conftest.$ac_ext <<_ACEOF
21436 cat confdefs.h >>conftest.$ac_ext
21437 cat >>conftest.$ac_ext <<_ACEOF
21438 /* end confdefs.h. */
21439 $ac_includes_default
21440 typedef long ac__type_sizeof_;
21441 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21442 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21444 #include <stdlib.h>
21449 FILE *f = fopen ("conftest.val
", "w
");
21452 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21454 long int i = longval ();
21455 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21457 fprintf (f, "%ld
\n", i);
21461 unsigned long int i = ulongval ();
21462 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21464 fprintf (f, "%lu
\n", i);
21466 return ferror (f) || fclose (f) != 0;
21472 rm -f conftest$ac_exeext
21473 if { (ac_try="$ac_link"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_link") 2>&5
21481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21482 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21483 { (case "(($ac_try" in
21484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485 *) ac_try_echo=$ac_try;;
21487 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21488 (eval "$ac_try") 2>&5
21490 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21491 (exit $ac_status); }; }; then
21492 ac_cv_sizeof_long=`cat conftest.val`
21494 echo "$as_me: program exited with status
$ac_status" >&5
21495 echo "$as_me: failed program was
:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21498 ( exit $ac_status )
21499 if test "$ac_cv_type_long" = yes; then
21500 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21501 See \
`config.log' for more details." >&5
21502 echo "$as_me: error: cannot compute sizeof (long)
21503 See \`config.log
' for more details." >&2;}
21504 { (exit 77); exit 77; }; }
21506 ac_cv_sizeof_long=0
21509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21513 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21514 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21518 cat >>confdefs.h <<_ACEOF
21519 #define SIZEOF_LONG $ac_cv_sizeof_long
21523 { echo "$as_me:$LINENO: checking for size_t" >&5
21524 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21525 if test "${ac_cv_type_size_t+set}" = set; then
21526 echo $ECHO_N "(cached) $ECHO_C" >&6
21528 cat >conftest.$ac_ext <<_ACEOF
21531 cat confdefs.h >>conftest.$ac_ext
21532 cat >>conftest.$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21534 $ac_includes_default
21535 typedef size_t ac__type_new_;
21539 if ((ac__type_new_ *) 0)
21541 if (sizeof (ac__type_new_))
21547 rm -f conftest.$ac_objext
21548 if { (ac_try="$ac_compile"
21549 case "(($ac_try" in
21550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21551 *) ac_try_echo=$ac_try;;
21553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21554 (eval "$ac_compile") 2>conftest.er1
21556 grep -v '^
*+' conftest.er1 >conftest.err
21558 cat conftest.err >&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); } && {
21561 test -z "$ac_c_werror_flag" ||
21562 test ! -s conftest.err
21563 } && test -s conftest.$ac_objext; then
21564 ac_cv_type_size_t=yes
21566 echo "$as_me: failed program was:" >&5
21567 sed 's
/^
/| /' conftest.$ac_ext >&5
21569 ac_cv_type_size_t=no
21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21575 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21577 # The cast to long int works around a bug in the HP C Compiler
21578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21580 # This bug is HP SR number 8606223364.
21581 { echo "$as_me:$LINENO: checking size of size_t" >&5
21582 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21583 if test "${ac_cv_sizeof_size_t+set}" = set; then
21584 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 if test "$cross_compiling" = yes; then
21587 # Depending upon the size, compute the lo and hi bounds.
21588 cat >conftest.
$ac_ext <<_ACEOF
21591 cat confdefs.h
>>conftest.
$ac_ext
21592 cat >>conftest.
$ac_ext <<_ACEOF
21593 /* end confdefs.h. */
21594 $ac_includes_default
21595 typedef size_t ac__type_sizeof_;
21599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21606 rm -f conftest.
$ac_objext
21607 if { (ac_try
="$ac_compile"
21608 case "(($ac_try" in
21609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21613 (eval "$ac_compile") 2>conftest.er1
21615 grep -v '^ *+' conftest.er1 >conftest.err
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } && {
21620 test -z "$ac_c_werror_flag" ||
21621 test ! -s conftest.err
21622 } && test -s conftest.$ac_objext; then
21625 cat >conftest.$ac_ext <<_ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21632 typedef size_t ac__type_sizeof_;
21636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21643 rm -f conftest.$ac_objext
21644 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21652 grep -v '^ *+' conftest.er1
>conftest.err
21654 cat conftest.err
>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && {
21657 test -z "$ac_c_werror_flag" ||
21658 test ! -s conftest.err
21659 } && test -s conftest.
$ac_objext; then
21660 ac_hi
=$ac_mid; break
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.
$ac_ext >&5
21665 ac_lo
=`expr $ac_mid + 1`
21666 if test $ac_lo -le $ac_mid; then
21670 ac_mid
=`expr 2 '*' $ac_mid + 1`
21673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.
$ac_ext >&5
21679 cat >conftest.
$ac_ext <<_ACEOF
21682 cat confdefs.h
>>conftest.
$ac_ext
21683 cat >>conftest.
$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 $ac_includes_default
21686 typedef size_t ac__type_sizeof_;
21690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21697 rm -f conftest.
$ac_objext
21698 if { (ac_try
="$ac_compile"
21699 case "(($ac_try" in
21700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21701 *) ac_try_echo=$ac_try;;
21703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21704 (eval "$ac_compile") 2>conftest.er1
21706 grep -v '^ *+' conftest.er1 >conftest.err
21708 cat conftest.err >&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); } && {
21711 test -z "$ac_c_werror_flag" ||
21712 test ! -s conftest.err
21713 } && test -s conftest.$ac_objext; then
21716 cat >conftest.$ac_ext <<_ACEOF
21719 cat confdefs.h >>conftest.$ac_ext
21720 cat >>conftest.$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21722 $ac_includes_default
21723 typedef size_t ac__type_sizeof_;
21727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21734 rm -f conftest.$ac_objext
21735 if { (ac_try="$ac_compile"
21736 case "(($ac_try" in
21737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21738 *) ac_try_echo
=$ac_try;;
21740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21741 (eval "$ac_compile") 2>conftest.er1
21743 grep -v '^ *+' conftest.er1
>conftest.err
21745 cat conftest.err
>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); } && {
21748 test -z "$ac_c_werror_flag" ||
21749 test ! -s conftest.err
21750 } && test -s conftest.
$ac_objext; then
21751 ac_lo
=$ac_mid; break
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.
$ac_ext >&5
21756 ac_hi
=`expr '(' $ac_mid ')' - 1`
21757 if test $ac_mid -le $ac_hi; then
21761 ac_mid
=`expr 2 '*' $ac_mid`
21764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.
$ac_ext >&5
21773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21777 # Binary search between lo and hi bounds.
21778 while test "x$ac_lo" != "x$ac_hi"; do
21779 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21780 cat >conftest.
$ac_ext <<_ACEOF
21783 cat confdefs.h
>>conftest.
$ac_ext
21784 cat >>conftest.
$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786 $ac_includes_default
21787 typedef size_t ac__type_sizeof_;
21791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21798 rm -f conftest.
$ac_objext
21799 if { (ac_try
="$ac_compile"
21800 case "(($ac_try" in
21801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_compile") 2>conftest.er1
21807 grep -v '^ *+' conftest.er1 >conftest.err
21809 cat conftest.err >&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } && {
21812 test -z "$ac_c_werror_flag" ||
21813 test ! -s conftest.err
21814 } && test -s conftest.$ac_objext; then
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.$ac_ext >&5
21820 ac_lo=`expr '(' $ac_mid ')' + 1`
21823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21826 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21827 '') if test "$ac_cv_type_size_t" = yes; then
21828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21829 See \`config.log
' for more details." >&5
21830 echo "$as_me: error: cannot compute sizeof (size_t)
21831 See \`config.log' for more details.
" >&2;}
21832 { (exit 77); exit 77; }; }
21834 ac_cv_sizeof_size_t=0
21838 cat >conftest.$ac_ext <<_ACEOF
21841 cat confdefs.h >>conftest.$ac_ext
21842 cat >>conftest.$ac_ext <<_ACEOF
21843 /* end confdefs.h. */
21844 $ac_includes_default
21845 typedef size_t ac__type_sizeof_;
21846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21849 #include <stdlib.h>
21854 FILE *f = fopen ("conftest.val
", "w
");
21857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21859 long int i = longval ();
21860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21862 fprintf (f, "%ld
\n", i);
21866 unsigned long int i = ulongval ();
21867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21869 fprintf (f, "%lu
\n", i);
21871 return ferror (f) || fclose (f) != 0;
21877 rm -f conftest$ac_exeext
21878 if { (ac_try="$ac_link"
21879 case "(($ac_try" in
21880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21881 *) ac_try_echo=$ac_try;;
21883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21884 (eval "$ac_link") 2>&5
21886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21888 { (case "(($ac_try" in
21889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21890 *) ac_try_echo=$ac_try;;
21892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21893 (eval "$ac_try") 2>&5
21895 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21896 (exit $ac_status); }; }; then
21897 ac_cv_sizeof_size_t=`cat conftest.val`
21899 echo "$as_me: program exited with status
$ac_status" >&5
21900 echo "$as_me: failed program was
:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21903 ( exit $ac_status )
21904 if test "$ac_cv_type_size_t" = yes; then
21905 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21906 See \
`config.log' for more details." >&5
21907 echo "$as_me: error: cannot compute sizeof (size_t)
21908 See \`config.log
' for more details." >&2;}
21909 { (exit 77); exit 77; }; }
21911 ac_cv_sizeof_size_t=0
21914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21919 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21923 cat >>confdefs.h <<_ACEOF
21924 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21931 { echo "$as_me:$LINENO: checking for long long" >&5
21932 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21933 if test "${ac_cv_type_long_long+set}" = set; then
21934 echo $ECHO_N "(cached) $ECHO_C" >&6
21936 cat >conftest.$ac_ext <<_ACEOF
21939 cat confdefs.h >>conftest.$ac_ext
21940 cat >>conftest.$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21942 $ac_includes_default
21943 typedef long long ac__type_new_;
21947 if ((ac__type_new_ *) 0)
21949 if (sizeof (ac__type_new_))
21955 rm -f conftest.$ac_objext
21956 if { (ac_try="$ac_compile"
21957 case "(($ac_try" in
21958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21959 *) ac_try_echo=$ac_try;;
21961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21962 (eval "$ac_compile") 2>conftest.er1
21964 grep -v '^
*+' conftest.er1 >conftest.err
21966 cat conftest.err >&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); } && {
21969 test -z "$ac_c_werror_flag" ||
21970 test ! -s conftest.err
21971 } && test -s conftest.$ac_objext; then
21972 ac_cv_type_long_long=yes
21974 echo "$as_me: failed program was:" >&5
21975 sed 's
/^
/| /' conftest.$ac_ext >&5
21977 ac_cv_type_long_long=no
21980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21982 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21983 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21985 # The cast to long int works around a bug in the HP C Compiler
21986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21988 # This bug is HP SR number 8606223364.
21989 { echo "$as_me:$LINENO: checking size of long long" >&5
21990 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21991 if test "${ac_cv_sizeof_long_long+set}" = set; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21994 if test "$cross_compiling" = yes; then
21995 # Depending upon the size, compute the lo and hi bounds.
21996 cat >conftest.
$ac_ext <<_ACEOF
21999 cat confdefs.h
>>conftest.
$ac_ext
22000 cat >>conftest.
$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef long long ac__type_sizeof_;
22007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22014 rm -f conftest.
$ac_objext
22015 if { (ac_try
="$ac_compile"
22016 case "(($ac_try" in
22017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_compile") 2>conftest.er1
22023 grep -v '^ *+' conftest.er1 >conftest.err
22025 cat conftest.err >&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); } && {
22028 test -z "$ac_c_werror_flag" ||
22029 test ! -s conftest.err
22030 } && test -s conftest.$ac_objext; then
22033 cat >conftest.$ac_ext <<_ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 typedef long long ac__type_sizeof_;
22044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22051 rm -f conftest.$ac_objext
22052 if { (ac_try="$ac_compile"
22053 case "(($ac_try" in
22054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22055 *) ac_try_echo
=$ac_try;;
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_compile") 2>conftest.er1
22060 grep -v '^ *+' conftest.er1
>conftest.err
22062 cat conftest.err
>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err
22067 } && test -s conftest.
$ac_objext; then
22068 ac_hi
=$ac_mid; break
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.
$ac_ext >&5
22073 ac_lo
=`expr $ac_mid + 1`
22074 if test $ac_lo -le $ac_mid; then
22078 ac_mid
=`expr 2 '*' $ac_mid + 1`
22081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.
$ac_ext >&5
22087 cat >conftest.
$ac_ext <<_ACEOF
22090 cat confdefs.h
>>conftest.
$ac_ext
22091 cat >>conftest.
$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22093 $ac_includes_default
22094 typedef long long ac__type_sizeof_;
22098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22105 rm -f conftest.
$ac_objext
22106 if { (ac_try
="$ac_compile"
22107 case "(($ac_try" in
22108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22109 *) ac_try_echo=$ac_try;;
22111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22112 (eval "$ac_compile") 2>conftest.er1
22114 grep -v '^ *+' conftest.er1 >conftest.err
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && {
22119 test -z "$ac_c_werror_flag" ||
22120 test ! -s conftest.err
22121 } && test -s conftest.$ac_objext; then
22124 cat >conftest.$ac_ext <<_ACEOF
22127 cat confdefs.h >>conftest.$ac_ext
22128 cat >>conftest.$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 $ac_includes_default
22131 typedef long long ac__type_sizeof_;
22135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22142 rm -f conftest.$ac_objext
22143 if { (ac_try="$ac_compile"
22144 case "(($ac_try" in
22145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22146 *) ac_try_echo
=$ac_try;;
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_compile") 2>conftest.er1
22151 grep -v '^ *+' conftest.er1
>conftest.err
22153 cat conftest.err
>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } && {
22156 test -z "$ac_c_werror_flag" ||
22157 test ! -s conftest.err
22158 } && test -s conftest.
$ac_objext; then
22159 ac_lo
=$ac_mid; break
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22164 ac_hi
=`expr '(' $ac_mid ')' - 1`
22165 if test $ac_mid -le $ac_hi; then
22169 ac_mid
=`expr 2 '*' $ac_mid`
22172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.
$ac_ext >&5
22181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22185 # Binary search between lo and hi bounds.
22186 while test "x$ac_lo" != "x$ac_hi"; do
22187 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 $ac_includes_default
22195 typedef long long ac__type_sizeof_;
22199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22206 rm -f conftest.
$ac_objext
22207 if { (ac_try
="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22215 grep -v '^ *+' conftest.er1 >conftest.err
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.$ac_objext; then
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22228 ac_lo=`expr '(' $ac_mid ')' + 1`
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22234 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22235 '') if test "$ac_cv_type_long_long" = yes; then
22236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22237 See \`config.log
' for more details." >&5
22238 echo "$as_me: error: cannot compute sizeof (long long)
22239 See \`config.log' for more details.
" >&2;}
22240 { (exit 77); exit 77; }; }
22242 ac_cv_sizeof_long_long=0
22246 cat >conftest.$ac_ext <<_ACEOF
22249 cat confdefs.h >>conftest.$ac_ext
22250 cat >>conftest.$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 $ac_includes_default
22253 typedef long long ac__type_sizeof_;
22254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22257 #include <stdlib.h>
22262 FILE *f = fopen ("conftest.val
", "w
");
22265 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22267 long int i = longval ();
22268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22270 fprintf (f, "%ld
\n", i);
22274 unsigned long int i = ulongval ();
22275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22277 fprintf (f, "%lu
\n", i);
22279 return ferror (f) || fclose (f) != 0;
22285 rm -f conftest$ac_exeext
22286 if { (ac_try="$ac_link"
22287 case "(($ac_try" in
22288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_link") 2>&5
22294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22296 { (case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_try") 2>&5
22303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22304 (exit $ac_status); }; }; then
22305 ac_cv_sizeof_long_long=`cat conftest.val`
22307 echo "$as_me: program exited with status
$ac_status" >&5
22308 echo "$as_me: failed program was
:" >&5
22309 sed 's/^/| /' conftest.$ac_ext >&5
22311 ( exit $ac_status )
22312 if test "$ac_cv_type_long_long" = yes; then
22313 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22314 See \
`config.log' for more details." >&5
22315 echo "$as_me: error: cannot compute sizeof (long long)
22316 See \`config.log
' for more details." >&2;}
22317 { (exit 77); exit 77; }; }
22319 ac_cv_sizeof_long_long=0
22322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22326 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22327 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22331 cat >>confdefs.h <<_ACEOF
22332 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22338 { echo "$as_me:$LINENO: checking for long long" >&5
22339 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22340 if test "${ac_cv_type_long_long+set}" = set; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22343 cat >conftest.$ac_ext <<_ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 $ac_includes_default
22350 typedef long long ac__type_new_;
22354 if ((ac__type_new_ *) 0)
22356 if (sizeof (ac__type_new_))
22362 rm -f conftest.$ac_objext
22363 if { (ac_try="$ac_compile"
22364 case "(($ac_try" in
22365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22366 *) ac_try_echo=$ac_try;;
22368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22369 (eval "$ac_compile") 2>conftest.er1
22371 grep -v '^
*+' conftest.er1 >conftest.err
22373 cat conftest.err >&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } && {
22376 test -z "$ac_c_werror_flag" ||
22377 test ! -s conftest.err
22378 } && test -s conftest.$ac_objext; then
22379 ac_cv_type_long_long=yes
22381 echo "$as_me: failed program was:" >&5
22382 sed 's
/^
/| /' conftest.$ac_ext >&5
22384 ac_cv_type_long_long=no
22387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22389 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22390 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22392 # The cast to long int works around a bug in the HP C Compiler
22393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22395 # This bug is HP SR number 8606223364.
22396 { echo "$as_me:$LINENO: checking size of long long" >&5
22397 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22398 if test "${ac_cv_sizeof_long_long+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 if test "$cross_compiling" = yes; then
22402 # Depending upon the size, compute the lo and hi bounds.
22403 cat >conftest.
$ac_ext <<_ACEOF
22406 cat confdefs.h
>>conftest.
$ac_ext
22407 cat >>conftest.
$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409 $ac_includes_default
22410 typedef long long ac__type_sizeof_;
22414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22421 rm -f conftest.
$ac_objext
22422 if { (ac_try
="$ac_compile"
22423 case "(($ac_try" in
22424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22425 *) ac_try_echo=$ac_try;;
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_compile") 2>conftest.er1
22430 grep -v '^ *+' conftest.er1 >conftest.err
22432 cat conftest.err >&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } && {
22435 test -z "$ac_c_werror_flag" ||
22436 test ! -s conftest.err
22437 } && test -s conftest.$ac_objext; then
22440 cat >conftest.$ac_ext <<_ACEOF
22443 cat confdefs.h >>conftest.$ac_ext
22444 cat >>conftest.$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446 $ac_includes_default
22447 typedef long long ac__type_sizeof_;
22451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22458 rm -f conftest.$ac_objext
22459 if { (ac_try="$ac_compile"
22460 case "(($ac_try" in
22461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22462 *) ac_try_echo
=$ac_try;;
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_compile") 2>conftest.er1
22467 grep -v '^ *+' conftest.er1
>conftest.err
22469 cat conftest.err
>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } && {
22472 test -z "$ac_c_werror_flag" ||
22473 test ! -s conftest.err
22474 } && test -s conftest.
$ac_objext; then
22475 ac_hi
=$ac_mid; break
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.
$ac_ext >&5
22480 ac_lo
=`expr $ac_mid + 1`
22481 if test $ac_lo -le $ac_mid; then
22485 ac_mid
=`expr 2 '*' $ac_mid + 1`
22488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.
$ac_ext >&5
22494 cat >conftest.
$ac_ext <<_ACEOF
22497 cat confdefs.h
>>conftest.
$ac_ext
22498 cat >>conftest.
$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 $ac_includes_default
22501 typedef long long ac__type_sizeof_;
22505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22512 rm -f conftest.
$ac_objext
22513 if { (ac_try
="$ac_compile"
22514 case "(($ac_try" in
22515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_compile") 2>conftest.er1
22521 grep -v '^ *+' conftest.er1 >conftest.err
22523 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest.$ac_objext; then
22531 cat >conftest.$ac_ext <<_ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 $ac_includes_default
22538 typedef long long ac__type_sizeof_;
22542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22549 rm -f conftest.$ac_objext
22550 if { (ac_try="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22553 *) ac_try_echo
=$ac_try;;
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22556 (eval "$ac_compile") 2>conftest.er1
22558 grep -v '^ *+' conftest.er1
>conftest.err
22560 cat conftest.err
>&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } && {
22563 test -z "$ac_c_werror_flag" ||
22564 test ! -s conftest.err
22565 } && test -s conftest.
$ac_objext; then
22566 ac_lo
=$ac_mid; break
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.
$ac_ext >&5
22571 ac_hi
=`expr '(' $ac_mid ')' - 1`
22572 if test $ac_mid -le $ac_hi; then
22576 ac_mid
=`expr 2 '*' $ac_mid`
22579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.
$ac_ext >&5
22588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22592 # Binary search between lo and hi bounds.
22593 while test "x$ac_lo" != "x$ac_hi"; do
22594 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22595 cat >conftest.
$ac_ext <<_ACEOF
22598 cat confdefs.h
>>conftest.
$ac_ext
22599 cat >>conftest.
$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601 $ac_includes_default
22602 typedef long long ac__type_sizeof_;
22606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22613 rm -f conftest.
$ac_objext
22614 if { (ac_try
="$ac_compile"
22615 case "(($ac_try" in
22616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620 (eval "$ac_compile") 2>conftest.er1
22622 grep -v '^ *+' conftest.er1 >conftest.err
22624 cat conftest.err >&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } && {
22627 test -z "$ac_c_werror_flag" ||
22628 test ! -s conftest.err
22629 } && test -s conftest.$ac_objext; then
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.$ac_ext >&5
22635 ac_lo=`expr '(' $ac_mid ')' + 1`
22638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22641 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22642 '') if test "$ac_cv_type_long_long" = yes; then
22643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22644 See \`config.log
' for more details." >&5
22645 echo "$as_me: error: cannot compute sizeof (long long)
22646 See \`config.log' for more details.
" >&2;}
22647 { (exit 77); exit 77; }; }
22649 ac_cv_sizeof_long_long=0
22653 cat >conftest.$ac_ext <<_ACEOF
22656 cat confdefs.h >>conftest.$ac_ext
22657 cat >>conftest.$ac_ext <<_ACEOF
22658 /* end confdefs.h. */
22659 $ac_includes_default
22660 typedef long long ac__type_sizeof_;
22661 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22662 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22664 #include <stdlib.h>
22669 FILE *f = fopen ("conftest.val
", "w
");
22672 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22674 long int i = longval ();
22675 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22677 fprintf (f, "%ld
\n", i);
22681 unsigned long int i = ulongval ();
22682 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22684 fprintf (f, "%lu
\n", i);
22686 return ferror (f) || fclose (f) != 0;
22692 rm -f conftest$ac_exeext
22693 if { (ac_try="$ac_link"
22694 case "(($ac_try" in
22695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696 *) ac_try_echo=$ac_try;;
22698 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_link") 2>&5
22701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22702 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22703 { (case "(($ac_try" in
22704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_try") 2>&5
22710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22711 (exit $ac_status); }; }; then
22712 ac_cv_sizeof_long_long=`cat conftest.val`
22714 echo "$as_me: program exited with status
$ac_status" >&5
22715 echo "$as_me: failed program was
:" >&5
22716 sed 's/^/| /' conftest.$ac_ext >&5
22718 ( exit $ac_status )
22719 if test "$ac_cv_type_long_long" = yes; then
22720 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22721 See \
`config.log' for more details." >&5
22722 echo "$as_me: error: cannot compute sizeof (long long)
22723 See \`config.log
' for more details." >&2;}
22724 { (exit 77); exit 77; }; }
22726 ac_cv_sizeof_long_long=0
22729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22734 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22738 cat >>confdefs.h <<_ACEOF
22739 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22743 if test "$ac_cv_sizeof_long_long" != 0; then
22744 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22748 { echo "$as_me:$LINENO: checking for long long" >&5
22749 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22750 if test "${ac_cv_type_long_long+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22753 cat >conftest.$ac_ext <<_ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 $ac_includes_default
22760 typedef long long ac__type_new_;
22764 if ((ac__type_new_ *) 0)
22766 if (sizeof (ac__type_new_))
22772 rm -f conftest.$ac_objext
22773 if { (ac_try="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22781 grep -v '^
*+' conftest.er1 >conftest.err
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_c_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest.$ac_objext; then
22789 ac_cv_type_long_long=yes
22791 echo "$as_me: failed program was:" >&5
22792 sed 's
/^
/| /' conftest.$ac_ext >&5
22794 ac_cv_type_long_long=no
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22800 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22802 # The cast to long int works around a bug in the HP C Compiler
22803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22805 # This bug is HP SR number 8606223364.
22806 { echo "$as_me:$LINENO: checking size of long long" >&5
22807 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22808 if test "${ac_cv_sizeof_long_long+set}" = set; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22811 if test "$cross_compiling" = yes; then
22812 # Depending upon the size, compute the lo and hi bounds.
22813 cat >conftest.
$ac_ext <<_ACEOF
22816 cat confdefs.h
>>conftest.
$ac_ext
22817 cat >>conftest.
$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819 $ac_includes_default
22820 typedef long long ac__type_sizeof_;
22824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22831 rm -f conftest.
$ac_objext
22832 if { (ac_try
="$ac_compile"
22833 case "(($ac_try" in
22834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22835 *) ac_try_echo=$ac_try;;
22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838 (eval "$ac_compile") 2>conftest.er1
22840 grep -v '^ *+' conftest.er1 >conftest.err
22842 cat conftest.err >&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } && {
22845 test -z "$ac_c_werror_flag" ||
22846 test ! -s conftest.err
22847 } && test -s conftest.$ac_objext; then
22850 cat >conftest.$ac_ext <<_ACEOF
22853 cat confdefs.h >>conftest.$ac_ext
22854 cat >>conftest.$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856 $ac_includes_default
22857 typedef long long ac__type_sizeof_;
22861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22868 rm -f conftest.$ac_objext
22869 if { (ac_try="$ac_compile"
22870 case "(($ac_try" in
22871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22872 *) ac_try_echo
=$ac_try;;
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_compile") 2>conftest.er1
22877 grep -v '^ *+' conftest.er1
>conftest.err
22879 cat conftest.err
>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } && {
22882 test -z "$ac_c_werror_flag" ||
22883 test ! -s conftest.err
22884 } && test -s conftest.
$ac_objext; then
22885 ac_hi
=$ac_mid; break
22887 echo "$as_me: failed program was:" >&5
22888 sed 's/^/| /' conftest.
$ac_ext >&5
22890 ac_lo
=`expr $ac_mid + 1`
22891 if test $ac_lo -le $ac_mid; then
22895 ac_mid
=`expr 2 '*' $ac_mid + 1`
22898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.
$ac_ext >&5
22904 cat >conftest.
$ac_ext <<_ACEOF
22907 cat confdefs.h
>>conftest.
$ac_ext
22908 cat >>conftest.
$ac_ext <<_ACEOF
22909 /* end confdefs.h. */
22910 $ac_includes_default
22911 typedef long long ac__type_sizeof_;
22915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22922 rm -f conftest.
$ac_objext
22923 if { (ac_try
="$ac_compile"
22924 case "(($ac_try" in
22925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22926 *) ac_try_echo=$ac_try;;
22928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22929 (eval "$ac_compile") 2>conftest.er1
22931 grep -v '^ *+' conftest.er1 >conftest.err
22933 cat conftest.err >&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } && {
22936 test -z "$ac_c_werror_flag" ||
22937 test ! -s conftest.err
22938 } && test -s conftest.$ac_objext; then
22941 cat >conftest.$ac_ext <<_ACEOF
22944 cat confdefs.h >>conftest.$ac_ext
22945 cat >>conftest.$ac_ext <<_ACEOF
22946 /* end confdefs.h. */
22947 $ac_includes_default
22948 typedef long long ac__type_sizeof_;
22952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22959 rm -f conftest.$ac_objext
22960 if { (ac_try="$ac_compile"
22961 case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22963 *) ac_try_echo
=$ac_try;;
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_compile") 2>conftest.er1
22968 grep -v '^ *+' conftest.er1
>conftest.err
22970 cat conftest.err
>&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } && {
22973 test -z "$ac_c_werror_flag" ||
22974 test ! -s conftest.err
22975 } && test -s conftest.
$ac_objext; then
22976 ac_lo
=$ac_mid; break
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.
$ac_ext >&5
22981 ac_hi
=`expr '(' $ac_mid ')' - 1`
22982 if test $ac_mid -le $ac_hi; then
22986 ac_mid
=`expr 2 '*' $ac_mid`
22989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.
$ac_ext >&5
22998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23002 # Binary search between lo and hi bounds.
23003 while test "x$ac_lo" != "x$ac_hi"; do
23004 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23005 cat >conftest.
$ac_ext <<_ACEOF
23008 cat confdefs.h
>>conftest.
$ac_ext
23009 cat >>conftest.
$ac_ext <<_ACEOF
23010 /* end confdefs.h. */
23011 $ac_includes_default
23012 typedef long long ac__type_sizeof_;
23016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23023 rm -f conftest.
$ac_objext
23024 if { (ac_try
="$ac_compile"
23025 case "(($ac_try" in
23026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_compile") 2>conftest.er1
23032 grep -v '^ *+' conftest.er1 >conftest.err
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && {
23037 test -z "$ac_c_werror_flag" ||
23038 test ! -s conftest.err
23039 } && test -s conftest.$ac_objext; then
23042 echo "$as_me: failed program was:" >&5
23043 sed 's/^/| /' conftest.$ac_ext >&5
23045 ac_lo=`expr '(' $ac_mid ')' + 1`
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23052 '') if test "$ac_cv_type_long_long" = yes; then
23053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23054 See \`config.log
' for more details." >&5
23055 echo "$as_me: error: cannot compute sizeof (long long)
23056 See \`config.log' for more details.
" >&2;}
23057 { (exit 77); exit 77; }; }
23059 ac_cv_sizeof_long_long=0
23063 cat >conftest.$ac_ext <<_ACEOF
23066 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23069 $ac_includes_default
23070 typedef long long ac__type_sizeof_;
23071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23074 #include <stdlib.h>
23079 FILE *f = fopen ("conftest.val
", "w
");
23082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23084 long int i = longval ();
23085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23087 fprintf (f, "%ld
\n", i);
23091 unsigned long int i = ulongval ();
23092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23094 fprintf (f, "%lu
\n", i);
23096 return ferror (f) || fclose (f) != 0;
23102 rm -f conftest$ac_exeext
23103 if { (ac_try="$ac_link"
23104 case "(($ac_try" in
23105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23106 *) ac_try_echo=$ac_try;;
23108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23109 (eval "$ac_link") 2>&5
23111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23113 { (case "(($ac_try" in
23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115 *) ac_try_echo=$ac_try;;
23117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23118 (eval "$ac_try") 2>&5
23120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122 ac_cv_sizeof_long_long=`cat conftest.val`
23124 echo "$as_me: program exited with status
$ac_status" >&5
23125 echo "$as_me: failed program was
:" >&5
23126 sed 's/^/| /' conftest.$ac_ext >&5
23128 ( exit $ac_status )
23129 if test "$ac_cv_type_long_long" = yes; then
23130 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23131 See \
`config.log' for more details." >&5
23132 echo "$as_me: error: cannot compute sizeof (long long)
23133 See \`config.log
' for more details." >&2;}
23134 { (exit 77); exit 77; }; }
23136 ac_cv_sizeof_long_long=0
23139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23144 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23148 cat >>confdefs.h <<_ACEOF
23149 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23155 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23156 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23157 if test "${ac_cv_type_wchar_t+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6
23160 cat >conftest.$ac_ext <<_ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23167 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23168 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23169 # error "fake wchar_t"
23171 #ifdef HAVE_WCHAR_H
23173 # include <stddef.h>
23175 # include <wchar.h>
23177 #ifdef HAVE_STDLIB_H
23178 # include <stdlib.h>
23184 typedef wchar_t ac__type_new_
;
23188 if ((ac__type_new_
*) 0)
23190 if (sizeof
(ac__type_new_
))
23196 rm -f conftest.
$ac_objext
23197 if { (ac_try
="$ac_compile"
23198 case "(($ac_try" in
23199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23200 *) ac_try_echo=$ac_try;;
23202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23203 (eval "$ac_compile") 2>conftest.er1
23205 grep -v '^ *+' conftest.er1 >conftest.err
23207 cat conftest.err >&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); } && {
23210 test -z "$ac_c_werror_flag" ||
23211 test ! -s conftest.err
23212 } && test -s conftest.$ac_objext; then
23213 ac_cv_type_wchar_t=yes
23215 echo "$as_me: failed program was:" >&5
23216 sed 's/^/| /' conftest.$ac_ext >&5
23218 ac_cv_type_wchar_t=no
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23224 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23226 # The cast to long int works around a bug in the HP C Compiler
23227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23228 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23229 # This bug is HP SR number 8606223364.
23230 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23231 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23232 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23233 echo $ECHO_N "(cached) $ECHO_C" >&6
23235 if test "$cross_compiling" = yes; then
23236 # Depending upon the size, compute the lo and hi bounds.
23237 cat >conftest.$ac_ext <<_ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23244 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23245 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23246 # error "fake wchar_t"
23248 #ifdef HAVE_WCHAR_H
23250 # include <stddef.h>
23252 # include <wchar.h>
23254 #ifdef HAVE_STDLIB_H
23255 # include <stdlib.h>
23261 typedef wchar_t ac__type_sizeof_
;
23265 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23272 rm -f conftest.
$ac_objext
23273 if { (ac_try
="$ac_compile"
23274 case "(($ac_try" in
23275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_compile") 2>conftest.er1
23281 grep -v '^ *+' conftest.er1 >conftest.err
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } && {
23286 test -z "$ac_c_werror_flag" ||
23287 test ! -s conftest.err
23288 } && test -s conftest.$ac_objext; then
23291 cat >conftest.$ac_ext <<_ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23300 # error "fake wchar_t"
23302 #ifdef HAVE_WCHAR_H
23304 # include <stddef.h>
23306 # include <wchar.h>
23308 #ifdef HAVE_STDLIB_H
23309 # include <stdlib.h>
23315 typedef wchar_t ac__type_sizeof_;
23319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23326 rm -f conftest.$ac_objext
23327 if { (ac_try="$ac_compile"
23328 case "(($ac_try" in
23329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23330 *) ac_try_echo
=$ac_try;;
23332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23333 (eval "$ac_compile") 2>conftest.er1
23335 grep -v '^ *+' conftest.er1
>conftest.err
23337 cat conftest.err
>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); } && {
23340 test -z "$ac_c_werror_flag" ||
23341 test ! -s conftest.err
23342 } && test -s conftest.
$ac_objext; then
23343 ac_hi
=$ac_mid; break
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.
$ac_ext >&5
23348 ac_lo
=`expr $ac_mid + 1`
23349 if test $ac_lo -le $ac_mid; then
23353 ac_mid
=`expr 2 '*' $ac_mid + 1`
23356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.
$ac_ext >&5
23362 cat >conftest.
$ac_ext <<_ACEOF
23365 cat confdefs.h
>>conftest.
$ac_ext
23366 cat >>conftest.
$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23369 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23370 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23371 # error "fake wchar_t"
23373 #ifdef HAVE_WCHAR_H
23375 # include <stddef.h>
23377 # include <wchar.h>
23379 #ifdef HAVE_STDLIB_H
23380 # include <stdlib.h>
23386 typedef wchar_t ac__type_sizeof_;
23390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23397 rm -f conftest.
$ac_objext
23398 if { (ac_try
="$ac_compile"
23399 case "(($ac_try" in
23400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23401 *) ac_try_echo=$ac_try;;
23403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23404 (eval "$ac_compile") 2>conftest.er1
23406 grep -v '^ *+' conftest.er1 >conftest.err
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } && {
23411 test -z "$ac_c_werror_flag" ||
23412 test ! -s conftest.err
23413 } && test -s conftest.$ac_objext; then
23416 cat >conftest.$ac_ext <<_ACEOF
23419 cat confdefs.h >>conftest.$ac_ext
23420 cat >>conftest.$ac_ext <<_ACEOF
23421 /* end confdefs.h. */
23423 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23424 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23425 # error "fake wchar_t"
23427 #ifdef HAVE_WCHAR_H
23429 # include <stddef.h>
23431 # include <wchar.h>
23433 #ifdef HAVE_STDLIB_H
23434 # include <stdlib.h>
23440 typedef wchar_t ac__type_sizeof_;
23444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23455 *) ac_try_echo
=$ac_try;;
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23460 grep -v '^ *+' conftest.er1
>conftest.err
23462 cat conftest.err
>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.
$ac_objext; then
23468 ac_lo
=$ac_mid; break
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.
$ac_ext >&5
23473 ac_hi
=`expr '(' $ac_mid ')' - 1`
23474 if test $ac_mid -le $ac_hi; then
23478 ac_mid
=`expr 2 '*' $ac_mid`
23481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.
$ac_ext >&5
23490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23494 # Binary search between lo and hi bounds.
23495 while test "x$ac_lo" != "x$ac_hi"; do
23496 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23497 cat >conftest.
$ac_ext <<_ACEOF
23500 cat confdefs.h
>>conftest.
$ac_ext
23501 cat >>conftest.
$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23504 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23505 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23506 # error "fake wchar_t"
23508 #ifdef HAVE_WCHAR_H
23510 # include <stddef.h>
23512 # include <wchar.h>
23514 #ifdef HAVE_STDLIB_H
23515 # include <stdlib.h>
23521 typedef wchar_t ac__type_sizeof_;
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23532 rm -f conftest.
$ac_objext
23533 if { (ac_try
="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23541 grep -v '^ *+' conftest.er1 >conftest.err
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23554 ac_lo=`expr '(' $ac_mid ')' + 1`
23557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23560 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23561 '') if test "$ac_cv_type_wchar_t" = yes; then
23562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23563 See \`config.log
' for more details." >&5
23564 echo "$as_me: error: cannot compute sizeof (wchar_t)
23565 See \`config.log' for more details.
" >&2;}
23566 { (exit 77); exit 77; }; }
23568 ac_cv_sizeof_wchar_t=0
23572 cat >conftest.$ac_ext <<_ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23579 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23581 # error "fake wchar_t
"
23583 #ifdef HAVE_WCHAR_H
23585 # include <stddef.h>
23587 # include <wchar.h>
23589 #ifdef HAVE_STDLIB_H
23590 # include <stdlib.h>
23596 typedef wchar_t ac__type_sizeof_;
23597 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23598 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23600 #include <stdlib.h>
23605 FILE *f = fopen ("conftest.val
", "w
");
23608 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23610 long int i = longval ();
23611 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23613 fprintf (f, "%ld
\n", i);
23617 unsigned long int i = ulongval ();
23618 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23620 fprintf (f, "%lu
\n", i);
23622 return ferror (f) || fclose (f) != 0;
23628 rm -f conftest$ac_exeext
23629 if { (ac_try="$ac_link"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_link") 2>&5
23637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23639 { (case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_try") 2>&5
23646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23647 (exit $ac_status); }; }; then
23648 ac_cv_sizeof_wchar_t=`cat conftest.val`
23650 echo "$as_me: program exited with status
$ac_status" >&5
23651 echo "$as_me: failed program was
:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23654 ( exit $ac_status )
23655 if test "$ac_cv_type_wchar_t" = yes; then
23656 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23657 See \
`config.log' for more details." >&5
23658 echo "$as_me: error: cannot compute sizeof (wchar_t)
23659 See \`config.log
' for more details." >&2;}
23660 { (exit 77); exit 77; }; }
23662 ac_cv_sizeof_wchar_t=0
23665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23669 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23670 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23674 cat >>confdefs.h <<_ACEOF
23675 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23679 if test "$ac_cv_sizeof_wchar_t" != 0; then
23685 { echo "$as_me:$LINENO: checking for va_copy" >&5
23686 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23687 if test "${wx_cv_func_va_copy+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23692 ac_cpp='$CXXCPP $CPPFLAGS'
23693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23694 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23697 cat >conftest.$ac_ext <<_ACEOF
23699 #include <stdarg.h>
23700 void foo(char *f, ...)
23714 rm -f conftest.$ac_objext conftest$ac_exeext
23715 if { (ac_try="$ac_link"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_link") 2>conftest.er1
23723 grep -v '^
*+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_cxx_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest$ac_exeext &&
23731 $as_test_x conftest$ac_exeext; then
23732 wx_cv_func_va_copy=yes
23734 echo "$as_me: failed program was:" >&5
23735 sed 's
/^
/| /' conftest.$ac_ext >&5
23737 wx_cv_func_va_copy=no
23741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23742 conftest$ac_exeext conftest.$ac_ext
23744 ac_cpp='$CPP $CPPFLAGS'
23745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23746 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23752 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23753 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23755 if test $wx_cv_func_va_copy = "yes"; then
23756 cat >>confdefs.h <<\_ACEOF
23757 #define HAVE_VA_COPY 1
23761 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23762 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23763 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23764 echo $ECHO_N "(cached) $ECHO_C" >&6
23767 if test "$cross_compiling" = yes; then
23768 wx_cv_type_va_list_lvalue=yes
23771 cat >conftest.$ac_ext <<_ACEOF
23773 #include <stdarg.h>
23774 int foo(char *f, ...)
23779 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23787 return foo("hi", 17);
23790 rm -f conftest$ac_exeext
23791 if { (ac_try="$ac_link"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_link") 2>&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23801 { (case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_try") 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 wx_cv_type_va_list_lvalue=yes
23812 echo "$as_me: program exited with status $ac_status" >&5
23813 echo "$as_me: failed program was:" >&5
23814 sed 's
/^
/| /' conftest.$ac_ext >&5
23816 ( exit $ac_status )
23817 wx_cv_type_va_list_lvalue=no
23819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23826 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23827 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23829 if test $wx_cv_type_va_list_lvalue != "yes"; then
23830 cat >>confdefs.h <<\_ACEOF
23831 #define VA_LIST_IS_ARRAY 1
23837 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23839 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23840 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23841 if test "${wx_cv_have_variadic_macros+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23848 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23851 cat >conftest.$ac_ext <<_ACEOF
23854 cat confdefs.h >>conftest.$ac_ext
23855 cat >>conftest.$ac_ext <<_ACEOF
23856 /* end confdefs.h. */
23859 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23865 test("%s %d %p", "test", 1, 0);
23872 rm -f conftest.$ac_objext
23873 if { (ac_try="$ac_compile"
23874 case "(($ac_try" in
23875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23876 *) ac_try_echo=$ac_try;;
23878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23879 (eval "$ac_compile") 2>conftest.er1
23881 grep -v '^
*+' conftest.er1 >conftest.err
23883 cat conftest.err >&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } && {
23886 test -z "$ac_cxx_werror_flag" ||
23887 test ! -s conftest.err
23888 } && test -s conftest.$ac_objext; then
23889 wx_cv_have_variadic_macros=yes
23891 echo "$as_me: failed program was:" >&5
23892 sed 's
/^
/| /' conftest.$ac_ext >&5
23894 wx_cv_have_variadic_macros=no
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23902 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23908 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23909 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23911 if test $wx_cv_have_variadic_macros = "yes"; then
23912 cat >>confdefs.h <<\_ACEOF
23913 #define HAVE_VARIADIC_MACROS 1
23920 LARGEFILE_CPPFLAGS=
23921 # Check whether --enable-largefile was given.
23922 if test "${enable_largefile+set}" = set; then
23923 enableval=$enable_largefile;
23926 if test "$enable_largefile" != no; then
23929 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23930 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23931 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23932 echo $ECHO_N "(cached) $ECHO_C" >&6
23935 cat >conftest.$ac_ext <<_ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23941 #define _FILE_OFFSET_BITS 64
23942 #include <sys/types.h>
23947 unsigned int field: sizeof(off_t) == 8;
23954 rm -f conftest.$ac_objext
23955 if { (ac_try="$ac_compile"
23956 case "(($ac_try" in
23957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23958 *) ac_try_echo=$ac_try;;
23960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23961 (eval "$ac_compile") 2>conftest.er1
23963 grep -v '^
*+' conftest.er1 >conftest.err
23965 cat conftest.err >&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } && {
23968 test -z "$ac_c_werror_flag" ||
23969 test ! -s conftest.err
23970 } && test -s conftest.$ac_objext; then
23971 ac_cv_sys_file_offset_bits=64
23973 echo "$as_me: failed program was:" >&5
23974 sed 's
/^
/| /' conftest.$ac_ext >&5
23976 ac_cv_sys_file_offset_bits=no
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23983 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23984 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23986 if test "$ac_cv_sys_file_offset_bits" != no; then
23988 cat >>confdefs.h <<_ACEOF
23989 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23994 if test "x$wx_largefile" != "xyes"; then
23996 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23997 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23998 if test "${ac_cv_sys_large_files+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24002 cat >conftest.$ac_ext <<_ACEOF
24005 cat confdefs.h >>conftest.$ac_ext
24006 cat >>conftest.$ac_ext <<_ACEOF
24007 /* end confdefs.h. */
24008 #define _LARGE_FILES 1
24009 #include <sys/types.h>
24014 unsigned int field: sizeof(off_t) == 8;
24021 rm -f conftest.$ac_objext
24022 if { (ac_try="$ac_compile"
24023 case "(($ac_try" in
24024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_compile") 2>conftest.er1
24030 grep -v '^
*+' conftest.er1 >conftest.err
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_c_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest.$ac_objext; then
24038 ac_cv_sys_large_files=1
24040 echo "$as_me: failed program was:" >&5
24041 sed 's
/^
/| /' conftest.$ac_ext >&5
24043 ac_cv_sys_large_files=no
24046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24050 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24051 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24053 if test "$ac_cv_sys_large_files" != no; then
24055 cat >>confdefs.h <<_ACEOF
24056 #define _LARGE_FILES $ac_cv_sys_large_files
24063 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24064 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24065 if test "x$wx_largefile" = "xyes"; then
24066 cat >>confdefs.h <<\_ACEOF
24067 #define HAVE_LARGEFILE_SUPPORT 1
24071 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24072 echo "${ECHO_T}$wx_largefile" >&6; }
24075 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24076 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24077 elif test "$ac_cv_sys_large_files" = 1; then
24078 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24081 if test -n "$LARGEFILE_CPPFLAGS"; then
24082 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24084 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24085 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24086 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24087 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24092 ac_cpp='$CXXCPP $CPPFLAGS'
24093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24094 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24097 cat >conftest.$ac_ext <<_ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24108 #ifndef __STDC_EXT__
24116 rm -f conftest.$ac_objext
24117 if { (ac_try="$ac_compile"
24118 case "(($ac_try" in
24119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24120 *) ac_try_echo=$ac_try;;
24122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24123 (eval "$ac_compile") 2>conftest.er1
24125 grep -v '^
*+' conftest.er1 >conftest.err
24127 cat conftest.err >&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); } && {
24130 test -z "$ac_cxx_werror_flag" ||
24131 test ! -s conftest.err
24132 } && test -s conftest.$ac_objext; then
24133 wx_cv_STDC_EXT_required=no
24135 echo "$as_me: failed program was:" >&5
24136 sed 's
/^
/| /' conftest.$ac_ext >&5
24138 wx_cv_STDC_EXT_required=yes
24142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144 ac_cpp='$CPP $CPPFLAGS'
24145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24152 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24153 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24154 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24155 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24161 ac_cpp='$CXXCPP $CPPFLAGS'
24162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24163 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24166 old_CPPFLAGS="$CPPFLAGS"
24167 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24168 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24169 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24170 if test "${ac_cv_sys_largefile_source+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24174 cat >conftest.$ac_ext <<_ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24180 #include <sys/types.h> /* for off_t */
24185 int (*fp) (FILE *, off_t, int) = fseeko;
24186 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24191 rm -f conftest.$ac_objext conftest$ac_exeext
24192 if { (ac_try="$ac_link"
24193 case "(($ac_try" in
24194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24195 *) ac_try_echo=$ac_try;;
24197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24198 (eval "$ac_link") 2>conftest.er1
24200 grep -v '^
*+' conftest.er1 >conftest.err
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } && {
24205 test -z "$ac_cxx_werror_flag" ||
24206 test ! -s conftest.err
24207 } && test -s conftest$ac_exeext &&
24208 $as_test_x conftest$ac_exeext; then
24209 ac_cv_sys_largefile_source=no; break
24211 echo "$as_me: failed program was:" >&5
24212 sed 's
/^
/| /' conftest.$ac_ext >&5
24217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24218 conftest$ac_exeext conftest.$ac_ext
24219 cat >conftest.$ac_ext <<_ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 #define _LARGEFILE_SOURCE 1
24226 #include <sys/types.h> /* for off_t */
24231 int (*fp) (FILE *, off_t, int) = fseeko;
24232 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 if { (ac_try="$ac_link"
24239 case "(($ac_try" in
24240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24241 *) ac_try_echo=$ac_try;;
24243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24244 (eval "$ac_link") 2>conftest.er1
24246 grep -v '^
*+' conftest.er1 >conftest.err
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } && {
24251 test -z "$ac_cxx_werror_flag" ||
24252 test ! -s conftest.err
24253 } && test -s conftest$ac_exeext &&
24254 $as_test_x conftest$ac_exeext; then
24255 ac_cv_sys_largefile_source=1; break
24257 echo "$as_me: failed program was:" >&5
24258 sed 's
/^
/| /' conftest.$ac_ext >&5
24263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24264 conftest$ac_exeext conftest.$ac_ext
24265 ac_cv_sys_largefile_source=unknown
24269 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24270 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24271 case $ac_cv_sys_largefile_source in #(
24274 cat >>confdefs.h <<_ACEOF
24275 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24281 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24282 # in glibc 2.1.3, but that breaks too many other things.
24283 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24284 if test $ac_cv_sys_largefile_source != unknown; then
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_FSEEKO 1
24292 CPPFLAGS="$old_CPPFLAGS"
24294 ac_cpp='$CPP $CPPFLAGS'
24295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24296 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24299 if test "$ac_cv_sys_largefile_source" != no; then
24300 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24303 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24304 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24305 if test "${ac_cv_c_bigendian+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24308 ac_cv_c_bigendian=unknown
24309 # See if sys/param.h defines the BYTE_ORDER macro.
24310 cat >conftest.$ac_ext <<_ACEOF
24313 cat confdefs.h >>conftest.$ac_ext
24314 cat >>conftest.$ac_ext <<_ACEOF
24315 /* end confdefs.h. */
24316 #include <sys/types.h>
24317 #include <sys/param.h>
24322 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24323 bogus endian macros
24329 rm -f conftest.$ac_objext
24330 if { (ac_try="$ac_compile"
24331 case "(($ac_try" in
24332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24333 *) ac_try_echo=$ac_try;;
24335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24336 (eval "$ac_compile") 2>conftest.er1
24338 grep -v '^
*+' conftest.er1 >conftest.err
24340 cat conftest.err >&5
24341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342 (exit $ac_status); } && {
24343 test -z "$ac_c_werror_flag" ||
24344 test ! -s conftest.err
24345 } && test -s conftest.$ac_objext; then
24346 # It does; now see whether it defined to BIG_ENDIAN or not.
24347 cat >conftest.$ac_ext <<_ACEOF
24350 cat confdefs.h >>conftest.$ac_ext
24351 cat >>conftest.$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24353 #include <sys/types.h>
24354 #include <sys/param.h>
24359 #if BYTE_ORDER != BIG_ENDIAN
24366 rm -f conftest.$ac_objext
24367 if { (ac_try="$ac_compile"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_compile") 2>conftest.er1
24375 grep -v '^
*+' conftest.er1 >conftest.err
24377 cat conftest.err >&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } && {
24380 test -z "$ac_c_werror_flag" ||
24381 test ! -s conftest.err
24382 } && test -s conftest.$ac_objext; then
24383 ac_cv_c_bigendian=yes
24385 echo "$as_me: failed program was:" >&5
24386 sed 's
/^
/| /' conftest.$ac_ext >&5
24388 ac_cv_c_bigendian=no
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24393 echo "$as_me: failed program was:" >&5
24394 sed 's
/^
/| /' conftest.$ac_ext >&5
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24400 if test $ac_cv_c_bigendian = unknown; then
24401 if test "$cross_compiling" = yes; then
24402 ac_cv_c_bigendian=unknown
24404 cat >conftest.$ac_ext <<_ACEOF
24407 cat confdefs.h >>conftest.$ac_ext
24408 cat >>conftest.$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24411 /* Are we little or big endian? From Harbison&Steele. */
24415 char c[sizeof (long)];
24418 exit (u.c[sizeof (long) - 1] == 1);
24421 rm -f conftest$ac_exeext
24422 if { (ac_try="$ac_link"
24423 case "(($ac_try" in
24424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24425 *) ac_try_echo=$ac_try;;
24427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24428 (eval "$ac_link") 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24432 { (case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24434 *) ac_try_echo=$ac_try;;
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_try") 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; }; then
24441 ac_cv_c_bigendian=no
24443 echo "$as_me: program exited with status $ac_status" >&5
24444 echo "$as_me: failed program was:" >&5
24445 sed 's
/^
/| /' conftest.$ac_ext >&5
24447 ( exit $ac_status )
24448 ac_cv_c_bigendian=yes
24450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24456 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24457 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24458 if test $ac_cv_c_bigendian = unknown; then
24459 { 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
24460 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;}
24462 if test $ac_cv_c_bigendian = yes; then
24463 cat >>confdefs.h <<\_ACEOF
24464 #define WORDS_BIGENDIAN 1
24473 ac_cpp='$CXXCPP $CPPFLAGS'
24474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24475 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24480 for ac_header in iostream
24482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24488 cat >conftest.$ac_ext <<_ACEOF
24491 cat confdefs.h >>conftest.$ac_ext
24492 cat >>conftest.$ac_ext <<_ACEOF
24493 /* end confdefs.h. */
24496 #include <$ac_header>
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24507 grep -v '^
*+' conftest.er1 >conftest.err
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_cxx_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 eval "$as_ac_Header=yes"
24517 echo "$as_me: failed program was:" >&5
24518 sed 's
/^
/| /' conftest.$ac_ext >&5
24520 eval "$as_ac_Header=no"
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525 ac_res=`eval echo '${'$as_ac_Header'}'`
24526 { echo "$as_me:$LINENO: result: $ac_res" >&5
24527 echo "${ECHO_T}$ac_res" >&6; }
24528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24529 cat >>confdefs.h <<_ACEOF
24530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24538 if test "$ac_cv_header_iostream" = "yes" ; then
24541 cat >>confdefs.h <<\_ACEOF
24542 #define wxUSE_IOSTREAMH 1
24548 ac_cpp='$CPP $CPPFLAGS'
24549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24550 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24556 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24557 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24558 if test "${wx_cv_explicit+set}" = set; then
24559 echo $ECHO_N "(cached) $ECHO_C" >&6
24564 ac_cpp='$CXXCPP $CPPFLAGS'
24565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24566 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570 cat >conftest.$ac_ext <<_ACEOF
24573 cat confdefs.h >>conftest.$ac_ext
24574 cat >>conftest.$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24577 class Foo { public: explicit Foo(int) {} };
24589 rm -f conftest.$ac_objext
24590 if { (ac_try="$ac_compile"
24591 case "(($ac_try" in
24592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24593 *) ac_try_echo=$ac_try;;
24595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24596 (eval "$ac_compile") 2>conftest.er1
24598 grep -v '^
*+' conftest.er1 >conftest.err
24600 cat conftest.err >&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } && {
24603 test -z "$ac_cxx_werror_flag" ||
24604 test ! -s conftest.err
24605 } && test -s conftest.$ac_objext; then
24607 cat >conftest.$ac_ext <<_ACEOF
24610 cat confdefs.h >>conftest.$ac_ext
24611 cat >>conftest.$ac_ext <<_ACEOF
24612 /* end confdefs.h. */
24614 class Foo { public: explicit Foo(int) {} };
24615 static void TakeFoo(const Foo& foo) { }
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
24647 echo "$as_me: failed program was:" >&5
24648 sed 's
/^
/| /' conftest.$ac_ext >&5
24654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24657 echo "$as_me: failed program was:" >&5
24658 sed 's
/^
/| /' conftest.$ac_ext >&5
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24667 ac_cpp='$CPP $CPPFLAGS'
24668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24669 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24675 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24677 if test "$wx_cv_explicit" = "yes"; then
24678 cat >>confdefs.h <<\_ACEOF
24679 #define HAVE_EXPLICIT 1
24685 if test "x$SUNCXX" = xyes; then
24686 CXXFLAGS="-features=tmplife $CXXFLAGS"
24689 if test "x$SUNCC" = xyes; then
24690 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24693 if test "x$SGICC" = "xyes"; then
24694 CFLAGS="-woff 3970 $CFLAGS"
24696 if test "x$SGICXX" = "xyes"; then
24697 CXXFLAGS="-woff 3970 $CXXFLAGS"
24700 if test "x$HPCC" = "xyes"; then
24701 CFLAGS="+W 2011,2450 $CFLAGS"
24703 if test "x$HPCXX" = "xyes"; then
24704 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24707 if test "x$COMPAQCXX" = "xyes"; then
24708 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24712 ac_cpp='$CXXCPP $CPPFLAGS'
24713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24714 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24718 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24719 if test "$wxUSE_UNICODE" = "yes"; then
24720 std_string="std::wstring"
24721 char_type="wchar_t"
24723 std_string="std::string"
24727 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24728 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24729 if test "${wx_cv_class_stdstring+set}" = set; then
24730 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. */
24748 rm -f conftest.$ac_objext
24749 if { (ac_try="$ac_compile"
24750 case "(($ac_try" in
24751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24752 *) ac_try_echo=$ac_try;;
24754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24755 (eval "$ac_compile") 2>conftest.er1
24757 grep -v '^
*+' conftest.er1 >conftest.err
24759 cat conftest.err >&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } && {
24762 test -z "$ac_cxx_werror_flag" ||
24763 test ! -s conftest.err
24764 } && test -s conftest.$ac_objext; then
24765 wx_cv_class_stdstring=yes
24767 echo "$as_me: failed program was:" >&5
24768 sed 's
/^
/| /' conftest.$ac_ext >&5
24770 wx_cv_class_stdstring=no
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24779 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24781 if test "$wx_cv_class_stdstring" = yes; then
24782 if test "$wxUSE_UNICODE" = "yes"; then
24783 cat >>confdefs.h <<\_ACEOF
24784 #define HAVE_STD_WSTRING 1
24789 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24790 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24791 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24792 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24802 #ifdef HAVE_WCHAR_H
24804 # include <stddef.h>
24806 # include <wchar.h>
24808 #ifdef HAVE_STDLIB_H
24809 # include <stdlib.h>
24817 std::basic_string<$char_type> foo;
24818 const $char_type* dummy = foo.c_str();
24823 rm -f conftest.$ac_objext
24824 if { (ac_try="$ac_compile"
24825 case "(($ac_try" in
24826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24827 *) ac_try_echo=$ac_try;;
24829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24830 (eval "$ac_compile") 2>conftest.er1
24832 grep -v '^
*+' conftest.er1 >conftest.err
24834 cat conftest.err >&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } && {
24837 test -z "$ac_cxx_werror_flag" ||
24838 test ! -s conftest.err
24839 } && test -s conftest.$ac_objext; then
24840 wx_cv_class_stdbasicstring=yes
24842 echo "$as_me: failed program was:" >&5
24843 sed 's
/^
/| /' conftest.$ac_ext >&5
24845 wx_cv_class_stdbasicstring=no
24849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24854 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24856 if test "$wx_cv_class_stdbasicstring" != yes; then
24857 if test "$wxUSE_STL" = "yes"; then
24858 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24859 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24860 { (exit 1); exit 1; }; }
24861 elif test "$wxUSE_STD_STRING" = "yes"; then
24862 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24863 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24864 { (exit 1); exit 1; }; }
24866 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24867 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24868 wxUSE_STD_STRING=no
24874 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24875 { echo "$as_me:$LINENO: checking for std::istream" >&5
24876 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24877 if test "${ac_cv_type_std__istream+set}" = set; then
24878 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 cat >conftest.$ac_ext <<_ACEOF
24883 cat confdefs.h >>conftest.$ac_ext
24884 cat >>conftest.$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24886 #include <iostream>
24888 typedef std::istream ac__type_new_;
24892 if ((ac__type_new_ *) 0)
24894 if (sizeof (ac__type_new_))
24900 rm -f conftest.$ac_objext
24901 if { (ac_try="$ac_compile"
24902 case "(($ac_try" in
24903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24904 *) ac_try_echo=$ac_try;;
24906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24907 (eval "$ac_compile") 2>conftest.er1
24909 grep -v '^
*+' conftest.er1 >conftest.err
24911 cat conftest.err >&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } && {
24914 test -z "$ac_cxx_werror_flag" ||
24915 test ! -s conftest.err
24916 } && test -s conftest.$ac_objext; then
24917 ac_cv_type_std__istream=yes
24919 echo "$as_me: failed program was:" >&5
24920 sed 's
/^
/| /' conftest.$ac_ext >&5
24922 ac_cv_type_std__istream=no
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24928 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24929 if test $ac_cv_type_std__istream = yes; then
24931 cat >>confdefs.h <<_ACEOF
24932 #define HAVE_STD__ISTREAM 1
24937 wxUSE_STD_IOSTREAM=no
24939 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24940 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24941 if test "${ac_cv_type_std__ostream+set}" = set; then
24942 echo $ECHO_N "(cached) $ECHO_C" >&6
24944 cat >conftest.$ac_ext <<_ACEOF
24947 cat confdefs.h >>conftest.$ac_ext
24948 cat >>conftest.$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24950 #include <iostream>
24952 typedef std::ostream ac__type_new_;
24956 if ((ac__type_new_ *) 0)
24958 if (sizeof (ac__type_new_))
24964 rm -f conftest.$ac_objext
24965 if { (ac_try="$ac_compile"
24966 case "(($ac_try" in
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24968 *) ac_try_echo=$ac_try;;
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24971 (eval "$ac_compile") 2>conftest.er1
24973 grep -v '^
*+' conftest.er1 >conftest.err
24975 cat conftest.err >&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } && {
24978 test -z "$ac_cxx_werror_flag" ||
24979 test ! -s conftest.err
24980 } && test -s conftest.$ac_objext; then
24981 ac_cv_type_std__ostream=yes
24983 echo "$as_me: failed program was:" >&5
24984 sed 's
/^
/| /' conftest.$ac_ext >&5
24986 ac_cv_type_std__ostream=no
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24991 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24992 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24993 if test $ac_cv_type_std__ostream = yes; then
24995 cat >>confdefs.h <<_ACEOF
24996 #define HAVE_STD__OSTREAM 1
25001 wxUSE_STD_IOSTREAM=no
25005 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25006 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25007 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25008 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25009 { (exit 1); exit 1; }; }
25011 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25012 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25017 if test "$wxUSE_STL" = "yes"; then
25018 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25019 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25020 if test "${wx_cv_lib_stl+set}" = set; then
25021 echo $ECHO_N "(cached) $ECHO_C" >&6
25023 cat >conftest.$ac_ext <<_ACEOF
25026 cat confdefs.h >>conftest.$ac_ext
25027 cat >>conftest.$ac_ext <<_ACEOF
25028 /* end confdefs.h. */
25030 #include <functional>
25031 #include <algorithm>
25037 std::vector<int> moo;
25038 std::list<int> foo;
25039 std::vector<int>::iterator it =
25040 std::find_if(moo.begin(), moo.end(),
25041 std::bind2nd(std::less<int>(), 3));
25046 rm -f conftest.$ac_objext
25047 if { (ac_try="$ac_compile"
25048 case "(($ac_try" in
25049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25050 *) ac_try_echo=$ac_try;;
25052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25053 (eval "$ac_compile") 2>conftest.er1
25055 grep -v '^
*+' conftest.er1 >conftest.err
25057 cat conftest.err >&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } && {
25060 test -z "$ac_cxx_werror_flag" ||
25061 test ! -s conftest.err
25062 } && test -s conftest.$ac_objext; then
25065 echo "$as_me: failed program was:" >&5
25066 sed 's
/^
/| /' conftest.$ac_ext >&5
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25075 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25076 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25078 if test "$wx_cv_lib_stl" != yes; then
25079 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25080 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25081 { (exit 1); exit 1; }; }
25084 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25085 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25086 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25087 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 cat >conftest.$ac_ext <<_ACEOF
25092 cat confdefs.h >>conftest.$ac_ext
25093 cat >>conftest.$ac_ext <<_ACEOF
25094 /* end confdefs.h. */
25099 std::string foo, bar;
25101 foo.compare(1, 1, bar);
25102 foo.compare(1, 1, bar, 1, 1);
25104 foo.compare(1, 1, "");
25105 foo.compare(1, 1, "", 2);
25110 rm -f conftest.$ac_objext
25111 if { (ac_try="$ac_compile"
25112 case "(($ac_try" in
25113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25114 *) ac_try_echo=$ac_try;;
25116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25117 (eval "$ac_compile") 2>conftest.er1
25119 grep -v '^
*+' conftest.er1 >conftest.err
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } && {
25124 test -z "$ac_cxx_werror_flag" ||
25125 test ! -s conftest.err
25126 } && test -s conftest.$ac_objext; then
25127 wx_cv_func_stdstring_compare=yes
25129 echo "$as_me: failed program was:" >&5
25130 sed 's
/^
/| /' conftest.$ac_ext >&5
25132 wx_cv_func_stdstring_compare=no
25136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25139 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25140 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25142 if test "$wx_cv_func_stdstring_compare" = yes; then
25143 cat >>confdefs.h <<\_ACEOF
25144 #define HAVE_STD_STRING_COMPARE 1
25149 if test "$wx_cv_class_gnuhashmapset" = yes; then
25150 cat >>confdefs.h <<\_ACEOF
25151 #define HAVE_EXT_HASH_MAP 1
25154 cat >>confdefs.h <<\_ACEOF
25155 #define HAVE_GNU_CXX_HASH_MAP 1
25160 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25161 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25162 if test "${ac_cv_header_unordered_map+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 cat >conftest.$ac_ext <<_ACEOF
25168 cat confdefs.h >>conftest.$ac_ext
25169 cat >>conftest.$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25174 #include <unordered_map>
25176 rm -f conftest.$ac_objext
25177 if { (ac_try="$ac_compile"
25178 case "(($ac_try" in
25179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_compile") 2>conftest.er1
25185 grep -v '^
*+' conftest.er1 >conftest.err
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_cxx_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest.$ac_objext; then
25193 ac_cv_header_unordered_map=yes
25195 echo "$as_me: failed program was:" >&5
25196 sed 's
/^
/| /' conftest.$ac_ext >&5
25198 ac_cv_header_unordered_map=no
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25204 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25205 if test $ac_cv_header_unordered_map = yes; then
25206 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25207 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25208 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25211 cat >conftest.$ac_ext <<_ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217 #include <unordered_map>
25218 #include <unordered_set>
25222 std::unordered_map<double*, char*> test1;
25223 std::unordered_set<char*> test2;
25228 rm -f conftest.$ac_objext
25229 if { (ac_try="$ac_compile"
25230 case "(($ac_try" in
25231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25232 *) ac_try_echo=$ac_try;;
25234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25235 (eval "$ac_compile") 2>conftest.er1
25237 grep -v '^
*+' conftest.er1 >conftest.err
25239 cat conftest.err >&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } && {
25242 test -z "$ac_cxx_werror_flag" ||
25243 test ! -s conftest.err
25244 } && test -s conftest.$ac_objext; then
25245 wx_cv_class_stdunorderedmapset=yes
25247 echo "$as_me: failed program was:" >&5
25248 sed 's
/^
/| /' conftest.$ac_ext >&5
25250 wx_cv_class_stdunorderedmapset=no
25253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25258 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25263 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25264 cat >>confdefs.h <<\_ACEOF
25265 #define HAVE_STD_UNORDERED_MAP 1
25268 cat >>confdefs.h <<\_ACEOF
25269 #define HAVE_STD_UNORDERED_SET 1
25273 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25274 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25275 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 cat >conftest.$ac_ext <<_ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25287 #include <tr1/unordered_map>
25289 rm -f conftest.$ac_objext
25290 if { (ac_try="$ac_compile"
25291 case "(($ac_try" in
25292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25293 *) ac_try_echo=$ac_try;;
25295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25296 (eval "$ac_compile") 2>conftest.er1
25298 grep -v '^
*+' conftest.er1 >conftest.err
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && {
25303 test -z "$ac_cxx_werror_flag" ||
25304 test ! -s conftest.err
25305 } && test -s conftest.$ac_objext; then
25306 ac_cv_header_tr1_unordered_map=yes
25308 echo "$as_me: failed program was:" >&5
25309 sed 's
/^
/| /' conftest.$ac_ext >&5
25311 ac_cv_header_tr1_unordered_map=no
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25316 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25317 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25318 if test $ac_cv_header_tr1_unordered_map = yes; then
25319 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25320 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25321 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25322 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 cat >conftest.$ac_ext <<_ACEOF
25327 cat confdefs.h >>conftest.$ac_ext
25328 cat >>conftest.$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25330 #include <tr1/unordered_map>
25331 #include <tr1/unordered_set>
25335 std::tr1::unordered_map<double*, char*> test1;
25336 std::tr1::unordered_set<char*> test2;
25337 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25338 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25344 rm -f conftest.
$ac_objext
25345 if { (ac_try
="$ac_compile"
25346 case "(($ac_try" in
25347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_compile") 2>conftest.er1
25353 grep -v '^ *+' conftest.er1 >conftest.err
25355 cat conftest.err >&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } && {
25358 test -z "$ac_cxx_werror_flag" ||
25359 test ! -s conftest.err
25360 } && test -s conftest.$ac_objext; then
25361 wx_cv_class_tr1unorderedmapset=yes
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25366 wx_cv_class_tr1unorderedmapset=no
25369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25373 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25374 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25379 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25380 cat >>confdefs.h <<\_ACEOF
25381 #define HAVE_TR1_UNORDERED_MAP 1
25384 cat >>confdefs.h <<\_ACEOF
25385 #define HAVE_TR1_UNORDERED_SET 1
25389 { echo "$as_me:$LINENO: checking for hash_map" >&5
25390 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25391 if test "${ac_cv_header_hash_map+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 cat >conftest.$ac_ext <<_ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25403 #include <hash_map>
25405 rm -f conftest.$ac_objext
25406 if { (ac_try="$ac_compile"
25407 case "(($ac_try" in
25408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25409 *) ac_try_echo
=$ac_try;;
25411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25412 (eval "$ac_compile") 2>conftest.er1
25414 grep -v '^ *+' conftest.er1
>conftest.err
25416 cat conftest.err
>&5
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); } && {
25419 test -z "$ac_cxx_werror_flag" ||
25420 test ! -s conftest.err
25421 } && test -s conftest.
$ac_objext; then
25422 ac_cv_header_hash_map
=yes
25424 echo "$as_me: failed program was:" >&5
25425 sed 's/^/| /' conftest.
$ac_ext >&5
25427 ac_cv_header_hash_map
=no
25430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25432 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25433 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25434 if test $ac_cv_header_hash_map = yes; then
25435 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25436 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25437 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 cat >conftest.
$ac_ext <<_ACEOF
25443 cat confdefs.h
>>conftest.
$ac_ext
25444 cat >>conftest.
$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 #include <hash_map>
25447 #include <hash_set>
25451 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25452 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25457 rm -f conftest.
$ac_objext
25458 if { (ac_try
="$ac_compile"
25459 case "(($ac_try" in
25460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25461 *) ac_try_echo=$ac_try;;
25463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25464 (eval "$ac_compile") 2>conftest.er1
25466 grep -v '^ *+' conftest.er1 >conftest.err
25468 cat conftest.err >&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } && {
25471 test -z "$ac_cxx_werror_flag" ||
25472 test ! -s conftest.err
25473 } && test -s conftest.$ac_objext; then
25474 wx_cv_class_stdhashmapset=yes
25476 echo "$as_me: failed program was:" >&5
25477 sed 's/^/| /' conftest.$ac_ext >&5
25479 wx_cv_class_stdhashmapset=no
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25486 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25487 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25492 if test "$wx_cv_class_stdhashmapset" = yes; then
25493 cat >>confdefs.h <<\_ACEOF
25494 #define HAVE_HASH_MAP 1
25497 cat >>confdefs.h <<\_ACEOF
25498 #define HAVE_STD_HASH_MAP 1
25503 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25504 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25505 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 cat >conftest.$ac_ext <<_ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25517 #include <ext/hash_map>
25519 rm -f conftest.$ac_objext
25520 if { (ac_try="$ac_compile"
25521 case "(($ac_try" in
25522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25523 *) ac_try_echo
=$ac_try;;
25525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25526 (eval "$ac_compile") 2>conftest.er1
25528 grep -v '^ *+' conftest.er1
>conftest.err
25530 cat conftest.err
>&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); } && {
25533 test -z "$ac_cxx_werror_flag" ||
25534 test ! -s conftest.err
25535 } && test -s conftest.
$ac_objext; then
25536 ac_cv_header_ext_hash_map
=yes
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.
$ac_ext >&5
25541 ac_cv_header_ext_hash_map
=no
25544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25546 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25547 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25548 if test $ac_cv_header_ext_hash_map = yes; then
25549 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25550 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25551 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25552 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 cat >conftest.
$ac_ext <<_ACEOF
25557 cat confdefs.h
>>conftest.
$ac_ext
25558 cat >>conftest.
$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25560 #include <ext/hash_map>
25561 #include <ext/hash_set>
25565 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25566 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25571 rm -f conftest.
$ac_objext
25572 if { (ac_try
="$ac_compile"
25573 case "(($ac_try" in
25574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25575 *) ac_try_echo=$ac_try;;
25577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25578 (eval "$ac_compile") 2>conftest.er1
25580 grep -v '^ *+' conftest.er1 >conftest.err
25582 cat conftest.err >&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); } && {
25585 test -z "$ac_cxx_werror_flag" ||
25586 test ! -s conftest.err
25587 } && test -s conftest.$ac_objext; then
25588 wx_cv_class_gnuhashmapset=yes
25590 echo "$as_me: failed program was:" >&5
25591 sed 's/^/| /' conftest.$ac_ext >&5
25593 wx_cv_class_gnuhashmapset=no
25596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25600 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25601 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25612 if test -n "$GCC"; then
25613 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25614 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25615 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 cat >conftest.$ac_ext <<_ACEOF
25622 cat confdefs.h >>conftest.$ac_ext
25623 cat >>conftest.$ac_ext <<_ACEOF
25624 /* end confdefs.h. */
25630 unsigned int value=0;
25631 /* wxAtomicInc doesn't use return value here */
25632 __sync_fetch_and_add(&value, 2);
25633 __sync_sub_and_fetch(&value, 1);
25634 /* but wxAtomicDec does, so mimic that: */
25635 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25641 rm -f conftest.$ac_objext conftest$ac_exeext
25642 if { (ac_try="$ac_link"
25643 case "(($ac_try" in
25644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25645 *) ac_try_echo
=$ac_try;;
25647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25648 (eval "$ac_link") 2>conftest.er1
25650 grep -v '^ *+' conftest.er1
>conftest.err
25652 cat conftest.err
>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } && {
25655 test -z "$ac_cxx_werror_flag" ||
25656 test ! -s conftest.err
25657 } && test -s conftest
$ac_exeext &&
25658 $as_test_x conftest
$ac_exeext; then
25659 wx_cv_cc_gcc_atomic_builtins
=yes
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.
$ac_ext >&5
25664 wx_cv_cc_gcc_atomic_builtins
=no
25667 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25668 conftest
$ac_exeext conftest.
$ac_ext
25672 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25673 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25674 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25675 cat >>confdefs.h
<<\_ACEOF
25676 #define HAVE_GCC_ATOMIC_BUILTINS 1
25684 ac_cpp
='$CPP $CPPFLAGS'
25685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25692 /usr/local/include \
25693 /usr/local/X11/include \
25694 /usr/local/include/X11 \
25695 /usr/local/X11R7/include \
25696 /usr/local/X11R6/include \
25697 /usr/local/include/X11R7 \
25698 /usr/local/include/X11R6 \
25700 /usr/Motif-2.1/include \
25701 /usr/Motif-1.2/include \
25702 /usr/include/Motif1.2 \
25705 /usr/openwin/include \
25709 /usr/X11R7/include \
25710 /usr/X11R6/include \
25711 /usr/X11R6.4/include \
25713 /usr/include/X11R7 \
25714 /usr/include/X11R6 \
25719 /usr/XFree86/include/X11 \
25722 /usr/local/X1R5/include \
25723 /usr/local/include/X11R5 \
25724 /usr/X11R5/include \
25725 /usr/include/X11R5 \
25727 /usr/local/X11R4/include \
25728 /usr/local/include/X11R4 \
25729 /usr/X11R4/include \
25730 /usr/include/X11R4 \
25732 /usr/openwin/share/include"
25734 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25735 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25739 if test "${wx_cv_std_libpath+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25744 for e
in a so sl dylib dll.a
; do
25746 if test -f $libc; then
25749 cat >conftest.
$ac_ext <<_ACEOF
25750 int main() { return 0; }
25752 rm -f conftest.
$ac_objext conftest
$ac_exeext
25753 if { (ac_try
="$ac_link"
25754 case "(($ac_try" in
25755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25756 *) ac_try_echo=$ac_try;;
25758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25759 (eval "$ac_link") 2>conftest.er1
25761 grep -v '^ *+' conftest.er1 >conftest.err
25763 cat conftest.err >&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); } && {
25766 test -z "$ac_c_werror_flag" ||
25767 test ! -s conftest.err
25768 } && test -s conftest$ac_exeext &&
25769 $as_test_x conftest$ac_exeext; then
25770 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25772 echo "$as_me: failed program was:" >&5
25773 sed 's/^/| /' conftest.$ac_ext >&5
25778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25779 conftest$ac_exeext conftest.$ac_ext
25781 if test "x$wx_cv_std_libpath" != "x"; then
25787 if test "x$wx_cv_std_libpath" = "x"; then
25788 wx_cv_std_libpath="lib"
25797 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25798 wx_cv_std_libpath="lib/64"
25800 wx_cv_std_libpath="lib"
25805 if test "$ac_cv_sizeof_void_p" = 8 -a \
25806 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25807 wx_cv_std_libpath="lib64"
25809 wx_cv_std_libpath="lib"
25814 wx_cv_std_libpath="lib";
25818 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25819 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25821 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25823 if test "$build" != "$host" -a "$GCC" = yes; then
25824 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25825 cross_root=`dirname $cross_root`
25826 cross_root=`dirname $cross_root`
25828 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25829 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25830 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25832 if test -z "$PKG_CONFIG_PATH"; then
25833 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25834 export PKG_CONFIG_PATH
25837 if test -z "$x_includes" -o "$x_includes" = NONE; then
25840 for ac_dir in $SEARCH_INCLUDE /usr/include;
25842 if test -f "$ac_dir/X11/Intrinsic.h"; then
25843 ac_find_includes=$ac_dir
25848 x_includes=$ac_find_includes
25850 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25853 for ac_dir in $SEARCH_LIB;
25855 for ac_extension in a so sl dylib dll.a; do
25856 if test -f "$ac_dir/libXt.$ac_extension"; then
25857 ac_find_libraries=$ac_dir
25863 x_libraries=$ac_find_libraries
25869 cat >confcache <<\_ACEOF
25870 # This file is a shell script that caches the results of configure
25871 # tests run on this system so they can be shared between configure
25872 # scripts and configure runs, see configure's option --config-cache.
25873 # It is not useful on other systems. If it contains results you don't
25874 # want to keep, you may remove or edit it.
25876 # config.status only pays attention to the cache file if you give it
25877 # the --recheck option to rerun configure.
25879 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25881 # following values.
25885 # The following way of writing the cache mishandles newlines in values,
25886 # but we know of no workaround that is simple, portable, and efficient.
25887 # So, we kill variables containing newlines.
25888 # Ultrix sh set writes to stderr and can't be redirected directly,
25889 # and sets the high bit in the cache file unless we assign to the vars.
25891 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25892 eval ac_val
=\$
$ac_var
25896 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25897 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25900 _
| IFS
| as_nl
) ;; #(
25901 *) $as_unset $ac_var ;;
25907 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25908 *${as_nl}ac_space
=\
*)
25909 # `set' does not quote correctly, so add quotes (double-quote
25910 # substitution turns \\\\ into \\, and sed turns \\ into \).
25913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25916 # `set' quotes correctly as required by POSIX, so do not add quotes.
25917 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25926 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25928 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25930 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25931 if test -w "$cache_file"; then
25932 test "x$cache_file" != "x/dev/null" &&
25933 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25934 echo "$as_me: updating cache $cache_file" >&6;}
25935 cat confcache
>$cache_file
25937 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25938 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25943 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25944 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25945 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25946 if test "${wx_cv_lib_glibc21+set}" = set; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 cat >conftest.
$ac_ext <<_ACEOF
25953 cat confdefs.h
>>conftest.
$ac_ext
25954 cat >>conftest.
$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25956 #include <features.h>
25961 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25969 rm -f conftest.
$ac_objext
25970 if { (ac_try
="$ac_compile"
25971 case "(($ac_try" in
25972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25973 *) ac_try_echo=$ac_try;;
25975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25976 (eval "$ac_compile") 2>conftest.er1
25978 grep -v '^ *+' conftest.er1 >conftest.err
25980 cat conftest.err >&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } && {
25983 test -z "$ac_c_werror_flag" ||
25984 test ! -s conftest.err
25985 } && test -s conftest.$ac_objext; then
25987 wx_cv_lib_glibc21=yes
25990 echo "$as_me: failed program was:" >&5
25991 sed 's/^/| /' conftest.$ac_ext >&5
25994 wx_cv_lib_glibc21=no
25999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26002 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26003 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26004 if test "$wx_cv_lib_glibc21" = "yes"; then
26005 cat >>confdefs.h <<\_ACEOF
26006 #define wxHAVE_GLIBC2 1
26012 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26013 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26014 cat >>confdefs.h <<\_ACEOF
26015 #define _GNU_SOURCE 1
26026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26030 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 cat >conftest.$ac_ext <<_ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26040 #define $ac_func innocuous_$ac_func
26042 /* System header to define __stub macros and hopefully few prototypes,
26043 which can conflict with char $ac_func (); below.
26044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26045 <limits.h> exists even on freestanding compilers. */
26048 # include <limits.h>
26050 # include <assert.h>
26055 /* Override any GCC internal prototype to avoid an error.
26056 Use char because int might match the return type of a GCC
26057 builtin and then its argument prototype would still apply. */
26062 /* The GNU C library defines this for functions which it implements
26063 to always fail with ENOSYS. Some functions are actually named
26064 something starting with __ and the normal name is an alias. */
26065 #if defined __stub_$ac_func || defined __stub___$ac_func
26072 return $ac_func ();
26077 rm -f conftest.$ac_objext conftest$ac_exeext
26078 if { (ac_try="$ac_link"
26079 case "(($ac_try" in
26080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26081 *) ac_try_echo
=$ac_try;;
26083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26084 (eval "$ac_link") 2>conftest.er1
26086 grep -v '^ *+' conftest.er1
>conftest.err
26088 cat conftest.err
>&5
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); } && {
26091 test -z "$ac_c_werror_flag" ||
26092 test ! -s conftest.err
26093 } && test -s conftest
$ac_exeext &&
26094 $as_test_x conftest
$ac_exeext; then
26095 eval "$as_ac_var=yes"
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.
$ac_ext >&5
26100 eval "$as_ac_var=no"
26103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26104 conftest
$ac_exeext conftest.
$ac_ext
26106 ac_res
=`eval echo '${'$as_ac_var'}'`
26107 { echo "$as_me:$LINENO: result: $ac_res" >&5
26108 echo "${ECHO_T}$ac_res" >&6; }
26109 if test `eval echo '${'$as_ac_var'}'` = yes; then
26110 cat >>confdefs.h
<<_ACEOF
26111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26118 for ac_func
in floor
26120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26123 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26126 cat >conftest.
$ac_ext <<_ACEOF
26129 cat confdefs.h
>>conftest.
$ac_ext
26130 cat >>conftest.
$ac_ext <<_ACEOF
26131 /* end confdefs.h. */
26132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26134 #define $ac_func innocuous_$ac_func
26136 /* System header to define __stub macros and hopefully few prototypes,
26137 which can conflict with char $ac_func (); below.
26138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26139 <limits.h> exists even on freestanding compilers. */
26142 # include <limits.h>
26144 # include <assert.h>
26149 /* Override any GCC internal prototype to avoid an error.
26150 Use char because int might match the return type of a GCC
26151 builtin and then its argument prototype would still apply. */
26156 /* The GNU C library defines this for functions which it implements
26157 to always fail with ENOSYS. Some functions are actually named
26158 something starting with __ and the normal name is an alias. */
26159 #if defined __stub_$ac_func || defined __stub___$ac_func
26166 return $ac_func ();
26171 rm -f conftest.
$ac_objext conftest
$ac_exeext
26172 if { (ac_try
="$ac_link"
26173 case "(($ac_try" in
26174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26175 *) ac_try_echo=$ac_try;;
26177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26178 (eval "$ac_link") 2>conftest.er1
26180 grep -v '^ *+' conftest.er1 >conftest.err
26182 cat conftest.err >&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); } && {
26185 test -z "$ac_c_werror_flag" ||
26186 test ! -s conftest.err
26187 } && test -s conftest$ac_exeext &&
26188 $as_test_x conftest$ac_exeext; then
26189 eval "$as_ac_var=yes"
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.$ac_ext >&5
26194 eval "$as_ac_var=no"
26197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26198 conftest$ac_exeext conftest.$ac_ext
26200 ac_res=`eval echo '${'$as_ac_var'}'`
26201 { echo "$as_me:$LINENO: result: $ac_res" >&5
26202 echo "${ECHO_T}$ac_res" >&6; }
26203 if test `eval echo '${'$as_ac_var'}'` = yes; then
26204 cat >>confdefs.h <<_ACEOF
26205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26211 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26212 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26213 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26214 { echo "$as_me:$LINENO: result: yes" >&5
26215 echo "${ECHO_T}yes" >&6; }
26217 { echo "$as_me:$LINENO: result: no" >&5
26218 echo "${ECHO_T}no" >&6; }
26220 # use different functions to avoid configure caching
26226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26230 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 cat >conftest.$ac_ext <<_ACEOF
26235 cat confdefs.h >>conftest.$ac_ext
26236 cat >>conftest.$ac_ext <<_ACEOF
26237 /* end confdefs.h. */
26238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26240 #define $ac_func innocuous_$ac_func
26242 /* System header to define __stub macros and hopefully few prototypes,
26243 which can conflict with char $ac_func (); below.
26244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26245 <limits.h> exists even on freestanding compilers. */
26248 # include <limits.h>
26250 # include <assert.h>
26255 /* Override any GCC internal prototype to avoid an error.
26256 Use char because int might match the return type of a GCC
26257 builtin and then its argument prototype would still apply. */
26262 /* The GNU C library defines this for functions which it implements
26263 to always fail with ENOSYS. Some functions are actually named
26264 something starting with __ and the normal name is an alias. */
26265 #if defined __stub_$ac_func || defined __stub___$ac_func
26272 return $ac_func ();
26277 rm -f conftest.$ac_objext conftest$ac_exeext
26278 if { (ac_try="$ac_link"
26279 case "(($ac_try" in
26280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26281 *) ac_try_echo
=$ac_try;;
26283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26284 (eval "$ac_link") 2>conftest.er1
26286 grep -v '^ *+' conftest.er1
>conftest.err
26288 cat conftest.err
>&5
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); } && {
26291 test -z "$ac_c_werror_flag" ||
26292 test ! -s conftest.err
26293 } && test -s conftest
$ac_exeext &&
26294 $as_test_x conftest
$ac_exeext; then
26295 eval "$as_ac_var=yes"
26297 echo "$as_me: failed program was:" >&5
26298 sed 's/^/| /' conftest.
$ac_ext >&5
26300 eval "$as_ac_var=no"
26303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26304 conftest
$ac_exeext conftest.
$ac_ext
26306 ac_res
=`eval echo '${'$as_ac_var'}'`
26307 { echo "$as_me:$LINENO: result: $ac_res" >&5
26308 echo "${ECHO_T}$ac_res" >&6; }
26309 if test `eval echo '${'$as_ac_var'}'` = yes; then
26310 cat >>confdefs.h
<<_ACEOF
26311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26318 for ac_func
in ceil
26320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26323 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26324 echo $ECHO_N "(cached) $ECHO_C" >&6
26326 cat >conftest.
$ac_ext <<_ACEOF
26329 cat confdefs.h
>>conftest.
$ac_ext
26330 cat >>conftest.
$ac_ext <<_ACEOF
26331 /* end confdefs.h. */
26332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26334 #define $ac_func innocuous_$ac_func
26336 /* System header to define __stub macros and hopefully few prototypes,
26337 which can conflict with char $ac_func (); below.
26338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26339 <limits.h> exists even on freestanding compilers. */
26342 # include <limits.h>
26344 # include <assert.h>
26349 /* Override any GCC internal prototype to avoid an error.
26350 Use char because int might match the return type of a GCC
26351 builtin and then its argument prototype would still apply. */
26356 /* The GNU C library defines this for functions which it implements
26357 to always fail with ENOSYS. Some functions are actually named
26358 something starting with __ and the normal name is an alias. */
26359 #if defined __stub_$ac_func || defined __stub___$ac_func
26366 return $ac_func ();
26371 rm -f conftest.
$ac_objext conftest
$ac_exeext
26372 if { (ac_try
="$ac_link"
26373 case "(($ac_try" in
26374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26375 *) ac_try_echo=$ac_try;;
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378 (eval "$ac_link") 2>conftest.er1
26380 grep -v '^ *+' conftest.er1 >conftest.err
26382 cat conftest.err >&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); } && {
26385 test -z "$ac_c_werror_flag" ||
26386 test ! -s conftest.err
26387 } && test -s conftest$ac_exeext &&
26388 $as_test_x conftest$ac_exeext; then
26389 eval "$as_ac_var=yes"
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.$ac_ext >&5
26394 eval "$as_ac_var=no"
26397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26398 conftest$ac_exeext conftest.$ac_ext
26400 ac_res=`eval echo '${'$as_ac_var'}'`
26401 { echo "$as_me:$LINENO: result: $ac_res" >&5
26402 echo "${ECHO_T}$ac_res" >&6; }
26403 if test `eval echo '${'$as_ac_var'}'` = yes; then
26404 cat >>confdefs.h <<_ACEOF
26405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26411 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26412 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26413 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26414 { echo "$as_me:$LINENO: result: yes" >&5
26415 echo "${ECHO_T}yes" >&6; }
26417 { echo "$as_me:$LINENO: result: no" >&5
26418 echo "${ECHO_T}no" >&6; }
26419 # not sure we should warn the user, crash, etc.
26424 ac_cpp='$CXXCPP $CPPFLAGS'
26425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26429 if test "wxUSE_UNICODE" = "yes"; then
26431 for wx_func in wcstoull
26433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 cat >conftest.$ac_ext <<_ACEOF
26443 cat confdefs.h >>conftest.$ac_ext
26444 cat >>conftest.$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26448 $ac_includes_default
26464 rm -f conftest.$ac_objext conftest$ac_exeext
26465 if { (ac_try="$ac_link"
26466 case "(($ac_try" in
26467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26468 *) ac_try_echo
=$ac_try;;
26470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26471 (eval "$ac_link") 2>conftest.er1
26473 grep -v '^ *+' conftest.er1
>conftest.err
26475 cat conftest.err
>&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } && {
26478 test -z "$ac_cxx_werror_flag" ||
26479 test ! -s conftest.err
26480 } && test -s conftest
$ac_exeext &&
26481 $as_test_x conftest
$ac_exeext; then
26482 eval wx_cv_func_
$wx_func=yes
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.
$ac_ext >&5
26487 eval wx_cv_func_
$wx_func=no
26490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26491 conftest
$ac_exeext conftest.
$ac_ext
26494 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26495 { echo "$as_me:$LINENO: result: $ac_res" >&5
26496 echo "${ECHO_T}$ac_res" >&6; }
26498 if eval test \
$wx_cv_func_$wx_func = yes
26500 cat >>confdefs.h
<<_ACEOF
26501 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26513 for wx_func
in strtoull
26515 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26516 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26517 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26518 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 cat >conftest.
$ac_ext <<_ACEOF
26525 cat confdefs.h
>>conftest.
$ac_ext
26526 cat >>conftest.
$ac_ext <<_ACEOF
26527 /* end confdefs.h. */
26530 $ac_includes_default
26546 rm -f conftest.
$ac_objext conftest
$ac_exeext
26547 if { (ac_try
="$ac_link"
26548 case "(($ac_try" in
26549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26550 *) ac_try_echo=$ac_try;;
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_link") 2>conftest.er1
26555 grep -v '^ *+' conftest.er1 >conftest.err
26557 cat conftest.err >&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_cxx_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest$ac_exeext &&
26563 $as_test_x conftest$ac_exeext; then
26564 eval wx_cv_func_$wx_func=yes
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.$ac_ext >&5
26569 eval wx_cv_func_$wx_func=no
26572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26573 conftest$ac_exeext conftest.$ac_ext
26576 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26577 { echo "$as_me:$LINENO: result: $ac_res" >&5
26578 echo "${ECHO_T}$ac_res" >&6; }
26580 if eval test \$wx_cv_func_$wx_func = yes
26582 cat >>confdefs.h <<_ACEOF
26583 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26595 ac_cpp='$CPP $CPPFLAGS'
26596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26603 if test "$wxUSE_REGEX" != "no"; then
26604 cat >>confdefs.h <<\_ACEOF
26605 #define wxUSE_REGEX 1
26609 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26610 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26611 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26612 wxUSE_REGEX=builtin
26615 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26616 { echo "$as_me:$LINENO: checking for regex.h" >&5
26617 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26618 if test "${ac_cv_header_regex_h+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 cat >conftest.$ac_ext <<_ACEOF
26624 cat confdefs.h >>conftest.$ac_ext
26625 cat >>conftest.$ac_ext <<_ACEOF
26626 /* end confdefs.h. */
26631 rm -f conftest.$ac_objext
26632 if { (ac_try="$ac_compile"
26633 case "(($ac_try" in
26634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26635 *) ac_try_echo
=$ac_try;;
26637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26638 (eval "$ac_compile") 2>conftest.er1
26640 grep -v '^ *+' conftest.er1
>conftest.err
26642 cat conftest.err
>&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } && {
26645 test -z "$ac_c_werror_flag" ||
26646 test ! -s conftest.err
26647 } && test -s conftest.
$ac_objext; then
26648 ac_cv_header_regex_h
=yes
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.
$ac_ext >&5
26653 ac_cv_header_regex_h
=no
26656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26658 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26659 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26660 if test $ac_cv_header_regex_h = yes; then
26663 for ac_func
in regcomp re_search
26665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26666 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26668 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26669 echo $ECHO_N "(cached) $ECHO_C" >&6
26671 cat >conftest.
$ac_ext <<_ACEOF
26674 cat confdefs.h
>>conftest.
$ac_ext
26675 cat >>conftest.
$ac_ext <<_ACEOF
26676 /* end confdefs.h. */
26677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26679 #define $ac_func innocuous_$ac_func
26681 /* System header to define __stub macros and hopefully few prototypes,
26682 which can conflict with char $ac_func (); below.
26683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26684 <limits.h> exists even on freestanding compilers. */
26687 # include <limits.h>
26689 # include <assert.h>
26694 /* Override any GCC internal prototype to avoid an error.
26695 Use char because int might match the return type of a GCC
26696 builtin and then its argument prototype would still apply. */
26701 /* The GNU C library defines this for functions which it implements
26702 to always fail with ENOSYS. Some functions are actually named
26703 something starting with __ and the normal name is an alias. */
26704 #if defined __stub_$ac_func || defined __stub___$ac_func
26711 return $ac_func ();
26716 rm -f conftest.
$ac_objext conftest
$ac_exeext
26717 if { (ac_try
="$ac_link"
26718 case "(($ac_try" in
26719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26720 *) ac_try_echo=$ac_try;;
26722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26723 (eval "$ac_link") 2>conftest.er1
26725 grep -v '^ *+' conftest.er1 >conftest.err
26727 cat conftest.err >&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); } && {
26730 test -z "$ac_c_werror_flag" ||
26731 test ! -s conftest.err
26732 } && test -s conftest$ac_exeext &&
26733 $as_test_x conftest$ac_exeext; then
26734 eval "$as_ac_var=yes"
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26739 eval "$as_ac_var=no"
26742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26743 conftest$ac_exeext conftest.$ac_ext
26745 ac_res=`eval echo '${'$as_ac_var'}'`
26746 { echo "$as_me:$LINENO: result: $ac_res" >&5
26747 echo "${ECHO_T}$ac_res" >&6; }
26748 if test `eval echo '${'$as_ac_var'}'` = yes; then
26749 cat >>confdefs.h <<_ACEOF
26750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26760 if test "x$ac_cv_func_regcomp" != "xyes"; then
26761 if test "$wxUSE_REGEX" = "sys" ; then
26762 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26763 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26764 { (exit 1); exit 1; }; }
26766 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26767 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26768 wxUSE_REGEX=builtin
26772 cat >>confdefs.h <<\_ACEOF
26773 #define WX_NO_REGEX_ADVANCED 1
26782 if test "$wxUSE_ZLIB" != "no" ; then
26783 cat >>confdefs.h <<\_ACEOF
26784 #define wxUSE_ZLIB 1
26788 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26789 if test "$USE_DARWIN" = 1; then
26790 system_zlib_h_ok="yes"
26792 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26793 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26794 if test "${ac_cv_header_zlib_h+set}" = set; then
26795 echo $ECHO_N "(cached) $ECHO_C" >&6
26797 if test "$cross_compiling" = yes; then
26798 unset ac_cv_header_zlib_h
26801 cat >conftest.$ac_ext <<_ACEOF
26804 cat confdefs.h >>conftest.$ac_ext
26805 cat >>conftest.$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26813 FILE *f=fopen("conftestval", "w");
26816 ZLIB_VERSION[0] == '1' &&
26817 (ZLIB_VERSION[2] > '1' ||
26818 (ZLIB_VERSION[2] == '1' &&
26819 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26824 rm -f conftest$ac_exeext
26825 if { (ac_try="$ac_link"
26826 case "(($ac_try" in
26827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26828 *) ac_try_echo
=$ac_try;;
26830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26831 (eval "$ac_link") 2>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26835 { (case "(($ac_try" in
26836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_try") 2>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 ac_cv_header_zlib_h=`cat conftestval
`
26846 echo "$as_me: program exited with status $ac_status" >&5
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26850 ( exit $ac_status )
26851 ac_cv_header_zlib_h=no
26853 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26859 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26860 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26861 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26862 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26863 if test "${ac_cv_header_zlib_h+set}" = set; then
26864 echo $ECHO_N "(cached) $ECHO_C" >&6
26866 cat >conftest.$ac_ext <<_ACEOF
26869 cat confdefs.h >>conftest.$ac_ext
26870 cat >>conftest.$ac_ext <<_ACEOF
26871 /* end confdefs.h. */
26876 rm -f conftest.$ac_objext
26877 if { (ac_try="$ac_compile"
26878 case "(($ac_try" in
26879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26880 *) ac_try_echo
=$ac_try;;
26882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26883 (eval "$ac_compile") 2>conftest.er1
26885 grep -v '^ *+' conftest.er1
>conftest.err
26887 cat conftest.err
>&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); } && {
26890 test -z "$ac_c_werror_flag" ||
26891 test ! -s conftest.err
26892 } && test -s conftest.
$ac_objext; then
26893 ac_cv_header_zlib_h
=yes
26895 echo "$as_me: failed program was:" >&5
26896 sed 's/^/| /' conftest.
$ac_ext >&5
26898 ac_cv_header_zlib_h
=no
26901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26903 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26904 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26908 system_zlib_h_ok
=$ac_cv_header_zlib_h
26911 if test "$system_zlib_h_ok" = "yes"; then
26912 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26913 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26914 if test "${ac_cv_lib_z_deflate+set}" = set; then
26915 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 ac_check_lib_save_LIBS
=$LIBS
26919 cat >conftest.
$ac_ext <<_ACEOF
26922 cat confdefs.h
>>conftest.
$ac_ext
26923 cat >>conftest.
$ac_ext <<_ACEOF
26924 /* end confdefs.h. */
26926 /* Override any GCC internal prototype to avoid an error.
26927 Use char because int might match the return type of a GCC
26928 builtin and then its argument prototype would still apply. */
26941 rm -f conftest.
$ac_objext conftest
$ac_exeext
26942 if { (ac_try
="$ac_link"
26943 case "(($ac_try" in
26944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26945 *) ac_try_echo=$ac_try;;
26947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26948 (eval "$ac_link") 2>conftest.er1
26950 grep -v '^ *+' conftest.er1 >conftest.err
26952 cat conftest.err >&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } && {
26955 test -z "$ac_c_werror_flag" ||
26956 test ! -s conftest.err
26957 } && test -s conftest$ac_exeext &&
26958 $as_test_x conftest$ac_exeext; then
26959 ac_cv_lib_z_deflate=yes
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.$ac_ext >&5
26964 ac_cv_lib_z_deflate=no
26967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26968 conftest$ac_exeext conftest.$ac_ext
26969 LIBS=$ac_check_lib_save_LIBS
26971 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26972 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26973 if test $ac_cv_lib_z_deflate = yes; then
26979 if test "x$ZLIB_LINK" = "x" ; then
26980 if test "$wxUSE_ZLIB" = "sys" ; then
26981 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26982 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26983 { (exit 1); exit 1; }; }
26985 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26986 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26997 if test "$wxUSE_LIBPNG" != "no" ; then
26998 cat >>confdefs.h <<\_ACEOF
26999 #define wxUSE_LIBPNG 1
27003 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27004 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27005 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27009 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27010 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27011 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27012 wxUSE_LIBPNG=builtin
27015 if test "$wxUSE_MGL" != 1 ; then
27016 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27017 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27018 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27019 if test "${ac_cv_header_png_h+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27022 if test "$cross_compiling" = yes; then
27023 unset ac_cv_header_png_h
27026 cat >conftest.$ac_ext <<_ACEOF
27029 cat confdefs.h >>conftest.$ac_ext
27030 cat >>conftest.$ac_ext <<_ACEOF
27031 /* end confdefs.h. */
27038 FILE *f=fopen("conftestval", "w");
27041 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27046 rm -f conftest$ac_exeext
27047 if { (ac_try="$ac_link"
27048 case "(($ac_try" in
27049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27050 *) ac_try_echo
=$ac_try;;
27052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27053 (eval "$ac_link") 2>&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27057 { (case "(($ac_try" in
27058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27059 *) ac_try_echo=$ac_try;;
27061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27062 (eval "$ac_try") 2>&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); }; }; then
27066 ac_cv_header_png_h=`cat conftestval
`
27068 echo "$as_me: program exited with status $ac_status" >&5
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27072 ( exit $ac_status )
27073 ac_cv_header_png_h=no
27075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27081 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27082 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27083 { echo "$as_me:$LINENO: checking for png.h" >&5
27084 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27085 if test "${ac_cv_header_png_h+set}" = set; then
27086 echo $ECHO_N "(cached) $ECHO_C" >&6
27088 cat >conftest.$ac_ext <<_ACEOF
27091 cat confdefs.h >>conftest.$ac_ext
27092 cat >>conftest.$ac_ext <<_ACEOF
27093 /* end confdefs.h. */
27098 rm -f conftest.$ac_objext
27099 if { (ac_try="$ac_compile"
27100 case "(($ac_try" in
27101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27102 *) ac_try_echo
=$ac_try;;
27104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27105 (eval "$ac_compile") 2>conftest.er1
27107 grep -v '^ *+' conftest.er1
>conftest.err
27109 cat conftest.err
>&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); } && {
27112 test -z "$ac_c_werror_flag" ||
27113 test ! -s conftest.err
27114 } && test -s conftest.
$ac_objext; then
27115 ac_cv_header_png_h
=yes
27117 echo "$as_me: failed program was:" >&5
27118 sed 's/^/| /' conftest.
$ac_ext >&5
27120 ac_cv_header_png_h
=no
27123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27125 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27126 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27130 if test "$ac_cv_header_png_h" = "yes"; then
27131 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27132 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27133 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27134 echo $ECHO_N "(cached) $ECHO_C" >&6
27136 ac_check_lib_save_LIBS
=$LIBS
27137 LIBS
="-lpng -lz -lm $LIBS"
27138 cat >conftest.
$ac_ext <<_ACEOF
27141 cat confdefs.h
>>conftest.
$ac_ext
27142 cat >>conftest.
$ac_ext <<_ACEOF
27143 /* end confdefs.h. */
27145 /* Override any GCC internal prototype to avoid an error.
27146 Use char because int might match the return type of a GCC
27147 builtin and then its argument prototype would still apply. */
27151 char png_sig_cmp ();
27155 return png_sig_cmp ();
27160 rm -f conftest.
$ac_objext conftest
$ac_exeext
27161 if { (ac_try
="$ac_link"
27162 case "(($ac_try" in
27163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27164 *) ac_try_echo=$ac_try;;
27166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27167 (eval "$ac_link") 2>conftest.er1
27169 grep -v '^ *+' conftest.er1 >conftest.err
27171 cat conftest.err >&5
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); } && {
27174 test -z "$ac_c_werror_flag" ||
27175 test ! -s conftest.err
27176 } && test -s conftest$ac_exeext &&
27177 $as_test_x conftest$ac_exeext; then
27178 ac_cv_lib_png_png_sig_cmp=yes
27180 echo "$as_me: failed program was:" >&5
27181 sed 's/^/| /' conftest.$ac_ext >&5
27183 ac_cv_lib_png_png_sig_cmp=no
27186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27187 conftest$ac_exeext conftest.$ac_ext
27188 LIBS=$ac_check_lib_save_LIBS
27190 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27191 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27192 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27193 PNG_LINK=" -lpng -lz"
27198 if test "x$PNG_LINK" = "x" ; then
27199 if test "$wxUSE_LIBPNG" = "sys" ; then
27200 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27201 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27202 { (exit 1); exit 1; }; }
27204 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27205 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27206 wxUSE_LIBPNG=builtin
27217 if test "$wxUSE_LIBJPEG" != "no" ; then
27218 cat >>confdefs.h <<\_ACEOF
27219 #define wxUSE_LIBJPEG 1
27223 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27224 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27225 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27229 if test "$wxUSE_MGL" != 1 ; then
27230 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27231 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27232 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27233 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27236 cat >conftest.$ac_ext <<_ACEOF
27239 cat confdefs.h >>conftest.$ac_ext
27240 cat >>conftest.$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27243 #undef HAVE_STDLIB_H
27245 #include <jpeglib.h>
27256 rm -f conftest.$ac_objext
27257 if { (ac_try="$ac_compile"
27258 case "(($ac_try" in
27259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27260 *) ac_try_echo
=$ac_try;;
27262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27263 (eval "$ac_compile") 2>conftest.er1
27265 grep -v '^ *+' conftest.er1
>conftest.err
27267 cat conftest.err
>&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } && {
27270 test -z "$ac_c_werror_flag" ||
27271 test ! -s conftest.err
27272 } && test -s conftest.
$ac_objext; then
27273 ac_cv_header_jpeglib_h
=yes
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.
$ac_ext >&5
27278 ac_cv_header_jpeglib_h
=no
27282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27286 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27287 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27289 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27290 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27291 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27292 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 ac_check_lib_save_LIBS
=$LIBS
27296 LIBS
="-ljpeg $LIBS"
27297 cat >conftest.
$ac_ext <<_ACEOF
27300 cat confdefs.h
>>conftest.
$ac_ext
27301 cat >>conftest.
$ac_ext <<_ACEOF
27302 /* end confdefs.h. */
27304 /* Override any GCC internal prototype to avoid an error.
27305 Use char because int might match the return type of a GCC
27306 builtin and then its argument prototype would still apply. */
27310 char jpeg_read_header ();
27314 return jpeg_read_header ();
27319 rm -f conftest.
$ac_objext conftest
$ac_exeext
27320 if { (ac_try
="$ac_link"
27321 case "(($ac_try" in
27322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27323 *) ac_try_echo=$ac_try;;
27325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27326 (eval "$ac_link") 2>conftest.er1
27328 grep -v '^ *+' conftest.er1 >conftest.err
27330 cat conftest.err >&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } && {
27333 test -z "$ac_c_werror_flag" ||
27334 test ! -s conftest.err
27335 } && test -s conftest$ac_exeext &&
27336 $as_test_x conftest$ac_exeext; then
27337 ac_cv_lib_jpeg_jpeg_read_header=yes
27339 echo "$as_me: failed program was:" >&5
27340 sed 's/^/| /' conftest.$ac_ext >&5
27342 ac_cv_lib_jpeg_jpeg_read_header=no
27345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27346 conftest$ac_exeext conftest.$ac_ext
27347 LIBS=$ac_check_lib_save_LIBS
27349 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27350 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27351 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27352 JPEG_LINK=" -ljpeg"
27357 if test "x$JPEG_LINK" = "x" ; then
27358 if test "$wxUSE_LIBJPEG" = "sys" ; then
27359 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27360 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27361 { (exit 1); exit 1; }; }
27363 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27364 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27365 wxUSE_LIBJPEG=builtin
27370 if test "$wxUSE_MSW" = 1; then
27371 { echo "$as_me:$LINENO: checking for boolean" >&5
27372 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27373 if test "${ac_cv_type_boolean+set}" = set; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 cat >conftest.$ac_ext <<_ACEOF
27379 cat confdefs.h >>conftest.$ac_ext
27380 cat >>conftest.$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27382 #include <windows.h>
27384 typedef boolean ac__type_new_;
27388 if ((ac__type_new_ *) 0)
27390 if (sizeof (ac__type_new_))
27396 rm -f conftest.$ac_objext
27397 if { (ac_try="$ac_compile"
27398 case "(($ac_try" in
27399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27400 *) ac_try_echo
=$ac_try;;
27402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27403 (eval "$ac_compile") 2>conftest.er1
27405 grep -v '^ *+' conftest.er1
>conftest.err
27407 cat conftest.err
>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } && {
27410 test -z "$ac_c_werror_flag" ||
27411 test ! -s conftest.err
27412 } && test -s conftest.
$ac_objext; then
27413 ac_cv_type_boolean
=yes
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.
$ac_ext >&5
27418 ac_cv_type_boolean
=no
27421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27423 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27424 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27425 if test $ac_cv_type_boolean = yes; then
27427 cat >>confdefs.h
<<_ACEOF
27428 #define HAVE_BOOLEAN 1
27432 { echo "$as_me:$LINENO: checking for boolean" >&5
27433 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27434 if test "${ac_cv_type_boolean+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27437 cat >conftest.
$ac_ext <<_ACEOF
27440 cat confdefs.h
>>conftest.
$ac_ext
27441 cat >>conftest.
$ac_ext <<_ACEOF
27442 /* end confdefs.h. */
27444 #undef HAVE_BOOLEAN
27446 #include <jpeglib.h>
27449 typedef boolean ac__type_new_;
27453 if ((ac__type_new_ *) 0)
27455 if (sizeof (ac__type_new_))
27461 rm -f conftest.
$ac_objext
27462 if { (ac_try
="$ac_compile"
27463 case "(($ac_try" in
27464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27465 *) ac_try_echo=$ac_try;;
27467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27468 (eval "$ac_compile") 2>conftest.er1
27470 grep -v '^ *+' conftest.er1 >conftest.err
27472 cat conftest.err >&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); } && {
27475 test -z "$ac_c_werror_flag" ||
27476 test ! -s conftest.err
27477 } && test -s conftest.$ac_objext; then
27478 ac_cv_type_boolean=yes
27480 echo "$as_me: failed program was:" >&5
27481 sed 's/^/| /' conftest.$ac_ext >&5
27483 ac_cv_type_boolean=no
27486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27488 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27489 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27491 # The cast to long int works around a bug in the HP C Compiler
27492 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27493 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27494 # This bug is HP SR number 8606223364.
27495 { echo "$as_me:$LINENO: checking size of boolean" >&5
27496 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27497 if test "${ac_cv_sizeof_boolean+set}" = set; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 if test "$cross_compiling" = yes; then
27501 # Depending upon the size, compute the lo and hi bounds.
27502 cat >conftest.$ac_ext <<_ACEOF
27505 cat confdefs.h >>conftest.$ac_ext
27506 cat >>conftest.$ac_ext <<_ACEOF
27507 /* end confdefs.h. */
27509 #undef HAVE_BOOLEAN
27511 #include <jpeglib.h>
27514 typedef boolean ac__type_sizeof_;
27518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27525 rm -f conftest.$ac_objext
27526 if { (ac_try="$ac_compile"
27527 case "(($ac_try" in
27528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27529 *) ac_try_echo=$ac_try;;
27531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27532 (eval "$ac_compile") 2>conftest.er1
27534 grep -v '^
*+' conftest.er1 >conftest.err
27536 cat conftest.err >&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } && {
27539 test -z "$ac_c_werror_flag" ||
27540 test ! -s conftest.err
27541 } && test -s conftest.$ac_objext; then
27544 cat >conftest.$ac_ext <<_ACEOF
27547 cat confdefs.h >>conftest.$ac_ext
27548 cat >>conftest.$ac_ext <<_ACEOF
27549 /* end confdefs.h. */
27551 #undef HAVE_BOOLEAN
27553 #include <jpeglib.h>
27556 typedef boolean ac__type_sizeof_;
27560 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27567 rm -f conftest.$ac_objext
27568 if { (ac_try="$ac_compile"
27569 case "(($ac_try" in
27570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27571 *) ac_try_echo=$ac_try;;
27573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27574 (eval "$ac_compile") 2>conftest.er1
27576 grep -v '^
*+' conftest.er1 >conftest.err
27578 cat conftest.err >&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } && {
27581 test -z "$ac_c_werror_flag" ||
27582 test ! -s conftest.err
27583 } && test -s conftest.$ac_objext; then
27584 ac_hi=$ac_mid; break
27586 echo "$as_me: failed program was:" >&5
27587 sed 's
/^
/| /' conftest.$ac_ext >&5
27589 ac_lo=`expr $ac_mid + 1`
27590 if test $ac_lo -le $ac_mid; then
27594 ac_mid=`expr 2 '*' $ac_mid + 1`
27597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27600 echo "$as_me: failed program was:" >&5
27601 sed 's
/^
/| /' conftest.$ac_ext >&5
27603 cat >conftest.$ac_ext <<_ACEOF
27606 cat confdefs.h >>conftest.$ac_ext
27607 cat >>conftest.$ac_ext <<_ACEOF
27608 /* end confdefs.h. */
27610 #undef HAVE_BOOLEAN
27612 #include <jpeglib.h>
27615 typedef boolean ac__type_sizeof_;
27619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27626 rm -f conftest.$ac_objext
27627 if { (ac_try="$ac_compile"
27628 case "(($ac_try" in
27629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27630 *) ac_try_echo=$ac_try;;
27632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27633 (eval "$ac_compile") 2>conftest.er1
27635 grep -v '^
*+' conftest.er1 >conftest.err
27637 cat conftest.err >&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); } && {
27640 test -z "$ac_c_werror_flag" ||
27641 test ! -s conftest.err
27642 } && test -s conftest.$ac_objext; then
27645 cat >conftest.$ac_ext <<_ACEOF
27648 cat confdefs.h >>conftest.$ac_ext
27649 cat >>conftest.$ac_ext <<_ACEOF
27650 /* end confdefs.h. */
27652 #undef HAVE_BOOLEAN
27654 #include <jpeglib.h>
27657 typedef boolean ac__type_sizeof_;
27661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27668 rm -f conftest.$ac_objext
27669 if { (ac_try="$ac_compile"
27670 case "(($ac_try" in
27671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27672 *) ac_try_echo=$ac_try;;
27674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27675 (eval "$ac_compile") 2>conftest.er1
27677 grep -v '^
*+' conftest.er1 >conftest.err
27679 cat conftest.err >&5
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); } && {
27682 test -z "$ac_c_werror_flag" ||
27683 test ! -s conftest.err
27684 } && test -s conftest.$ac_objext; then
27685 ac_lo=$ac_mid; break
27687 echo "$as_me: failed program was:" >&5
27688 sed 's
/^
/| /' conftest.$ac_ext >&5
27690 ac_hi=`expr '(' $ac_mid ')' - 1`
27691 if test $ac_mid -le $ac_hi; then
27695 ac_mid=`expr 2 '*' $ac_mid`
27698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27701 echo "$as_me: failed program was:" >&5
27702 sed 's
/^
/| /' conftest.$ac_ext >&5
27707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27711 # Binary search between lo and hi bounds.
27712 while test "x$ac_lo" != "x$ac_hi"; do
27713 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27714 cat >conftest.$ac_ext <<_ACEOF
27717 cat confdefs.h >>conftest.$ac_ext
27718 cat >>conftest.$ac_ext <<_ACEOF
27719 /* end confdefs.h. */
27721 #undef HAVE_BOOLEAN
27723 #include <jpeglib.h>
27726 typedef boolean ac__type_sizeof_;
27730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27737 rm -f conftest.$ac_objext
27738 if { (ac_try="$ac_compile"
27739 case "(($ac_try" in
27740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27741 *) ac_try_echo=$ac_try;;
27743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27744 (eval "$ac_compile") 2>conftest.er1
27746 grep -v '^
*+' conftest.er1 >conftest.err
27748 cat conftest.err >&5
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); } && {
27751 test -z "$ac_c_werror_flag" ||
27752 test ! -s conftest.err
27753 } && test -s conftest.$ac_objext; then
27756 echo "$as_me: failed program was:" >&5
27757 sed 's
/^
/| /' conftest.$ac_ext >&5
27759 ac_lo=`expr '(' $ac_mid ')' + 1`
27762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27765 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27766 '') if test "$ac_cv_type_boolean" = yes; then
27767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27768 See \`config.log' for more details.
" >&5
27769 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27770 See \
`config.log' for more details." >&2;}
27771 { (exit 77); exit 77; }; }
27773 ac_cv_sizeof_boolean=0
27777 cat >conftest.$ac_ext <<_ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27784 #undef HAVE_BOOLEAN
27786 #include <jpeglib.h>
27789 typedef boolean ac__type_sizeof_;
27790 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27791 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27793 #include <stdlib.h>
27798 FILE *f = fopen ("conftest.val", "w");
27801 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27803 long int i = longval ();
27804 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27806 fprintf (f, "%ld\n", i);
27810 unsigned long int i = ulongval ();
27811 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27813 fprintf (f, "%lu\n", i);
27815 return ferror (f) || fclose (f) != 0;
27821 rm -f conftest$ac_exeext
27822 if { (ac_try="$ac_link"
27823 case "(($ac_try" in
27824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27825 *) ac_try_echo
=$ac_try;;
27827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27828 (eval "$ac_link") 2>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27832 { (case "(($ac_try" in
27833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27834 *) ac_try_echo=$ac_try;;
27836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27837 (eval "$ac_try") 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 ac_cv_sizeof_boolean=`cat conftest.val
`
27843 echo "$as_me: program exited with status $ac_status" >&5
27844 echo "$as_me: failed program was:" >&5
27845 sed 's/^/| /' conftest.$ac_ext >&5
27847 ( exit $ac_status )
27848 if test "$ac_cv_type_boolean" = yes; then
27849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27850 See \`config.log
' for more details." >&5
27851 echo "$as_me: error: cannot compute sizeof (boolean)
27852 See \`config.log' for more details.
" >&2;}
27853 { (exit 77); exit 77; }; }
27855 ac_cv_sizeof_boolean=0
27858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27862 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27863 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27867 cat >>confdefs.h <<_ACEOF
27868 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27872 cat >>confdefs.h <<_ACEOF
27873 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27887 TIFF_PREREQ_LINKS=-lm
27888 if test "$wxUSE_LIBTIFF" != "no
" ; then
27889 cat >>confdefs.h <<\_ACEOF
27890 #define wxUSE_LIBTIFF 1
27894 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27895 if test "$wxUSE_LIBJPEG" = "sys
"; then
27896 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27898 if test "$wxUSE_ZLIB" = "sys
"; then
27899 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27901 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27902 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27903 if test "${ac_cv_header_tiffio_h+set}" = set; then
27904 echo $ECHO_N "(cached
) $ECHO_C" >&6
27906 cat >conftest.$ac_ext <<_ACEOF
27909 cat confdefs.h >>conftest.$ac_ext
27910 cat >>conftest.$ac_ext <<_ACEOF
27911 /* end confdefs.h. */
27915 #include <tiffio.h>
27917 rm -f conftest.$ac_objext
27918 if { (ac_try="$ac_compile"
27919 case "(($ac_try" in
27920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27921 *) ac_try_echo=$ac_try;;
27923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27924 (eval "$ac_compile") 2>conftest.er1
27926 grep -v '^ *+' conftest.er1 >conftest.err
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27930 (exit $ac_status); } && {
27931 test -z "$ac_c_werror_flag" ||
27932 test ! -s conftest.err
27933 } && test -s conftest.$ac_objext; then
27934 ac_cv_header_tiffio_h=yes
27936 echo "$as_me: failed program was
:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27939 ac_cv_header_tiffio_h=no
27942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27944 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27945 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27946 if test $ac_cv_header_tiffio_h = yes; then
27948 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27949 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27950 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27951 echo $ECHO_N "(cached
) $ECHO_C" >&6
27953 ac_check_lib_save_LIBS=$LIBS
27954 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27955 cat >conftest.$ac_ext <<_ACEOF
27958 cat confdefs.h >>conftest.$ac_ext
27959 cat >>conftest.$ac_ext <<_ACEOF
27960 /* end confdefs.h. */
27962 /* Override any GCC internal prototype to avoid an error.
27963 Use char because int might match the return type of a GCC
27964 builtin and then its argument prototype would still apply. */
27972 return TIFFError ();
27977 rm -f conftest.$ac_objext conftest$ac_exeext
27978 if { (ac_try="$ac_link"
27979 case "(($ac_try" in
27980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_link") 2>conftest.er1
27986 grep -v '^ *+' conftest.er1 >conftest.err
27988 cat conftest.err >&5
27989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27990 (exit $ac_status); } && {
27991 test -z "$ac_c_werror_flag" ||
27992 test ! -s conftest.err
27993 } && test -s conftest$ac_exeext &&
27994 $as_test_x conftest$ac_exeext; then
27995 ac_cv_lib_tiff_TIFFError=yes
27997 echo "$as_me: failed program was
:" >&5
27998 sed 's/^/| /' conftest.$ac_ext >&5
28000 ac_cv_lib_tiff_TIFFError=no
28003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28004 conftest$ac_exeext conftest.$ac_ext
28005 LIBS=$ac_check_lib_save_LIBS
28007 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28008 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28009 if test $ac_cv_lib_tiff_TIFFError = yes; then
28010 TIFF_LINK=" -ltiff"
28018 if test "x
$TIFF_LINK" = "x
" ; then
28019 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28020 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28021 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28022 { (exit 1); exit 1; }; }
28024 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28025 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28026 wxUSE_LIBTIFF=builtin
28032 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28033 if test "$wxUSE_LIBJPEG" = "no
"; then
28034 ac_configure_args="$ac_configure_args --disable-jpeg"
28036 subdirs="$subdirs src
/tiff
"
28042 if test "$wxUSE_WCHAR_T" != "yes"; then
28043 if test "$wxUSE_EXPAT" != "no
"; then
28044 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28045 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28048 if test "$wxUSE_XML" != "no
"; then
28049 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28050 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28055 if test "$wxUSE_EXPAT" != "no
"; then
28057 cat >>confdefs.h <<\_ACEOF
28058 #define wxUSE_EXPAT 1
28061 cat >>confdefs.h <<\_ACEOF
28062 #define wxUSE_XML 1
28066 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28067 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28068 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28069 if test "${ac_cv_header_expat_h+set}" = set; then
28070 echo $ECHO_N "(cached
) $ECHO_C" >&6
28072 cat >conftest.$ac_ext <<_ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28082 rm -f conftest.$ac_objext
28083 if { (ac_try="$ac_compile"
28084 case "(($ac_try" in
28085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28086 *) ac_try_echo=$ac_try;;
28088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28089 (eval "$ac_compile") 2>conftest.er1
28091 grep -v '^ *+' conftest.er1 >conftest.err
28093 cat conftest.err >&5
28094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28095 (exit $ac_status); } && {
28096 test -z "$ac_c_werror_flag" ||
28097 test ! -s conftest.err
28098 } && test -s conftest.$ac_objext; then
28099 ac_cv_header_expat_h=yes
28101 echo "$as_me: failed program was
:" >&5
28102 sed 's/^/| /' conftest.$ac_ext >&5
28104 ac_cv_header_expat_h=no
28107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28109 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28110 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28111 if test $ac_cv_header_expat_h = yes; then
28116 if test "x
$found_expat_h" = "x1
"; then
28117 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28118 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28119 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28120 echo $ECHO_N "(cached
) $ECHO_C" >&6
28124 ac_cpp='$CXXCPP $CPPFLAGS'
28125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28129 cat >conftest.$ac_ext <<_ACEOF
28132 cat confdefs.h >>conftest.$ac_ext
28133 cat >>conftest.$ac_ext <<_ACEOF
28134 /* end confdefs.h. */
28144 rm -f conftest.$ac_objext
28145 if { (ac_try="$ac_compile"
28146 case "(($ac_try" in
28147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28148 *) ac_try_echo=$ac_try;;
28150 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28151 (eval "$ac_compile") 2>conftest.er1
28153 grep -v '^ *+' conftest.er1 >conftest.err
28155 cat conftest.err >&5
28156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28157 (exit $ac_status); } && {
28158 test -z "$ac_cxx_werror_flag" ||
28159 test ! -s conftest.err
28160 } && test -s conftest.$ac_objext; then
28161 wx_cv_expat_is_not_broken=yes
28163 echo "$as_me: failed program was
:" >&5
28164 sed 's/^/| /' conftest.$ac_ext >&5
28166 wx_cv_expat_is_not_broken=no
28170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28172 ac_cpp='$CPP $CPPFLAGS'
28173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28180 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28181 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28182 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28183 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28184 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28185 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28186 echo $ECHO_N "(cached
) $ECHO_C" >&6
28188 ac_check_lib_save_LIBS=$LIBS
28189 LIBS="-lexpat $LIBS"
28190 cat >conftest.$ac_ext <<_ACEOF
28193 cat confdefs.h >>conftest.$ac_ext
28194 cat >>conftest.$ac_ext <<_ACEOF
28195 /* end confdefs.h. */
28197 /* Override any GCC internal prototype to avoid an error.
28198 Use char because int might match the return type of a GCC
28199 builtin and then its argument prototype would still apply. */
28203 char XML_ParserCreate ();
28207 return XML_ParserCreate ();
28212 rm -f conftest.$ac_objext conftest$ac_exeext
28213 if { (ac_try="$ac_link"
28214 case "(($ac_try" in
28215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28216 *) ac_try_echo=$ac_try;;
28218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28219 (eval "$ac_link") 2>conftest.er1
28221 grep -v '^ *+' conftest.er1 >conftest.err
28223 cat conftest.err >&5
28224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28225 (exit $ac_status); } && {
28226 test -z "$ac_c_werror_flag" ||
28227 test ! -s conftest.err
28228 } && test -s conftest$ac_exeext &&
28229 $as_test_x conftest$ac_exeext; then
28230 ac_cv_lib_expat_XML_ParserCreate=yes
28232 echo "$as_me: failed program was
:" >&5
28233 sed 's/^/| /' conftest.$ac_ext >&5
28235 ac_cv_lib_expat_XML_ParserCreate=no
28238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28239 conftest$ac_exeext conftest.$ac_ext
28240 LIBS=$ac_check_lib_save_LIBS
28242 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28243 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28244 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28245 EXPAT_LINK=" -lexpat"
28250 if test "x
$EXPAT_LINK" = "x
" ; then
28251 if test "$wxUSE_EXPAT" = "sys
" ; then
28252 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28253 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28254 { (exit 1); exit 1; }; }
28256 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28257 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28258 wxUSE_EXPAT=builtin
28264 if test "$wxUSE_EXPAT" = "builtin" ; then
28265 subdirs="$subdirs src
/expat
"
28272 if test "$wxUSE_LIBMSPACK" != "no
"; then
28273 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28274 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28275 if test "${ac_cv_header_mspack_h+set}" = set; then
28276 echo $ECHO_N "(cached
) $ECHO_C" >&6
28278 cat >conftest.$ac_ext <<_ACEOF
28281 cat confdefs.h >>conftest.$ac_ext
28282 cat >>conftest.$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28286 #include <mspack.h>
28288 rm -f conftest.$ac_objext
28289 if { (ac_try="$ac_compile"
28290 case "(($ac_try" in
28291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_compile") 2>conftest.er1
28297 grep -v '^ *+' conftest.er1 >conftest.err
28299 cat conftest.err >&5
28300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28301 (exit $ac_status); } && {
28302 test -z "$ac_c_werror_flag" ||
28303 test ! -s conftest.err
28304 } && test -s conftest.$ac_objext; then
28305 ac_cv_header_mspack_h=yes
28307 echo "$as_me: failed program was
:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28310 ac_cv_header_mspack_h=no
28313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28315 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28316 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28317 if test $ac_cv_header_mspack_h = yes; then
28322 if test "x
$found_mspack_h" = "x1
"; then
28323 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28324 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28325 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28326 echo $ECHO_N "(cached
) $ECHO_C" >&6
28328 ac_check_lib_save_LIBS=$LIBS
28329 LIBS="-lmspack $LIBS"
28330 cat >conftest.$ac_ext <<_ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28337 /* Override any GCC internal prototype to avoid an error.
28338 Use char because int might match the return type of a GCC
28339 builtin and then its argument prototype would still apply. */
28343 char mspack_create_chm_decompressor ();
28347 return mspack_create_chm_decompressor ();
28352 rm -f conftest.$ac_objext conftest$ac_exeext
28353 if { (ac_try="$ac_link"
28354 case "(($ac_try" in
28355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28356 *) ac_try_echo=$ac_try;;
28358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28359 (eval "$ac_link") 2>conftest.er1
28361 grep -v '^ *+' conftest.er1 >conftest.err
28363 cat conftest.err >&5
28364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28365 (exit $ac_status); } && {
28366 test -z "$ac_c_werror_flag" ||
28367 test ! -s conftest.err
28368 } && test -s conftest$ac_exeext &&
28369 $as_test_x conftest$ac_exeext; then
28370 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28372 echo "$as_me: failed program was
:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28375 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28379 conftest$ac_exeext conftest.$ac_ext
28380 LIBS=$ac_check_lib_save_LIBS
28382 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28383 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28384 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28385 MSPACK_LINK=" -lmspack"
28389 if test "x
$MSPACK_LINK" = "x
" ; then
28394 if test "$wxUSE_LIBMSPACK" != "no
"; then
28395 cat >>confdefs.h <<\_ACEOF
28396 #define wxUSE_LIBMSPACK 1
28410 if test "$USE_WIN32" = 1 ; then
28412 for ac_header in w32api.h
28414 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28415 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28416 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28417 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28418 echo $ECHO_N "(cached
) $ECHO_C" >&6
28420 cat >conftest.$ac_ext <<_ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28428 #include <$ac_header>
28430 rm -f conftest.$ac_objext
28431 if { (ac_try="$ac_compile"
28432 case "(($ac_try" in
28433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28434 *) ac_try_echo=$ac_try;;
28436 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28437 (eval "$ac_compile") 2>conftest.er1
28439 grep -v '^ *+' conftest.er1 >conftest.err
28441 cat conftest.err >&5
28442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28443 (exit $ac_status); } && {
28444 test -z "$ac_c_werror_flag" ||
28445 test ! -s conftest.err
28446 } && test -s conftest.$ac_objext; then
28447 eval "$as_ac_Header=yes"
28449 echo "$as_me: failed program was
:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28452 eval "$as_ac_Header=no
"
28455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28457 ac_res=`eval echo '${'$as_ac_Header'}'`
28458 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28459 echo "${ECHO_T}$ac_res" >&6; }
28460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28461 cat >>confdefs.h <<_ACEOF
28462 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28469 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28470 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28471 if test "${ac_cv_header_windows_h+set}" = set; then
28472 echo $ECHO_N "(cached
) $ECHO_C" >&6
28474 cat >conftest.$ac_ext <<_ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28482 #include <windows.h>
28484 rm -f conftest.$ac_objext
28485 if { (ac_try="$ac_compile"
28486 case "(($ac_try" in
28487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28488 *) ac_try_echo=$ac_try;;
28490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28491 (eval "$ac_compile") 2>conftest.er1
28493 grep -v '^ *+' conftest.er1 >conftest.err
28495 cat conftest.err >&5
28496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28497 (exit $ac_status); } && {
28498 test -z "$ac_c_werror_flag" ||
28499 test ! -s conftest.err
28500 } && test -s conftest.$ac_objext; then
28501 ac_cv_header_windows_h=yes
28503 echo "$as_me: failed program was
:" >&5
28504 sed 's/^/| /' conftest.$ac_ext >&5
28506 ac_cv_header_windows_h=no
28509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28511 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28512 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28513 if test $ac_cv_header_windows_h = yes; then
28517 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28518 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28519 { (exit 1); exit 1; }; }
28526 x86_64-*-mingw32* )
28527 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28529 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28532 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28535 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28536 LIBS="$LIBS -loleacc"
28541 LIBS="$LIBS -lkernel32 -luser32"
28544 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28545 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28547 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28549 WIN32INSTALL=win32install
28551 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28552 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28553 if test "${ac_cv_header_pbt_h+set}" = set; then
28554 echo $ECHO_N "(cached
) $ECHO_C" >&6
28556 cat >conftest.$ac_ext <<_ACEOF
28559 cat confdefs.h >>conftest.$ac_ext
28560 cat >>conftest.$ac_ext <<_ACEOF
28561 /* end confdefs.h. */
28566 rm -f conftest.$ac_objext
28567 if { (ac_try="$ac_compile"
28568 case "(($ac_try" in
28569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28570 *) ac_try_echo=$ac_try;;
28572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28573 (eval "$ac_compile") 2>conftest.er1
28575 grep -v '^ *+' conftest.er1 >conftest.err
28577 cat conftest.err >&5
28578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28579 (exit $ac_status); } && {
28580 test -z "$ac_c_werror_flag" ||
28581 test ! -s conftest.err
28582 } && test -s conftest.$ac_objext; then
28583 ac_cv_header_pbt_h=yes
28585 echo "$as_me: failed program was
:" >&5
28586 sed 's/^/| /' conftest.$ac_ext >&5
28588 ac_cv_header_pbt_h=no
28591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28593 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28594 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28595 if test $ac_cv_header_pbt_h = yes; then
28598 cat >>confdefs.h <<\_ACEOF
28599 #define NEED_PBT_H 1
28607 if test "$wxUSE_GUI" = "yes"; then
28617 if test "$wxUSE_OLD_COCOA" = 1 ; then
28618 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28619 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28620 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28621 wxUSE_PRINTING_ARCHITECTURE=no
28623 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28624 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28625 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28626 wxUSE_DRAG_AND_DROP=no
28628 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28629 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28630 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28635 if test "$wxUSE_MSW" = 1 ; then
28641 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28645 if test "$wxUSE_GTK" = 1; then
28646 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28647 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28649 gtk_version_cached=1
28650 if test "${wx_cv_lib_gtk+set}" = set; then
28651 echo $ECHO_N "(cached
) $ECHO_C" >&6
28654 gtk_version_cached=0
28655 { echo "$as_me:$LINENO: result
: " >&5
28656 echo "${ECHO_T}" >&6; }
28659 if test "$wxUSE_THREADS" = "yes"; then
28660 GTK_MODULES=gthread
28664 if test "x
$wxGTK_VERSION" != "x1
"
28668 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28673 # Check whether --enable-gtktest was given.
28674 if test "${enable_gtktest+set}" = set; then
28675 enableval=$enable_gtktest;
28681 pkg_config_args=gtk+-2.0
28682 for module in . $GTK_MODULES
28686 pkg_config_args="$pkg_config_args gthread
-2.0
"
28693 # Extract the first word of "pkg
-config", so it can be a program name with args.
28694 set dummy pkg-config; ac_word=$2
28695 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28696 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28698 echo $ECHO_N "(cached
) $ECHO_C" >&6
28700 case $PKG_CONFIG in
28702 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28706 for as_dir in $PATH
28709 test -z "$as_dir" && as_dir=.
28710 for ac_exec_ext in '' $ac_executable_extensions; do
28711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28712 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28713 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28720 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28724 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28725 if test -n "$PKG_CONFIG"; then
28726 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28727 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28729 { echo "$as_me:$LINENO: result
: no
" >&5
28730 echo "${ECHO_T}no
" >&6; }
28735 if test x$PKG_CONFIG != xno ; then
28736 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28739 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28747 min_gtk_version=2.4.0
28748 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28749 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28751 if test x$PKG_CONFIG != xno ; then
28752 ## don't try to run the test against uninstalled libtool libs
28753 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28754 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28758 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28765 if test x"$no_gtk" = x ; then
28766 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28767 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28768 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28770 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28772 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28774 if test "x
$enable_gtktest" = "xyes
" ; then
28775 ac_save_CFLAGS="$CFLAGS"
28776 ac_save_LIBS="$LIBS"
28777 CFLAGS="$CFLAGS $GTK_CFLAGS"
28778 LIBS="$GTK_LIBS $LIBS"
28780 if test "$cross_compiling" = yes; then
28781 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28783 cat >conftest.$ac_ext <<_ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28790 #include <gtk/gtk.h>
28792 #include <stdlib.h>
28797 int major, minor, micro;
28800 system ("touch conf.gtktest
");
28802 /* HP/UX 9 (%@#!) writes to sscanf strings */
28803 tmp_version = g_strdup("$min_gtk_version");
28804 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28805 printf("%s
, bad version string
\n", "$min_gtk_version");
28809 if ((gtk_major_version != $gtk_config_major_version) ||
28810 (gtk_minor_version != $gtk_config_minor_version) ||
28811 (gtk_micro_version != $gtk_config_micro_version))
28813 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28814 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28815 gtk_major_version, gtk_minor_version, gtk_micro_version);
28816 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28817 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28818 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28819 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28820 printf("*** required on your system.
\n");
28821 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28822 printf("*** to point to the correct configuration files
\n");
28824 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28825 (gtk_minor_version != GTK_MINOR_VERSION) ||
28826 (gtk_micro_version != GTK_MICRO_VERSION))
28828 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28829 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28830 printf("*** library
(version
%d.
%d.
%d
)\n",
28831 gtk_major_version, gtk_minor_version, gtk_micro_version);
28835 if ((gtk_major_version > major) ||
28836 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28837 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28843 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28844 gtk_major_version, gtk_minor_version, gtk_micro_version);
28845 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28846 major, minor, micro);
28847 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28849 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28850 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28851 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28852 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28853 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28854 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28855 printf("*** so that the correct libraries are found
at run
-time))\n");
28862 rm -f conftest$ac_exeext
28863 if { (ac_try="$ac_link"
28864 case "(($ac_try" in
28865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28866 *) ac_try_echo=$ac_try;;
28868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28869 (eval "$ac_link") 2>&5
28871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28873 { (case "(($ac_try" in
28874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28875 *) ac_try_echo=$ac_try;;
28877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28878 (eval "$ac_try") 2>&5
28880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28881 (exit $ac_status); }; }; then
28884 echo "$as_me: program exited with status
$ac_status" >&5
28885 echo "$as_me: failed program was
:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28888 ( exit $ac_status )
28891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28895 CFLAGS="$ac_save_CFLAGS"
28896 LIBS="$ac_save_LIBS"
28899 if test "x
$no_gtk" = x ; then
28900 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28901 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28904 { echo "$as_me:$LINENO: result
: no
" >&5
28905 echo "${ECHO_T}no
" >&6; }
28906 if test "$PKG_CONFIG" = "no
" ; then
28907 echo "*** A new enough version of pkg
-config was not found.
"
28908 echo "*** See http
://pkgconfig.sourceforge.net
"
28910 if test -f conf.gtktest ; then
28913 echo "*** Could not run GTK
+ test program
, checking why...
"
28914 ac_save_CFLAGS="$CFLAGS"
28915 ac_save_LIBS="$LIBS"
28916 CFLAGS="$CFLAGS $GTK_CFLAGS"
28917 LIBS="$LIBS $GTK_LIBS"
28918 cat >conftest.$ac_ext <<_ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28925 #include <gtk/gtk.h>
28931 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28936 rm -f conftest.$ac_objext conftest$ac_exeext
28937 if { (ac_try="$ac_link"
28938 case "(($ac_try" in
28939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28940 *) ac_try_echo=$ac_try;;
28942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28943 (eval "$ac_link") 2>conftest.er1
28945 grep -v '^ *+' conftest.er1 >conftest.err
28947 cat conftest.err >&5
28948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28949 (exit $ac_status); } && {
28950 test -z "$ac_c_werror_flag" ||
28951 test ! -s conftest.err
28952 } && test -s conftest$ac_exeext &&
28953 $as_test_x conftest$ac_exeext; then
28954 echo "*** The
test program compiled
, but did not run. This usually means
"
28955 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28956 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28957 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28958 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28959 echo "*** is required on your system"
28961 echo "*** If you have an old version installed, it is best to remove it, although"
28962 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28964 echo "$as_me: failed program was:" >&5
28965 sed 's
/^
/| /' conftest.$ac_ext >&5
28967 echo "*** The test program failed to compile or link. See the file config.log for the"
28968 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28972 conftest$ac_exeext conftest.$ac_ext
28973 CFLAGS="$ac_save_CFLAGS"
28974 LIBS="$ac_save_LIBS"
28988 if test "$wxUSE_SHARED" != "yes"; then
28989 GTK_LIBS="$GTK_LIBS -lX11"
28994 if test -z "$wx_cv_lib_gtk"; then
28995 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28997 # Check whether --with-gtk-prefix was given.
28998 if test "${with_gtk_prefix+set}" = set; then
28999 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29001 gtk_config_prefix=""
29005 # Check whether --with-gtk-exec-prefix was given.
29006 if test "${with_gtk_exec_prefix+set}" = set; then
29007 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29009 gtk_config_exec_prefix=""
29012 # Check whether --enable-gtktest was given.
29013 if test "${enable_gtktest+set}" = set; then
29014 enableval=$enable_gtktest;
29020 for module in . $GTK_MODULES
29024 gtk_config_args="$gtk_config_args gthread"
29029 if test x$gtk_config_exec_prefix != x ; then
29030 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29031 if test x${GTK_CONFIG+set} != xset ; then
29032 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29035 if test x$gtk_config_prefix != x ; then
29036 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29037 if test x${GTK_CONFIG+set} != xset ; then
29038 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29042 # Extract the first word of "gtk-config", so it can be a program name with args.
29043 set dummy gtk-config; ac_word=$2
29044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29046 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29049 case $GTK_CONFIG in
29051 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29055 for as_dir in $PATH
29058 test -z "$as_dir" && as_dir=.
29059 for ac_exec_ext in '' $ac_executable_extensions; do
29060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29061 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29069 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29073 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29074 if test -n "$GTK_CONFIG"; then
29075 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29076 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29078 { echo "$as_me:$LINENO: result: no" >&5
29079 echo "${ECHO_T}no" >&6; }
29083 min_gtk_version=1.2.7
29084 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29085 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29087 if test "$GTK_CONFIG" = "no" ; then
29090 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29091 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29092 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29093 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29094 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29095 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29096 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29097 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29098 if test "x$enable_gtktest" = "xyes" ; then
29099 ac_save_CFLAGS="$CFLAGS"
29100 ac_save_LIBS="$LIBS"
29101 CFLAGS="$CFLAGS $GTK_CFLAGS"
29102 LIBS="$GTK_LIBS $LIBS"
29104 if test "$cross_compiling" = yes; then
29105 echo $ac_n "cross compiling; assumed OK... $ac_c"
29107 cat >conftest.$ac_ext <<_ACEOF
29110 cat confdefs.h >>conftest.$ac_ext
29111 cat >>conftest.$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29114 #include <gtk/gtk.h>
29116 #include <stdlib.h>
29121 int major, minor, micro;
29124 system ("touch conf.gtktest");
29126 /* HP/UX 9 (%@#!) writes to sscanf strings */
29127 tmp_version = g_strdup("$min_gtk_version");
29128 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29129 printf("%s, bad version string\n", "$min_gtk_version");
29133 if ((gtk_major_version != $gtk_config_major_version) ||
29134 (gtk_minor_version != $gtk_config_minor_version) ||
29135 (gtk_micro_version != $gtk_config_micro_version))
29137 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29138 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29139 gtk_major_version, gtk_minor_version, gtk_micro_version);
29140 printf ("*** was found! If gtk-config was correct, then it is best\n");
29141 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29142 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29143 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29144 printf("*** required on your system.\n");
29145 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29146 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29147 printf("*** before re-running configure\n");
29149 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29150 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29151 (gtk_minor_version != GTK_MINOR_VERSION) ||
29152 (gtk_micro_version != GTK_MICRO_VERSION))
29154 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29155 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29156 printf("*** library (version %d.%d.%d)\n",
29157 gtk_major_version, gtk_minor_version, gtk_micro_version);
29159 #endif /* defined (GTK_MAJOR_VERSION) ... */
29162 if ((gtk_major_version > major) ||
29163 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29164 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29170 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29171 gtk_major_version, gtk_minor_version, gtk_micro_version);
29172 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29173 major, minor, micro);
29174 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29176 printf("*** If you have already installed a sufficiently new version, this error\n");
29177 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29178 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29179 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29180 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29181 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29182 printf("*** so that the correct libraries are found at run-time))\n");
29189 rm -f conftest$ac_exeext
29190 if { (ac_try="$ac_link"
29191 case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_link") 2>&5
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29200 { (case "(($ac_try" in
29201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29202 *) ac_try_echo=$ac_try;;
29204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29205 (eval "$ac_try") 2>&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); }; }; then
29211 echo "$as_me: program exited with status $ac_status" >&5
29212 echo "$as_me: failed program was:" >&5
29213 sed 's
/^
/| /' conftest.$ac_ext >&5
29215 ( exit $ac_status )
29218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29222 CFLAGS="$ac_save_CFLAGS"
29223 LIBS="$ac_save_LIBS"
29226 if test "x$no_gtk" = x ; then
29227 { echo "$as_me:$LINENO: result: yes" >&5
29228 echo "${ECHO_T}yes" >&6; }
29229 wx_cv_lib_gtk=1.2.7
29231 { echo "$as_me:$LINENO: result: no" >&5
29232 echo "${ECHO_T}no" >&6; }
29233 if test "$GTK_CONFIG" = "no" ; then
29234 echo "*** The gtk-config script installed by GTK could not be found"
29235 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29236 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29237 echo "*** full path to gtk-config."
29239 if test -f conf.gtktest ; then
29242 echo "*** Could not run GTK test program, checking why..."
29243 CFLAGS="$CFLAGS $GTK_CFLAGS"
29244 LIBS="$LIBS $GTK_LIBS"
29245 cat >conftest.$ac_ext <<_ACEOF
29248 cat confdefs.h >>conftest.$ac_ext
29249 cat >>conftest.$ac_ext <<_ACEOF
29250 /* end confdefs.h. */
29252 #include <gtk/gtk.h>
29258 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29263 rm -f conftest.$ac_objext conftest$ac_exeext
29264 if { (ac_try="$ac_link"
29265 case "(($ac_try" in
29266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29267 *) ac_try_echo=$ac_try;;
29269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29270 (eval "$ac_link") 2>conftest.er1
29272 grep -v '^
*+' conftest.er1 >conftest.err
29274 cat conftest.err >&5
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } && {
29277 test -z "$ac_c_werror_flag" ||
29278 test ! -s conftest.err
29279 } && test -s conftest$ac_exeext &&
29280 $as_test_x conftest$ac_exeext; then
29281 echo "*** The test program compiled, but did not run. This usually means"
29282 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29283 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29284 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29285 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29286 echo "*** is required on your system
"
29288 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29289 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29291 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29292 echo "*** came with the system with the
command"
29294 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29296 echo "$as_me: failed program was
:" >&5
29297 sed 's/^/| /' conftest.$ac_ext >&5
29299 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29300 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29301 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29302 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29306 conftest$ac_exeext conftest.$ac_ext
29307 CFLAGS="$ac_save_CFLAGS"
29308 LIBS="$ac_save_LIBS"
29320 if test -z "$wx_cv_lib_gtk"; then
29322 # Check whether --with-gtk-prefix was given.
29323 if test "${with_gtk_prefix+set}" = set; then
29324 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29326 gtk_config_prefix=""
29330 # Check whether --with-gtk-exec-prefix was given.
29331 if test "${with_gtk_exec_prefix+set}" = set; then
29332 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29334 gtk_config_exec_prefix=""
29337 # Check whether --enable-gtktest was given.
29338 if test "${enable_gtktest+set}" = set; then
29339 enableval=$enable_gtktest;
29345 for module in . $GTK_MODULES
29349 gtk_config_args="$gtk_config_args gthread
"
29354 if test x$gtk_config_exec_prefix != x ; then
29355 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29356 if test x${GTK_CONFIG+set} != xset ; then
29357 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29360 if test x$gtk_config_prefix != x ; then
29361 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29362 if test x${GTK_CONFIG+set} != xset ; then
29363 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29367 # Extract the first word of "gtk
-config", so it can be a program name with args.
29368 set dummy gtk-config; ac_word=$2
29369 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29370 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29371 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29372 echo $ECHO_N "(cached
) $ECHO_C" >&6
29374 case $GTK_CONFIG in
29376 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29380 for as_dir in $PATH
29383 test -z "$as_dir" && as_dir=.
29384 for ac_exec_ext in '' $ac_executable_extensions; do
29385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29386 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29387 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29394 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29398 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29399 if test -n "$GTK_CONFIG"; then
29400 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29401 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29403 { echo "$as_me:$LINENO: result
: no
" >&5
29404 echo "${ECHO_T}no
" >&6; }
29408 min_gtk_version=1.2.3
29409 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29410 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29412 if test "$GTK_CONFIG" = "no
" ; then
29415 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29416 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29417 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29419 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29421 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29423 if test "x
$enable_gtktest" = "xyes
" ; then
29424 ac_save_CFLAGS="$CFLAGS"
29425 ac_save_LIBS="$LIBS"
29426 CFLAGS="$CFLAGS $GTK_CFLAGS"
29427 LIBS="$GTK_LIBS $LIBS"
29429 if test "$cross_compiling" = yes; then
29430 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29432 cat >conftest.$ac_ext <<_ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29439 #include <gtk/gtk.h>
29441 #include <stdlib.h>
29446 int major, minor, micro;
29449 system ("touch conf.gtktest
");
29451 /* HP/UX 9 (%@#!) writes to sscanf strings */
29452 tmp_version = g_strdup("$min_gtk_version");
29453 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29454 printf("%s
, bad version string
\n", "$min_gtk_version");
29458 if ((gtk_major_version != $gtk_config_major_version) ||
29459 (gtk_minor_version != $gtk_config_minor_version) ||
29460 (gtk_micro_version != $gtk_config_micro_version))
29462 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29463 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29464 gtk_major_version, gtk_minor_version, gtk_micro_version);
29465 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29466 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29467 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29468 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29469 printf("*** required on your system.
\n");
29470 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29471 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29472 printf("*** before re
-running configure
\n");
29474 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29475 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29476 (gtk_minor_version != GTK_MINOR_VERSION) ||
29477 (gtk_micro_version != GTK_MICRO_VERSION))
29479 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29480 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29481 printf("*** library
(version
%d.
%d.
%d
)\n",
29482 gtk_major_version, gtk_minor_version, gtk_micro_version);
29484 #endif /* defined (GTK_MAJOR_VERSION) ... */
29487 if ((gtk_major_version > major) ||
29488 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29489 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29495 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29496 gtk_major_version, gtk_minor_version, gtk_micro_version);
29497 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29498 major, minor, micro);
29499 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29501 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29502 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29503 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29504 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29505 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29506 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29507 printf("*** so that the correct libraries are found
at run
-time))\n");
29514 rm -f conftest$ac_exeext
29515 if { (ac_try="$ac_link"
29516 case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29520 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_link") 2>&5
29523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29525 { (case "(($ac_try" in
29526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29527 *) ac_try_echo=$ac_try;;
29529 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29530 (eval "$ac_try") 2>&5
29532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29533 (exit $ac_status); }; }; then
29536 echo "$as_me: program exited with status
$ac_status" >&5
29537 echo "$as_me: failed program was
:" >&5
29538 sed 's/^/| /' conftest.$ac_ext >&5
29540 ( exit $ac_status )
29543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29547 CFLAGS="$ac_save_CFLAGS"
29548 LIBS="$ac_save_LIBS"
29551 if test "x
$no_gtk" = x ; then
29552 { echo "$as_me:$LINENO: result
: yes" >&5
29553 echo "${ECHO_T}yes" >&6; }
29554 wx_cv_lib_gtk=1.2.3
29556 { echo "$as_me:$LINENO: result
: no
" >&5
29557 echo "${ECHO_T}no
" >&6; }
29558 if test "$GTK_CONFIG" = "no
" ; then
29559 echo "*** The gtk
-config script installed by GTK could not be found
"
29560 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29561 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29562 echo "*** full path to gtk
-config.
"
29564 if test -f conf.gtktest ; then
29567 echo "*** Could not run GTK
test program
, checking why...
"
29568 CFLAGS="$CFLAGS $GTK_CFLAGS"
29569 LIBS="$LIBS $GTK_LIBS"
29570 cat >conftest.$ac_ext <<_ACEOF
29573 cat confdefs.h >>conftest.$ac_ext
29574 cat >>conftest.$ac_ext <<_ACEOF
29575 /* end confdefs.h. */
29577 #include <gtk/gtk.h>
29583 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29588 rm -f conftest.$ac_objext conftest$ac_exeext
29589 if { (ac_try="$ac_link"
29590 case "(($ac_try" in
29591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29592 *) ac_try_echo=$ac_try;;
29594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29595 (eval "$ac_link") 2>conftest.er1
29597 grep -v '^ *+' conftest.er1 >conftest.err
29599 cat conftest.err >&5
29600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29601 (exit $ac_status); } && {
29602 test -z "$ac_c_werror_flag" ||
29603 test ! -s conftest.err
29604 } && test -s conftest$ac_exeext &&
29605 $as_test_x conftest$ac_exeext; then
29606 echo "*** The
test program compiled
, but did not run. This usually means
"
29607 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29608 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29609 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29610 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29611 echo "*** is required on your system"
29613 echo "*** If you have an old version installed, it is best to remove it, although"
29614 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29616 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29617 echo "*** came with the system with the command"
29619 echo "*** rpm --erase --nodeps gtk gtk-devel"
29621 echo "$as_me: failed program was:" >&5
29622 sed 's
/^
/| /' conftest.$ac_ext >&5
29624 echo "*** The test program failed to compile or link. See the file config.log for the"
29625 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29626 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29627 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29631 conftest$ac_exeext conftest.$ac_ext
29632 CFLAGS="$ac_save_CFLAGS"
29633 LIBS="$ac_save_LIBS"
29648 if test -z "$wx_cv_lib_gtk"; then
29651 wx_cv_cflags_gtk=$GTK_CFLAGS
29652 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29659 if test "$gtk_version_cached" = 1; then
29660 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29661 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29664 case "$wx_cv_lib_gtk" in
29673 *) { { echo "$as_me:$LINENO: error:
29674 The development files for GTK+ were not found. For GTK+ 2, please
29675 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29676 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29677 and that the version is 1.2.3 or above. Also check that the
29678 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29679 --libs' are in the LD_LIBRARY_PATH or equivalent.
29681 echo "$as_me: error:
29682 The development files for GTK+ were not found. For GTK+ 2, please
29683 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29684 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29685 and that the version is 1.2.3 or above. Also check that the
29686 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29687 --libs' are in the LD_LIBRARY_PATH or equivalent.
29689 { (exit 1); exit 1; }; }
29693 if test "$WXGTK2" = 1; then
29694 save_CFLAGS="$CFLAGS"
29696 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29697 LIBS="$LIBS $wx_cv_libs_gtk"
29699 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29700 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29701 cat >conftest.$ac_ext <<_ACEOF
29704 cat confdefs.h >>conftest.$ac_ext
29705 cat >>conftest.$ac_ext <<_ACEOF
29706 /* end confdefs.h. */
29708 #include <gtk/gtk.h>
29714 #if !GTK_CHECK_VERSION(2,18,0)
29722 rm -f conftest.$ac_objext
29723 if { (ac_try="$ac_compile"
29724 case "(($ac_try" in
29725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29726 *) ac_try_echo=$ac_try;;
29728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29729 (eval "$ac_compile") 2>conftest.er1
29731 grep -v '^
*+' conftest.er1 >conftest.err
29733 cat conftest.err >&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); } && {
29736 test -z "$ac_c_werror_flag" ||
29737 test ! -s conftest.err
29738 } && test -s conftest.$ac_objext; then
29740 cat >>confdefs.h <<\_ACEOF
29741 #define __WXGTK218__ 1
29744 cat >>confdefs.h <<\_ACEOF
29745 #define __WXGTK210__ 1
29748 cat >>confdefs.h <<\_ACEOF
29749 #define __WXGTK26__ 1
29752 { echo "$as_me:$LINENO: result: yes" >&5
29753 echo "${ECHO_T}yes" >&6; }
29757 echo "$as_me: failed program was:" >&5
29758 sed 's
/^
/| /' conftest.$ac_ext >&5
29761 { echo "$as_me:$LINENO: result: no" >&5
29762 echo "${ECHO_T}no" >&6; }
29767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29769 if test "$ac_wxgtk218" = 0; then
29770 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29771 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29772 cat >conftest.$ac_ext <<_ACEOF
29775 cat confdefs.h >>conftest.$ac_ext
29776 cat >>conftest.$ac_ext <<_ACEOF
29777 /* end confdefs.h. */
29779 #include <gtk/gtk.h>
29785 #if !GTK_CHECK_VERSION(2,10,0)
29793 rm -f conftest.$ac_objext
29794 if { (ac_try="$ac_compile"
29795 case "(($ac_try" in
29796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29797 *) ac_try_echo=$ac_try;;
29799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29800 (eval "$ac_compile") 2>conftest.er1
29802 grep -v '^
*+' conftest.er1 >conftest.err
29804 cat conftest.err >&5
29805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806 (exit $ac_status); } && {
29807 test -z "$ac_c_werror_flag" ||
29808 test ! -s conftest.err
29809 } && test -s conftest.$ac_objext; then
29811 cat >>confdefs.h <<\_ACEOF
29812 #define __WXGTK210__ 1
29815 cat >>confdefs.h <<\_ACEOF
29816 #define __WXGTK26__ 1
29819 { echo "$as_me:$LINENO: result: yes" >&5
29820 echo "${ECHO_T}yes" >&6; }
29824 echo "$as_me: failed program was:" >&5
29825 sed 's
/^
/| /' conftest.$ac_ext >&5
29828 { echo "$as_me:$LINENO: result: no" >&5
29829 echo "${ECHO_T}no" >&6; }
29834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29836 if test "$ac_wxgtk210" = 0; then
29837 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29838 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29839 cat >conftest.$ac_ext <<_ACEOF
29842 cat confdefs.h >>conftest.$ac_ext
29843 cat >>conftest.$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29846 #include <gtk/gtk.h>
29852 #if !GTK_CHECK_VERSION(2,6,0)
29860 rm -f conftest.$ac_objext
29861 if { (ac_try="$ac_compile"
29862 case "(($ac_try" in
29863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29864 *) ac_try_echo=$ac_try;;
29866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29867 (eval "$ac_compile") 2>conftest.er1
29869 grep -v '^
*+' conftest.er1 >conftest.err
29871 cat conftest.err >&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } && {
29874 test -z "$ac_c_werror_flag" ||
29875 test ! -s conftest.err
29876 } && test -s conftest.$ac_objext; then
29878 cat >>confdefs.h <<\_ACEOF
29879 #define __WXGTK26__ 1
29882 { echo "$as_me:$LINENO: result: yes" >&5
29883 echo "${ECHO_T}yes" >&6; }
29887 echo "$as_me: failed program was:" >&5
29888 sed 's
/^
/| /' conftest.$ac_ext >&5
29891 { echo "$as_me:$LINENO: result: no" >&5
29892 echo "${ECHO_T}no" >&6; }
29897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29901 CFLAGS="$save_CFLAGS"
29904 if test "$wxUSE_UNICODE" = "yes"; then
29905 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29906 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29910 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29911 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29912 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29913 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 ac_check_lib_save_LIBS=$LIBS
29917 cat >conftest.$ac_ext <<_ACEOF
29920 cat confdefs.h >>conftest.$ac_ext
29921 cat >>conftest.$ac_ext <<_ACEOF
29922 /* end confdefs.h. */
29924 /* Override any GCC internal prototype to avoid an error.
29925 Use char because int might match the return type of a GCC
29926 builtin and then its argument prototype would still apply. */
29930 char gdk_im_open ();
29934 return gdk_im_open ();
29939 rm -f conftest.$ac_objext conftest$ac_exeext
29940 if { (ac_try="$ac_link"
29941 case "(($ac_try" in
29942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29943 *) ac_try_echo=$ac_try;;
29945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29946 (eval "$ac_link") 2>conftest.er1
29948 grep -v '^
*+' conftest.er1 >conftest.err
29950 cat conftest.err >&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); } && {
29953 test -z "$ac_c_werror_flag" ||
29954 test ! -s conftest.err
29955 } && test -s conftest$ac_exeext &&
29956 $as_test_x conftest$ac_exeext; then
29957 ac_cv_lib_gdk_gdk_im_open=yes
29959 echo "$as_me: failed program was:" >&5
29960 sed 's
/^
/| /' conftest.$ac_ext >&5
29962 ac_cv_lib_gdk_gdk_im_open=no
29965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29966 conftest$ac_exeext conftest.$ac_ext
29967 LIBS=$ac_check_lib_save_LIBS
29969 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29970 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29971 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29972 cat >>confdefs.h <<\_ACEOF
29979 if test "$USE_DARWIN" != 1; then
29981 for ac_func in poll
29983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29984 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29986 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29987 echo $ECHO_N "(cached) $ECHO_C" >&6
29989 cat >conftest.$ac_ext <<_ACEOF
29992 cat confdefs.h >>conftest.$ac_ext
29993 cat >>conftest.$ac_ext <<_ACEOF
29994 /* end confdefs.h. */
29995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29997 #define $ac_func innocuous_$ac_func
29999 /* System header to define __stub macros and hopefully few prototypes,
30000 which can conflict with char $ac_func (); below.
30001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30002 <limits.h> exists even on freestanding compilers. */
30005 # include <limits.h>
30007 # include <assert.h>
30012 /* Override any GCC internal prototype to avoid an error.
30013 Use char because int might match the return type of a GCC
30014 builtin and then its argument prototype would still apply. */
30019 /* The GNU C library defines this for functions which it implements
30020 to always fail with ENOSYS. Some functions are actually named
30021 something starting with __ and the normal name is an alias. */
30022 #if defined __stub_$ac_func || defined __stub___$ac_func
30029 return $ac_func ();
30034 rm -f conftest.$ac_objext conftest$ac_exeext
30035 if { (ac_try="$ac_link"
30036 case "(($ac_try" in
30037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_link") 2>conftest.er1
30043 grep -v '^
*+' conftest.er1 >conftest.err
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } && {
30048 test -z "$ac_c_werror_flag" ||
30049 test ! -s conftest.err
30050 } && test -s conftest$ac_exeext &&
30051 $as_test_x conftest$ac_exeext; then
30052 eval "$as_ac_var=yes"
30054 echo "$as_me: failed program was:" >&5
30055 sed 's
/^
/| /' conftest.$ac_ext >&5
30057 eval "$as_ac_var=no"
30060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30061 conftest$ac_exeext conftest.$ac_ext
30063 ac_res=`eval echo '${'$as_ac_var'}'`
30064 { echo "$as_me:$LINENO: result: $ac_res" >&5
30065 echo "${ECHO_T}$ac_res" >&6; }
30066 if test `eval echo '${'$as_ac_var'}'` = yes; then
30067 cat >>confdefs.h <<_ACEOF
30068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30077 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30078 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30080 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30082 AFMINSTALL=afminstall
30086 if test "$wxUSE_GPE" = "yes"; then
30087 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30088 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30091 for ac_dir in $SEARCH_LIB;
30093 for ac_extension in a so sl dylib dll.a; do
30094 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30095 ac_find_libraries=$ac_dir
30101 if test "$ac_find_libraries" != "" ; then
30103 if test "$ac_find_libraries" = "default location"; then
30106 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30108 if test $result = 0; then
30111 ac_path_to_link=" -L$ac_find_libraries"
30115 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30117 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30118 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30120 { echo "$as_me:$LINENO: result: not found" >&5
30121 echo "${ECHO_T}not found" >&6; }
30127 if test "$wxUSE_MGL" = 1; then
30128 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30129 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30130 if test "x$MGL_ROOT" = x ; then
30131 { echo "$as_me:$LINENO: result: not found" >&5
30132 echo "${ECHO_T}not found" >&6; }
30133 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30134 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30135 { (exit 1); exit 1; }; }
30137 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30138 echo "${ECHO_T}$MGL_ROOT" >&6; }
30141 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30142 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30145 if test "x$wxUSE_SHARED" = xyes ; then
30146 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30148 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30152 mgl_os_candidates="dos32/dj2"
30155 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30156 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30157 { (exit 1); exit 1; }; }
30163 for mgl_os_i in $mgl_os_candidates ; do
30164 if test "x$mgl_os" = x ; then
30165 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30166 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30167 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30172 if test "x$mgl_lib_type" = x ; then
30173 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30174 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30175 mgl_lib_type=release
30182 if test "x$mgl_os" = x ; then
30183 { echo "$as_me:$LINENO: result: not found" >&5
30184 echo "${ECHO_T}not found" >&6; }
30185 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30186 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30187 { (exit 1); exit 1; }; }
30189 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30190 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30192 wxUSE_UNIVERSAL="yes"
30194 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30195 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30197 AFMINSTALL=afminstall
30202 if test "$wxUSE_DFB" = 1; then
30205 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30206 if test -n "$ac_tool_prefix"; then
30207 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30208 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30211 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30212 echo $ECHO_N "(cached) $ECHO_C" >&6
30214 case $PKG_CONFIG in
30216 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30220 for as_dir in $PATH
30223 test -z "$as_dir" && as_dir=.
30224 for ac_exec_ext in '' $ac_executable_extensions; do
30225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30226 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30237 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30238 if test -n "$PKG_CONFIG"; then
30239 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30240 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30242 { echo "$as_me:$LINENO: result: no" >&5
30243 echo "${ECHO_T}no" >&6; }
30248 if test -z "$ac_cv_path_PKG_CONFIG"; then
30249 ac_pt_PKG_CONFIG=$PKG_CONFIG
30250 # Extract the first word of "pkg-config", so it can be a program name with args.
30251 set dummy pkg-config; ac_word=$2
30252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30254 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30255 echo $ECHO_N "(cached) $ECHO_C" >&6
30257 case $ac_pt_PKG_CONFIG in
30259 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30263 for as_dir in $PATH
30266 test -z "$as_dir" && as_dir=.
30267 for ac_exec_ext in '' $ac_executable_extensions; do
30268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30269 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30280 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30281 if test -n "$ac_pt_PKG_CONFIG"; then
30282 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30283 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30285 { echo "$as_me:$LINENO: result: no" >&5
30286 echo "${ECHO_T}no" >&6; }
30289 if test "x$ac_pt_PKG_CONFIG" = x; then
30292 case $cross_compiling:$ac_tool_warned in
30294 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30295 whose name does not start with the host triplet. If you think this
30296 configuration is useful to you, please write to autoconf@gnu.org." >&5
30297 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30298 whose name does not start with the host triplet. If you think this
30299 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30300 ac_tool_warned=yes ;;
30302 PKG_CONFIG=$ac_pt_PKG_CONFIG
30305 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30309 if test -n "$PKG_CONFIG"; then
30310 _pkg_min_version=0.9.0
30311 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30312 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30313 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30314 { echo "$as_me:$LINENO: result: yes" >&5
30315 echo "${ECHO_T}yes" >&6; }
30317 { echo "$as_me:$LINENO: result: no" >&5
30318 echo "${ECHO_T}no" >&6; }
30326 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30327 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30329 if test -n "$PKG_CONFIG"; then
30330 if test -n "$DIRECTFB_CFLAGS"; then
30331 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30333 if test -n "$PKG_CONFIG" && \
30334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30335 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); }; then
30339 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30347 if test -n "$PKG_CONFIG"; then
30348 if test -n "$DIRECTFB_LIBS"; then
30349 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30351 if test -n "$PKG_CONFIG" && \
30352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30353 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; then
30357 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30368 if test $pkg_failed = yes; then
30370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30371 _pkg_short_errors_supported=yes
30373 _pkg_short_errors_supported=no
30375 if test $_pkg_short_errors_supported = yes; then
30376 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30378 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30380 # Put the nasty error message in config.log where it belongs
30381 echo "$DIRECTFB_PKG_ERRORS" >&5
30384 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30385 echo "$as_me: error: DirectFB not found." >&2;}
30386 { (exit 1); exit 1; }; }
30389 elif test $pkg_failed = untried; then
30391 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30392 echo "$as_me: error: DirectFB not found." >&2;}
30393 { (exit 1); exit 1; }; }
30397 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30398 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30399 { echo "$as_me:$LINENO: result: yes" >&5
30400 echo "${ECHO_T}yes" >&6; }
30402 wxUSE_UNIVERSAL="yes"
30403 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30404 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30411 if test "$wxUSE_MICROWIN" = 1; then
30412 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30413 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30414 if test "x$MICROWINDOWS" = x ; then
30415 { echo "$as_me:$LINENO: result: not found" >&5
30416 echo "${ECHO_T}not found" >&6; }
30417 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30418 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30419 { (exit 1); exit 1; }; }
30421 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30422 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30425 if test -f $MICROWINDOWS/lib/libmwin.a; then
30426 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30427 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30429 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30430 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30431 { (exit 1); exit 1; }; }
30434 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30435 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30437 wxUSE_UNIVERSAL="yes"
30439 AFMINSTALL=afminstall
30441 GUIDIST=MICROWIN_DIST
30443 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30446 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30447 { echo "$as_me:$LINENO: checking for X" >&5
30448 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30451 # Check whether --with-x was given.
30452 if test "${with_x+set}" = set; then
30456 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30457 if test "x$with_x" = xno; then
30458 # The user explicitly disabled X.
30461 case $x_includes,$x_libraries in #(
30462 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30463 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30464 { (exit 1); exit 1; }; };; #(
30465 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30466 echo $ECHO_N "(cached) $ECHO_C" >&6
30468 # One or both of the vars are not set, and there is no cached value.
30469 ac_x_includes=no ac_x_libraries=no
30470 rm -f -r conftest.dir
30471 if mkdir conftest.dir; then
30473 cat >Imakefile <<'_ACEOF'
30475 @echo incroot='${INCROOT}'
30477 @echo usrlibdir='${USRLIBDIR}'
30479 @echo libdir='${LIBDIR}'
30481 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30483 for ac_var in incroot usrlibdir libdir; do
30484 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30486 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30487 for ac_extension in a so sl; do
30488 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30489 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30490 ac_im_usrlibdir=$ac_im_libdir; break
30493 # Screen out bogus values from the imake configuration. They are
30494 # bogus both because they are the default anyway, and because
30495 # using them would break gcc on systems where it needs fixed includes.
30496 case $ac_im_incroot in
30497 /usr/include) ac_x_includes= ;;
30498 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30500 case $ac_im_usrlibdir in
30501 /usr/lib | /lib) ;;
30502 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30506 rm -f -r conftest.dir
30509 # Standard set of common directories for X headers.
30510 # Check X11 before X11Rn because it is often a symlink to the current release.
30522 /usr
/local
/X
11/include
30523 /usr
/local
/X
11R
6/include
30524 /usr
/local
/X
11R
5/include
30525 /usr
/local
/X
11R
4/include
30527 /usr
/local
/include
/X11
30528 /usr
/local
/include
/X11R6
30529 /usr
/local
/include
/X11R5
30530 /usr
/local
/include
/X11R4
30534 /usr
/XFree
86/include
/X11
30538 /usr
/unsupported
/include
30539 /usr
/athena
/include
30540 /usr
/local
/x
11r
5/include
30541 /usr
/lpp
/Xamples
/include
30543 /usr
/openwin
/include
30544 /usr
/openwin
/share
/include
'
30546 if test "$ac_x_includes" = no; then
30547 # Guess where to find include files, by looking for Xlib.h.
30548 # First, try using that file with no special directory specified.
30549 cat >conftest.$ac_ext <<_ACEOF
30552 cat confdefs.h >>conftest.$ac_ext
30553 cat >>conftest.$ac_ext <<_ACEOF
30554 /* end confdefs.h. */
30555 #include <X11/Xlib.h>
30557 if { (ac_try="$ac_cpp conftest.$ac_ext"
30558 case "(($ac_try" in
30559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30560 *) ac_try_echo=$ac_try;;
30562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30565 grep -v '^
*+' conftest.er1 >conftest.err
30567 cat conftest.err >&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } >/dev/null && {
30570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30571 test ! -s conftest.err
30573 # We can compile using X headers with no special include directory.
30576 echo "$as_me: failed program was:" >&5
30577 sed 's
/^
/| /' conftest.$ac_ext >&5
30579 for ac_dir in $ac_x_header_dirs; do
30580 if test -r "$ac_dir/X11/Xlib.h"; then
30581 ac_x_includes=$ac_dir
30587 rm -f conftest.err conftest.$ac_ext
30588 fi # $ac_x_includes = no
30590 if test "$ac_x_libraries" = no; then
30591 # Check for the libraries.
30592 # See if we find them without any special options.
30593 # Don't add to
$LIBS permanently.
30596 cat >conftest.
$ac_ext <<_ACEOF
30599 cat confdefs.h
>>conftest.
$ac_ext
30600 cat >>conftest.
$ac_ext <<_ACEOF
30601 /* end confdefs.h. */
30602 #include <X11/Xlib.h>
30611 rm -f conftest.
$ac_objext conftest
$ac_exeext
30612 if { (ac_try
="$ac_link"
30613 case "(($ac_try" in
30614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30615 *) ac_try_echo=$ac_try;;
30617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30618 (eval "$ac_link") 2>conftest.er1
30620 grep -v '^ *+' conftest.er1 >conftest.err
30622 cat conftest.err >&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } && {
30625 test -z "$ac_c_werror_flag" ||
30626 test ! -s conftest.err
30627 } && test -s conftest$ac_exeext &&
30628 $as_test_x conftest$ac_exeext; then
30630 # We can link X programs with no special library path.
30633 echo "$as_me: failed program was:" >&5
30634 sed 's/^/| /' conftest.$ac_ext >&5
30637 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30639 # Don't even attempt the hair of trying to link an X program!
30640 for ac_extension in a so sl; do
30641 if test -r "$ac_dir/libX11.$ac_extension"; then
30642 ac_x_libraries=$ac_dir
30649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30650 conftest$ac_exeext conftest.$ac_ext
30651 fi # $ac_x_libraries = no
30653 case $ac_x_includes,$ac_x_libraries in #(
30654 no,* | *,no | *\'*)
30655 # Didn't find X, or a directory has "'" in its name.
30656 ac_cv_have_x="have_x=no";; #(
30658 # Record where we found X for the cache.
30659 ac_cv_have_x="have_x=yes\
30660 ac_x_includes='$ac_x_includes'\
30661 ac_x_libraries='$ac_x_libraries'"
30667 eval "$ac_cv_have_x"
30670 if test "$have_x" != yes; then
30671 { echo "$as_me:$LINENO: result: $have_x" >&5
30672 echo "${ECHO_T}$have_x" >&6; }
30675 # If each of the values was on the command line, it overrides each guess.
30676 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30677 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30678 # Update the cache value to reflect the command line values.
30679 ac_cv_have_x="have_x=yes\
30680 ac_x_includes='$x_includes'\
30681 ac_x_libraries='$x_libraries'"
30682 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30683 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30686 if test "$no_x" = yes; then
30687 # Not all programs may use this symbol, but it does not hurt to define it.
30689 cat >>confdefs.h <<\_ACEOF
30690 #define X_DISPLAY_MISSING 1
30693 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30695 if test -n "$x_includes"; then
30696 X_CFLAGS="$X_CFLAGS -I$x_includes"
30699 # It would also be nice to do this for all -L options, not just this one.
30700 if test -n "$x_libraries"; then
30701 X_LIBS="$X_LIBS -L$x_libraries"
30702 # For Solaris; some versions of Sun CC require a space after -R and
30703 # others require no space. Words are not sufficient . . . .
30704 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30705 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30706 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30707 ac_xsave_c_werror_flag=$ac_c_werror_flag
30708 ac_c_werror_flag=yes
30709 cat >conftest.$ac_ext <<_ACEOF
30712 cat confdefs.h >>conftest.$ac_ext
30713 cat >>conftest.$ac_ext <<_ACEOF
30714 /* end confdefs.h. */
30724 rm -f conftest.$ac_objext conftest$ac_exeext
30725 if { (ac_try="$ac_link"
30726 case "(($ac_try" in
30727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30728 *) ac_try_echo
=$ac_try;;
30730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30731 (eval "$ac_link") 2>conftest.er1
30733 grep -v '^ *+' conftest.er1
>conftest.err
30735 cat conftest.err
>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } && {
30738 test -z "$ac_c_werror_flag" ||
30739 test ! -s conftest.err
30740 } && test -s conftest
$ac_exeext &&
30741 $as_test_x conftest
$ac_exeext; then
30742 { echo "$as_me:$LINENO: result: no" >&5
30743 echo "${ECHO_T}no" >&6; }
30744 X_LIBS
="$X_LIBS -R$x_libraries"
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.
$ac_ext >&5
30749 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30750 cat >conftest.
$ac_ext <<_ACEOF
30753 cat confdefs.h
>>conftest.
$ac_ext
30754 cat >>conftest.
$ac_ext <<_ACEOF
30755 /* end confdefs.h. */
30765 rm -f conftest.
$ac_objext conftest
$ac_exeext
30766 if { (ac_try
="$ac_link"
30767 case "(($ac_try" in
30768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30769 *) ac_try_echo=$ac_try;;
30771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30772 (eval "$ac_link") 2>conftest.er1
30774 grep -v '^ *+' conftest.er1 >conftest.err
30776 cat conftest.err >&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && {
30779 test -z "$ac_c_werror_flag" ||
30780 test ! -s conftest.err
30781 } && test -s conftest$ac_exeext &&
30782 $as_test_x conftest$ac_exeext; then
30783 { echo "$as_me:$LINENO: result: yes" >&5
30784 echo "${ECHO_T}yes" >&6; }
30785 X_LIBS="$X_LIBS -R $x_libraries"
30787 echo "$as_me: failed program was:" >&5
30788 sed 's/^/| /' conftest.$ac_ext >&5
30790 { echo "$as_me:$LINENO: result: neither works" >&5
30791 echo "${ECHO_T}neither works" >&6; }
30794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30795 conftest$ac_exeext conftest.$ac_ext
30798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30799 conftest$ac_exeext conftest.$ac_ext
30800 ac_c_werror_flag=$ac_xsave_c_werror_flag
30801 LIBS=$ac_xsave_LIBS
30804 # Check for system-dependent libraries X programs must link with.
30805 # Do this before checking for the system-independent R6 libraries
30806 # (-lICE), since we may need -lsocket or whatever for X linking.
30808 if test "$ISC" = yes; then
30809 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30811 # Martyn Johnson says this is needed for Ultrix, if the X
30812 # libraries were built with DECnet support. And Karl Berry says
30813 # the Alpha needs dnet_stub (dnet does not exist).
30814 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30815 cat >conftest.$ac_ext <<_ACEOF
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h. */
30822 /* Override any GCC internal prototype to avoid an error.
30823 Use char because int might match the return type of a GCC
30824 builtin and then its argument prototype would still apply. */
30828 char XOpenDisplay ();
30832 return XOpenDisplay ();
30837 rm -f conftest.$ac_objext conftest$ac_exeext
30838 if { (ac_try="$ac_link"
30839 case "(($ac_try" in
30840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30841 *) ac_try_echo
=$ac_try;;
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_link") 2>conftest.er1
30846 grep -v '^ *+' conftest.er1
>conftest.err
30848 cat conftest.err
>&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); } && {
30851 test -z "$ac_c_werror_flag" ||
30852 test ! -s conftest.err
30853 } && test -s conftest
$ac_exeext &&
30854 $as_test_x conftest
$ac_exeext; then
30857 echo "$as_me: failed program was:" >&5
30858 sed 's/^/| /' conftest.
$ac_ext >&5
30860 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30861 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30862 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30863 echo $ECHO_N "(cached) $ECHO_C" >&6
30865 ac_check_lib_save_LIBS
=$LIBS
30866 LIBS
="-ldnet $LIBS"
30867 cat >conftest.
$ac_ext <<_ACEOF
30870 cat confdefs.h
>>conftest.
$ac_ext
30871 cat >>conftest.
$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30874 /* Override any GCC internal prototype to avoid an error.
30875 Use char because int might match the return type of a GCC
30876 builtin and then its argument prototype would still apply. */
30884 return dnet_ntoa ();
30889 rm -f conftest.
$ac_objext conftest
$ac_exeext
30890 if { (ac_try
="$ac_link"
30891 case "(($ac_try" in
30892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30893 *) ac_try_echo=$ac_try;;
30895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30896 (eval "$ac_link") 2>conftest.er1
30898 grep -v '^ *+' conftest.er1 >conftest.err
30900 cat conftest.err >&5
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); } && {
30903 test -z "$ac_c_werror_flag" ||
30904 test ! -s conftest.err
30905 } && test -s conftest$ac_exeext &&
30906 $as_test_x conftest$ac_exeext; then
30907 ac_cv_lib_dnet_dnet_ntoa=yes
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30912 ac_cv_lib_dnet_dnet_ntoa=no
30915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30916 conftest$ac_exeext conftest.$ac_ext
30917 LIBS=$ac_check_lib_save_LIBS
30919 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30920 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30921 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30922 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30925 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30926 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30927 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30928 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30931 ac_check_lib_save_LIBS=$LIBS
30932 LIBS="-ldnet_stub $LIBS"
30933 cat >conftest.$ac_ext <<_ACEOF
30936 cat confdefs.h >>conftest.$ac_ext
30937 cat >>conftest.$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30940 /* Override any GCC internal prototype to avoid an error.
30941 Use char because int might match the return type of a GCC
30942 builtin and then its argument prototype would still apply. */
30950 return dnet_ntoa ();
30955 rm -f conftest.$ac_objext conftest$ac_exeext
30956 if { (ac_try="$ac_link"
30957 case "(($ac_try" in
30958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30959 *) ac_try_echo
=$ac_try;;
30961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30962 (eval "$ac_link") 2>conftest.er1
30964 grep -v '^ *+' conftest.er1
>conftest.err
30966 cat conftest.err
>&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } && {
30969 test -z "$ac_c_werror_flag" ||
30970 test ! -s conftest.err
30971 } && test -s conftest
$ac_exeext &&
30972 $as_test_x conftest
$ac_exeext; then
30973 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30975 echo "$as_me: failed program was:" >&5
30976 sed 's/^/| /' conftest.
$ac_ext >&5
30978 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30981 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30982 conftest
$ac_exeext conftest.
$ac_ext
30983 LIBS
=$ac_check_lib_save_LIBS
30985 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30986 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30987 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30988 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30995 conftest
$ac_exeext conftest.
$ac_ext
30996 LIBS
="$ac_xsave_LIBS"
30998 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30999 # to get the SysV transport functions.
31000 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31002 # The nsl library prevents programs from opening the X display
31003 # on Irix 5.2, according to T.E. Dickey.
31004 # The functions gethostbyname, getservbyname, and inet_addr are
31005 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31006 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31007 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31008 if test "${ac_cv_func_gethostbyname+set}" = set; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31011 cat >conftest.
$ac_ext <<_ACEOF
31014 cat confdefs.h
>>conftest.
$ac_ext
31015 cat >>conftest.
$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31017 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31019 #define gethostbyname innocuous_gethostbyname
31021 /* System header to define __stub macros and hopefully few prototypes,
31022 which can conflict with char gethostbyname (); below.
31023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31024 <limits.h> exists even on freestanding compilers. */
31027 # include <limits.h>
31029 # include <assert.h>
31032 #undef gethostbyname
31034 /* Override any GCC internal prototype to avoid an error.
31035 Use char because int might match the return type of a GCC
31036 builtin and then its argument prototype would still apply. */
31040 char gethostbyname ();
31041 /* The GNU C library defines this for functions which it implements
31042 to always fail with ENOSYS. Some functions are actually named
31043 something starting with __ and the normal name is an alias. */
31044 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31051 return gethostbyname ();
31056 rm -f conftest.
$ac_objext conftest
$ac_exeext
31057 if { (ac_try
="$ac_link"
31058 case "(($ac_try" in
31059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31060 *) ac_try_echo=$ac_try;;
31062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31063 (eval "$ac_link") 2>conftest.er1
31065 grep -v '^ *+' conftest.er1 >conftest.err
31067 cat conftest.err >&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } && {
31070 test -z "$ac_c_werror_flag" ||
31071 test ! -s conftest.err
31072 } && test -s conftest$ac_exeext &&
31073 $as_test_x conftest$ac_exeext; then
31074 ac_cv_func_gethostbyname=yes
31076 echo "$as_me: failed program was:" >&5
31077 sed 's/^/| /' conftest.$ac_ext >&5
31079 ac_cv_func_gethostbyname=no
31082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31083 conftest$ac_exeext conftest.$ac_ext
31085 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31086 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31088 if test $ac_cv_func_gethostbyname = no; then
31089 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31090 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31091 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 ac_check_lib_save_LIBS=$LIBS
31096 cat >conftest.$ac_ext <<_ACEOF
31099 cat confdefs.h >>conftest.$ac_ext
31100 cat >>conftest.$ac_ext <<_ACEOF
31101 /* end confdefs.h. */
31103 /* Override any GCC internal prototype to avoid an error.
31104 Use char because int might match the return type of a GCC
31105 builtin and then its argument prototype would still apply. */
31109 char gethostbyname ();
31113 return gethostbyname ();
31118 rm -f conftest.$ac_objext conftest$ac_exeext
31119 if { (ac_try="$ac_link"
31120 case "(($ac_try" in
31121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31122 *) ac_try_echo
=$ac_try;;
31124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31125 (eval "$ac_link") 2>conftest.er1
31127 grep -v '^ *+' conftest.er1
>conftest.err
31129 cat conftest.err
>&5
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); } && {
31132 test -z "$ac_c_werror_flag" ||
31133 test ! -s conftest.err
31134 } && test -s conftest
$ac_exeext &&
31135 $as_test_x conftest
$ac_exeext; then
31136 ac_cv_lib_nsl_gethostbyname
=yes
31138 echo "$as_me: failed program was:" >&5
31139 sed 's/^/| /' conftest.
$ac_ext >&5
31141 ac_cv_lib_nsl_gethostbyname
=no
31144 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31145 conftest
$ac_exeext conftest.
$ac_ext
31146 LIBS
=$ac_check_lib_save_LIBS
31148 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31149 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31150 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31151 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31154 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31155 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31156 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31157 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31158 echo $ECHO_N "(cached) $ECHO_C" >&6
31160 ac_check_lib_save_LIBS
=$LIBS
31162 cat >conftest.
$ac_ext <<_ACEOF
31165 cat confdefs.h
>>conftest.
$ac_ext
31166 cat >>conftest.
$ac_ext <<_ACEOF
31167 /* end confdefs.h. */
31169 /* Override any GCC internal prototype to avoid an error.
31170 Use char because int might match the return type of a GCC
31171 builtin and then its argument prototype would still apply. */
31175 char gethostbyname ();
31179 return gethostbyname ();
31184 rm -f conftest.
$ac_objext conftest
$ac_exeext
31185 if { (ac_try
="$ac_link"
31186 case "(($ac_try" in
31187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31188 *) ac_try_echo=$ac_try;;
31190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31191 (eval "$ac_link") 2>conftest.er1
31193 grep -v '^ *+' conftest.er1 >conftest.err
31195 cat conftest.err >&5
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); } && {
31198 test -z "$ac_c_werror_flag" ||
31199 test ! -s conftest.err
31200 } && test -s conftest$ac_exeext &&
31201 $as_test_x conftest$ac_exeext; then
31202 ac_cv_lib_bsd_gethostbyname=yes
31204 echo "$as_me: failed program was:" >&5
31205 sed 's/^/| /' conftest.$ac_ext >&5
31207 ac_cv_lib_bsd_gethostbyname=no
31210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31211 conftest$ac_exeext conftest.$ac_ext
31212 LIBS=$ac_check_lib_save_LIBS
31214 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31215 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31216 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31217 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31223 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31224 # socket/setsockopt and other routines are undefined under SCO ODT
31225 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31226 # on later versions), says Simon Leinen: it contains gethostby*
31227 # variants that don't use the name server (or something). -lsocket
31228 # must be given before -lnsl if both are needed. We assume that
31229 # if connect needs -lnsl, so does gethostbyname.
31230 { echo "$as_me:$LINENO: checking for connect" >&5
31231 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31232 if test "${ac_cv_func_connect+set}" = set; then
31233 echo $ECHO_N "(cached) $ECHO_C" >&6
31235 cat >conftest.$ac_ext <<_ACEOF
31238 cat confdefs.h >>conftest.$ac_ext
31239 cat >>conftest.$ac_ext <<_ACEOF
31240 /* end confdefs.h. */
31241 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31243 #define connect innocuous_connect
31245 /* System header to define __stub macros and hopefully few prototypes,
31246 which can conflict with char connect (); below.
31247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31248 <limits.h> exists even on freestanding compilers. */
31251 # include <limits.h>
31253 # include <assert.h>
31258 /* Override any GCC internal prototype to avoid an error.
31259 Use char because int might match the return type of a GCC
31260 builtin and then its argument prototype would still apply. */
31265 /* The GNU C library defines this for functions which it implements
31266 to always fail with ENOSYS. Some functions are actually named
31267 something starting with __ and the normal name is an alias. */
31268 #if defined __stub_connect || defined __stub___connect
31280 rm -f conftest.$ac_objext conftest$ac_exeext
31281 if { (ac_try="$ac_link"
31282 case "(($ac_try" in
31283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31284 *) ac_try_echo
=$ac_try;;
31286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31287 (eval "$ac_link") 2>conftest.er1
31289 grep -v '^ *+' conftest.er1
>conftest.err
31291 cat conftest.err
>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); } && {
31294 test -z "$ac_c_werror_flag" ||
31295 test ! -s conftest.err
31296 } && test -s conftest
$ac_exeext &&
31297 $as_test_x conftest
$ac_exeext; then
31298 ac_cv_func_connect
=yes
31300 echo "$as_me: failed program was:" >&5
31301 sed 's/^/| /' conftest.
$ac_ext >&5
31303 ac_cv_func_connect
=no
31306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31307 conftest
$ac_exeext conftest.
$ac_ext
31309 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31310 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31312 if test $ac_cv_func_connect = no
; then
31313 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31314 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31315 if test "${ac_cv_lib_socket_connect+set}" = set; then
31316 echo $ECHO_N "(cached) $ECHO_C" >&6
31318 ac_check_lib_save_LIBS
=$LIBS
31319 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31320 cat >conftest.
$ac_ext <<_ACEOF
31323 cat confdefs.h
>>conftest.
$ac_ext
31324 cat >>conftest.
$ac_ext <<_ACEOF
31325 /* end confdefs.h. */
31327 /* Override any GCC internal prototype to avoid an error.
31328 Use char because int might match the return type of a GCC
31329 builtin and then its argument prototype would still apply. */
31342 rm -f conftest.
$ac_objext conftest
$ac_exeext
31343 if { (ac_try
="$ac_link"
31344 case "(($ac_try" in
31345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31346 *) ac_try_echo=$ac_try;;
31348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31349 (eval "$ac_link") 2>conftest.er1
31351 grep -v '^ *+' conftest.er1 >conftest.err
31353 cat conftest.err >&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); } && {
31356 test -z "$ac_c_werror_flag" ||
31357 test ! -s conftest.err
31358 } && test -s conftest$ac_exeext &&
31359 $as_test_x conftest$ac_exeext; then
31360 ac_cv_lib_socket_connect=yes
31362 echo "$as_me: failed program was:" >&5
31363 sed 's/^/| /' conftest.$ac_ext >&5
31365 ac_cv_lib_socket_connect=no
31368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31369 conftest$ac_exeext conftest.$ac_ext
31370 LIBS=$ac_check_lib_save_LIBS
31372 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31373 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31374 if test $ac_cv_lib_socket_connect = yes; then
31375 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31380 # Guillermo Gomez says -lposix is necessary on A/UX.
31381 { echo "$as_me:$LINENO: checking for remove" >&5
31382 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31383 if test "${ac_cv_func_remove+set}" = set; then
31384 echo $ECHO_N "(cached) $ECHO_C" >&6
31386 cat >conftest.$ac_ext <<_ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31394 #define remove innocuous_remove
31396 /* System header to define __stub macros and hopefully few prototypes,
31397 which can conflict with char remove (); below.
31398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31399 <limits.h> exists even on freestanding compilers. */
31402 # include <limits.h>
31404 # include <assert.h>
31409 /* Override any GCC internal prototype to avoid an error.
31410 Use char because int might match the return type of a GCC
31411 builtin and then its argument prototype would still apply. */
31416 /* The GNU C library defines this for functions which it implements
31417 to always fail with ENOSYS. Some functions are actually named
31418 something starting with __ and the normal name is an alias. */
31419 #if defined __stub_remove || defined __stub___remove
31431 rm -f conftest.$ac_objext conftest$ac_exeext
31432 if { (ac_try="$ac_link"
31433 case "(($ac_try" in
31434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31435 *) ac_try_echo
=$ac_try;;
31437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31438 (eval "$ac_link") 2>conftest.er1
31440 grep -v '^ *+' conftest.er1
>conftest.err
31442 cat conftest.err
>&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } && {
31445 test -z "$ac_c_werror_flag" ||
31446 test ! -s conftest.err
31447 } && test -s conftest
$ac_exeext &&
31448 $as_test_x conftest
$ac_exeext; then
31449 ac_cv_func_remove
=yes
31451 echo "$as_me: failed program was:" >&5
31452 sed 's/^/| /' conftest.
$ac_ext >&5
31454 ac_cv_func_remove
=no
31457 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31458 conftest
$ac_exeext conftest.
$ac_ext
31460 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31461 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31463 if test $ac_cv_func_remove = no
; then
31464 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31465 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31466 if test "${ac_cv_lib_posix_remove+set}" = set; then
31467 echo $ECHO_N "(cached) $ECHO_C" >&6
31469 ac_check_lib_save_LIBS
=$LIBS
31470 LIBS
="-lposix $LIBS"
31471 cat >conftest.
$ac_ext <<_ACEOF
31474 cat confdefs.h
>>conftest.
$ac_ext
31475 cat >>conftest.
$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31478 /* Override any GCC internal prototype to avoid an error.
31479 Use char because int might match the return type of a GCC
31480 builtin and then its argument prototype would still apply. */
31493 rm -f conftest.
$ac_objext conftest
$ac_exeext
31494 if { (ac_try
="$ac_link"
31495 case "(($ac_try" in
31496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31497 *) ac_try_echo=$ac_try;;
31499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31500 (eval "$ac_link") 2>conftest.er1
31502 grep -v '^ *+' conftest.er1 >conftest.err
31504 cat conftest.err >&5
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); } && {
31507 test -z "$ac_c_werror_flag" ||
31508 test ! -s conftest.err
31509 } && test -s conftest$ac_exeext &&
31510 $as_test_x conftest$ac_exeext; then
31511 ac_cv_lib_posix_remove=yes
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31516 ac_cv_lib_posix_remove=no
31519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31520 conftest$ac_exeext conftest.$ac_ext
31521 LIBS=$ac_check_lib_save_LIBS
31523 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31524 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31525 if test $ac_cv_lib_posix_remove = yes; then
31526 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31531 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31532 { echo "$as_me:$LINENO: checking for shmat" >&5
31533 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31534 if test "${ac_cv_func_shmat+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31537 cat >conftest.$ac_ext <<_ACEOF
31540 cat confdefs.h >>conftest.$ac_ext
31541 cat >>conftest.$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31543 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31545 #define shmat innocuous_shmat
31547 /* System header to define __stub macros and hopefully few prototypes,
31548 which can conflict with char shmat (); below.
31549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31550 <limits.h> exists even on freestanding compilers. */
31553 # include <limits.h>
31555 # include <assert.h>
31560 /* Override any GCC internal prototype to avoid an error.
31561 Use char because int might match the return type of a GCC
31562 builtin and then its argument prototype would still apply. */
31567 /* The GNU C library defines this for functions which it implements
31568 to always fail with ENOSYS. Some functions are actually named
31569 something starting with __ and the normal name is an alias. */
31570 #if defined __stub_shmat || defined __stub___shmat
31582 rm -f conftest.$ac_objext conftest$ac_exeext
31583 if { (ac_try="$ac_link"
31584 case "(($ac_try" in
31585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31586 *) ac_try_echo
=$ac_try;;
31588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31589 (eval "$ac_link") 2>conftest.er1
31591 grep -v '^ *+' conftest.er1
>conftest.err
31593 cat conftest.err
>&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } && {
31596 test -z "$ac_c_werror_flag" ||
31597 test ! -s conftest.err
31598 } && test -s conftest
$ac_exeext &&
31599 $as_test_x conftest
$ac_exeext; then
31600 ac_cv_func_shmat
=yes
31602 echo "$as_me: failed program was:" >&5
31603 sed 's/^/| /' conftest.
$ac_ext >&5
31605 ac_cv_func_shmat
=no
31608 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31609 conftest
$ac_exeext conftest.
$ac_ext
31611 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31612 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31614 if test $ac_cv_func_shmat = no
; then
31615 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31616 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31617 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31618 echo $ECHO_N "(cached) $ECHO_C" >&6
31620 ac_check_lib_save_LIBS
=$LIBS
31622 cat >conftest.
$ac_ext <<_ACEOF
31625 cat confdefs.h
>>conftest.
$ac_ext
31626 cat >>conftest.
$ac_ext <<_ACEOF
31627 /* end confdefs.h. */
31629 /* Override any GCC internal prototype to avoid an error.
31630 Use char because int might match the return type of a GCC
31631 builtin and then its argument prototype would still apply. */
31644 rm -f conftest.
$ac_objext conftest
$ac_exeext
31645 if { (ac_try
="$ac_link"
31646 case "(($ac_try" in
31647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31648 *) ac_try_echo=$ac_try;;
31650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31651 (eval "$ac_link") 2>conftest.er1
31653 grep -v '^ *+' conftest.er1 >conftest.err
31655 cat conftest.err >&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); } && {
31658 test -z "$ac_c_werror_flag" ||
31659 test ! -s conftest.err
31660 } && test -s conftest$ac_exeext &&
31661 $as_test_x conftest$ac_exeext; then
31662 ac_cv_lib_ipc_shmat=yes
31664 echo "$as_me: failed program was:" >&5
31665 sed 's/^/| /' conftest.$ac_ext >&5
31667 ac_cv_lib_ipc_shmat=no
31670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31671 conftest$ac_exeext conftest.$ac_ext
31672 LIBS=$ac_check_lib_save_LIBS
31674 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31675 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31676 if test $ac_cv_lib_ipc_shmat = yes; then
31677 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31683 # Check for libraries that X11R6 Xt/Xaw programs need.
31684 ac_save_LDFLAGS=$LDFLAGS
31685 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31686 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31687 # check for ICE first), but we must link in the order -lSM -lICE or
31688 # we get undefined symbols. So assume we have SM if we have ICE.
31689 # These have to be linked with before -lX11, unlike the other
31690 # libraries we check for below, so use a different variable.
31691 # John Interrante, Karl Berry
31692 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31693 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31694 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31695 echo $ECHO_N "(cached) $ECHO_C" >&6
31697 ac_check_lib_save_LIBS=$LIBS
31698 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31699 cat >conftest.$ac_ext <<_ACEOF
31702 cat confdefs.h >>conftest.$ac_ext
31703 cat >>conftest.$ac_ext <<_ACEOF
31704 /* end confdefs.h. */
31706 /* Override any GCC internal prototype to avoid an error.
31707 Use char because int might match the return type of a GCC
31708 builtin and then its argument prototype would still apply. */
31712 char IceConnectionNumber ();
31716 return IceConnectionNumber ();
31721 rm -f conftest.$ac_objext conftest$ac_exeext
31722 if { (ac_try="$ac_link"
31723 case "(($ac_try" in
31724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31725 *) ac_try_echo
=$ac_try;;
31727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31728 (eval "$ac_link") 2>conftest.er1
31730 grep -v '^ *+' conftest.er1
>conftest.err
31732 cat conftest.err
>&5
31733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734 (exit $ac_status); } && {
31735 test -z "$ac_c_werror_flag" ||
31736 test ! -s conftest.err
31737 } && test -s conftest
$ac_exeext &&
31738 $as_test_x conftest
$ac_exeext; then
31739 ac_cv_lib_ICE_IceConnectionNumber
=yes
31741 echo "$as_me: failed program was:" >&5
31742 sed 's/^/| /' conftest.
$ac_ext >&5
31744 ac_cv_lib_ICE_IceConnectionNumber
=no
31747 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31748 conftest
$ac_exeext conftest.
$ac_ext
31749 LIBS
=$ac_check_lib_save_LIBS
31751 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31752 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31753 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31754 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31757 LDFLAGS
=$ac_save_LDFLAGS
31762 if test "$no_x" = "yes"; then
31763 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31764 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31765 { (exit 1); exit 1; }; }
31768 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31769 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31770 AFMINSTALL
=afminstall
31771 COMPILED_X_PROGRAM
=0
31775 if test "$wxUSE_X11" = 1; then
31776 if test "$wxUSE_NANOX" = "yes"; then
31777 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31778 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31779 if test "x$MICROWIN" = x
; then
31780 { echo "$as_me:$LINENO: result: not found" >&5
31781 echo "${ECHO_T}not found" >&6; }
31782 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31783 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31784 { (exit 1); exit 1; }; }
31786 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31787 echo "${ECHO_T}$MICROWIN" >&6; }
31788 cat >>confdefs.h
<<\_ACEOF
31789 #define wxUSE_NANOX 1
31795 if test "$wxUSE_UNICODE" = "yes"; then
31798 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31799 if test -n "$ac_tool_prefix"; then
31800 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31801 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31804 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31805 echo $ECHO_N "(cached) $ECHO_C" >&6
31807 case $PKG_CONFIG in
31809 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31813 for as_dir
in $PATH
31816 test -z "$as_dir" && as_dir
=.
31817 for ac_exec_ext
in '' $ac_executable_extensions; do
31818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31819 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31830 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31831 if test -n "$PKG_CONFIG"; then
31832 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31833 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31835 { echo "$as_me:$LINENO: result: no" >&5
31836 echo "${ECHO_T}no" >&6; }
31841 if test -z "$ac_cv_path_PKG_CONFIG"; then
31842 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31843 # Extract the first word of "pkg-config", so it can be a program name with args.
31844 set dummy pkg
-config; ac_word
=$2
31845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31847 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31848 echo $ECHO_N "(cached) $ECHO_C" >&6
31850 case $ac_pt_PKG_CONFIG in
31852 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31856 for as_dir
in $PATH
31859 test -z "$as_dir" && as_dir
=.
31860 for ac_exec_ext
in '' $ac_executable_extensions; do
31861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31862 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31873 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31874 if test -n "$ac_pt_PKG_CONFIG"; then
31875 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31876 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31878 { echo "$as_me:$LINENO: result: no" >&5
31879 echo "${ECHO_T}no" >&6; }
31882 if test "x$ac_pt_PKG_CONFIG" = x
; then
31885 case $cross_compiling:$ac_tool_warned in
31887 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31888 whose name does not start with the host triplet. If you think this
31889 configuration is useful to you, please write to autoconf@gnu.org." >&5
31890 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31891 whose name does not start with the host triplet. If you think this
31892 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31893 ac_tool_warned
=yes ;;
31895 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31898 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31902 if test -n "$PKG_CONFIG"; then
31903 _pkg_min_version
=0.9.0
31904 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31905 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31906 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31907 { echo "$as_me:$LINENO: result: yes" >&5
31908 echo "${ECHO_T}yes" >&6; }
31910 { echo "$as_me:$LINENO: result: no" >&5
31911 echo "${ECHO_T}no" >&6; }
31919 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31920 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31922 if test -n "$PKG_CONFIG"; then
31923 if test -n "$PANGOX_CFLAGS"; then
31924 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31926 if test -n "$PKG_CONFIG" && \
31927 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31928 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; then
31932 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31940 if test -n "$PKG_CONFIG"; then
31941 if test -n "$PANGOX_LIBS"; then
31942 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31944 if test -n "$PKG_CONFIG" && \
31945 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31946 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); }; then
31950 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31961 if test $pkg_failed = yes; then
31963 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31964 _pkg_short_errors_supported
=yes
31966 _pkg_short_errors_supported
=no
31968 if test $_pkg_short_errors_supported = yes; then
31969 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31971 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31973 # Put the nasty error message in config.log where it belongs
31974 echo "$PANGOX_PKG_ERRORS" >&5
31977 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31978 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31979 { (exit 1); exit 1; }; }
31982 elif test $pkg_failed = untried
; then
31984 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31985 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31986 { (exit 1); exit 1; }; }
31990 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31991 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31992 { echo "$as_me:$LINENO: result: yes" >&5
31993 echo "${ECHO_T}yes" >&6; }
31995 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31996 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31997 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32002 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32003 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32005 if test -n "$PKG_CONFIG"; then
32006 if test -n "$PANGOFT2_CFLAGS"; then
32007 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32009 if test -n "$PKG_CONFIG" && \
32010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32011 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014 (exit $ac_status); }; then
32015 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32023 if test -n "$PKG_CONFIG"; then
32024 if test -n "$PANGOFT2_LIBS"; then
32025 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32027 if test -n "$PKG_CONFIG" && \
32028 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32029 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; then
32033 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32044 if test $pkg_failed = yes; then
32046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32047 _pkg_short_errors_supported
=yes
32049 _pkg_short_errors_supported
=no
32051 if test $_pkg_short_errors_supported = yes; then
32052 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32054 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32056 # Put the nasty error message in config.log where it belongs
32057 echo "$PANGOFT2_PKG_ERRORS" >&5
32060 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32061 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32062 wxUSE_PRINTING_ARCHITECTURE
="no"
32065 elif test $pkg_failed = untried
; then
32067 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32068 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32069 wxUSE_PRINTING_ARCHITECTURE
="no"
32073 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32074 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32075 { echo "$as_me:$LINENO: result: yes" >&5
32076 echo "${ECHO_T}yes" >&6; }
32078 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32079 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32080 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32085 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32086 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32088 if test -n "$PKG_CONFIG"; then
32089 if test -n "$PANGOXFT_CFLAGS"; then
32090 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32092 if test -n "$PKG_CONFIG" && \
32093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32094 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); }; then
32098 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32106 if test -n "$PKG_CONFIG"; then
32107 if test -n "$PANGOXFT_LIBS"; then
32108 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32110 if test -n "$PKG_CONFIG" && \
32111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32112 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); }; then
32116 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32127 if test $pkg_failed = yes; then
32129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32130 _pkg_short_errors_supported
=yes
32132 _pkg_short_errors_supported
=no
32134 if test $_pkg_short_errors_supported = yes; then
32135 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32137 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32139 # Put the nasty error message in config.log where it belongs
32140 echo "$PANGOXFT_PKG_ERRORS" >&5
32143 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32144 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32147 elif test $pkg_failed = untried
; then
32149 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32150 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32154 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32155 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32156 { echo "$as_me:$LINENO: result: yes" >&5
32157 echo "${ECHO_T}yes" >&6; }
32159 cat >>confdefs.h
<<\_ACEOF
32160 #define HAVE_PANGO_XFT 1
32163 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32164 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32165 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32169 LIBS
="$LIBS $PANGOX_LIBS"
32171 for ac_func
in pango_font_family_is_monospace
32173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32176 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32177 echo $ECHO_N "(cached) $ECHO_C" >&6
32179 cat >conftest.
$ac_ext <<_ACEOF
32182 cat confdefs.h
>>conftest.
$ac_ext
32183 cat >>conftest.
$ac_ext <<_ACEOF
32184 /* end confdefs.h. */
32185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32187 #define $ac_func innocuous_$ac_func
32189 /* System header to define __stub macros and hopefully few prototypes,
32190 which can conflict with char $ac_func (); below.
32191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32192 <limits.h> exists even on freestanding compilers. */
32195 # include <limits.h>
32197 # include <assert.h>
32202 /* Override any GCC internal prototype to avoid an error.
32203 Use char because int might match the return type of a GCC
32204 builtin and then its argument prototype would still apply. */
32209 /* The GNU C library defines this for functions which it implements
32210 to always fail with ENOSYS. Some functions are actually named
32211 something starting with __ and the normal name is an alias. */
32212 #if defined __stub_$ac_func || defined __stub___$ac_func
32219 return $ac_func ();
32224 rm -f conftest.
$ac_objext conftest
$ac_exeext
32225 if { (ac_try
="$ac_link"
32226 case "(($ac_try" in
32227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32228 *) ac_try_echo=$ac_try;;
32230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32231 (eval "$ac_link") 2>conftest.er1
32233 grep -v '^ *+' conftest.er1 >conftest.err
32235 cat conftest.err >&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); } && {
32238 test -z "$ac_c_werror_flag" ||
32239 test ! -s conftest.err
32240 } && test -s conftest$ac_exeext &&
32241 $as_test_x conftest$ac_exeext; then
32242 eval "$as_ac_var=yes"
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.$ac_ext >&5
32247 eval "$as_ac_var=no"
32250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32251 conftest$ac_exeext conftest.$ac_ext
32253 ac_res=`eval echo '${'$as_ac_var'}'`
32254 { echo "$as_me:$LINENO: result: $ac_res" >&5
32255 echo "${ECHO_T}$ac_res" >&6; }
32256 if test `eval echo '${'$as_ac_var'}'` = yes; then
32257 cat >>confdefs.h <<_ACEOF
32258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32267 wxUSE_UNIVERSAL="yes"
32269 if test "$wxUSE_NANOX" = "yes"; then
32270 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32271 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"
32272 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32274 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32281 if test "$wxUSE_MOTIF" = 1; then
32282 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32283 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32286 for ac_dir in $SEARCH_INCLUDE /usr/include;
32288 if test -f "$ac_dir/Xm/Xm.h"; then
32289 ac_find_includes=$ac_dir
32294 if test "$ac_find_includes" != "" ; then
32295 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32296 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32298 if test "x$ac_find_includes" = "x/usr/include"; then
32299 ac_path_to_include=""
32301 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32303 if test $result = 0; then
32304 ac_path_to_include=""
32306 ac_path_to_include=" -I$ac_find_includes"
32310 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32312 save_CFLAGS=$CFLAGS
32313 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32315 cat >conftest.$ac_ext <<_ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32329 version = xmUseVersion;
32335 rm -f conftest.$ac_objext
32336 if { (ac_try="$ac_compile"
32337 case "(($ac_try" in
32338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32339 *) ac_try_echo
=$ac_try;;
32341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32342 (eval "$ac_compile") 2>conftest.er1
32344 grep -v '^ *+' conftest.er1
>conftest.err
32346 cat conftest.err
>&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); } && {
32349 test -z "$ac_c_werror_flag" ||
32350 test ! -s conftest.err
32351 } && test -s conftest.
$ac_objext; then
32353 { echo "$as_me:$LINENO: result: found in default search path" >&5
32354 echo "${ECHO_T}found in default search path" >&6; }
32355 COMPILED_X_PROGRAM
=1
32358 echo "$as_me: failed program was:" >&5
32359 sed 's/^/| /' conftest.
$ac_ext >&5
32362 { echo "$as_me:$LINENO: result: no" >&5
32363 echo "${ECHO_T}no" >&6; }
32364 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32365 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32366 { (exit 1); exit 1; }; }
32371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32373 CFLAGS
=$save_CFLAGS
32377 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32378 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32381 for ac_dir
in $SEARCH_LIB;
32383 for ac_extension
in a so sl dylib dll.a
; do
32384 if test -f "$ac_dir/libXm.$ac_extension"; then
32385 ac_find_libraries
=$ac_dir
32392 if test "x$ac_find_libraries" != "x" ; then
32393 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32394 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32397 if test "$ac_find_libraries" = "default location"; then
32400 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32402 if test $result = 0; then
32405 ac_path_to_link
=" -L$ac_find_libraries"
32409 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32411 save_CFLAGS
=$CFLAGS
32412 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32414 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32416 cat >conftest.
$ac_ext <<_ACEOF
32419 cat confdefs.h
>>conftest.
$ac_ext
32420 cat >>conftest.
$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32430 version = xmUseVersion;
32436 rm -f conftest.
$ac_objext conftest
$ac_exeext
32437 if { (ac_try
="$ac_link"
32438 case "(($ac_try" in
32439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32440 *) ac_try_echo=$ac_try;;
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_link") 2>conftest.er1
32445 grep -v '^ *+' conftest.er1 >conftest.err
32447 cat conftest.err >&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); } && {
32450 test -z "$ac_c_werror_flag" ||
32451 test ! -s conftest.err
32452 } && test -s conftest$ac_exeext &&
32453 $as_test_x conftest$ac_exeext; then
32455 { echo "$as_me:$LINENO: result: found in default search path" >&5
32456 echo "${ECHO_T}found in default search path" >&6; }
32457 COMPILED_X_PROGRAM=1
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.$ac_ext >&5
32464 { echo "$as_me:$LINENO: result: no" >&5
32465 echo "${ECHO_T}no" >&6; }
32466 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32467 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32468 { (exit 1); exit 1; }; }
32473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32474 conftest$ac_exeext conftest.$ac_ext
32476 CFLAGS=$save_CFLAGS
32480 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32481 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32485 for libp in "" " -lXp"; do
32486 if test "$libs_found" = 0; then
32487 for libsm_ice in "" " -lSM -lICE"; do
32488 if test "$libs_found" = 0; then
32490 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32491 save_CFLAGS=$CFLAGS
32492 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32494 cat >conftest.$ac_ext <<_ACEOF
32497 cat confdefs.h >>conftest.$ac_ext
32498 cat >>conftest.$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32502 #include <Xm/List.h>
32508 XmString string = NULL;
32511 XmListAddItem(w, string, position);
32517 rm -f conftest.$ac_objext conftest$ac_exeext
32518 if { (ac_try="$ac_link"
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_link") 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_exeext &&
32534 $as_test_x conftest
$ac_exeext; then
32537 libsm_ice_link
="$libsm_ice"
32538 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32539 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32543 echo "$as_me: failed program was:" >&5
32544 sed 's/^/| /' conftest.
$ac_ext >&5
32550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32551 conftest
$ac_exeext conftest.
$ac_ext
32554 CFLAGS
=$save_CFLAGS
32560 if test "$libs_found" = 0; then
32561 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32562 echo "${ECHO_T}can't find the right libraries" >&6; }
32563 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32564 echo "$as_me: error: can't link a simple motif program" >&2;}
32565 { (exit 1); exit 1; }; }
32568 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32569 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32570 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32571 echo $ECHO_N "(cached) $ECHO_C" >&6
32573 ac_check_lib_save_LIBS
=$LIBS
32575 cat >conftest.
$ac_ext <<_ACEOF
32578 cat confdefs.h
>>conftest.
$ac_ext
32579 cat >>conftest.
$ac_ext <<_ACEOF
32580 /* end confdefs.h. */
32582 /* Override any GCC internal prototype to avoid an error.
32583 Use char because int might match the return type of a GCC
32584 builtin and then its argument prototype would still apply. */
32588 char SgCreateList ();
32592 return SgCreateList ();
32597 rm -f conftest.
$ac_objext conftest
$ac_exeext
32598 if { (ac_try
="$ac_link"
32599 case "(($ac_try" in
32600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32601 *) ac_try_echo=$ac_try;;
32603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32604 (eval "$ac_link") 2>conftest.er1
32606 grep -v '^ *+' conftest.er1 >conftest.err
32608 cat conftest.err >&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); } && {
32611 test -z "$ac_c_werror_flag" ||
32612 test ! -s conftest.err
32613 } && test -s conftest$ac_exeext &&
32614 $as_test_x conftest$ac_exeext; then
32615 ac_cv_lib_Sgm_SgCreateList=yes
32617 echo "$as_me: failed program was:" >&5
32618 sed 's/^/| /' conftest.$ac_ext >&5
32620 ac_cv_lib_Sgm_SgCreateList=no
32623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32624 conftest$ac_exeext conftest.$ac_ext
32625 LIBS=$ac_check_lib_save_LIBS
32627 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32628 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32629 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32630 libsgm_link=" -lSgm"
32634 save_CFLAGS=$CFLAGS
32635 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32637 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32638 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32639 if test "${wx_cv_lib_motif2+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32642 cat >conftest.$ac_ext <<_ACEOF
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32655 #if XmVersion < 2000
32663 rm -f conftest.$ac_objext
32664 if { (ac_try="$ac_compile"
32665 case "(($ac_try" in
32666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32667 *) ac_try_echo
=$ac_try;;
32669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32670 (eval "$ac_compile") 2>conftest.er1
32672 grep -v '^ *+' conftest.er1
>conftest.err
32674 cat conftest.err
>&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } && {
32677 test -z "$ac_c_werror_flag" ||
32678 test ! -s conftest.err
32679 } && test -s conftest.
$ac_objext; then
32680 wx_cv_lib_motif2
="yes"
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.
$ac_ext >&5
32685 wx_cv_lib_motif2
="no"
32688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32690 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32691 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32692 if test "$wx_cv_lib_motif2" = "yes"; then
32693 cat >>confdefs.h
<<\_ACEOF
32694 #define __WXMOTIF20__ 1
32698 cat >>confdefs.h
<<\_ACEOF
32699 #define __WXMOTIF20__ 0
32704 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32705 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32706 if test "${wx_cv_lib_lesstif+set}" = set; then
32707 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 cat >conftest.
$ac_ext <<_ACEOF
32712 cat confdefs.h
>>conftest.
$ac_ext
32713 cat >>conftest.
$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32722 #if !defined(LesstifVersion) || LesstifVersion <= 0
32730 rm -f conftest.
$ac_objext
32731 if { (ac_try
="$ac_compile"
32732 case "(($ac_try" in
32733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32734 *) ac_try_echo=$ac_try;;
32736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32737 (eval "$ac_compile") 2>conftest.er1
32739 grep -v '^ *+' conftest.er1 >conftest.err
32741 cat conftest.err >&5
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); } && {
32744 test -z "$ac_c_werror_flag" ||
32745 test ! -s conftest.err
32746 } && test -s conftest.$ac_objext; then
32747 wx_cv_lib_lesstif="yes"
32749 echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.$ac_ext >&5
32752 wx_cv_lib_lesstif="no"
32755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32759 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32760 if test "$wx_cv_lib_lesstif" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define __WXLESSTIF__ 1
32766 cat >>confdefs.h <<\_ACEOF
32767 #define __WXLESSTIF__ 0
32772 CFLAGS=$save_CFLAGS
32774 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32779 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32780 if test "$wxUSE_LIBXPM" = "sys"; then
32781 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32782 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32785 for ac_dir in $SEARCH_LIB;
32787 for ac_extension in a so sl dylib dll.a; do
32788 if test -f "$ac_dir/libXpm.$ac_extension"; then
32789 ac_find_libraries=$ac_dir
32795 if test "$ac_find_libraries" != "" ; then
32797 if test "$ac_find_libraries" = "default location"; then
32800 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32802 if test $result = 0; then
32805 ac_path_to_link=" -L$ac_find_libraries"
32809 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32810 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32811 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32813 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32814 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32815 if test "${wx_cv_x11_xpm_h+set}" = set; then
32816 echo $ECHO_N "(cached) $ECHO_C" >&6
32819 save_CFLAGS=$CFLAGS
32820 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32822 cat >conftest.$ac_ext <<_ACEOF
32825 cat confdefs.h >>conftest.$ac_ext
32826 cat >>conftest.$ac_ext <<_ACEOF
32827 /* end confdefs.h. */
32829 #include <X11/xpm.h>
32836 version = XpmLibraryVersion();
32842 rm -f conftest.$ac_objext
32843 if { (ac_try="$ac_compile"
32844 case "(($ac_try" in
32845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32846 *) ac_try_echo
=$ac_try;;
32848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32849 (eval "$ac_compile") 2>conftest.er1
32851 grep -v '^ *+' conftest.er1
>conftest.err
32853 cat conftest.err
>&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); } && {
32856 test -z "$ac_c_werror_flag" ||
32857 test ! -s conftest.err
32858 } && test -s conftest.
$ac_objext; then
32859 wx_cv_x11_xpm_h
=yes
32861 echo "$as_me: failed program was:" >&5
32862 sed 's/^/| /' conftest.
$ac_ext >&5
32868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32870 CFLAGS
=$save_CFLAGS
32874 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32875 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32877 if test $wx_cv_x11_xpm_h = "yes"; then
32878 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32879 cat >>confdefs.h
<<\_ACEOF
32880 #define wxHAVE_LIB_XPM 1
32884 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32885 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32891 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32892 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32893 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32896 ac_check_lib_save_LIBS
=$LIBS
32897 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32898 cat >conftest.
$ac_ext <<_ACEOF
32901 cat confdefs.h
>>conftest.
$ac_ext
32902 cat >>conftest.
$ac_ext <<_ACEOF
32903 /* end confdefs.h. */
32905 /* Override any GCC internal prototype to avoid an error.
32906 Use char because int might match the return type of a GCC
32907 builtin and then its argument prototype would still apply. */
32911 char XShapeQueryExtension ();
32915 return XShapeQueryExtension ();
32920 rm -f conftest.
$ac_objext conftest
$ac_exeext
32921 if { (ac_try
="$ac_link"
32922 case "(($ac_try" in
32923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32924 *) ac_try_echo=$ac_try;;
32926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32927 (eval "$ac_link") 2>conftest.er1
32929 grep -v '^ *+' conftest.er1 >conftest.err
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } && {
32934 test -z "$ac_c_werror_flag" ||
32935 test ! -s conftest.err
32936 } && test -s conftest$ac_exeext &&
32937 $as_test_x conftest$ac_exeext; then
32938 ac_cv_lib_Xext_XShapeQueryExtension=yes
32940 echo "$as_me: failed program was:" >&5
32941 sed 's/^/| /' conftest.$ac_ext >&5
32943 ac_cv_lib_Xext_XShapeQueryExtension=no
32946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32947 conftest$ac_exeext conftest.$ac_ext
32948 LIBS=$ac_check_lib_save_LIBS
32950 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32951 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32952 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32954 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32960 if test "$wxHAVE_XEXT_LIB" = 1; then
32961 save_CFLAGS="$CFLAGS"
32962 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32964 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32965 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32966 cat >conftest.$ac_ext <<_ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32973 #include <X11/Xlib.h>
32974 #include <X11/extensions/shape.h>
32980 int dummy1, dummy2;
32981 XShapeQueryExtension((Display*)NULL,
32982 (int*)NULL, (int*)NULL);
32988 rm -f conftest.$ac_objext
32989 if { (ac_try="$ac_compile"
32990 case "(($ac_try" in
32991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32992 *) ac_try_echo
=$ac_try;;
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_compile") 2>conftest.er1
32997 grep -v '^ *+' conftest.er1
>conftest.err
32999 cat conftest.err
>&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest.
$ac_objext; then
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define HAVE_XSHAPE 1
33010 { echo "$as_me:$LINENO: result: found" >&5
33011 echo "${ECHO_T}found" >&6; }
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.
$ac_ext >&5
33018 { echo "$as_me:$LINENO: result: not found" >&5
33019 echo "${ECHO_T}not found" >&6; }
33023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33024 CFLAGS
="$save_CFLAGS"
33029 if test "$wxUSE_OSX_CARBON" = 1; then
33030 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33031 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33032 if test "$GCC" = yes; then
33033 { echo "$as_me:$LINENO: result: gcc" >&5
33034 echo "${ECHO_T}gcc" >&6; }
33035 CPPFLAGS_PASCAL
="-fpascal-strings"
33036 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33037 { echo "$as_me:$LINENO: result: xlc" >&5
33038 echo "${ECHO_T}xlc" >&6; }
33039 CPPFLAGS_PASCAL
="-qmacpstr"
33041 { echo "$as_me:$LINENO: result: none" >&5
33042 echo "${ECHO_T}none" >&6; }
33045 if test "x$wxUSE_UNIX" = "xyes"; then
33046 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33048 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33052 GUIDIST
=OSX_CARBON_DIST
33053 WXBASEPORT
="_carbon"
33055 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33058 if test "$wxUSE_OSX_COCOA" = 1; then
33060 GUIDIST
=OSX_COCOA_DIST
33062 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33065 if test "$wxUSE_OSX_IPHONE" = 1; then
33069 if test "$wxUSE_OLD_COCOA" = 1; then
33074 if test "$wxUSE_PM" = 1; then
33077 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33078 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33079 if test "${wx_cv_spbcdata+set}" = set; then
33080 echo $ECHO_N "(cached) $ECHO_C" >&6
33083 cat >conftest.
$ac_ext <<_ACEOF
33086 cat confdefs.h
>>conftest.
$ac_ext
33087 cat >>conftest.
$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33103 rm -f conftest.
$ac_objext
33104 if { (ac_try
="$ac_compile"
33105 case "(($ac_try" in
33106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33107 *) ac_try_echo=$ac_try;;
33109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33110 (eval "$ac_compile") 2>conftest.er1
33112 grep -v '^ *+' conftest.er1 >conftest.err
33114 cat conftest.err >&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); } && {
33117 test -z "$ac_c_werror_flag" ||
33118 test ! -s conftest.err
33119 } && test -s conftest.$ac_objext; then
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.$ac_ext >&5
33129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33133 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33134 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33136 if test $wx_cv_spbcdata = "yes"; then
33137 cat >>confdefs.h <<\_ACEOF
33138 #define HAVE_SPBCDATA 1
33144 if test "$TOOLKIT" = "PM" ; then
33147 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33150 if test "$wxUSE_UNIVERSAL" = "yes"; then
33151 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33155 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33156 DISTDIR="wx\$(TOOLKIT)"
33162 if test "$USE_WIN32" = 1 ; then
33166 GUIDIST="BASE_DIST"
33172 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33173 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33174 wxUSE_UNICODE_UTF8=yes
33175 elif test "$USE_OS2" = 1 ; then
33176 wxUSE_UNICODE_UTF8=yes
33178 wxUSE_UNICODE_UTF8=no
33183 if test "$wxUSE_GUI" = "yes"; then
33184 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33186 for ac_header in X11/Xlib.h
33188 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33189 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 cat >conftest.$ac_ext <<_ACEOF
33197 cat confdefs.h >>conftest.$ac_ext
33198 cat >>conftest.$ac_ext <<_ACEOF
33199 /* end confdefs.h. */
33202 #include <$ac_header>
33204 rm -f conftest.$ac_objext
33205 if { (ac_try="$ac_compile"
33206 case "(($ac_try" in
33207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33208 *) ac_try_echo
=$ac_try;;
33210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33211 (eval "$ac_compile") 2>conftest.er1
33213 grep -v '^ *+' conftest.er1
>conftest.err
33215 cat conftest.err
>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); } && {
33218 test -z "$ac_c_werror_flag" ||
33219 test ! -s conftest.err
33220 } && test -s conftest.
$ac_objext; then
33221 eval "$as_ac_Header=yes"
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.
$ac_ext >&5
33226 eval "$as_ac_Header=no"
33229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33231 ac_res
=`eval echo '${'$as_ac_Header'}'`
33232 { echo "$as_me:$LINENO: result: $ac_res" >&5
33233 echo "${ECHO_T}$ac_res" >&6; }
33234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33235 cat >>confdefs.h
<<_ACEOF
33236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33244 for ac_header
in X
11/XKBlib.h
33246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33249 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33250 echo $ECHO_N "(cached) $ECHO_C" >&6
33252 cat >conftest.
$ac_ext <<_ACEOF
33255 cat confdefs.h
>>conftest.
$ac_ext
33256 cat >>conftest.
$ac_ext <<_ACEOF
33257 /* end confdefs.h. */
33259 #if HAVE_X11_XLIB_H
33260 #include <X11/Xlib.h>
33264 #include <$ac_header>
33266 rm -f conftest.
$ac_objext
33267 if { (ac_try
="$ac_compile"
33268 case "(($ac_try" in
33269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33270 *) ac_try_echo=$ac_try;;
33272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33273 (eval "$ac_compile") 2>conftest.er1
33275 grep -v '^ *+' conftest.er1 >conftest.err
33277 cat conftest.err >&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); } && {
33280 test -z "$ac_c_werror_flag" ||
33281 test ! -s conftest.err
33282 } && test -s conftest.$ac_objext; then
33283 eval "$as_ac_Header=yes"
33285 echo "$as_me: failed program was:" >&5
33286 sed 's/^/| /' conftest.$ac_ext >&5
33288 eval "$as_ac_Header=no"
33291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33293 ac_res=`eval echo '${'$as_ac_Header'}'`
33294 { echo "$as_me:$LINENO: result: $ac_res" >&5
33295 echo "${ECHO_T}$ac_res" >&6; }
33296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33297 cat >>confdefs.h <<_ACEOF
33298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33310 if test "$wxUSE_DISPLAY" = "yes"; then
33311 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33312 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33313 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33316 for ac_dir in $SEARCH_LIB;
33318 for ac_extension in a so sl dylib dll.a; do
33319 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33320 ac_find_libraries=$ac_dir
33326 if test "$ac_find_libraries" != "" ; then
33328 if test "$ac_find_libraries" = "default location"; then
33331 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33333 if test $result = 0; then
33336 ac_path_to_link=" -L$ac_find_libraries"
33340 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33341 LDFLAGS="$LDFLAGS $ac_path_to_link"
33343 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33344 { echo "$as_me:$LINENO: result: yes" >&5
33345 echo "${ECHO_T}yes" >&6; }
33347 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33348 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33351 for ac_dir in $SEARCH_LIB;
33353 for ac_extension in a so sl dylib dll.a; do
33354 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33355 ac_find_libraries=$ac_dir
33361 if test "$ac_find_libraries" != "" ; then
33362 { echo "$as_me:$LINENO: result: yes" >&5
33363 echo "${ECHO_T}yes" >&6; }
33365 for ac_header in X11/extensions/xf86vmode.h
33367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33371 echo $ECHO_N "(cached) $ECHO_C" >&6
33373 cat >conftest.$ac_ext <<_ACEOF
33376 cat confdefs.h >>conftest.$ac_ext
33377 cat >>conftest.$ac_ext <<_ACEOF
33378 /* end confdefs.h. */
33380 #if HAVE_X11_XLIB_H
33381 #include <X11/Xlib.h>
33385 #include <$ac_header>
33387 rm -f conftest.$ac_objext
33388 if { (ac_try="$ac_compile"
33389 case "(($ac_try" in
33390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33391 *) ac_try_echo
=$ac_try;;
33393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33394 (eval "$ac_compile") 2>conftest.er1
33396 grep -v '^ *+' conftest.er1
>conftest.err
33398 cat conftest.err
>&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); } && {
33401 test -z "$ac_c_werror_flag" ||
33402 test ! -s conftest.err
33403 } && test -s conftest.
$ac_objext; then
33404 eval "$as_ac_Header=yes"
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.
$ac_ext >&5
33409 eval "$as_ac_Header=no"
33412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33414 ac_res
=`eval echo '${'$as_ac_Header'}'`
33415 { echo "$as_me:$LINENO: result: $ac_res" >&5
33416 echo "${ECHO_T}$ac_res" >&6; }
33417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33418 cat >>confdefs.h
<<_ACEOF
33419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33422 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33429 { echo "$as_me:$LINENO: result: no" >&5
33430 echo "${ECHO_T}no" >&6; }
33434 { echo "$as_me:$LINENO: result: no" >&5
33435 echo "${ECHO_T}no" >&6; }
33436 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33437 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33440 elif test "$wxUSE_MSW" = 1; then
33441 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33442 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33443 if test "${ac_cv_header_ddraw_h+set}" = set; then
33444 echo $ECHO_N "(cached) $ECHO_C" >&6
33446 cat >conftest.
$ac_ext <<_ACEOF
33449 cat confdefs.h
>>conftest.
$ac_ext
33450 cat >>conftest.
$ac_ext <<_ACEOF
33451 /* end confdefs.h. */
33452 #include <windows.h>
33456 rm -f conftest.
$ac_objext
33457 if { (ac_try
="$ac_compile"
33458 case "(($ac_try" in
33459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33460 *) ac_try_echo=$ac_try;;
33462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33463 (eval "$ac_compile") 2>conftest.er1
33465 grep -v '^ *+' conftest.er1 >conftest.err
33467 cat conftest.err >&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); } && {
33470 test -z "$ac_c_werror_flag" ||
33471 test ! -s conftest.err
33472 } && test -s conftest.$ac_objext; then
33473 ac_cv_header_ddraw_h=yes
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.$ac_ext >&5
33478 ac_cv_header_ddraw_h=no
33481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33483 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33484 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33490 if test "$wxUSE_DETECT_SM" = "yes"; then
33491 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33492 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33493 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33496 for ac_dir in $SEARCH_LIB;
33498 for ac_extension in a so sl dylib dll.a; do
33499 if test -f "$ac_dir/libSM.$ac_extension"; then
33500 ac_find_libraries=$ac_dir
33506 if test "$ac_find_libraries" != "" ; then
33508 if test "$ac_find_libraries" = "default location"; then
33511 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33513 if test $result = 0; then
33516 ac_path_to_link=" -L$ac_find_libraries"
33520 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33521 LDFLAGS="$LDFLAGS $ac_path_to_link"
33523 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33524 { echo "$as_me:$LINENO: result: yes" >&5
33525 echo "${ECHO_T}yes" >&6; }
33527 { echo "$as_me:$LINENO: result: no" >&5
33528 echo "${ECHO_T}no" >&6; }
33529 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33530 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33531 wxUSE_DETECT_SM="no"
33534 wxUSE_DETECT_SM="no"
33541 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33544 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33545 OPENGL_LIBS="-framework OpenGL -framework AGL"
33546 elif test "$wxUSE_MSW" = 1; then
33547 OPENGL_LIBS="-lopengl32 -lglu32"
33548 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33550 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33551 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33554 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33556 if test -f "$ac_dir/GL/gl.h"; then
33557 ac_find_includes=$ac_dir
33562 if test "$ac_find_includes" != "" ; then
33563 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33564 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33566 if test "x$ac_find_includes" = "x/usr/include"; then
33567 ac_path_to_include=""
33569 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33571 if test $result = 0; then
33572 ac_path_to_include=""
33574 ac_path_to_include=" -I$ac_find_includes"
33578 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33580 { echo "$as_me:$LINENO: result: not found" >&5
33581 echo "${ECHO_T}not found" >&6; }
33584 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33585 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33586 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33587 echo $ECHO_N "(cached) $ECHO_C" >&6
33589 cat >conftest.$ac_ext <<_ACEOF
33592 cat confdefs.h >>conftest.$ac_ext
33593 cat >>conftest.$ac_ext <<_ACEOF
33594 /* end confdefs.h. */
33599 rm -f conftest.$ac_objext
33600 if { (ac_try="$ac_compile"
33601 case "(($ac_try" in
33602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33603 *) ac_try_echo
=$ac_try;;
33605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33606 (eval "$ac_compile") 2>conftest.er1
33608 grep -v '^ *+' conftest.er1
>conftest.err
33610 cat conftest.err
>&5
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); } && {
33613 test -z "$ac_c_werror_flag" ||
33614 test ! -s conftest.err
33615 } && test -s conftest.
$ac_objext; then
33616 ac_cv_header_GL_gl_h
=yes
33618 echo "$as_me: failed program was:" >&5
33619 sed 's/^/| /' conftest.
$ac_ext >&5
33621 ac_cv_header_GL_gl_h
=no
33624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33626 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33627 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33628 if test $ac_cv_header_GL_gl_h = yes; then
33630 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33631 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33632 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33635 cat >conftest.
$ac_ext <<_ACEOF
33638 cat confdefs.h
>>conftest.
$ac_ext
33639 cat >>conftest.
$ac_ext <<_ACEOF
33640 /* end confdefs.h. */
33643 #include <GL/glu.h>
33645 rm -f conftest.
$ac_objext
33646 if { (ac_try
="$ac_compile"
33647 case "(($ac_try" in
33648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33649 *) ac_try_echo=$ac_try;;
33651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33652 (eval "$ac_compile") 2>conftest.er1
33654 grep -v '^ *+' conftest.er1 >conftest.err
33656 cat conftest.err >&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } && {
33659 test -z "$ac_c_werror_flag" ||
33660 test ! -s conftest.err
33661 } && test -s conftest.$ac_objext; then
33662 ac_cv_header_GL_glu_h=yes
33664 echo "$as_me: failed program was:" >&5
33665 sed 's/^/| /' conftest.$ac_ext >&5
33667 ac_cv_header_GL_glu_h=no
33670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33672 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33673 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33674 if test $ac_cv_header_GL_glu_h = yes; then
33678 { echo "$as_me:$LINENO: checking for -lGL" >&5
33679 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33682 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33684 for ac_extension in a so sl dylib dll.a; do
33685 if test -f "$ac_dir/libGL.$ac_extension"; then
33686 ac_find_libraries=$ac_dir
33692 if test "$ac_find_libraries" != "" ; then
33693 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33694 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33697 if test "$ac_find_libraries" = "default location"; then
33700 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33702 if test $result = 0; then
33705 ac_path_to_link=" -L$ac_find_libraries"
33709 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33710 LDFLAGS_GL="$ac_path_to_link"
33713 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33714 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33717 for ac_dir in $SEARCH_LIB;
33719 for ac_extension in a so sl dylib dll.a; do
33720 if test -f "$ac_dir/libGLU.$ac_extension"; then
33721 ac_find_libraries=$ac_dir
33727 if test "$ac_find_libraries" != "" ; then
33729 if test "$ac_find_libraries" = "default location"; then
33732 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33734 if test $result = 0; then
33737 ac_path_to_link=" -L$ac_find_libraries"
33741 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33742 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33743 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33747 OPENGL_LIBS="-lGL -lGLU"
33748 { echo "$as_me:$LINENO: result: yes" >&5
33749 echo "${ECHO_T}yes" >&6; }
33751 { echo "$as_me:$LINENO: result: no" >&5
33752 echo "${ECHO_T}no" >&6; }
33755 { echo "$as_me:$LINENO: result: no" >&5
33756 echo "${ECHO_T}no" >&6; }
33759 if test "$found_gl" != 1; then
33760 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33761 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33764 for ac_dir in $SEARCH_LIB;
33766 for ac_extension in a so sl dylib dll.a; do
33767 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33768 ac_find_libraries=$ac_dir
33774 if test "$ac_find_libraries" != "" ; then
33776 if test "$ac_find_libraries" = "default location"; then
33779 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33781 if test $result = 0; then
33784 ac_path_to_link=" -L$ac_find_libraries"
33788 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33789 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33790 { echo "$as_me:$LINENO: result: yes" >&5
33791 echo "${ECHO_T}yes" >&6; }
33793 { echo "$as_me:$LINENO: result: no" >&5
33794 echo "${ECHO_T}no" >&6; }
33806 if test "x$OPENGL_LIBS" = "x"; then
33807 if test "$wxUSE_OPENGL" = "yes"; then
33808 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33809 echo "$as_me: error: OpenGL libraries not available" >&2;}
33810 { (exit 1); exit 1; }; }
33812 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33813 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33819 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33820 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33824 if test "$wxUSE_OPENGL" = "auto"; then
33828 if test "$wxUSE_OPENGL" = "yes"; then
33830 cat >>confdefs.h <<\_ACEOF
33831 #define wxUSE_OPENGL 1
33834 cat >>confdefs.h <<\_ACEOF
33835 #define wxUSE_GLCANVAS 1
33838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33843 if test -n "$TOOLKIT" ; then
33844 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33849 if test "$wxUSE_SHARED" = "yes"; then
33853 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33854 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33859 if test "$wxUSE_SHARED" = "yes"; then
33863 *-*-cygwin* | *-*-mingw* )
33864 wx_cv_version_script=no
33868 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33869 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33870 if test "${wx_cv_version_script+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 echo "VER_1 { *; };" >conftest.sym
33875 echo "int main() { return 0; }" >conftest.cpp
33878 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33879 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33881 (eval $ac_try) 2>&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); }; } ; then
33885 if test -s conftest.stderr ; then
33886 wx_cv_version_script=no
33888 wx_cv_version_script=yes
33891 wx_cv_version_script=no
33894 if test $wx_cv_version_script = yes
33896 echo "struct B { virtual ~B() { } }; \
33897 struct D : public B { }; \
33898 void F() { D d; }" > conftest.cpp
33901 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33902 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33904 (eval $ac_try) 2>&5
33906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907 (exit $ac_status); }; } &&
33909 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33910 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33912 (eval $ac_try) 2>&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); }; }
33918 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33919 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33921 (eval $ac_try) 2>&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); }; }
33926 wx_cv_version_script=yes
33928 wx_cv_version_script=no
33933 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33934 rm -f conftest1.output conftest2.output conftest3.output
33937 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33938 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33940 if test $wx_cv_version_script = yes ; then
33941 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33947 if test "$wxUSE_VISIBILITY" != "no"; then
33950 if test -n "$GCC"; then
33951 CFLAGS_VISIBILITY="-fvisibility=hidden"
33952 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33953 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33954 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33955 if test "${wx_cv_cc_visibility+set}" = set; then
33956 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 wx_save_CXXFLAGS="$CXXFLAGS"
33960 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33962 ac_cpp='$CXXCPP $CPPFLAGS'
33963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33967 cat >conftest.$ac_ext <<_ACEOF
33970 cat confdefs.h >>conftest.$ac_ext
33971 cat >>conftest.$ac_ext <<_ACEOF
33972 /* end confdefs.h. */
33974 /* we need gcc >= 4.0, older versions with visibility support
33975 didn't have class visibility: */
33976 #if defined(__GNUC__) && __GNUC__ < 4
33977 error this gcc is too old;
33980 /* visibility only makes sense for ELF shared libs: */
33981 #if !defined(__ELF__) && !defined(__APPLE__)
33982 error this platform has no visibility;
33985 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33986 extern __attribute__((__visibility__("default"))) int exportedvar;
33987 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33988 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33989 class __attribute__((__visibility__("default"))) Foo {
34001 rm -f conftest.$ac_objext
34002 if { (ac_try="$ac_compile"
34003 case "(($ac_try" in
34004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34005 *) ac_try_echo
=$ac_try;;
34007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34008 (eval "$ac_compile") 2>conftest.er1
34010 grep -v '^ *+' conftest.er1
>conftest.err
34012 cat conftest.err
>&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } && {
34015 test -z "$ac_cxx_werror_flag" ||
34016 test ! -s conftest.err
34017 } && test -s conftest.
$ac_objext; then
34018 wx_cv_cc_visibility
=yes
34020 echo "$as_me: failed program was:" >&5
34021 sed 's/^/| /' conftest.
$ac_ext >&5
34023 wx_cv_cc_visibility
=no
34026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34028 ac_cpp
='$CPP $CPPFLAGS'
34029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34033 CXXFLAGS
="$wx_save_CXXFLAGS"
34036 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34037 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34038 if test $wx_cv_cc_visibility = yes; then
34039 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34040 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34041 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34042 echo $ECHO_N "(cached) $ECHO_C" >&6
34045 wx_save_CXXFLAGS
="$CXXFLAGS"
34046 wx_save_LDFLAGS
="$LDFLAGS"
34047 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34048 LDFLAGS
="$LDFLAGS -shared -fPIC"
34050 ac_cpp
='$CXXCPP $CPPFLAGS'
34051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34055 cat >conftest.
$ac_ext <<_ACEOF
34058 cat confdefs.h
>>conftest.
$ac_ext
34059 cat >>conftest.
$ac_ext <<_ACEOF
34060 /* end confdefs.h. */
34068 std::string s("hello");
34075 rm -f conftest.
$ac_objext conftest
$ac_exeext
34076 if { (ac_try
="$ac_link"
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_link") 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_cxx_werror_flag" ||
34090 test ! -s conftest.err
34091 } && test -s conftest$ac_exeext &&
34092 $as_test_x conftest$ac_exeext; then
34093 wx_cv_cc_broken_libstdcxx_visibility=no
34095 echo "$as_me: failed program was:" >&5
34096 sed 's/^/| /' conftest.$ac_ext >&5
34098 wx_cv_cc_broken_libstdcxx_visibility=yes
34101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34102 conftest$ac_exeext conftest.$ac_ext
34104 ac_cpp='$CPP $CPPFLAGS'
34105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34109 CXXFLAGS="$wx_save_CXXFLAGS"
34110 LDFLAGS="$wx_save_LDFLAGS"
34113 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34114 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34116 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34117 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34118 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34119 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34124 ac_cpp='$CXXCPP $CPPFLAGS'
34125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34129 cat >conftest.$ac_ext <<_ACEOF
34132 cat confdefs.h >>conftest.$ac_ext
34133 cat >>conftest.$ac_ext <<_ACEOF
34134 /* end confdefs.h. */
34136 #pragma GCC visibility push(default)
34138 #pragma GCC visibility pop
34144 std::string s("hello");
34151 rm -f conftest.$ac_objext conftest$ac_exeext
34152 if { (ac_try="$ac_link"
34153 case "(($ac_try" in
34154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34155 *) ac_try_echo
=$ac_try;;
34157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34158 (eval "$ac_link") 2>conftest.er1
34160 grep -v '^ *+' conftest.er1
>conftest.err
34162 cat conftest.err
>&5
34163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34164 (exit $ac_status); } && {
34165 test -z "$ac_cxx_werror_flag" ||
34166 test ! -s conftest.err
34167 } && test -s conftest
$ac_exeext &&
34168 $as_test_x conftest
$ac_exeext; then
34169 wx_cv_cc_visibility_workaround
=no
34171 echo "$as_me: failed program was:" >&5
34172 sed 's/^/| /' conftest.
$ac_ext >&5
34174 wx_cv_cc_visibility_workaround
=yes
34177 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34178 conftest
$ac_exeext conftest.
$ac_ext
34180 ac_cpp
='$CPP $CPPFLAGS'
34181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34188 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34189 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34191 if test $wx_cv_cc_visibility_workaround = no
; then
34192 wx_cv_cc_visibility
=no
34197 if test $wx_cv_cc_visibility = yes; then
34198 cat >>confdefs.h
<<\_ACEOF
34199 #define HAVE_VISIBILITY 1
34202 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34203 cat >>confdefs.h
<<\_ACEOF
34204 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34209 CFLAGS_VISIBILITY
=""
34210 CXXFLAGS_VISIBILITY
=""
34218 if test "x$SUNCXX" = xyes
; then
34219 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34220 WXCONFIG_RPATH
="-R\$libdir"
34223 *-*-linux* | *-*-gnu* )
34224 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34225 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34230 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34232 saveLdflags
="$LDFLAGS"
34233 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34234 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34235 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34236 cat >conftest.
$ac_ext <<_ACEOF
34239 cat confdefs.h
>>conftest.
$ac_ext
34240 cat >>conftest.
$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34251 rm -f conftest.
$ac_objext conftest
$ac_exeext
34252 if { (ac_try
="$ac_link"
34253 case "(($ac_try" in
34254 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34255 *) ac_try_echo=$ac_try;;
34257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34258 (eval "$ac_link") 2>conftest.er1
34260 grep -v '^ *+' conftest.er1 >conftest.err
34262 cat conftest.err >&5
34263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34264 (exit $ac_status); } && {
34265 test -z "$ac_c_werror_flag" ||
34266 test ! -s conftest.err
34267 } && test -s conftest$ac_exeext &&
34268 $as_test_x conftest$ac_exeext; then
34270 { echo "$as_me:$LINENO: result: yes" >&5
34271 echo "${ECHO_T}yes" >&6; }
34272 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34273 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34280 { echo "$as_me:$LINENO: result: no" >&5
34281 echo "${ECHO_T}no" >&6; }
34282 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34283 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34284 LDFLAGS="$saveLdflags -Wl,-R,/"
34285 cat >conftest.$ac_ext <<_ACEOF
34288 cat confdefs.h >>conftest.$ac_ext
34289 cat >>conftest.$ac_ext <<_ACEOF
34290 /* end confdefs.h. */
34300 rm -f conftest.$ac_objext conftest$ac_exeext
34301 if { (ac_try="$ac_link"
34302 case "(($ac_try" in
34303 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34304 *) ac_try_echo
=$ac_try;;
34306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34307 (eval "$ac_link") 2>conftest.er1
34309 grep -v '^ *+' conftest.er1
>conftest.err
34311 cat conftest.err
>&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); } && {
34314 test -z "$ac_c_werror_flag" ||
34315 test ! -s conftest.err
34316 } && test -s conftest
$ac_exeext &&
34317 $as_test_x conftest
$ac_exeext; then
34319 { echo "$as_me:$LINENO: result: yes" >&5
34320 echo "${ECHO_T}yes" >&6; }
34321 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34322 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34325 echo "$as_me: failed program was:" >&5
34326 sed 's/^/| /' conftest.
$ac_ext >&5
34329 { echo "$as_me:$LINENO: result: no" >&5
34330 echo "${ECHO_T}no" >&6; }
34334 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34335 conftest
$ac_exeext conftest.
$ac_ext
34339 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34340 conftest
$ac_exeext conftest.
$ac_ext
34341 LDFLAGS
="$saveLdflags"
34345 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34346 if test "$install_name_tool" -a -x "$install_name_tool"; then
34347 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34348 cat <<EOF >change-install-names
34350 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34351 for i in \${libnames} ; do
34352 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34353 for dep in \${libnames} ; do
34354 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34358 chmod +x change
-install-names
34359 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34362 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34365 *-*-cygwin* | *-*-mingw32* )
34369 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34370 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34376 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34378 if test $wxUSE_RPATH = "no"; then
34379 SAMPLES_RPATH_FLAG
=''
34380 DYLIB_PATH_POSTLINK
=''
34388 config_linkage_component
="-static"
34395 lib_unicode_suffix
=
34397 if test "$wxUSE_UNICODE" = "yes"; then
34398 lib_unicode_suffix
=u
34399 WX_CHARTYPE
="unicode"
34403 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34404 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34407 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34411 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34413 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34415 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34418 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34419 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34421 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34423 if test "${TOOLKIT_DIR}" = "os2"; then
34424 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34426 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34431 if test "$wxUSE_OLD_COCOA" = 1; then
34434 ac_cpp
='$CPP $CPPFLAGS'
34435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34441 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34442 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34443 cat >conftest.
$ac_ext <<_ACEOF
34446 cat confdefs.h
>>conftest.
$ac_ext
34447 cat >>conftest.
$ac_ext <<_ACEOF
34448 /* end confdefs.h. */
34449 #include <AppKit/NSEvent.h>
34450 #include <CoreFoundation/CoreFoundation.h>
34460 rm -f conftest.
$ac_objext
34461 if { (ac_try
="$ac_compile"
34462 case "(($ac_try" in
34463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34464 *) ac_try_echo=$ac_try;;
34466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34467 (eval "$ac_compile") 2>conftest.er1
34469 grep -v '^ *+' conftest.er1 >conftest.err
34471 cat conftest.err >&5
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); } && {
34474 test -z "$ac_c_werror_flag" ||
34475 test ! -s conftest.err
34476 } && test -s conftest.$ac_objext; then
34477 { echo "$as_me:$LINENO: result: no" >&5
34478 echo "${ECHO_T}no" >&6; }
34480 echo "$as_me: failed program was:" >&5
34481 sed 's/^/| /' conftest.$ac_ext >&5
34483 { echo "$as_me:$LINENO: result: yes" >&5
34484 echo "${ECHO_T}yes" >&6; }
34485 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34486 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34487 cat >conftest.$ac_ext <<_ACEOF
34490 cat confdefs.h >>conftest.$ac_ext
34491 cat >>conftest.$ac_ext <<_ACEOF
34492 /* end confdefs.h. */
34493 #define __Point__ 1
34494 #include <AppKit/NSEvent.h>
34495 #include <CoreFoundation/CoreFoundation.h>
34505 rm -f conftest.$ac_objext
34506 if { (ac_try="$ac_compile"
34507 case "(($ac_try" in
34508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34509 *) ac_try_echo
=$ac_try;;
34511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34512 (eval "$ac_compile") 2>conftest.er1
34514 grep -v '^ *+' conftest.er1
>conftest.err
34516 cat conftest.err
>&5
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); } && {
34519 test -z "$ac_c_werror_flag" ||
34520 test ! -s conftest.err
34521 } && test -s conftest.
$ac_objext; then
34522 { echo "$as_me:$LINENO: result: yes" >&5
34523 echo "${ECHO_T}yes" >&6; }
34524 cat >>confdefs.h
<<\_ACEOF
34525 #define __Point__ 1
34530 echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.
$ac_ext >&5
34533 { { echo "$as_me:$LINENO: error: no
34534 See \`config.log' for more details." >&5
34535 echo "$as_me: error: no
34536 See \`config.log' for more details." >&2;}
34537 { (exit 1); exit 1; }; }
34541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34547 ac_cpp
='$CPP $CPPFLAGS'
34548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34555 { echo "$as_me:$LINENO: checking for mode_t" >&5
34556 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34557 if test "${ac_cv_type_mode_t+set}" = set; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 cat >conftest.
$ac_ext <<_ACEOF
34563 cat confdefs.h
>>conftest.
$ac_ext
34564 cat >>conftest.
$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34566 $ac_includes_default
34567 typedef mode_t ac__type_new_;
34571 if ((ac__type_new_ *) 0)
34573 if (sizeof (ac__type_new_))
34579 rm -f conftest.
$ac_objext
34580 if { (ac_try
="$ac_compile"
34581 case "(($ac_try" in
34582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34583 *) ac_try_echo=$ac_try;;
34585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34586 (eval "$ac_compile") 2>conftest.er1
34588 grep -v '^ *+' conftest.er1 >conftest.err
34590 cat conftest.err >&5
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); } && {
34593 test -z "$ac_c_werror_flag" ||
34594 test ! -s conftest.err
34595 } && test -s conftest.$ac_objext; then
34596 ac_cv_type_mode_t=yes
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34601 ac_cv_type_mode_t=no
34604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34606 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34607 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34608 if test $ac_cv_type_mode_t = yes; then
34612 cat >>confdefs.h <<_ACEOF
34618 { echo "$as_me:$LINENO: checking for off_t" >&5
34619 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34620 if test "${ac_cv_type_off_t+set}" = set; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34623 cat >conftest.$ac_ext <<_ACEOF
34626 cat confdefs.h >>conftest.$ac_ext
34627 cat >>conftest.$ac_ext <<_ACEOF
34628 /* end confdefs.h. */
34629 $ac_includes_default
34630 typedef off_t ac__type_new_;
34634 if ((ac__type_new_ *) 0)
34636 if (sizeof (ac__type_new_))
34642 rm -f conftest.$ac_objext
34643 if { (ac_try="$ac_compile"
34644 case "(($ac_try" in
34645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34646 *) ac_try_echo
=$ac_try;;
34648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34649 (eval "$ac_compile") 2>conftest.er1
34651 grep -v '^ *+' conftest.er1
>conftest.err
34653 cat conftest.err
>&5
34654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34655 (exit $ac_status); } && {
34656 test -z "$ac_c_werror_flag" ||
34657 test ! -s conftest.err
34658 } && test -s conftest.
$ac_objext; then
34659 ac_cv_type_off_t
=yes
34661 echo "$as_me: failed program was:" >&5
34662 sed 's/^/| /' conftest.
$ac_ext >&5
34664 ac_cv_type_off_t
=no
34667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34669 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34670 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34671 if test $ac_cv_type_off_t = yes; then
34675 cat >>confdefs.h
<<_ACEOF
34676 #define off_t long int
34681 { echo "$as_me:$LINENO: checking for pid_t" >&5
34682 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34683 if test "${ac_cv_type_pid_t+set}" = set; then
34684 echo $ECHO_N "(cached) $ECHO_C" >&6
34686 cat >conftest.
$ac_ext <<_ACEOF
34689 cat confdefs.h
>>conftest.
$ac_ext
34690 cat >>conftest.
$ac_ext <<_ACEOF
34691 /* end confdefs.h. */
34692 $ac_includes_default
34693 typedef pid_t ac__type_new_;
34697 if ((ac__type_new_ *) 0)
34699 if (sizeof (ac__type_new_))
34705 rm -f conftest.
$ac_objext
34706 if { (ac_try
="$ac_compile"
34707 case "(($ac_try" in
34708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34709 *) ac_try_echo=$ac_try;;
34711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34712 (eval "$ac_compile") 2>conftest.er1
34714 grep -v '^ *+' conftest.er1 >conftest.err
34716 cat conftest.err >&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } && {
34719 test -z "$ac_c_werror_flag" ||
34720 test ! -s conftest.err
34721 } && test -s conftest.$ac_objext; then
34722 ac_cv_type_pid_t=yes
34724 echo "$as_me: failed program was:" >&5
34725 sed 's/^/| /' conftest.$ac_ext >&5
34727 ac_cv_type_pid_t=no
34730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34732 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34733 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34734 if test $ac_cv_type_pid_t = yes; then
34738 cat >>confdefs.h <<_ACEOF
34744 { echo "$as_me:$LINENO: checking for size_t" >&5
34745 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34746 if test "${ac_cv_type_size_t+set}" = set; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 cat >conftest.$ac_ext <<_ACEOF
34752 cat confdefs.h >>conftest.$ac_ext
34753 cat >>conftest.$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 $ac_includes_default
34756 typedef size_t ac__type_new_;
34760 if ((ac__type_new_ *) 0)
34762 if (sizeof (ac__type_new_))
34768 rm -f conftest.$ac_objext
34769 if { (ac_try="$ac_compile"
34770 case "(($ac_try" in
34771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34772 *) ac_try_echo
=$ac_try;;
34774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34775 (eval "$ac_compile") 2>conftest.er1
34777 grep -v '^ *+' conftest.er1
>conftest.err
34779 cat conftest.err
>&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); } && {
34782 test -z "$ac_c_werror_flag" ||
34783 test ! -s conftest.err
34784 } && test -s conftest.
$ac_objext; then
34785 ac_cv_type_size_t
=yes
34787 echo "$as_me: failed program was:" >&5
34788 sed 's/^/| /' conftest.
$ac_ext >&5
34790 ac_cv_type_size_t
=no
34793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34795 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34796 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34797 if test $ac_cv_type_size_t = yes; then
34801 cat >>confdefs.h
<<_ACEOF
34802 #define size_t unsigned int
34808 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34809 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34810 if test "${ac_cv_type_ssize_t+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 cat >conftest.
$ac_ext <<_ACEOF
34816 cat confdefs.h
>>conftest.
$ac_ext
34817 cat >>conftest.
$ac_ext <<_ACEOF
34818 /* end confdefs.h. */
34819 $ac_includes_default
34820 typedef ssize_t ac__type_new_;
34824 if ((ac__type_new_ *) 0)
34826 if (sizeof (ac__type_new_))
34832 rm -f conftest.
$ac_objext
34833 if { (ac_try
="$ac_compile"
34834 case "(($ac_try" in
34835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34836 *) ac_try_echo=$ac_try;;
34838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34839 (eval "$ac_compile") 2>conftest.er1
34841 grep -v '^ *+' conftest.er1 >conftest.err
34843 cat conftest.err >&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); } && {
34846 test -z "$ac_c_werror_flag" ||
34847 test ! -s conftest.err
34848 } && test -s conftest.$ac_objext; then
34849 ac_cv_type_ssize_t=yes
34851 echo "$as_me: failed program was:" >&5
34852 sed 's/^/| /' conftest.$ac_ext >&5
34854 ac_cv_type_ssize_t=no
34857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34859 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34860 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34861 if test $ac_cv_type_ssize_t = yes; then
34863 cat >>confdefs.h <<_ACEOF
34864 #define HAVE_SSIZE_T 1
34872 ac_cpp='$CXXCPP $CPPFLAGS'
34873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34876 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34877 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34878 if test "${wx_cv_size_t_is_uint+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 cat >conftest.$ac_ext <<_ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888 #include <stddef.h>
34895 struct Foo { void foo(size_t); void foo(unsigned int); };
34903 rm -f conftest.$ac_objext
34904 if { (ac_try="$ac_compile"
34905 case "(($ac_try" in
34906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34907 *) ac_try_echo
=$ac_try;;
34909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34910 (eval "$ac_compile") 2>conftest.er1
34912 grep -v '^ *+' conftest.er1
>conftest.err
34914 cat conftest.err
>&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); } && {
34917 test -z "$ac_cxx_werror_flag" ||
34918 test ! -s conftest.err
34919 } && test -s conftest.
$ac_objext; then
34920 wx_cv_size_t_is_uint
=no
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.
$ac_ext >&5
34925 wx_cv_size_t_is_uint
=yes
34929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34933 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34934 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34936 if test "$wx_cv_size_t_is_uint" = "yes"; then
34937 cat >>confdefs.h
<<\_ACEOF
34938 #define wxSIZE_T_IS_UINT 1
34942 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34943 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34944 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34945 echo $ECHO_N "(cached) $ECHO_C" >&6
34947 cat >conftest.
$ac_ext <<_ACEOF
34950 cat confdefs.h
>>conftest.
$ac_ext
34951 cat >>conftest.
$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34953 #include <stddef.h>
34960 struct Foo { void foo(size_t); void foo(unsigned long); };
34968 rm -f conftest.
$ac_objext
34969 if { (ac_try
="$ac_compile"
34970 case "(($ac_try" in
34971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34972 *) ac_try_echo=$ac_try;;
34974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34975 (eval "$ac_compile") 2>conftest.er1
34977 grep -v '^ *+' conftest.er1 >conftest.err
34979 cat conftest.err >&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); } && {
34982 test -z "$ac_cxx_werror_flag" ||
34983 test ! -s conftest.err
34984 } && test -s conftest.$ac_objext; then
34985 wx_cv_size_t_is_ulong=no
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.$ac_ext >&5
34990 wx_cv_size_t_is_ulong=yes
34994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34997 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34998 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35000 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35001 cat >>confdefs.h <<\_ACEOF
35002 #define wxSIZE_T_IS_ULONG 1
35008 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35009 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35010 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 cat >conftest.$ac_ext <<_ACEOF
35016 cat confdefs.h >>conftest.$ac_ext
35017 cat >>conftest.$ac_ext <<_ACEOF
35018 /* end confdefs.h. */
35026 struct Foo { void foo(wchar_t);
35027 void foo(unsigned short);
35028 void foo(unsigned int);
35029 void foo(unsigned long); };
35037 rm -f conftest.$ac_objext
35038 if { (ac_try="$ac_compile"
35039 case "(($ac_try" in
35040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35041 *) ac_try_echo
=$ac_try;;
35043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35044 (eval "$ac_compile") 2>conftest.er1
35046 grep -v '^ *+' conftest.er1
>conftest.err
35048 cat conftest.err
>&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } && {
35051 test -z "$ac_cxx_werror_flag" ||
35052 test ! -s conftest.err
35053 } && test -s conftest.
$ac_objext; then
35054 wx_cv_wchar_t_is_separate_type
=yes
35056 echo "$as_me: failed program was:" >&5
35057 sed 's/^/| /' conftest.
$ac_ext >&5
35059 wx_cv_wchar_t_is_separate_type
=no
35063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35066 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35067 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35069 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35070 cat >>confdefs.h
<<\_ACEOF
35071 #define wxWCHAR_T_IS_REAL_TYPE 1
35075 cat >>confdefs.h
<<\_ACEOF
35076 #define wxWCHAR_T_IS_REAL_TYPE 0
35082 ac_cpp
='$CPP $CPPFLAGS'
35083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35088 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35089 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35090 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35094 cat >conftest.
$ac_ext <<_ACEOF
35097 cat confdefs.h
>>conftest.
$ac_ext
35098 cat >>conftest.
$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35113 rm -f conftest.
$ac_objext
35114 if { (ac_try
="$ac_compile"
35115 case "(($ac_try" in
35116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35117 *) ac_try_echo=$ac_try;;
35119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35120 (eval "$ac_compile") 2>conftest.er1
35122 grep -v '^ *+' conftest.er1 >conftest.err
35124 cat conftest.err >&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } && {
35127 test -z "$ac_c_werror_flag" ||
35128 test ! -s conftest.err
35129 } && test -s conftest.$ac_objext; then
35131 wx_cv_struct_pw_gecos=yes
35134 echo "$as_me: failed program was:" >&5
35135 sed 's/^/| /' conftest.$ac_ext >&5
35138 wx_cv_struct_pw_gecos=no
35143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35147 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35148 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35150 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35151 cat >>confdefs.h <<\_ACEOF
35152 #define HAVE_PW_GECOS 1
35158 if test "$wxUSE_WCHAR_T" = "yes"; then
35159 cat >>confdefs.h <<\_ACEOF
35160 #define wxUSE_WCHAR_T 1
35167 for ac_func in wcslen
35169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35175 cat >conftest.$ac_ext <<_ACEOF
35178 cat confdefs.h >>conftest.$ac_ext
35179 cat >>conftest.$ac_ext <<_ACEOF
35180 /* end confdefs.h. */
35181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35183 #define $ac_func innocuous_$ac_func
35185 /* System header to define __stub macros and hopefully few prototypes,
35186 which can conflict with char $ac_func (); below.
35187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35188 <limits.h> exists even on freestanding compilers. */
35191 # include <limits.h>
35193 # include <assert.h>
35198 /* Override any GCC internal prototype to avoid an error.
35199 Use char because int might match the return type of a GCC
35200 builtin and then its argument prototype would still apply. */
35205 /* The GNU C library defines this for functions which it implements
35206 to always fail with ENOSYS. Some functions are actually named
35207 something starting with __ and the normal name is an alias. */
35208 #if defined __stub_$ac_func || defined __stub___$ac_func
35215 return $ac_func ();
35220 rm -f conftest.$ac_objext conftest$ac_exeext
35221 if { (ac_try="$ac_link"
35222 case "(($ac_try" in
35223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35224 *) ac_try_echo
=$ac_try;;
35226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35227 (eval "$ac_link") 2>conftest.er1
35229 grep -v '^ *+' conftest.er1
>conftest.err
35231 cat conftest.err
>&5
35232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35233 (exit $ac_status); } && {
35234 test -z "$ac_c_werror_flag" ||
35235 test ! -s conftest.err
35236 } && test -s conftest
$ac_exeext &&
35237 $as_test_x conftest
$ac_exeext; then
35238 eval "$as_ac_var=yes"
35240 echo "$as_me: failed program was:" >&5
35241 sed 's/^/| /' conftest.
$ac_ext >&5
35243 eval "$as_ac_var=no"
35246 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35247 conftest
$ac_exeext conftest.
$ac_ext
35249 ac_res
=`eval echo '${'$as_ac_var'}'`
35250 { echo "$as_me:$LINENO: result: $ac_res" >&5
35251 echo "${ECHO_T}$ac_res" >&6; }
35252 if test `eval echo '${'$as_ac_var'}'` = yes; then
35253 cat >>confdefs.h
<<_ACEOF
35254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35261 if test "$WCSLEN_FOUND" = 0; then
35262 if test "$TOOLKIT" = "MSW"; then
35263 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35264 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35265 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35266 echo $ECHO_N "(cached) $ECHO_C" >&6
35268 ac_check_lib_save_LIBS
=$LIBS
35269 LIBS
="-lmsvcrt $LIBS"
35270 cat >conftest.
$ac_ext <<_ACEOF
35273 cat confdefs.h
>>conftest.
$ac_ext
35274 cat >>conftest.
$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35277 /* Override any GCC internal prototype to avoid an error.
35278 Use char because int might match the return type of a GCC
35279 builtin and then its argument prototype would still apply. */
35292 rm -f conftest.
$ac_objext conftest
$ac_exeext
35293 if { (ac_try
="$ac_link"
35294 case "(($ac_try" in
35295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35296 *) ac_try_echo=$ac_try;;
35298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35299 (eval "$ac_link") 2>conftest.er1
35301 grep -v '^ *+' conftest.er1 >conftest.err
35303 cat conftest.err >&5
35304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35305 (exit $ac_status); } && {
35306 test -z "$ac_c_werror_flag" ||
35307 test ! -s conftest.err
35308 } && test -s conftest$ac_exeext &&
35309 $as_test_x conftest$ac_exeext; then
35310 ac_cv_lib_msvcrt_wcslen=yes
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35315 ac_cv_lib_msvcrt_wcslen=no
35318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35319 conftest$ac_exeext conftest.$ac_ext
35320 LIBS=$ac_check_lib_save_LIBS
35322 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35323 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35324 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35329 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35330 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35331 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 ac_check_lib_save_LIBS=$LIBS
35336 cat >conftest.$ac_ext <<_ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35343 /* Override any GCC internal prototype to avoid an error.
35344 Use char because int might match the return type of a GCC
35345 builtin and then its argument prototype would still apply. */
35358 rm -f conftest.$ac_objext conftest$ac_exeext
35359 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest
$ac_exeext &&
35375 $as_test_x conftest
$ac_exeext; then
35376 ac_cv_lib_w_wcslen
=yes
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.
$ac_ext >&5
35381 ac_cv_lib_w_wcslen
=no
35384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35385 conftest
$ac_exeext conftest.
$ac_ext
35386 LIBS
=$ac_check_lib_save_LIBS
35388 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35389 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35390 if test $ac_cv_lib_w_wcslen = yes; then
35400 if test "$WCSLEN_FOUND" = 1; then
35401 cat >>confdefs.h
<<\_ACEOF
35402 #define HAVE_WCSLEN 1
35412 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35417 if { as_var
=$as_ac_var; 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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35428 #define $ac_func innocuous_$ac_func
35430 /* System header to define __stub macros and hopefully few prototypes,
35431 which can conflict with char $ac_func (); below.
35432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35433 <limits.h> exists even on freestanding compilers. */
35436 # include <limits.h>
35438 # include <assert.h>
35443 /* Override any GCC internal prototype to avoid an error.
35444 Use char because int might match the return type of a GCC
35445 builtin and then its argument prototype would still apply. */
35450 /* The GNU C library defines this for functions which it implements
35451 to always fail with ENOSYS. Some functions are actually named
35452 something starting with __ and the normal name is an alias. */
35453 #if defined __stub_$ac_func || defined __stub___$ac_func
35460 return $ac_func ();
35465 rm -f conftest.
$ac_objext conftest
$ac_exeext
35466 if { (ac_try
="$ac_link"
35467 case "(($ac_try" in
35468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35469 *) ac_try_echo=$ac_try;;
35471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35472 (eval "$ac_link") 2>conftest.er1
35474 grep -v '^ *+' conftest.er1 >conftest.err
35476 cat conftest.err >&5
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); } && {
35479 test -z "$ac_c_werror_flag" ||
35480 test ! -s conftest.err
35481 } && test -s conftest$ac_exeext &&
35482 $as_test_x conftest$ac_exeext; then
35483 eval "$as_ac_var=yes"
35485 echo "$as_me: failed program was:" >&5
35486 sed 's/^/| /' conftest.$ac_ext >&5
35488 eval "$as_ac_var=no"
35491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35492 conftest$ac_exeext conftest.$ac_ext
35494 ac_res=`eval echo '${'$as_ac_var'}'`
35495 { echo "$as_me:$LINENO: result: $ac_res" >&5
35496 echo "${ECHO_T}$ac_res" >&6; }
35497 if test `eval echo '${'$as_ac_var'}'` = yes; then
35498 cat >>confdefs.h <<_ACEOF
35499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35506 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35507 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35510 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35511 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35512 if test "${ac_cv_type_mbstate_t+set}" = set; then
35513 echo $ECHO_N "(cached) $ECHO_C" >&6
35515 cat >conftest.$ac_ext <<_ACEOF
35518 cat confdefs.h >>conftest.$ac_ext
35519 cat >>conftest.$ac_ext <<_ACEOF
35520 /* end confdefs.h. */
35523 typedef mbstate_t ac__type_new_;
35527 if ((ac__type_new_ *) 0)
35529 if (sizeof (ac__type_new_))
35535 rm -f conftest.$ac_objext
35536 if { (ac_try="$ac_compile"
35537 case "(($ac_try" in
35538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35539 *) ac_try_echo
=$ac_try;;
35541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35542 (eval "$ac_compile") 2>conftest.er1
35544 grep -v '^ *+' conftest.er1
>conftest.err
35546 cat conftest.err
>&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); } && {
35549 test -z "$ac_c_werror_flag" ||
35550 test ! -s conftest.err
35551 } && test -s conftest.
$ac_objext; then
35552 ac_cv_type_mbstate_t
=yes
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.
$ac_ext >&5
35557 ac_cv_type_mbstate_t
=no
35560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35562 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35563 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35564 if test $ac_cv_type_mbstate_t = yes; then
35566 cat >>confdefs.h
<<_ACEOF
35567 #define HAVE_MBSTATE_T 1
35571 for ac_func
in wcsrtombs
35573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35576 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35579 cat >conftest.
$ac_ext <<_ACEOF
35582 cat confdefs.h
>>conftest.
$ac_ext
35583 cat >>conftest.
$ac_ext <<_ACEOF
35584 /* end confdefs.h. */
35585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35587 #define $ac_func innocuous_$ac_func
35589 /* System header to define __stub macros and hopefully few prototypes,
35590 which can conflict with char $ac_func (); below.
35591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35592 <limits.h> exists even on freestanding compilers. */
35595 # include <limits.h>
35597 # include <assert.h>
35602 /* Override any GCC internal prototype to avoid an error.
35603 Use char because int might match the return type of a GCC
35604 builtin and then its argument prototype would still apply. */
35609 /* The GNU C library defines this for functions which it implements
35610 to always fail with ENOSYS. Some functions are actually named
35611 something starting with __ and the normal name is an alias. */
35612 #if defined __stub_$ac_func || defined __stub___$ac_func
35619 return $ac_func ();
35624 rm -f conftest.
$ac_objext conftest
$ac_exeext
35625 if { (ac_try
="$ac_link"
35626 case "(($ac_try" in
35627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35628 *) ac_try_echo=$ac_try;;
35630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35631 (eval "$ac_link") 2>conftest.er1
35633 grep -v '^ *+' conftest.er1 >conftest.err
35635 cat conftest.err >&5
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); } && {
35638 test -z "$ac_c_werror_flag" ||
35639 test ! -s conftest.err
35640 } && test -s conftest$ac_exeext &&
35641 $as_test_x conftest$ac_exeext; then
35642 eval "$as_ac_var=yes"
35644 echo "$as_me: failed program was:" >&5
35645 sed 's/^/| /' conftest.$ac_ext >&5
35647 eval "$as_ac_var=no"
35650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35651 conftest$ac_exeext conftest.$ac_ext
35653 ac_res=`eval echo '${'$as_ac_var'}'`
35654 { echo "$as_me:$LINENO: result: $ac_res" >&5
35655 echo "${ECHO_T}$ac_res" >&6; }
35656 if test `eval echo '${'$as_ac_var'}'` = yes; then
35657 cat >>confdefs.h <<_ACEOF
35658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35667 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35668 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35674 for ac_func in snprintf vsnprintf vsscanf
35676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 cat >conftest.$ac_ext <<_ACEOF
35685 cat confdefs.h >>conftest.$ac_ext
35686 cat >>conftest.$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35690 #define $ac_func innocuous_$ac_func
35692 /* System header to define __stub macros and hopefully few prototypes,
35693 which can conflict with char $ac_func (); below.
35694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35695 <limits.h> exists even on freestanding compilers. */
35698 # include <limits.h>
35700 # include <assert.h>
35705 /* Override any GCC internal prototype to avoid an error.
35706 Use char because int might match the return type of a GCC
35707 builtin and then its argument prototype would still apply. */
35712 /* The GNU C library defines this for functions which it implements
35713 to always fail with ENOSYS. Some functions are actually named
35714 something starting with __ and the normal name is an alias. */
35715 #if defined __stub_$ac_func || defined __stub___$ac_func
35722 return $ac_func ();
35727 rm -f conftest.$ac_objext conftest$ac_exeext
35728 if { (ac_try="$ac_link"
35729 case "(($ac_try" in
35730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35731 *) ac_try_echo
=$ac_try;;
35733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35734 (eval "$ac_link") 2>conftest.er1
35736 grep -v '^ *+' conftest.er1
>conftest.err
35738 cat conftest.err
>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); } && {
35741 test -z "$ac_c_werror_flag" ||
35742 test ! -s conftest.err
35743 } && test -s conftest
$ac_exeext &&
35744 $as_test_x conftest
$ac_exeext; then
35745 eval "$as_ac_var=yes"
35747 echo "$as_me: failed program was:" >&5
35748 sed 's/^/| /' conftest.
$ac_ext >&5
35750 eval "$as_ac_var=no"
35753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35754 conftest
$ac_exeext conftest.
$ac_ext
35756 ac_res
=`eval echo '${'$as_ac_var'}'`
35757 { echo "$as_me:$LINENO: result: $ac_res" >&5
35758 echo "${ECHO_T}$ac_res" >&6; }
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760 cat >>confdefs.h
<<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35769 ac_cpp
='$CXXCPP $CPPFLAGS'
35770 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35774 if test "$ac_cv_func_vsnprintf" = "yes"; then
35775 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35776 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35777 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35778 echo $ECHO_N "(cached) $ECHO_C" >&6
35781 cat >conftest.
$ac_ext <<_ACEOF
35784 cat confdefs.h
>>conftest.
$ac_ext
35785 cat >>conftest.
$ac_ext <<_ACEOF
35786 /* end confdefs.h. */
35789 #include <stdarg.h>
35791 #if __MSL__ >= 0x6000
35793 using namespace std;
35803 vsnprintf(buf, 10u, "%s", ap);
35809 rm -f conftest.
$ac_objext
35810 if { (ac_try
="$ac_compile"
35811 case "(($ac_try" in
35812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35813 *) ac_try_echo=$ac_try;;
35815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35816 (eval "$ac_compile") 2>conftest.er1
35818 grep -v '^ *+' conftest.er1 >conftest.err
35820 cat conftest.err >&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } && {
35823 test -z "$ac_cxx_werror_flag" ||
35824 test ! -s conftest.err
35825 } && test -s conftest.$ac_objext; then
35826 wx_cv_func_vsnprintf_decl=yes
35828 echo "$as_me: failed program was:" >&5
35829 sed 's/^/| /' conftest.$ac_ext >&5
35831 wx_cv_func_vsnprintf_decl=no
35835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35839 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35840 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35842 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35843 cat >>confdefs.h <<\_ACEOF
35844 #define HAVE_VSNPRINTF_DECL 1
35848 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35849 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35850 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35851 echo $ECHO_N "(cached) $ECHO_C" >&6
35854 cat >conftest.$ac_ext <<_ACEOF
35857 cat confdefs.h >>conftest.$ac_ext
35858 cat >>conftest.$ac_ext <<_ACEOF
35859 /* end confdefs.h. */
35862 #include <stdarg.h>
35864 #if __MSL__ >= 0x6000
35866 using namespace std;
35876 const char *fmt = "%s";
35877 vsnprintf(buf, 10u, fmt, ap);
35883 rm -f conftest.$ac_objext
35884 if { (ac_try="$ac_compile"
35885 case "(($ac_try" in
35886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35887 *) ac_try_echo
=$ac_try;;
35889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35890 (eval "$ac_compile") 2>conftest.er1
35892 grep -v '^ *+' conftest.er1
>conftest.err
35894 cat conftest.err
>&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); } && {
35897 test -z "$ac_cxx_werror_flag" ||
35898 test ! -s conftest.err
35899 } && test -s conftest.
$ac_objext; then
35900 wx_cv_func_broken_vsnprintf_decl
=no
35902 echo "$as_me: failed program was:" >&5
35903 sed 's/^/| /' conftest.
$ac_ext >&5
35905 wx_cv_func_broken_vsnprintf_decl
=yes
35909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35913 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35914 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35916 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35917 cat >>confdefs.h
<<\_ACEOF
35918 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35925 if test "$ac_cv_func_snprintf" = "yes"; then
35926 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35927 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35928 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35929 echo $ECHO_N "(cached) $ECHO_C" >&6
35932 cat >conftest.
$ac_ext <<_ACEOF
35935 cat confdefs.h
>>conftest.
$ac_ext
35936 cat >>conftest.
$ac_ext <<_ACEOF
35937 /* end confdefs.h. */
35940 #include <stdarg.h>
35942 #if __MSL__ >= 0x6000
35944 using namespace std;
35953 snprintf(buf, 10u, "%s", "wx");
35959 rm -f conftest.
$ac_objext
35960 if { (ac_try
="$ac_compile"
35961 case "(($ac_try" in
35962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35963 *) ac_try_echo=$ac_try;;
35965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35966 (eval "$ac_compile") 2>conftest.er1
35968 grep -v '^ *+' conftest.er1 >conftest.err
35970 cat conftest.err >&5
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); } && {
35973 test -z "$ac_cxx_werror_flag" ||
35974 test ! -s conftest.err
35975 } && test -s conftest.$ac_objext; then
35976 wx_cv_func_snprintf_decl=yes
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.$ac_ext >&5
35981 wx_cv_func_snprintf_decl=no
35985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35989 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35990 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35992 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35993 cat >>confdefs.h <<\_ACEOF
35994 #define HAVE_SNPRINTF_DECL 1
35999 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36001 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36002 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36003 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36004 echo $ECHO_N "(cached) $ECHO_C" >&6
36007 if test "$cross_compiling" = yes; then
36009 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36010 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36011 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36012 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36013 wx_cv_func_snprintf_pos_params=no
36017 cat >conftest.$ac_ext <<_ACEOF
36020 cat confdefs.h >>conftest.$ac_ext
36021 cat >>conftest.$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36029 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36030 if (strcmp ("2 3 1", buffer) == 0)
36036 rm -f conftest$ac_exeext
36037 if { (ac_try="$ac_link"
36038 case "(($ac_try" in
36039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36040 *) ac_try_echo
=$ac_try;;
36042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36043 (eval "$ac_link") 2>&5
36045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36046 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36047 { (case "(($ac_try" in
36048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36049 *) ac_try_echo=$ac_try;;
36051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36052 (eval "$ac_try") 2>&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); }; }; then
36056 wx_cv_func_snprintf_pos_params=no
36058 echo "$as_me: program exited with status $ac_status" >&5
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.$ac_ext >&5
36062 ( exit $ac_status )
36063 wx_cv_func_snprintf_pos_params=yes
36065 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36072 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36073 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36075 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36076 cat >>confdefs.h <<\_ACEOF
36077 #define HAVE_UNIX98_PRINTF 1
36084 if test "$ac_cv_func_vsscanf" = "yes"; then
36085 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36086 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36087 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36091 cat >conftest.$ac_ext <<_ACEOF
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36099 #include <stdarg.h>
36101 #if __MSL__ >= 0x6000
36103 using namespace std;
36113 vsscanf(buf, "%s", args);
36119 rm -f conftest.$ac_objext
36120 if { (ac_try="$ac_compile"
36121 case "(($ac_try" in
36122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36123 *) ac_try_echo
=$ac_try;;
36125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36126 (eval "$ac_compile") 2>conftest.er1
36128 grep -v '^ *+' conftest.er1
>conftest.err
36130 cat conftest.err
>&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); } && {
36133 test -z "$ac_cxx_werror_flag" ||
36134 test ! -s conftest.err
36135 } && test -s conftest.
$ac_objext; then
36136 wx_cv_func_vsscanf_decl
=yes
36138 echo "$as_me: failed program was:" >&5
36139 sed 's/^/| /' conftest.
$ac_ext >&5
36141 wx_cv_func_vsscanf_decl
=no
36145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36149 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36150 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36152 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36153 cat >>confdefs.h
<<\_ACEOF
36154 #define HAVE_VSSCANF_DECL 1
36160 ac_cpp
='$CPP $CPPFLAGS'
36161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36166 if test "$wxUSE_UNICODE" = yes; then
36168 wchar_headers
="#include <stdio.h>
36169 #include <wchar.h>"
36173 for ac_header
in widec.h
36175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36178 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36179 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 cat >conftest.
$ac_ext <<_ACEOF
36184 cat confdefs.h
>>conftest.
$ac_ext
36185 cat >>conftest.
$ac_ext <<_ACEOF
36186 /* end confdefs.h. */
36187 $ac_includes_default
36189 #include <$ac_header>
36191 rm -f conftest.
$ac_objext
36192 if { (ac_try
="$ac_compile"
36193 case "(($ac_try" in
36194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36195 *) ac_try_echo=$ac_try;;
36197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198 (eval "$ac_compile") 2>conftest.er1
36200 grep -v '^ *+' conftest.er1 >conftest.err
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } && {
36205 test -z "$ac_c_werror_flag" ||
36206 test ! -s conftest.err
36207 } && test -s conftest.$ac_objext; then
36208 eval "$as_ac_Header=yes"
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36213 eval "$as_ac_Header=no"
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36218 ac_res=`eval echo '${'$as_ac_Header'}'`
36219 { echo "$as_me:$LINENO: result: $ac_res" >&5
36220 echo "${ECHO_T}$ac_res" >&6; }
36221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36222 cat >>confdefs.h <<_ACEOF
36223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36230 if test "$ac_cv_header_widec_h" = "yes"; then
36231 wchar_headers="$wchar_headers
36232 #include <widec.h>"
36237 for wx_func in putws fputws wprintf vswprintf vswscanf
36239 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36240 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36241 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36245 cat >conftest.$ac_ext <<_ACEOF
36249 cat confdefs.h >>conftest.$ac_ext
36250 cat >>conftest.$ac_ext <<_ACEOF
36251 /* end confdefs.h. */
36254 $ac_includes_default
36270 rm -f conftest.$ac_objext conftest$ac_exeext
36271 if { (ac_try="$ac_link"
36272 case "(($ac_try" in
36273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36274 *) ac_try_echo
=$ac_try;;
36276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36277 (eval "$ac_link") 2>conftest.er1
36279 grep -v '^ *+' conftest.er1
>conftest.err
36281 cat conftest.err
>&5
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); } && {
36284 test -z "$ac_c_werror_flag" ||
36285 test ! -s conftest.err
36286 } && test -s conftest
$ac_exeext &&
36287 $as_test_x conftest
$ac_exeext; then
36288 eval wx_cv_func_
$wx_func=yes
36290 echo "$as_me: failed program was:" >&5
36291 sed 's/^/| /' conftest.
$ac_ext >&5
36293 eval wx_cv_func_
$wx_func=no
36296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36297 conftest
$ac_exeext conftest.
$ac_ext
36300 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36301 { echo "$as_me:$LINENO: result: $ac_res" >&5
36302 echo "${ECHO_T}$ac_res" >&6; }
36304 if eval test \
$wx_cv_func_$wx_func = yes
36306 cat >>confdefs.h
<<_ACEOF
36307 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36318 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36319 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36320 cat >conftest.
$ac_ext <<_ACEOF
36323 cat confdefs.h
>>conftest.
$ac_ext
36324 cat >>conftest.
$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36335 rm -f conftest.
$ac_objext
36336 if { (ac_try
="$ac_compile"
36337 case "(($ac_try" in
36338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36339 *) ac_try_echo=$ac_try;;
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_compile") 2>conftest.er1
36344 grep -v '^ *+' conftest.er1 >conftest.err
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_c_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest.$ac_objext; then
36352 { echo "$as_me:$LINENO: result: yes" >&5
36353 echo "${ECHO_T}yes" >&6; }
36354 cat >>confdefs.h <<\_ACEOF
36355 #define HAVE__VSNWPRINTF 1
36359 echo "$as_me: failed program was:" >&5
36360 sed 's/^/| /' conftest.$ac_ext >&5
36362 { echo "$as_me:$LINENO: result: no" >&5
36363 echo "${ECHO_T}no" >&6; }
36366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36369 if test "$wxUSE_FILE" = "yes"; then
36371 for wx_func in fsync
36373 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36374 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36375 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36376 echo $ECHO_N "(cached) $ECHO_C" >&6
36379 cat >conftest.$ac_ext <<_ACEOF
36383 cat confdefs.h >>conftest.$ac_ext
36384 cat >>conftest.$ac_ext <<_ACEOF
36385 /* end confdefs.h. */
36388 $ac_includes_default
36404 rm -f conftest.$ac_objext conftest$ac_exeext
36405 if { (ac_try="$ac_link"
36406 case "(($ac_try" in
36407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36408 *) ac_try_echo
=$ac_try;;
36410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36411 (eval "$ac_link") 2>conftest.er1
36413 grep -v '^ *+' conftest.er1
>conftest.err
36415 cat conftest.err
>&5
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); } && {
36418 test -z "$ac_c_werror_flag" ||
36419 test ! -s conftest.err
36420 } && test -s conftest
$ac_exeext &&
36421 $as_test_x conftest
$ac_exeext; then
36422 eval wx_cv_func_
$wx_func=yes
36424 echo "$as_me: failed program was:" >&5
36425 sed 's/^/| /' conftest.
$ac_ext >&5
36427 eval wx_cv_func_
$wx_func=no
36430 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36431 conftest
$ac_exeext conftest.
$ac_ext
36434 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36435 { echo "$as_me:$LINENO: result: $ac_res" >&5
36436 echo "${ECHO_T}$ac_res" >&6; }
36438 if eval test \
$wx_cv_func_$wx_func = yes
36440 cat >>confdefs.h
<<_ACEOF
36441 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36454 ac_cpp
='$CXXCPP $CPPFLAGS'
36455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36460 for wx_func
in round
36462 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36463 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36464 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36465 echo $ECHO_N "(cached) $ECHO_C" >&6
36468 cat >conftest.
$ac_ext <<_ACEOF
36472 cat confdefs.h
>>conftest.
$ac_ext
36473 cat >>conftest.
$ac_ext <<_ACEOF
36474 /* end confdefs.h. */
36477 $ac_includes_default
36493 rm -f conftest.
$ac_objext conftest
$ac_exeext
36494 if { (ac_try
="$ac_link"
36495 case "(($ac_try" in
36496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36497 *) ac_try_echo=$ac_try;;
36499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36500 (eval "$ac_link") 2>conftest.er1
36502 grep -v '^ *+' conftest.er1 >conftest.err
36504 cat conftest.err >&5
36505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36506 (exit $ac_status); } && {
36507 test -z "$ac_cxx_werror_flag" ||
36508 test ! -s conftest.err
36509 } && test -s conftest$ac_exeext &&
36510 $as_test_x conftest$ac_exeext; then
36511 eval wx_cv_func_$wx_func=yes
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.$ac_ext >&5
36516 eval wx_cv_func_$wx_func=no
36519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36520 conftest$ac_exeext conftest.$ac_ext
36523 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36524 { echo "$as_me:$LINENO: result: $ac_res" >&5
36525 echo "${ECHO_T}$ac_res" >&6; }
36527 if eval test \$wx_cv_func_$wx_func = yes
36529 cat >>confdefs.h <<_ACEOF
36530 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36541 ac_cpp='$CPP $CPPFLAGS'
36542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36547 if test "$TOOLKIT" != "MSW"; then
36549 if test "$wxUSE_LIBICONV" != "no" ; then
36553 # Check whether --with-libiconv-prefix was given.
36554 if test "${with_libiconv_prefix+set}" = set; then
36555 withval=$with_libiconv_prefix;
36556 for dir in `echo "$withval" | tr : ' '`; do
36557 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36558 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36564 { echo "$as_me:$LINENO: checking for iconv" >&5
36565 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36566 if test "${am_cv_func_iconv+set}" = set; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 am_cv_func_iconv="no, consider installing GNU libiconv"
36572 cat >conftest.$ac_ext <<_ACEOF
36575 cat confdefs.h >>conftest.$ac_ext
36576 cat >>conftest.$ac_ext <<_ACEOF
36577 /* end confdefs.h. */
36578 #include <stdlib.h>
36583 iconv_t cd = iconv_open("","");
36584 iconv(cd,NULL,NULL,NULL,NULL);
36590 rm -f conftest.$ac_objext conftest$ac_exeext
36591 if { (ac_try="$ac_link"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36594 *) ac_try_echo
=$ac_try;;
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_link") 2>conftest.er1
36599 grep -v '^ *+' conftest.er1
>conftest.err
36601 cat conftest.err
>&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest
$ac_exeext &&
36607 $as_test_x conftest
$ac_exeext; then
36608 am_cv_func_iconv
=yes
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.
$ac_ext >&5
36616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36617 conftest
$ac_exeext conftest.
$ac_ext
36618 if test "$am_cv_func_iconv" != yes; then
36619 am_save_LIBS
="$LIBS"
36620 LIBS
="$LIBS -liconv"
36621 cat >conftest.
$ac_ext <<_ACEOF
36624 cat confdefs.h
>>conftest.
$ac_ext
36625 cat >>conftest.
$ac_ext <<_ACEOF
36626 /* end confdefs.h. */
36627 #include <stdlib.h>
36632 iconv_t cd = iconv_open("","");
36633 iconv(cd,NULL,NULL,NULL,NULL);
36639 rm -f conftest.
$ac_objext conftest
$ac_exeext
36640 if { (ac_try
="$ac_link"
36641 case "(($ac_try" in
36642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36643 *) ac_try_echo=$ac_try;;
36645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36646 (eval "$ac_link") 2>conftest.er1
36648 grep -v '^ *+' conftest.er1 >conftest.err
36650 cat conftest.err >&5
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); } && {
36653 test -z "$ac_c_werror_flag" ||
36654 test ! -s conftest.err
36655 } && test -s conftest$ac_exeext &&
36656 $as_test_x conftest$ac_exeext; then
36657 am_cv_lib_iconv=yes
36658 am_cv_func_iconv=yes
36660 echo "$as_me: failed program was:" >&5
36661 sed 's/^/| /' conftest.$ac_ext >&5
36666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36667 conftest$ac_exeext conftest.$ac_ext
36668 LIBS="$am_save_LIBS"
36672 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36673 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36674 if test "$am_cv_func_iconv" = yes; then
36676 cat >>confdefs.h <<\_ACEOF
36677 #define HAVE_ICONV 1
36680 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36681 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36682 if test "${wx_cv_func_iconv_const+set}" = set; then
36683 echo $ECHO_N "(cached) $ECHO_C" >&6
36685 cat >conftest.$ac_ext <<_ACEOF
36688 cat confdefs.h >>conftest.$ac_ext
36689 cat >>conftest.$ac_ext <<_ACEOF
36690 /* end confdefs.h. */
36692 #include <stdlib.h>
36698 #if defined(__STDC__) || defined(__cplusplus)
36699 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36712 rm -f conftest.$ac_objext
36713 if { (ac_try="$ac_compile"
36714 case "(($ac_try" in
36715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36716 *) ac_try_echo
=$ac_try;;
36718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36719 (eval "$ac_compile") 2>conftest.er1
36721 grep -v '^ *+' conftest.er1
>conftest.err
36723 cat conftest.err
>&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); } && {
36726 test -z "$ac_c_werror_flag" ||
36727 test ! -s conftest.err
36728 } && test -s conftest.
$ac_objext; then
36729 wx_cv_func_iconv_const
="no"
36731 echo "$as_me: failed program was:" >&5
36732 sed 's/^/| /' conftest.
$ac_ext >&5
36734 wx_cv_func_iconv_const
="yes"
36738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36741 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36742 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36745 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36746 iconv_const
="const"
36750 cat >>confdefs.h
<<_ACEOF
36751 #define ICONV_CONST $iconv_const
36756 if test "$am_cv_lib_iconv" = yes; then
36761 LIBS
="$LIBICONV $LIBS"
36764 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36766 for ac_func
in sigaction
36768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36771 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36772 echo $ECHO_N "(cached) $ECHO_C" >&6
36774 cat >conftest.
$ac_ext <<_ACEOF
36777 cat confdefs.h
>>conftest.
$ac_ext
36778 cat >>conftest.
$ac_ext <<_ACEOF
36779 /* end confdefs.h. */
36780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36782 #define $ac_func innocuous_$ac_func
36784 /* System header to define __stub macros and hopefully few prototypes,
36785 which can conflict with char $ac_func (); below.
36786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36787 <limits.h> exists even on freestanding compilers. */
36790 # include <limits.h>
36792 # include <assert.h>
36797 /* Override any GCC internal prototype to avoid an error.
36798 Use char because int might match the return type of a GCC
36799 builtin and then its argument prototype would still apply. */
36804 /* The GNU C library defines this for functions which it implements
36805 to always fail with ENOSYS. Some functions are actually named
36806 something starting with __ and the normal name is an alias. */
36807 #if defined __stub_$ac_func || defined __stub___$ac_func
36814 return $ac_func ();
36819 rm -f conftest.
$ac_objext conftest
$ac_exeext
36820 if { (ac_try
="$ac_link"
36821 case "(($ac_try" in
36822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36823 *) ac_try_echo=$ac_try;;
36825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36826 (eval "$ac_link") 2>conftest.er1
36828 grep -v '^ *+' conftest.er1 >conftest.err
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } && {
36833 test -z "$ac_c_werror_flag" ||
36834 test ! -s conftest.err
36835 } && test -s conftest$ac_exeext &&
36836 $as_test_x conftest$ac_exeext; then
36837 eval "$as_ac_var=yes"
36839 echo "$as_me: failed program was:" >&5
36840 sed 's/^/| /' conftest.$ac_ext >&5
36842 eval "$as_ac_var=no"
36845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36846 conftest$ac_exeext conftest.$ac_ext
36848 ac_res=`eval echo '${'$as_ac_var'}'`
36849 { echo "$as_me:$LINENO: result: $ac_res" >&5
36850 echo "${ECHO_T}$ac_res" >&6; }
36851 if test `eval echo '${'$as_ac_var'}'` = yes; then
36852 cat >>confdefs.h <<_ACEOF
36853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36860 if test "$ac_cv_func_sigaction" = "no"; then
36861 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36862 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36863 wxUSE_ON_FATAL_EXCEPTION=no
36866 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36867 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36868 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36869 if test "${wx_cv_type_sa_handler+set}" = set; then
36870 echo $ECHO_N "(cached) $ECHO_C" >&6
36874 ac_cpp='$CXXCPP $CPPFLAGS'
36875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36879 cat >conftest.$ac_ext <<_ACEOF
36882 cat confdefs.h >>conftest.$ac_ext
36883 cat >>conftest.$ac_ext <<_ACEOF
36884 /* end confdefs.h. */
36885 #include <signal.h>
36890 extern void testSigHandler(int);
36892 struct sigaction sa;
36893 sa.sa_handler = testSigHandler;
36899 rm -f conftest.$ac_objext
36900 if { (ac_try="$ac_compile"
36901 case "(($ac_try" in
36902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36903 *) ac_try_echo
=$ac_try;;
36905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36906 (eval "$ac_compile") 2>conftest.er1
36908 grep -v '^ *+' conftest.er1
>conftest.err
36910 cat conftest.err
>&5
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); } && {
36913 test -z "$ac_cxx_werror_flag" ||
36914 test ! -s conftest.err
36915 } && test -s conftest.
$ac_objext; then
36917 wx_cv_type_sa_handler
=int
36920 echo "$as_me: failed program was:" >&5
36921 sed 's/^/| /' conftest.
$ac_ext >&5
36924 wx_cv_type_sa_handler
=void
36928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36930 ac_cpp
='$CPP $CPPFLAGS'
36931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36937 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36938 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36940 cat >>confdefs.h
<<_ACEOF
36941 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36947 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36948 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36949 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36950 if test "${wx_cv_func_backtrace+set}" = set; then
36951 echo $ECHO_N "(cached) $ECHO_C" >&6
36955 ac_cpp
='$CXXCPP $CPPFLAGS'
36956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36960 cat >conftest.
$ac_ext <<_ACEOF
36963 cat confdefs.h
>>conftest.
$ac_ext
36964 cat >>conftest.
$ac_ext <<_ACEOF
36965 /* end confdefs.h. */
36966 #include <execinfo.h>
36974 backtrace(trace, 1);
36975 messages = backtrace_symbols(trace, 1);
36981 rm -f conftest.
$ac_objext
36982 if { (ac_try
="$ac_compile"
36983 case "(($ac_try" in
36984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36985 *) ac_try_echo=$ac_try;;
36987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36988 (eval "$ac_compile") 2>conftest.er1
36990 grep -v '^ *+' conftest.er1 >conftest.err
36992 cat conftest.err >&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } && {
36995 test -z "$ac_cxx_werror_flag" ||
36996 test ! -s conftest.err
36997 } && test -s conftest.$ac_objext; then
36998 wx_cv_func_backtrace=yes
37000 echo "$as_me: failed program was:" >&5
37001 sed 's/^/| /' conftest.$ac_ext >&5
37003 wx_cv_func_backtrace=no
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37018 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37021 if test "$wx_cv_func_backtrace" = "no"; then
37022 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37023 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37024 wxUSE_STACKWALKER=no
37026 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37027 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37028 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 ac_cpp='$CXXCPP $CPPFLAGS'
37034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37038 cat >conftest.$ac_ext <<_ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 #include <cxxabi.h>
37050 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37056 rm -f conftest.$ac_objext conftest$ac_exeext
37057 if { (ac_try="$ac_link"
37058 case "(($ac_try" in
37059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37060 *) ac_try_echo
=$ac_try;;
37062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37063 (eval "$ac_link") 2>conftest.er1
37065 grep -v '^ *+' conftest.er1
>conftest.err
37067 cat conftest.err
>&5
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); } && {
37070 test -z "$ac_cxx_werror_flag" ||
37071 test ! -s conftest.err
37072 } && test -s conftest
$ac_exeext &&
37073 $as_test_x conftest
$ac_exeext; then
37074 wx_cv_func_cxa_demangle
=yes
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.
$ac_ext >&5
37079 wx_cv_func_cxa_demangle
=no
37083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37084 conftest
$ac_exeext conftest.
$ac_ext
37086 ac_cpp
='$CPP $CPPFLAGS'
37087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37094 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37095 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37097 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37098 cat >>confdefs.h
<<\_ACEOF
37099 #define HAVE_CXA_DEMANGLE 1
37106 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37107 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37108 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37109 wxUSE_STACKWALKER
=no
37115 for ac_func
in mkstemp mktemp
37117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37120 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37121 echo $ECHO_N "(cached) $ECHO_C" >&6
37123 cat >conftest.
$ac_ext <<_ACEOF
37126 cat confdefs.h
>>conftest.
$ac_ext
37127 cat >>conftest.
$ac_ext <<_ACEOF
37128 /* end confdefs.h. */
37129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37131 #define $ac_func innocuous_$ac_func
37133 /* System header to define __stub macros and hopefully few prototypes,
37134 which can conflict with char $ac_func (); below.
37135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37136 <limits.h> exists even on freestanding compilers. */
37139 # include <limits.h>
37141 # include <assert.h>
37146 /* Override any GCC internal prototype to avoid an error.
37147 Use char because int might match the return type of a GCC
37148 builtin and then its argument prototype would still apply. */
37153 /* The GNU C library defines this for functions which it implements
37154 to always fail with ENOSYS. Some functions are actually named
37155 something starting with __ and the normal name is an alias. */
37156 #if defined __stub_$ac_func || defined __stub___$ac_func
37163 return $ac_func ();
37168 rm -f conftest.
$ac_objext conftest
$ac_exeext
37169 if { (ac_try
="$ac_link"
37170 case "(($ac_try" in
37171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37172 *) ac_try_echo=$ac_try;;
37174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37175 (eval "$ac_link") 2>conftest.er1
37177 grep -v '^ *+' conftest.er1 >conftest.err
37179 cat conftest.err >&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); } && {
37182 test -z "$ac_c_werror_flag" ||
37183 test ! -s conftest.err
37184 } && test -s conftest$ac_exeext &&
37185 $as_test_x conftest$ac_exeext; then
37186 eval "$as_ac_var=yes"
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.$ac_ext >&5
37191 eval "$as_ac_var=no"
37194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37195 conftest$ac_exeext conftest.$ac_ext
37197 ac_res=`eval echo '${'$as_ac_var'}'`
37198 { echo "$as_me:$LINENO: result: $ac_res" >&5
37199 echo "${ECHO_T}$ac_res" >&6; }
37200 if test `eval echo '${'$as_ac_var'}'` = yes; then
37201 cat >>confdefs.h <<_ACEOF
37202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37209 { echo "$as_me:$LINENO: checking for statfs" >&5
37210 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37211 if test "${wx_cv_func_statfs+set}" = set; then
37212 echo $ECHO_N "(cached) $ECHO_C" >&6
37214 cat >conftest.$ac_ext <<_ACEOF
37217 cat confdefs.h >>conftest.$ac_ext
37218 cat >>conftest.$ac_ext <<_ACEOF
37219 /* end confdefs.h. */
37221 #if defined(__BSD__)
37222 #include <sys/param.h>
37223 #include <sys/mount.h>
37225 #include <sys/vfs.h>
37243 rm -f conftest.$ac_objext
37244 if { (ac_try="$ac_compile"
37245 case "(($ac_try" in
37246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37247 *) ac_try_echo
=$ac_try;;
37249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37250 (eval "$ac_compile") 2>conftest.er1
37252 grep -v '^ *+' conftest.er1
>conftest.err
37254 cat conftest.err
>&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } && {
37257 test -z "$ac_c_werror_flag" ||
37258 test ! -s conftest.err
37259 } && test -s conftest.
$ac_objext; then
37260 wx_cv_func_statfs
=yes
37262 echo "$as_me: failed program was:" >&5
37263 sed 's/^/| /' conftest.
$ac_ext >&5
37265 wx_cv_func_statfs
=no
37269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37272 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37273 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37275 if test "$wx_cv_func_statfs" = "yes"; then
37276 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37277 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37278 if test "${wx_cv_func_statfs_decl+set}" = set; then
37279 echo $ECHO_N "(cached) $ECHO_C" >&6
37282 ac_cpp
='$CXXCPP $CPPFLAGS'
37283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37287 cat >conftest.
$ac_ext <<_ACEOF
37290 cat confdefs.h
>>conftest.
$ac_ext
37291 cat >>conftest.
$ac_ext <<_ACEOF
37292 /* end confdefs.h. */
37294 #if defined(__BSD__)
37295 #include <sys/param.h>
37296 #include <sys/mount.h>
37298 #include <sys/vfs.h>
37312 rm -f conftest.
$ac_objext
37313 if { (ac_try
="$ac_compile"
37314 case "(($ac_try" in
37315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37316 *) ac_try_echo=$ac_try;;
37318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37319 (eval "$ac_compile") 2>conftest.er1
37321 grep -v '^ *+' conftest.er1 >conftest.err
37323 cat conftest.err >&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); } && {
37326 test -z "$ac_cxx_werror_flag" ||
37327 test ! -s conftest.err
37328 } && test -s conftest.$ac_objext; then
37329 wx_cv_func_statfs_decl=yes
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.$ac_ext >&5
37334 wx_cv_func_statfs_decl=no
37338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37340 ac_cpp='$CPP $CPPFLAGS'
37341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37347 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37348 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37350 if test "$wx_cv_func_statfs_decl" = "yes"; then
37351 cat >>confdefs.h <<\_ACEOF
37352 #define HAVE_STATFS_DECL 1
37357 wx_cv_type_statvfs_t="struct statfs"
37358 cat >>confdefs.h <<\_ACEOF
37359 #define HAVE_STATFS 1
37363 { echo "$as_me:$LINENO: checking for statvfs" >&5
37364 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37365 if test "${wx_cv_func_statvfs+set}" = set; then
37366 echo $ECHO_N "(cached) $ECHO_C" >&6
37368 cat >conftest.$ac_ext <<_ACEOF
37371 cat confdefs.h >>conftest.$ac_ext
37372 cat >>conftest.$ac_ext <<_ACEOF
37373 /* end confdefs.h. */
37375 #include <stddef.h>
37376 #include <sys/statvfs.h>
37382 statvfs("/", NULL);
37388 rm -f conftest.$ac_objext
37389 if { (ac_try="$ac_compile"
37390 case "(($ac_try" in
37391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37392 *) ac_try_echo
=$ac_try;;
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_compile") 2>conftest.er1
37397 grep -v '^ *+' conftest.er1
>conftest.err
37399 cat conftest.err
>&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); } && {
37402 test -z "$ac_c_werror_flag" ||
37403 test ! -s conftest.err
37404 } && test -s conftest.
$ac_objext; then
37405 wx_cv_func_statvfs
=yes
37407 echo "$as_me: failed program was:" >&5
37408 sed 's/^/| /' conftest.
$ac_ext >&5
37410 wx_cv_func_statvfs
=no
37414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37417 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37418 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37420 if test "$wx_cv_func_statvfs" = "yes"; then
37421 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37422 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37423 if test "${wx_cv_type_statvfs_t+set}" = set; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37427 ac_cpp
='$CXXCPP $CPPFLAGS'
37428 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37429 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37430 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37432 cat >conftest.
$ac_ext <<_ACEOF
37435 cat confdefs.h
>>conftest.
$ac_ext
37436 cat >>conftest.
$ac_ext <<_ACEOF
37437 /* end confdefs.h. */
37439 #include <sys/statvfs.h>
37456 rm -f conftest.
$ac_objext
37457 if { (ac_try
="$ac_compile"
37458 case "(($ac_try" in
37459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37460 *) ac_try_echo=$ac_try;;
37462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37463 (eval "$ac_compile") 2>conftest.er1
37465 grep -v '^ *+' conftest.er1 >conftest.err
37467 cat conftest.err >&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); } && {
37470 test -z "$ac_cxx_werror_flag" ||
37471 test ! -s conftest.err
37472 } && test -s conftest.$ac_objext; then
37473 wx_cv_type_statvfs_t=statvfs_t
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37479 cat >conftest.$ac_ext <<_ACEOF
37482 cat confdefs.h >>conftest.$ac_ext
37483 cat >>conftest.$ac_ext <<_ACEOF
37484 /* end confdefs.h. */
37486 #include <sys/statvfs.h>
37503 rm -f conftest.$ac_objext
37504 if { (ac_try="$ac_compile"
37505 case "(($ac_try" in
37506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37507 *) ac_try_echo
=$ac_try;;
37509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37510 (eval "$ac_compile") 2>conftest.er1
37512 grep -v '^ *+' conftest.er1
>conftest.err
37514 cat conftest.err
>&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); } && {
37517 test -z "$ac_cxx_werror_flag" ||
37518 test ! -s conftest.err
37519 } && test -s conftest.
$ac_objext; then
37520 wx_cv_type_statvfs_t
="struct statvfs"
37522 echo "$as_me: failed program was:" >&5
37523 sed 's/^/| /' conftest.
$ac_ext >&5
37525 wx_cv_type_statvfs_t
="unknown"
37529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37536 ac_cpp
='$CPP $CPPFLAGS'
37537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37543 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37544 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37546 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37547 cat >>confdefs.h
<<\_ACEOF
37548 #define HAVE_STATVFS 1
37553 wx_cv_type_statvfs_t
="unknown"
37557 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37558 cat >>confdefs.h
<<_ACEOF
37559 #define WX_STATFS_T $wx_cv_type_statvfs_t
37563 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37564 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37567 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37570 for ac_func
in fcntl flock
37572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37573 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37575 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37578 cat >conftest.
$ac_ext <<_ACEOF
37581 cat confdefs.h
>>conftest.
$ac_ext
37582 cat >>conftest.
$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37586 #define $ac_func innocuous_$ac_func
37588 /* System header to define __stub macros and hopefully few prototypes,
37589 which can conflict with char $ac_func (); below.
37590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37591 <limits.h> exists even on freestanding compilers. */
37594 # include <limits.h>
37596 # include <assert.h>
37601 /* Override any GCC internal prototype to avoid an error.
37602 Use char because int might match the return type of a GCC
37603 builtin and then its argument prototype would still apply. */
37608 /* The GNU C library defines this for functions which it implements
37609 to always fail with ENOSYS. Some functions are actually named
37610 something starting with __ and the normal name is an alias. */
37611 #if defined __stub_$ac_func || defined __stub___$ac_func
37618 return $ac_func ();
37623 rm -f conftest.
$ac_objext conftest
$ac_exeext
37624 if { (ac_try
="$ac_link"
37625 case "(($ac_try" in
37626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37627 *) ac_try_echo=$ac_try;;
37629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37630 (eval "$ac_link") 2>conftest.er1
37632 grep -v '^ *+' conftest.er1 >conftest.err
37634 cat conftest.err >&5
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); } && {
37637 test -z "$ac_c_werror_flag" ||
37638 test ! -s conftest.err
37639 } && test -s conftest$ac_exeext &&
37640 $as_test_x conftest$ac_exeext; then
37641 eval "$as_ac_var=yes"
37643 echo "$as_me: failed program was:" >&5
37644 sed 's/^/| /' conftest.$ac_ext >&5
37646 eval "$as_ac_var=no"
37649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37650 conftest$ac_exeext conftest.$ac_ext
37652 ac_res=`eval echo '${'$as_ac_var'}'`
37653 { echo "$as_me:$LINENO: result: $ac_res" >&5
37654 echo "${ECHO_T}$ac_res" >&6; }
37655 if test `eval echo '${'$as_ac_var'}'` = yes; then
37656 cat >>confdefs.h <<_ACEOF
37657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37664 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37665 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37666 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37667 wxUSE_SNGLINST_CHECKER=no
37673 for ac_func in setenv putenv
37675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37676 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37678 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 cat >conftest.$ac_ext <<_ACEOF
37684 cat confdefs.h >>conftest.$ac_ext
37685 cat >>conftest.$ac_ext <<_ACEOF
37686 /* end confdefs.h. */
37687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37689 #define $ac_func innocuous_$ac_func
37691 /* System header to define __stub macros and hopefully few prototypes,
37692 which can conflict with char $ac_func (); below.
37693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37694 <limits.h> exists even on freestanding compilers. */
37697 # include <limits.h>
37699 # include <assert.h>
37704 /* Override any GCC internal prototype to avoid an error.
37705 Use char because int might match the return type of a GCC
37706 builtin and then its argument prototype would still apply. */
37711 /* The GNU C library defines this for functions which it implements
37712 to always fail with ENOSYS. Some functions are actually named
37713 something starting with __ and the normal name is an alias. */
37714 #if defined __stub_$ac_func || defined __stub___$ac_func
37721 return $ac_func ();
37726 rm -f conftest.$ac_objext conftest$ac_exeext
37727 if { (ac_try="$ac_link"
37728 case "(($ac_try" in
37729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37730 *) ac_try_echo
=$ac_try;;
37732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37733 (eval "$ac_link") 2>conftest.er1
37735 grep -v '^ *+' conftest.er1
>conftest.err
37737 cat conftest.err
>&5
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); } && {
37740 test -z "$ac_c_werror_flag" ||
37741 test ! -s conftest.err
37742 } && test -s conftest
$ac_exeext &&
37743 $as_test_x conftest
$ac_exeext; then
37744 eval "$as_ac_var=yes"
37746 echo "$as_me: failed program was:" >&5
37747 sed 's/^/| /' conftest.
$ac_ext >&5
37749 eval "$as_ac_var=no"
37752 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37753 conftest
$ac_exeext conftest.
$ac_ext
37755 ac_res
=`eval echo '${'$as_ac_var'}'`
37756 { echo "$as_me:$LINENO: result: $ac_res" >&5
37757 echo "${ECHO_T}$ac_res" >&6; }
37758 if test `eval echo '${'$as_ac_var'}'` = yes; then
37759 cat >>confdefs.h
<<_ACEOF
37760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37766 if test "$ac_cv_func_setenv" = "yes"; then
37768 for ac_func
in unsetenv
37770 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37773 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 cat >conftest.
$ac_ext <<_ACEOF
37779 cat confdefs.h
>>conftest.
$ac_ext
37780 cat >>conftest.
$ac_ext <<_ACEOF
37781 /* end confdefs.h. */
37782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37784 #define $ac_func innocuous_$ac_func
37786 /* System header to define __stub macros and hopefully few prototypes,
37787 which can conflict with char $ac_func (); below.
37788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37789 <limits.h> exists even on freestanding compilers. */
37792 # include <limits.h>
37794 # include <assert.h>
37799 /* Override any GCC internal prototype to avoid an error.
37800 Use char because int might match the return type of a GCC
37801 builtin and then its argument prototype would still apply. */
37806 /* The GNU C library defines this for functions which it implements
37807 to always fail with ENOSYS. Some functions are actually named
37808 something starting with __ and the normal name is an alias. */
37809 #if defined __stub_$ac_func || defined __stub___$ac_func
37816 return $ac_func ();
37821 rm -f conftest.
$ac_objext conftest
$ac_exeext
37822 if { (ac_try
="$ac_link"
37823 case "(($ac_try" in
37824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37825 *) ac_try_echo=$ac_try;;
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_link") 2>conftest.er1
37830 grep -v '^ *+' conftest.er1 >conftest.err
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest$ac_exeext &&
37838 $as_test_x conftest$ac_exeext; then
37839 eval "$as_ac_var=yes"
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37844 eval "$as_ac_var=no"
37847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37848 conftest$ac_exeext conftest.$ac_ext
37850 ac_res=`eval echo '${'$as_ac_var'}'`
37851 { echo "$as_me:$LINENO: result: $ac_res" >&5
37852 echo "${ECHO_T}$ac_res" >&6; }
37853 if test `eval echo '${'$as_ac_var'}'` = yes; then
37854 cat >>confdefs.h <<_ACEOF
37855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37863 HAVE_SOME_SLEEP_FUNC=0
37864 if test "$USE_BEOS" = 1; then
37865 cat >>confdefs.h <<\_ACEOF
37866 #define HAVE_SLEEP 1
37869 HAVE_SOME_SLEEP_FUNC=1
37872 if test "$USE_DARWIN" = 1; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE_USLEEP 1
37877 HAVE_SOME_SLEEP_FUNC=1
37880 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37883 for ac_func in nanosleep
37885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37889 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 cat >conftest.$ac_ext <<_ACEOF
37894 cat confdefs.h >>conftest.$ac_ext
37895 cat >>conftest.$ac_ext <<_ACEOF
37896 /* end confdefs.h. */
37897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37899 #define $ac_func innocuous_$ac_func
37901 /* System header to define __stub macros and hopefully few prototypes,
37902 which can conflict with char $ac_func (); below.
37903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37904 <limits.h> exists even on freestanding compilers. */
37907 # include <limits.h>
37909 # include <assert.h>
37914 /* Override any GCC internal prototype to avoid an error.
37915 Use char because int might match the return type of a GCC
37916 builtin and then its argument prototype would still apply. */
37921 /* The GNU C library defines this for functions which it implements
37922 to always fail with ENOSYS. Some functions are actually named
37923 something starting with __ and the normal name is an alias. */
37924 #if defined __stub_$ac_func || defined __stub___$ac_func
37931 return $ac_func ();
37936 rm -f conftest.$ac_objext conftest$ac_exeext
37937 if { (ac_try="$ac_link"
37938 case "(($ac_try" in
37939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37940 *) ac_try_echo
=$ac_try;;
37942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37943 (eval "$ac_link") 2>conftest.er1
37945 grep -v '^ *+' conftest.er1
>conftest.err
37947 cat conftest.err
>&5
37948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37949 (exit $ac_status); } && {
37950 test -z "$ac_c_werror_flag" ||
37951 test ! -s conftest.err
37952 } && test -s conftest
$ac_exeext &&
37953 $as_test_x conftest
$ac_exeext; then
37954 eval "$as_ac_var=yes"
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.
$ac_ext >&5
37959 eval "$as_ac_var=no"
37962 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37963 conftest
$ac_exeext conftest.
$ac_ext
37965 ac_res
=`eval echo '${'$as_ac_var'}'`
37966 { echo "$as_me:$LINENO: result: $ac_res" >&5
37967 echo "${ECHO_T}$ac_res" >&6; }
37968 if test `eval echo '${'$as_ac_var'}'` = yes; then
37969 cat >>confdefs.h
<<_ACEOF
37970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37972 cat >>confdefs.h
<<\_ACEOF
37973 #define HAVE_NANOSLEEP 1
37978 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37979 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37980 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37981 echo $ECHO_N "(cached) $ECHO_C" >&6
37983 ac_check_lib_save_LIBS
=$LIBS
37984 LIBS
="-lposix4 $LIBS"
37985 cat >conftest.
$ac_ext <<_ACEOF
37988 cat confdefs.h
>>conftest.
$ac_ext
37989 cat >>conftest.
$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37992 /* Override any GCC internal prototype to avoid an error.
37993 Use char because int might match the return type of a GCC
37994 builtin and then its argument prototype would still apply. */
38002 return nanosleep ();
38007 rm -f conftest.
$ac_objext conftest
$ac_exeext
38008 if { (ac_try
="$ac_link"
38009 case "(($ac_try" in
38010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38011 *) ac_try_echo=$ac_try;;
38013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38014 (eval "$ac_link") 2>conftest.er1
38016 grep -v '^ *+' conftest.er1 >conftest.err
38018 cat conftest.err >&5
38019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020 (exit $ac_status); } && {
38021 test -z "$ac_c_werror_flag" ||
38022 test ! -s conftest.err
38023 } && test -s conftest$ac_exeext &&
38024 $as_test_x conftest$ac_exeext; then
38025 ac_cv_lib_posix4_nanosleep=yes
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38030 ac_cv_lib_posix4_nanosleep=no
38033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38034 conftest$ac_exeext conftest.$ac_ext
38035 LIBS=$ac_check_lib_save_LIBS
38037 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38038 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38039 if test $ac_cv_lib_posix4_nanosleep = yes; then
38041 cat >>confdefs.h <<\_ACEOF
38042 #define HAVE_NANOSLEEP 1
38045 POSIX4_LINK=" -lposix4"
38050 for wx_func in usleep
38052 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38053 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38054 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38055 echo $ECHO_N "(cached) $ECHO_C" >&6
38058 cat >conftest.$ac_ext <<_ACEOF
38062 cat confdefs.h >>conftest.$ac_ext
38063 cat >>conftest.$ac_ext <<_ACEOF
38064 /* end confdefs.h. */
38067 $ac_includes_default
38083 rm -f conftest.$ac_objext conftest$ac_exeext
38084 if { (ac_try="$ac_link"
38085 case "(($ac_try" in
38086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38087 *) ac_try_echo
=$ac_try;;
38089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38090 (eval "$ac_link") 2>conftest.er1
38092 grep -v '^ *+' conftest.er1
>conftest.err
38094 cat conftest.err
>&5
38095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096 (exit $ac_status); } && {
38097 test -z "$ac_c_werror_flag" ||
38098 test ! -s conftest.err
38099 } && test -s conftest
$ac_exeext &&
38100 $as_test_x conftest
$ac_exeext; then
38101 eval wx_cv_func_
$wx_func=yes
38103 echo "$as_me: failed program was:" >&5
38104 sed 's/^/| /' conftest.
$ac_ext >&5
38106 eval wx_cv_func_
$wx_func=no
38109 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38110 conftest
$ac_exeext conftest.
$ac_ext
38113 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38114 { echo "$as_me:$LINENO: result: $ac_res" >&5
38115 echo "${ECHO_T}$ac_res" >&6; }
38117 if eval test \
$wx_cv_func_$wx_func = yes
38119 cat >>confdefs.h
<<_ACEOF
38120 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38126 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38127 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38144 for wx_func
in uname
38146 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38147 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38148 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 cat >conftest.
$ac_ext <<_ACEOF
38156 cat confdefs.h
>>conftest.
$ac_ext
38157 cat >>conftest.
$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38160 #include <sys/utsname.h>
38161 $ac_includes_default
38177 rm -f conftest.
$ac_objext conftest
$ac_exeext
38178 if { (ac_try
="$ac_link"
38179 case "(($ac_try" in
38180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38181 *) ac_try_echo=$ac_try;;
38183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38184 (eval "$ac_link") 2>conftest.er1
38186 grep -v '^ *+' conftest.er1 >conftest.err
38188 cat conftest.err >&5
38189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38190 (exit $ac_status); } && {
38191 test -z "$ac_c_werror_flag" ||
38192 test ! -s conftest.err
38193 } && test -s conftest$ac_exeext &&
38194 $as_test_x conftest$ac_exeext; then
38195 eval wx_cv_func_$wx_func=yes
38197 echo "$as_me: failed program was:" >&5
38198 sed 's/^/| /' conftest.$ac_ext >&5
38200 eval wx_cv_func_$wx_func=no
38203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38204 conftest$ac_exeext conftest.$ac_ext
38207 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38208 { echo "$as_me:$LINENO: result: $ac_res" >&5
38209 echo "${ECHO_T}$ac_res" >&6; }
38211 if eval test \$wx_cv_func_$wx_func = yes
38213 cat >>confdefs.h <<_ACEOF
38214 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38224 if test "$wx_cv_func_uname" != yes; then
38226 for wx_func in gethostname
38228 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38229 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38230 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38231 echo $ECHO_N "(cached) $ECHO_C" >&6
38234 cat >conftest.$ac_ext <<_ACEOF
38238 cat confdefs.h >>conftest.$ac_ext
38239 cat >>conftest.$ac_ext <<_ACEOF
38240 /* end confdefs.h. */
38243 $ac_includes_default
38259 rm -f conftest.$ac_objext conftest$ac_exeext
38260 if { (ac_try="$ac_link"
38261 case "(($ac_try" in
38262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38263 *) ac_try_echo
=$ac_try;;
38265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38266 (eval "$ac_link") 2>conftest.er1
38268 grep -v '^ *+' conftest.er1
>conftest.err
38270 cat conftest.err
>&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); } && {
38273 test -z "$ac_c_werror_flag" ||
38274 test ! -s conftest.err
38275 } && test -s conftest
$ac_exeext &&
38276 $as_test_x conftest
$ac_exeext; then
38277 eval wx_cv_func_
$wx_func=yes
38279 echo "$as_me: failed program was:" >&5
38280 sed 's/^/| /' conftest.
$ac_ext >&5
38282 eval wx_cv_func_
$wx_func=no
38285 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38286 conftest
$ac_exeext conftest.
$ac_ext
38289 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38290 { echo "$as_me:$LINENO: result: $ac_res" >&5
38291 echo "${ECHO_T}$ac_res" >&6; }
38293 if eval test \
$wx_cv_func_$wx_func = yes
38295 cat >>confdefs.h
<<_ACEOF
38296 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38309 for wx_func
in strtok_r
38311 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38312 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38313 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38314 echo $ECHO_N "(cached) $ECHO_C" >&6
38317 cat >conftest.
$ac_ext <<_ACEOF
38321 cat confdefs.h
>>conftest.
$ac_ext
38322 cat >>conftest.
$ac_ext <<_ACEOF
38323 /* end confdefs.h. */
38326 $ac_includes_default
38342 rm -f conftest.
$ac_objext conftest
$ac_exeext
38343 if { (ac_try
="$ac_link"
38344 case "(($ac_try" in
38345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38346 *) ac_try_echo=$ac_try;;
38348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38349 (eval "$ac_link") 2>conftest.er1
38351 grep -v '^ *+' conftest.er1 >conftest.err
38353 cat conftest.err >&5
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); } && {
38356 test -z "$ac_c_werror_flag" ||
38357 test ! -s conftest.err
38358 } && test -s conftest$ac_exeext &&
38359 $as_test_x conftest$ac_exeext; then
38360 eval wx_cv_func_$wx_func=yes
38362 echo "$as_me: failed program was:" >&5
38363 sed 's/^/| /' conftest.$ac_ext >&5
38365 eval wx_cv_func_$wx_func=no
38368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38369 conftest$ac_exeext conftest.$ac_ext
38372 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38373 { echo "$as_me:$LINENO: result: $ac_res" >&5
38374 echo "${ECHO_T}$ac_res" >&6; }
38376 if eval test \$wx_cv_func_$wx_func = yes
38378 cat >>confdefs.h <<_ACEOF
38379 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38392 for ac_func in inet_addr
38394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38398 echo $ECHO_N "(cached) $ECHO_C" >&6
38400 cat >conftest.$ac_ext <<_ACEOF
38403 cat confdefs.h >>conftest.$ac_ext
38404 cat >>conftest.$ac_ext <<_ACEOF
38405 /* end confdefs.h. */
38406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38408 #define $ac_func innocuous_$ac_func
38410 /* System header to define __stub macros and hopefully few prototypes,
38411 which can conflict with char $ac_func (); below.
38412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38413 <limits.h> exists even on freestanding compilers. */
38416 # include <limits.h>
38418 # include <assert.h>
38423 /* Override any GCC internal prototype to avoid an error.
38424 Use char because int might match the return type of a GCC
38425 builtin and then its argument prototype would still apply. */
38430 /* The GNU C library defines this for functions which it implements
38431 to always fail with ENOSYS. Some functions are actually named
38432 something starting with __ and the normal name is an alias. */
38433 #if defined __stub_$ac_func || defined __stub___$ac_func
38440 return $ac_func ();
38445 rm -f conftest.$ac_objext conftest$ac_exeext
38446 if { (ac_try="$ac_link"
38447 case "(($ac_try" in
38448 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38449 *) ac_try_echo
=$ac_try;;
38451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38452 (eval "$ac_link") 2>conftest.er1
38454 grep -v '^ *+' conftest.er1
>conftest.err
38456 cat conftest.err
>&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); } && {
38459 test -z "$ac_c_werror_flag" ||
38460 test ! -s conftest.err
38461 } && test -s conftest
$ac_exeext &&
38462 $as_test_x conftest
$ac_exeext; then
38463 eval "$as_ac_var=yes"
38465 echo "$as_me: failed program was:" >&5
38466 sed 's/^/| /' conftest.
$ac_ext >&5
38468 eval "$as_ac_var=no"
38471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38472 conftest
$ac_exeext conftest.
$ac_ext
38474 ac_res
=`eval echo '${'$as_ac_var'}'`
38475 { echo "$as_me:$LINENO: result: $ac_res" >&5
38476 echo "${ECHO_T}$ac_res" >&6; }
38477 if test `eval echo '${'$as_ac_var'}'` = yes; then
38478 cat >>confdefs.h
<<_ACEOF
38479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38481 cat >>confdefs.h
<<\_ACEOF
38482 #define HAVE_INET_ADDR 1
38487 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38488 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38489 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38490 echo $ECHO_N "(cached) $ECHO_C" >&6
38492 ac_check_lib_save_LIBS
=$LIBS
38494 cat >conftest.
$ac_ext <<_ACEOF
38497 cat confdefs.h
>>conftest.
$ac_ext
38498 cat >>conftest.
$ac_ext <<_ACEOF
38499 /* end confdefs.h. */
38501 /* Override any GCC internal prototype to avoid an error.
38502 Use char because int might match the return type of a GCC
38503 builtin and then its argument prototype would still apply. */
38511 return inet_addr ();
38516 rm -f conftest.
$ac_objext conftest
$ac_exeext
38517 if { (ac_try
="$ac_link"
38518 case "(($ac_try" in
38519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38520 *) ac_try_echo=$ac_try;;
38522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38523 (eval "$ac_link") 2>conftest.er1
38525 grep -v '^ *+' conftest.er1 >conftest.err
38527 cat conftest.err >&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); } && {
38530 test -z "$ac_c_werror_flag" ||
38531 test ! -s conftest.err
38532 } && test -s conftest$ac_exeext &&
38533 $as_test_x conftest$ac_exeext; then
38534 ac_cv_lib_nsl_inet_addr=yes
38536 echo "$as_me: failed program was:" >&5
38537 sed 's/^/| /' conftest.$ac_ext >&5
38539 ac_cv_lib_nsl_inet_addr=no
38542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38543 conftest$ac_exeext conftest.$ac_ext
38544 LIBS=$ac_check_lib_save_LIBS
38546 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38547 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38548 if test $ac_cv_lib_nsl_inet_addr = yes; then
38552 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38553 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38554 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38555 echo $ECHO_N "(cached) $ECHO_C" >&6
38557 ac_check_lib_save_LIBS=$LIBS
38558 LIBS="-lresolv $LIBS"
38559 cat >conftest.$ac_ext <<_ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38566 /* Override any GCC internal prototype to avoid an error.
38567 Use char because int might match the return type of a GCC
38568 builtin and then its argument prototype would still apply. */
38576 return inet_addr ();
38581 rm -f conftest.$ac_objext conftest$ac_exeext
38582 if { (ac_try="$ac_link"
38583 case "(($ac_try" in
38584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38585 *) ac_try_echo
=$ac_try;;
38587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38588 (eval "$ac_link") 2>conftest.er1
38590 grep -v '^ *+' conftest.er1
>conftest.err
38592 cat conftest.err
>&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); } && {
38595 test -z "$ac_c_werror_flag" ||
38596 test ! -s conftest.err
38597 } && test -s conftest
$ac_exeext &&
38598 $as_test_x conftest
$ac_exeext; then
38599 ac_cv_lib_resolv_inet_addr
=yes
38601 echo "$as_me: failed program was:" >&5
38602 sed 's/^/| /' conftest.
$ac_ext >&5
38604 ac_cv_lib_resolv_inet_addr
=no
38607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38608 conftest
$ac_exeext conftest.
$ac_ext
38609 LIBS
=$ac_check_lib_save_LIBS
38611 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38612 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38613 if test $ac_cv_lib_resolv_inet_addr = yes; then
38617 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38618 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38619 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38620 echo $ECHO_N "(cached) $ECHO_C" >&6
38622 ac_check_lib_save_LIBS
=$LIBS
38623 LIBS
="-lsocket $LIBS"
38624 cat >conftest.
$ac_ext <<_ACEOF
38627 cat confdefs.h
>>conftest.
$ac_ext
38628 cat >>conftest.
$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38631 /* Override any GCC internal prototype to avoid an error.
38632 Use char because int might match the return type of a GCC
38633 builtin and then its argument prototype would still apply. */
38641 return inet_addr ();
38646 rm -f conftest.
$ac_objext conftest
$ac_exeext
38647 if { (ac_try
="$ac_link"
38648 case "(($ac_try" in
38649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38650 *) ac_try_echo=$ac_try;;
38652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38653 (eval "$ac_link") 2>conftest.er1
38655 grep -v '^ *+' conftest.er1 >conftest.err
38657 cat conftest.err >&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); } && {
38660 test -z "$ac_c_werror_flag" ||
38661 test ! -s conftest.err
38662 } && test -s conftest$ac_exeext &&
38663 $as_test_x conftest$ac_exeext; then
38664 ac_cv_lib_socket_inet_addr=yes
38666 echo "$as_me: failed program was:" >&5
38667 sed 's/^/| /' conftest.$ac_ext >&5
38669 ac_cv_lib_socket_inet_addr=no
38672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38673 conftest$ac_exeext conftest.$ac_ext
38674 LIBS=$ac_check_lib_save_LIBS
38676 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38677 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38678 if test $ac_cv_lib_socket_inet_addr = yes; then
38698 for ac_func in inet_aton
38700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38701 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38703 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38704 echo $ECHO_N "(cached) $ECHO_C" >&6
38706 cat >conftest.$ac_ext <<_ACEOF
38709 cat confdefs.h >>conftest.$ac_ext
38710 cat >>conftest.$ac_ext <<_ACEOF
38711 /* end confdefs.h. */
38712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38714 #define $ac_func innocuous_$ac_func
38716 /* System header to define __stub macros and hopefully few prototypes,
38717 which can conflict with char $ac_func (); below.
38718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38719 <limits.h> exists even on freestanding compilers. */
38722 # include <limits.h>
38724 # include <assert.h>
38729 /* Override any GCC internal prototype to avoid an error.
38730 Use char because int might match the return type of a GCC
38731 builtin and then its argument prototype would still apply. */
38736 /* The GNU C library defines this for functions which it implements
38737 to always fail with ENOSYS. Some functions are actually named
38738 something starting with __ and the normal name is an alias. */
38739 #if defined __stub_$ac_func || defined __stub___$ac_func
38746 return $ac_func ();
38751 rm -f conftest.$ac_objext conftest$ac_exeext
38752 if { (ac_try="$ac_link"
38753 case "(($ac_try" in
38754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38755 *) ac_try_echo
=$ac_try;;
38757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38758 (eval "$ac_link") 2>conftest.er1
38760 grep -v '^ *+' conftest.er1
>conftest.err
38762 cat conftest.err
>&5
38763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764 (exit $ac_status); } && {
38765 test -z "$ac_c_werror_flag" ||
38766 test ! -s conftest.err
38767 } && test -s conftest
$ac_exeext &&
38768 $as_test_x conftest
$ac_exeext; then
38769 eval "$as_ac_var=yes"
38771 echo "$as_me: failed program was:" >&5
38772 sed 's/^/| /' conftest.
$ac_ext >&5
38774 eval "$as_ac_var=no"
38777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38778 conftest
$ac_exeext conftest.
$ac_ext
38780 ac_res
=`eval echo '${'$as_ac_var'}'`
38781 { echo "$as_me:$LINENO: result: $ac_res" >&5
38782 echo "${ECHO_T}$ac_res" >&6; }
38783 if test `eval echo '${'$as_ac_var'}'` = yes; then
38784 cat >>confdefs.h
<<_ACEOF
38785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38787 cat >>confdefs.h
<<\_ACEOF
38788 #define HAVE_INET_ATON 1
38793 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38794 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38795 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38796 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38799 ac_check_lib_save_LIBS
=$LIBS
38800 LIBS
="-l$INET_LINK $LIBS"
38801 cat >conftest.
$ac_ext <<_ACEOF
38804 cat confdefs.h
>>conftest.
$ac_ext
38805 cat >>conftest.
$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38808 /* Override any GCC internal prototype to avoid an error.
38809 Use char because int might match the return type of a GCC
38810 builtin and then its argument prototype would still apply. */
38818 return inet_aton ();
38823 rm -f conftest.
$ac_objext conftest
$ac_exeext
38824 if { (ac_try
="$ac_link"
38825 case "(($ac_try" in
38826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38827 *) ac_try_echo=$ac_try;;
38829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38830 (eval "$ac_link") 2>conftest.er1
38832 grep -v '^ *+' conftest.er1 >conftest.err
38834 cat conftest.err >&5
38835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836 (exit $ac_status); } && {
38837 test -z "$ac_c_werror_flag" ||
38838 test ! -s conftest.err
38839 } && test -s conftest$ac_exeext &&
38840 $as_test_x conftest$ac_exeext; then
38841 eval "$as_ac_Lib=yes"
38843 echo "$as_me: failed program was:" >&5
38844 sed 's/^/| /' conftest.$ac_ext >&5
38846 eval "$as_ac_Lib=no"
38849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38850 conftest$ac_exeext conftest.$ac_ext
38851 LIBS=$ac_check_lib_save_LIBS
38853 ac_res=`eval echo '${'$as_ac_Lib'}'`
38854 { echo "$as_me:$LINENO: result: $ac_res" >&5
38855 echo "${ECHO_T}$ac_res" >&6; }
38856 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38857 cat >>confdefs.h <<\_ACEOF
38858 #define HAVE_INET_ATON 1
38868 if test "x$INET_LINK" != "x"; then
38869 cat >>confdefs.h <<\_ACEOF
38870 #define HAVE_INET_ADDR 1
38873 INET_LINK=" -l$INET_LINK"
38877 for wx_func in fdopen
38879 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38880 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38881 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38882 echo $ECHO_N "(cached) $ECHO_C" >&6
38885 cat >conftest.$ac_ext <<_ACEOF
38889 cat confdefs.h >>conftest.$ac_ext
38890 cat >>conftest.$ac_ext <<_ACEOF
38891 /* end confdefs.h. */
38894 $ac_includes_default
38910 rm -f conftest.$ac_objext conftest$ac_exeext
38911 if { (ac_try="$ac_link"
38912 case "(($ac_try" in
38913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38914 *) ac_try_echo
=$ac_try;;
38916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38917 (eval "$ac_link") 2>conftest.er1
38919 grep -v '^ *+' conftest.er1
>conftest.err
38921 cat conftest.err
>&5
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); } && {
38924 test -z "$ac_c_werror_flag" ||
38925 test ! -s conftest.err
38926 } && test -s conftest
$ac_exeext &&
38927 $as_test_x conftest
$ac_exeext; then
38928 eval wx_cv_func_
$wx_func=yes
38930 echo "$as_me: failed program was:" >&5
38931 sed 's/^/| /' conftest.
$ac_ext >&5
38933 eval wx_cv_func_
$wx_func=no
38936 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38937 conftest
$ac_exeext conftest.
$ac_ext
38940 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38941 { echo "$as_me:$LINENO: result: $ac_res" >&5
38942 echo "${ECHO_T}$ac_res" >&6; }
38944 if eval test \
$wx_cv_func_$wx_func = yes
38946 cat >>confdefs.h
<<_ACEOF
38947 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38958 if test "$wxUSE_TARSTREAM" = "yes"; then
38960 for wx_func
in sysconf
38962 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38963 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38964 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38965 echo $ECHO_N "(cached) $ECHO_C" >&6
38968 cat >conftest.
$ac_ext <<_ACEOF
38972 cat confdefs.h
>>conftest.
$ac_ext
38973 cat >>conftest.
$ac_ext <<_ACEOF
38974 /* end confdefs.h. */
38977 $ac_includes_default
38993 rm -f conftest.
$ac_objext conftest
$ac_exeext
38994 if { (ac_try
="$ac_link"
38995 case "(($ac_try" in
38996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38997 *) ac_try_echo=$ac_try;;
38999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39000 (eval "$ac_link") 2>conftest.er1
39002 grep -v '^ *+' conftest.er1 >conftest.err
39004 cat conftest.err >&5
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); } && {
39007 test -z "$ac_c_werror_flag" ||
39008 test ! -s conftest.err
39009 } && test -s conftest$ac_exeext &&
39010 $as_test_x conftest$ac_exeext; then
39011 eval wx_cv_func_$wx_func=yes
39013 echo "$as_me: failed program was:" >&5
39014 sed 's/^/| /' conftest.$ac_ext >&5
39016 eval wx_cv_func_$wx_func=no
39019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39020 conftest$ac_exeext conftest.$ac_ext
39023 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39024 { echo "$as_me:$LINENO: result: $ac_res" >&5
39025 echo "${ECHO_T}$ac_res" >&6; }
39027 if eval test \$wx_cv_func_$wx_func = yes
39029 cat >>confdefs.h <<_ACEOF
39030 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39042 for wx_func in getpwuid_r
39044 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39045 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39046 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39047 echo $ECHO_N "(cached) $ECHO_C" >&6
39050 cat >conftest.$ac_ext <<_ACEOF
39054 cat confdefs.h >>conftest.$ac_ext
39055 cat >>conftest.$ac_ext <<_ACEOF
39056 /* end confdefs.h. */
39062 $ac_includes_default
39072 struct passwd pw, *ppw;
39074 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39082 rm -f conftest.$ac_objext conftest$ac_exeext
39083 if { (ac_try="$ac_link"
39084 case "(($ac_try" in
39085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39086 *) ac_try_echo
=$ac_try;;
39088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39089 (eval "$ac_link") 2>conftest.er1
39091 grep -v '^ *+' conftest.er1
>conftest.err
39093 cat conftest.err
>&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } && {
39096 test -z "$ac_c_werror_flag" ||
39097 test ! -s conftest.err
39098 } && test -s conftest
$ac_exeext &&
39099 $as_test_x conftest
$ac_exeext; then
39100 eval wx_cv_func_
$wx_func=yes
39102 echo "$as_me: failed program was:" >&5
39103 sed 's/^/| /' conftest.
$ac_ext >&5
39105 eval wx_cv_func_
$wx_func=no
39108 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39109 conftest
$ac_exeext conftest.
$ac_ext
39112 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39113 { echo "$as_me:$LINENO: result: $ac_res" >&5
39114 echo "${ECHO_T}$ac_res" >&6; }
39116 if eval test \
$wx_cv_func_$wx_func = yes
39118 cat >>confdefs.h
<<_ACEOF
39119 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39131 for wx_func
in getgrgid_r
39133 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39134 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39135 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 cat >conftest.
$ac_ext <<_ACEOF
39143 cat confdefs.h
>>conftest.
$ac_ext
39144 cat >>conftest.
$ac_ext <<_ACEOF
39145 /* end confdefs.h. */
39151 $ac_includes_default
39161 struct group grp, *pgrp;
39163 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39171 rm -f conftest.
$ac_objext conftest
$ac_exeext
39172 if { (ac_try
="$ac_link"
39173 case "(($ac_try" in
39174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39175 *) ac_try_echo=$ac_try;;
39177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39178 (eval "$ac_link") 2>conftest.er1
39180 grep -v '^ *+' conftest.er1 >conftest.err
39182 cat conftest.err >&5
39183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184 (exit $ac_status); } && {
39185 test -z "$ac_c_werror_flag" ||
39186 test ! -s conftest.err
39187 } && test -s conftest$ac_exeext &&
39188 $as_test_x conftest$ac_exeext; then
39189 eval wx_cv_func_$wx_func=yes
39191 echo "$as_me: failed program was:" >&5
39192 sed 's/^/| /' conftest.$ac_ext >&5
39194 eval wx_cv_func_$wx_func=no
39197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39198 conftest$ac_exeext conftest.$ac_ext
39201 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39202 { echo "$as_me:$LINENO: result: $ac_res" >&5
39203 echo "${ECHO_T}$ac_res" >&6; }
39205 if eval test \$wx_cv_func_$wx_func = yes
39207 cat >>confdefs.h <<_ACEOF
39208 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39224 cat >confcache <<\_ACEOF
39225 # This file is a shell script that caches the results of configure
39226 # tests run on this system so they can be shared between configure
39227 # scripts and configure runs, see configure's option --config-cache.
39228 # It is not useful on other systems. If it contains results you don't
39229 # want to keep, you may remove or edit it.
39231 # config.status only pays attention to the cache file if you give it
39232 # the --recheck option to rerun configure.
39234 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39236 # following values.
39240 # The following way of writing the cache mishandles newlines in values,
39241 # but we know of no workaround that is simple, portable, and efficient.
39242 # So, we kill variables containing newlines.
39243 # Ultrix sh set writes to stderr and can't be redirected directly,
39244 # and sets the high bit in the cache file unless we assign to the vars.
39246 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39247 eval ac_val
=\$
$ac_var
39251 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39252 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39255 _
| IFS
| as_nl
) ;; #(
39256 *) $as_unset $ac_var ;;
39262 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39263 *${as_nl}ac_space
=\
*)
39264 # `set' does not quote correctly, so add quotes (double-quote
39265 # substitution turns \\\\ into \\, and sed turns \\ into \).
39268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39271 # `set' quotes correctly as required by POSIX, so do not add quotes.
39272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39283 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39285 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39286 if test -w "$cache_file"; then
39287 test "x$cache_file" != "x/dev/null" &&
39288 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39289 echo "$as_me: updating cache $cache_file" >&6;}
39290 cat confcache
>$cache_file
39292 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39293 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39299 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39305 if test "$wxUSE_THREADS" = "yes" ; then
39306 if test "$USE_BEOS" = 1; then
39307 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39308 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39313 if test "$wxUSE_THREADS" = "yes" ; then
39316 THREAD_OPTS
="-pthread"
39317 if test "x$SUNCXX" = xyes
; then
39318 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39322 *-*-solaris2* | *-*-sunos4* )
39323 if test "x$GCC" = "xyes"; then
39324 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39328 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39330 *-*-darwin* | *-*-cygwin* )
39334 THREAD_OPTS
="pthreads"
39337 if test "x$GCC" = "xyes"; then
39338 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39346 if test "x$GCC" = "xyes"; then
39352 if test "x$GCC" != "xyes"; then
39353 THREAD_OPTS
="-Ethread"
39358 THREAD_OPTS
="$THREAD_OPTS pthread none"
39361 for flag
in $THREAD_OPTS; do
39364 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39365 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39369 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39370 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39371 THREADS_CFLAGS
="$flag"
39375 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39376 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39377 THREADS_LINK
="-l$flag"
39382 save_CFLAGS
="$CFLAGS"
39383 LIBS
="$THREADS_LINK $LIBS"
39384 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39386 cat >conftest.
$ac_ext <<_ACEOF
39389 cat confdefs.h
>>conftest.
$ac_ext
39390 cat >>conftest.
$ac_ext <<_ACEOF
39391 /* end confdefs.h. */
39392 #include <pthread.h>
39396 pthread_create(0,0,0,0);
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
39421 echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.$ac_ext >&5
39427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39428 conftest$ac_exeext conftest.$ac_ext
39431 CFLAGS="$save_CFLAGS"
39433 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39434 echo "${ECHO_T}$THREADS_OK" >&6; }
39435 if test "x$THREADS_OK" = "xyes"; then
39443 if test "x$THREADS_OK" != "xyes"; then
39445 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39446 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39448 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39449 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39450 LIBS="$THREADS_LINK $LIBS"
39452 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39453 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39457 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39458 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39459 flag="-D_THREAD_SAFE"
39462 flag="-D_THREAD_SAFE"
39465 flag="-D_REENTRANT"
39466 if test "x$GCC" != "xyes"; then
39467 flag="$flag -D_RWSTD_MULTI_THREAD"
39470 *solaris* | alpha*-osf*)
39471 flag="-D_REENTRANT"
39474 { echo "$as_me:$LINENO: result: ${flag}" >&5
39475 echo "${ECHO_T}${flag}" >&6; }
39476 if test "x$flag" != xno; then
39477 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39480 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39484 if test "$wxUSE_THREADS" = "yes" ; then
39486 for ac_func in thr_setconcurrency
39488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39492 echo $ECHO_N "(cached) $ECHO_C" >&6
39494 cat >conftest.$ac_ext <<_ACEOF
39497 cat confdefs.h >>conftest.$ac_ext
39498 cat >>conftest.$ac_ext <<_ACEOF
39499 /* end confdefs.h. */
39500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39502 #define $ac_func innocuous_$ac_func
39504 /* System header to define __stub macros and hopefully few prototypes,
39505 which can conflict with char $ac_func (); below.
39506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39507 <limits.h> exists even on freestanding compilers. */
39510 # include <limits.h>
39512 # include <assert.h>
39517 /* Override any GCC internal prototype to avoid an error.
39518 Use char because int might match the return type of a GCC
39519 builtin and then its argument prototype would still apply. */
39524 /* The GNU C library defines this for functions which it implements
39525 to always fail with ENOSYS. Some functions are actually named
39526 something starting with __ and the normal name is an alias. */
39527 #if defined __stub_$ac_func || defined __stub___$ac_func
39534 return $ac_func ();
39539 rm -f conftest.$ac_objext conftest$ac_exeext
39540 if { (ac_try="$ac_link"
39541 case "(($ac_try" in
39542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39543 *) ac_try_echo
=$ac_try;;
39545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39546 (eval "$ac_link") 2>conftest.er1
39548 grep -v '^ *+' conftest.er1
>conftest.err
39550 cat conftest.err
>&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } && {
39553 test -z "$ac_c_werror_flag" ||
39554 test ! -s conftest.err
39555 } && test -s conftest
$ac_exeext &&
39556 $as_test_x conftest
$ac_exeext; then
39557 eval "$as_ac_var=yes"
39559 echo "$as_me: failed program was:" >&5
39560 sed 's/^/| /' conftest.
$ac_ext >&5
39562 eval "$as_ac_var=no"
39565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39566 conftest
$ac_exeext conftest.
$ac_ext
39568 ac_res
=`eval echo '${'$as_ac_var'}'`
39569 { echo "$as_me:$LINENO: result: $ac_res" >&5
39570 echo "${ECHO_T}$ac_res" >&6; }
39571 if test `eval echo '${'$as_ac_var'}'` = yes; then
39572 cat >>confdefs.h
<<_ACEOF
39573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39580 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39581 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39582 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39587 ac_cpp
='$CXXCPP $CPPFLAGS'
39588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39592 cat >conftest.
$ac_ext <<_ACEOF
39595 cat confdefs.h
>>conftest.
$ac_ext
39596 cat >>conftest.
$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39598 #include <pthread.h>
39599 void ThreadCleanupFunc(void *p);
39606 pthread_cleanup_push(ThreadCleanupFunc, p);
39607 pthread_cleanup_pop(0);
39613 rm -f conftest.
$ac_objext
39614 if { (ac_try
="$ac_compile"
39615 case "(($ac_try" in
39616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39617 *) ac_try_echo=$ac_try;;
39619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39620 (eval "$ac_compile") 2>conftest.er1
39622 grep -v '^ *+' conftest.er1 >conftest.err
39624 cat conftest.err >&5
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); } && {
39627 test -z "$ac_cxx_werror_flag" ||
39628 test ! -s conftest.err
39629 } && test -s conftest.$ac_objext; then
39631 wx_cv_func_pthread_cleanup=yes
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.$ac_ext >&5
39638 wx_cv_func_pthread_cleanup=no
39643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39645 ac_cpp='$CPP $CPPFLAGS'
39646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39652 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39653 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39654 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39655 cat >>confdefs.h <<\_ACEOF
39656 #define wxHAVE_PTHREAD_CLEANUP 1
39662 for ac_header in sched.h
39664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39665 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39668 echo $ECHO_N "(cached) $ECHO_C" >&6
39670 cat >conftest.$ac_ext <<_ACEOF
39673 cat confdefs.h >>conftest.$ac_ext
39674 cat >>conftest.$ac_ext <<_ACEOF
39675 /* end confdefs.h. */
39676 $ac_includes_default
39678 #include <$ac_header>
39680 rm -f conftest.$ac_objext
39681 if { (ac_try="$ac_compile"
39682 case "(($ac_try" in
39683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39684 *) ac_try_echo
=$ac_try;;
39686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39687 (eval "$ac_compile") 2>conftest.er1
39689 grep -v '^ *+' conftest.er1
>conftest.err
39691 cat conftest.err
>&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); } && {
39694 test -z "$ac_c_werror_flag" ||
39695 test ! -s conftest.err
39696 } && test -s conftest.
$ac_objext; then
39697 eval "$as_ac_Header=yes"
39699 echo "$as_me: failed program was:" >&5
39700 sed 's/^/| /' conftest.
$ac_ext >&5
39702 eval "$as_ac_Header=no"
39705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39707 ac_res
=`eval echo '${'$as_ac_Header'}'`
39708 { echo "$as_me:$LINENO: result: $ac_res" >&5
39709 echo "${ECHO_T}$ac_res" >&6; }
39710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39711 cat >>confdefs.h
<<_ACEOF
39712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39719 if test "$ac_cv_header_sched_h" = "yes"; then
39720 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39721 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39722 if test "${ac_cv_func_sched_yield+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39725 cat >conftest.
$ac_ext <<_ACEOF
39728 cat confdefs.h
>>conftest.
$ac_ext
39729 cat >>conftest.
$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39731 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39733 #define sched_yield innocuous_sched_yield
39735 /* System header to define __stub macros and hopefully few prototypes,
39736 which can conflict with char sched_yield (); below.
39737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39738 <limits.h> exists even on freestanding compilers. */
39741 # include <limits.h>
39743 # include <assert.h>
39748 /* Override any GCC internal prototype to avoid an error.
39749 Use char because int might match the return type of a GCC
39750 builtin and then its argument prototype would still apply. */
39754 char sched_yield ();
39755 /* The GNU C library defines this for functions which it implements
39756 to always fail with ENOSYS. Some functions are actually named
39757 something starting with __ and the normal name is an alias. */
39758 #if defined __stub_sched_yield || defined __stub___sched_yield
39765 return sched_yield ();
39770 rm -f conftest.
$ac_objext conftest
$ac_exeext
39771 if { (ac_try
="$ac_link"
39772 case "(($ac_try" in
39773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39774 *) ac_try_echo=$ac_try;;
39776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39777 (eval "$ac_link") 2>conftest.er1
39779 grep -v '^ *+' conftest.er1 >conftest.err
39781 cat conftest.err >&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); } && {
39784 test -z "$ac_c_werror_flag" ||
39785 test ! -s conftest.err
39786 } && test -s conftest$ac_exeext &&
39787 $as_test_x conftest$ac_exeext; then
39788 ac_cv_func_sched_yield=yes
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39793 ac_cv_func_sched_yield=no
39796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39797 conftest$ac_exeext conftest.$ac_ext
39799 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39800 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39801 if test $ac_cv_func_sched_yield = yes; then
39802 cat >>confdefs.h <<\_ACEOF
39803 #define HAVE_SCHED_YIELD 1
39808 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39809 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39810 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 ac_check_lib_save_LIBS=$LIBS
39814 LIBS="-lposix4 $LIBS"
39815 cat >conftest.$ac_ext <<_ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39822 /* Override any GCC internal prototype to avoid an error.
39823 Use char because int might match the return type of a GCC
39824 builtin and then its argument prototype would still apply. */
39828 char sched_yield ();
39832 return sched_yield ();
39837 rm -f conftest.$ac_objext conftest$ac_exeext
39838 if { (ac_try="$ac_link"
39839 case "(($ac_try" in
39840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39841 *) ac_try_echo
=$ac_try;;
39843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39844 (eval "$ac_link") 2>conftest.er1
39846 grep -v '^ *+' conftest.er1
>conftest.err
39848 cat conftest.err
>&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } && {
39851 test -z "$ac_c_werror_flag" ||
39852 test ! -s conftest.err
39853 } && test -s conftest
$ac_exeext &&
39854 $as_test_x conftest
$ac_exeext; then
39855 ac_cv_lib_posix4_sched_yield
=yes
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.
$ac_ext >&5
39860 ac_cv_lib_posix4_sched_yield
=no
39863 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39864 conftest
$ac_exeext conftest.
$ac_ext
39865 LIBS
=$ac_check_lib_save_LIBS
39867 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39868 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39869 if test $ac_cv_lib_posix4_sched_yield = yes; then
39870 cat >>confdefs.h
<<\_ACEOF
39871 #define HAVE_SCHED_YIELD 1
39873 POSIX4_LINK
=" -lposix4"
39875 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39876 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39887 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39888 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39889 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39890 echo $ECHO_N "(cached) $ECHO_C" >&6
39892 cat >conftest.
$ac_ext <<_ACEOF
39895 cat confdefs.h
>>conftest.
$ac_ext
39896 cat >>conftest.
$ac_ext <<_ACEOF
39897 /* end confdefs.h. */
39898 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39900 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39902 /* System header to define __stub macros and hopefully few prototypes,
39903 which can conflict with char pthread_attr_getschedpolicy (); below.
39904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39905 <limits.h> exists even on freestanding compilers. */
39908 # include <limits.h>
39910 # include <assert.h>
39913 #undef pthread_attr_getschedpolicy
39915 /* Override any GCC internal prototype to avoid an error.
39916 Use char because int might match the return type of a GCC
39917 builtin and then its argument prototype would still apply. */
39921 char pthread_attr_getschedpolicy ();
39922 /* The GNU C library defines this for functions which it implements
39923 to always fail with ENOSYS. Some functions are actually named
39924 something starting with __ and the normal name is an alias. */
39925 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39932 return pthread_attr_getschedpolicy ();
39937 rm -f conftest.
$ac_objext conftest
$ac_exeext
39938 if { (ac_try
="$ac_link"
39939 case "(($ac_try" in
39940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39941 *) ac_try_echo=$ac_try;;
39943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39944 (eval "$ac_link") 2>conftest.er1
39946 grep -v '^ *+' conftest.er1 >conftest.err
39948 cat conftest.err >&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); } && {
39951 test -z "$ac_c_werror_flag" ||
39952 test ! -s conftest.err
39953 } && test -s conftest$ac_exeext &&
39954 $as_test_x conftest$ac_exeext; then
39955 ac_cv_func_pthread_attr_getschedpolicy=yes
39957 echo "$as_me: failed program was:" >&5
39958 sed 's/^/| /' conftest.$ac_ext >&5
39960 ac_cv_func_pthread_attr_getschedpolicy=no
39963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39964 conftest$ac_exeext conftest.$ac_ext
39966 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39967 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39968 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39969 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39970 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39971 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39972 echo $ECHO_N "(cached) $ECHO_C" >&6
39974 cat >conftest.$ac_ext <<_ACEOF
39977 cat confdefs.h >>conftest.$ac_ext
39978 cat >>conftest.$ac_ext <<_ACEOF
39979 /* end confdefs.h. */
39980 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39982 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39984 /* System header to define __stub macros and hopefully few prototypes,
39985 which can conflict with char pthread_attr_setschedparam (); below.
39986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39987 <limits.h> exists even on freestanding compilers. */
39990 # include <limits.h>
39992 # include <assert.h>
39995 #undef pthread_attr_setschedparam
39997 /* Override any GCC internal prototype to avoid an error.
39998 Use char because int might match the return type of a GCC
39999 builtin and then its argument prototype would still apply. */
40003 char pthread_attr_setschedparam ();
40004 /* The GNU C library defines this for functions which it implements
40005 to always fail with ENOSYS. Some functions are actually named
40006 something starting with __ and the normal name is an alias. */
40007 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40014 return pthread_attr_setschedparam ();
40019 rm -f conftest.$ac_objext conftest$ac_exeext
40020 if { (ac_try="$ac_link"
40021 case "(($ac_try" in
40022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40023 *) ac_try_echo
=$ac_try;;
40025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40026 (eval "$ac_link") 2>conftest.er1
40028 grep -v '^ *+' conftest.er1
>conftest.err
40030 cat conftest.err
>&5
40031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032 (exit $ac_status); } && {
40033 test -z "$ac_c_werror_flag" ||
40034 test ! -s conftest.err
40035 } && test -s conftest
$ac_exeext &&
40036 $as_test_x conftest
$ac_exeext; then
40037 ac_cv_func_pthread_attr_setschedparam
=yes
40039 echo "$as_me: failed program was:" >&5
40040 sed 's/^/| /' conftest.
$ac_ext >&5
40042 ac_cv_func_pthread_attr_setschedparam
=no
40045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40046 conftest
$ac_exeext conftest.
$ac_ext
40048 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40049 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40050 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40051 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40052 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40053 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40054 echo $ECHO_N "(cached) $ECHO_C" >&6
40056 cat >conftest.
$ac_ext <<_ACEOF
40059 cat confdefs.h
>>conftest.
$ac_ext
40060 cat >>conftest.
$ac_ext <<_ACEOF
40061 /* end confdefs.h. */
40062 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40064 #define sched_get_priority_max innocuous_sched_get_priority_max
40066 /* System header to define __stub macros and hopefully few prototypes,
40067 which can conflict with char sched_get_priority_max (); below.
40068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40069 <limits.h> exists even on freestanding compilers. */
40072 # include <limits.h>
40074 # include <assert.h>
40077 #undef sched_get_priority_max
40079 /* Override any GCC internal prototype to avoid an error.
40080 Use char because int might match the return type of a GCC
40081 builtin and then its argument prototype would still apply. */
40085 char sched_get_priority_max ();
40086 /* The GNU C library defines this for functions which it implements
40087 to always fail with ENOSYS. Some functions are actually named
40088 something starting with __ and the normal name is an alias. */
40089 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40096 return sched_get_priority_max ();
40101 rm -f conftest.
$ac_objext conftest
$ac_exeext
40102 if { (ac_try
="$ac_link"
40103 case "(($ac_try" in
40104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40105 *) ac_try_echo=$ac_try;;
40107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40108 (eval "$ac_link") 2>conftest.er1
40110 grep -v '^ *+' conftest.er1 >conftest.err
40112 cat conftest.err >&5
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); } && {
40115 test -z "$ac_c_werror_flag" ||
40116 test ! -s conftest.err
40117 } && test -s conftest$ac_exeext &&
40118 $as_test_x conftest$ac_exeext; then
40119 ac_cv_func_sched_get_priority_max=yes
40121 echo "$as_me: failed program was:" >&5
40122 sed 's/^/| /' conftest.$ac_ext >&5
40124 ac_cv_func_sched_get_priority_max=no
40127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40128 conftest$ac_exeext conftest.$ac_ext
40130 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40131 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40132 if test $ac_cv_func_sched_get_priority_max = yes; then
40135 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40136 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40137 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40140 ac_check_lib_save_LIBS=$LIBS
40141 LIBS="-lposix4 $LIBS"
40142 cat >conftest.$ac_ext <<_ACEOF
40145 cat confdefs.h >>conftest.$ac_ext
40146 cat >>conftest.$ac_ext <<_ACEOF
40147 /* end confdefs.h. */
40149 /* Override any GCC internal prototype to avoid an error.
40150 Use char because int might match the return type of a GCC
40151 builtin and then its argument prototype would still apply. */
40155 char sched_get_priority_max ();
40159 return sched_get_priority_max ();
40164 rm -f conftest.$ac_objext conftest$ac_exeext
40165 if { (ac_try="$ac_link"
40166 case "(($ac_try" in
40167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40168 *) ac_try_echo
=$ac_try;;
40170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40171 (eval "$ac_link") 2>conftest.er1
40173 grep -v '^ *+' conftest.er1
>conftest.err
40175 cat conftest.err
>&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } && {
40178 test -z "$ac_c_werror_flag" ||
40179 test ! -s conftest.err
40180 } && test -s conftest
$ac_exeext &&
40181 $as_test_x conftest
$ac_exeext; then
40182 ac_cv_lib_posix4_sched_get_priority_max
=yes
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.
$ac_ext >&5
40187 ac_cv_lib_posix4_sched_get_priority_max
=no
40190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40191 conftest
$ac_exeext conftest.
$ac_ext
40192 LIBS
=$ac_check_lib_save_LIBS
40194 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40195 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40196 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40199 POSIX4_LINK
=" -lposix4"
40213 if test "$HAVE_PRIOR_FUNCS" = 1; then
40214 cat >>confdefs.h
<<\_ACEOF
40215 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40219 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40220 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40223 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40224 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40225 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40226 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 cat >conftest.
$ac_ext <<_ACEOF
40231 cat confdefs.h
>>conftest.
$ac_ext
40232 cat >>conftest.
$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40236 #define pthread_cancel innocuous_pthread_cancel
40238 /* System header to define __stub macros and hopefully few prototypes,
40239 which can conflict with char pthread_cancel (); below.
40240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40241 <limits.h> exists even on freestanding compilers. */
40244 # include <limits.h>
40246 # include <assert.h>
40249 #undef pthread_cancel
40251 /* Override any GCC internal prototype to avoid an error.
40252 Use char because int might match the return type of a GCC
40253 builtin and then its argument prototype would still apply. */
40257 char pthread_cancel ();
40258 /* The GNU C library defines this for functions which it implements
40259 to always fail with ENOSYS. Some functions are actually named
40260 something starting with __ and the normal name is an alias. */
40261 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40268 return pthread_cancel ();
40273 rm -f conftest.
$ac_objext conftest
$ac_exeext
40274 if { (ac_try
="$ac_link"
40275 case "(($ac_try" in
40276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40277 *) ac_try_echo=$ac_try;;
40279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40280 (eval "$ac_link") 2>conftest.er1
40282 grep -v '^ *+' conftest.er1 >conftest.err
40284 cat conftest.err >&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); } && {
40287 test -z "$ac_c_werror_flag" ||
40288 test ! -s conftest.err
40289 } && test -s conftest$ac_exeext &&
40290 $as_test_x conftest$ac_exeext; then
40291 ac_cv_func_pthread_cancel=yes
40293 echo "$as_me: failed program was:" >&5
40294 sed 's/^/| /' conftest.$ac_ext >&5
40296 ac_cv_func_pthread_cancel=no
40299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40300 conftest$ac_exeext conftest.$ac_ext
40302 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40303 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40304 if test $ac_cv_func_pthread_cancel = yes; then
40305 cat >>confdefs.h <<\_ACEOF
40306 #define HAVE_PTHREAD_CANCEL 1
40310 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40311 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40315 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40316 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40317 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40318 echo $ECHO_N "(cached) $ECHO_C" >&6
40320 cat >conftest.$ac_ext <<_ACEOF
40323 cat confdefs.h >>conftest.$ac_ext
40324 cat >>conftest.$ac_ext <<_ACEOF
40325 /* end confdefs.h. */
40326 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40328 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40330 /* System header to define __stub macros and hopefully few prototypes,
40331 which can conflict with char pthread_mutex_timedlock (); below.
40332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40333 <limits.h> exists even on freestanding compilers. */
40336 # include <limits.h>
40338 # include <assert.h>
40341 #undef pthread_mutex_timedlock
40343 /* Override any GCC internal prototype to avoid an error.
40344 Use char because int might match the return type of a GCC
40345 builtin and then its argument prototype would still apply. */
40349 char pthread_mutex_timedlock ();
40350 /* The GNU C library defines this for functions which it implements
40351 to always fail with ENOSYS. Some functions are actually named
40352 something starting with __ and the normal name is an alias. */
40353 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40360 return pthread_mutex_timedlock ();
40365 rm -f conftest.$ac_objext conftest$ac_exeext
40366 if { (ac_try="$ac_link"
40367 case "(($ac_try" in
40368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40369 *) ac_try_echo
=$ac_try;;
40371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40372 (eval "$ac_link") 2>conftest.er1
40374 grep -v '^ *+' conftest.er1
>conftest.err
40376 cat conftest.err
>&5
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); } && {
40379 test -z "$ac_c_werror_flag" ||
40380 test ! -s conftest.err
40381 } && test -s conftest
$ac_exeext &&
40382 $as_test_x conftest
$ac_exeext; then
40383 ac_cv_func_pthread_mutex_timedlock
=yes
40385 echo "$as_me: failed program was:" >&5
40386 sed 's/^/| /' conftest.
$ac_ext >&5
40388 ac_cv_func_pthread_mutex_timedlock
=no
40391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40392 conftest
$ac_exeext conftest.
$ac_ext
40394 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40395 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40396 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40397 cat >>confdefs.h
<<\_ACEOF
40398 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40402 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40403 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40407 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40408 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40409 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40412 cat >conftest.
$ac_ext <<_ACEOF
40415 cat confdefs.h
>>conftest.
$ac_ext
40416 cat >>conftest.
$ac_ext <<_ACEOF
40417 /* end confdefs.h. */
40418 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40420 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40422 /* System header to define __stub macros and hopefully few prototypes,
40423 which can conflict with char pthread_attr_setstacksize (); below.
40424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40425 <limits.h> exists even on freestanding compilers. */
40428 # include <limits.h>
40430 # include <assert.h>
40433 #undef pthread_attr_setstacksize
40435 /* Override any GCC internal prototype to avoid an error.
40436 Use char because int might match the return type of a GCC
40437 builtin and then its argument prototype would still apply. */
40441 char pthread_attr_setstacksize ();
40442 /* The GNU C library defines this for functions which it implements
40443 to always fail with ENOSYS. Some functions are actually named
40444 something starting with __ and the normal name is an alias. */
40445 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40452 return pthread_attr_setstacksize ();
40457 rm -f conftest.
$ac_objext conftest
$ac_exeext
40458 if { (ac_try
="$ac_link"
40459 case "(($ac_try" in
40460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40461 *) ac_try_echo=$ac_try;;
40463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40464 (eval "$ac_link") 2>conftest.er1
40466 grep -v '^ *+' conftest.er1 >conftest.err
40468 cat conftest.err >&5
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); } && {
40471 test -z "$ac_c_werror_flag" ||
40472 test ! -s conftest.err
40473 } && test -s conftest$ac_exeext &&
40474 $as_test_x conftest$ac_exeext; then
40475 ac_cv_func_pthread_attr_setstacksize=yes
40477 echo "$as_me: failed program was:" >&5
40478 sed 's/^/| /' conftest.$ac_ext >&5
40480 ac_cv_func_pthread_attr_setstacksize=no
40483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40484 conftest$ac_exeext conftest.$ac_ext
40486 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40487 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40488 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40489 cat >>confdefs.h <<\_ACEOF
40490 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40497 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40498 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40499 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40500 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 cat >conftest.$ac_ext <<_ACEOF
40506 cat confdefs.h >>conftest.$ac_ext
40507 cat >>conftest.$ac_ext <<_ACEOF
40508 /* end confdefs.h. */
40509 #include <pthread.h>
40514 pthread_mutexattr_t attr;
40515 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40521 rm -f conftest.$ac_objext
40522 if { (ac_try="$ac_compile"
40523 case "(($ac_try" in
40524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40525 *) ac_try_echo
=$ac_try;;
40527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40528 (eval "$ac_compile") 2>conftest.er1
40530 grep -v '^ *+' conftest.er1
>conftest.err
40532 cat conftest.err
>&5
40533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40534 (exit $ac_status); } && {
40535 test -z "$ac_c_werror_flag" ||
40536 test ! -s conftest.err
40537 } && test -s conftest.
$ac_objext; then
40538 wx_cv_type_pthread_mutexattr_t
=yes
40540 echo "$as_me: failed program was:" >&5
40541 sed 's/^/| /' conftest.
$ac_ext >&5
40543 wx_cv_type_pthread_mutexattr_t
=no
40547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40550 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40551 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40553 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40554 cat >>confdefs.h
<<\_ACEOF
40555 #define HAVE_PTHREAD_MUTEXATTR_T 1
40559 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40560 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40561 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40565 cat >conftest.
$ac_ext <<_ACEOF
40568 cat confdefs.h
>>conftest.
$ac_ext
40569 cat >>conftest.
$ac_ext <<_ACEOF
40570 /* end confdefs.h. */
40571 #include <pthread.h>
40576 pthread_mutexattr_t attr;
40577 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40583 rm -f conftest.
$ac_objext
40584 if { (ac_try
="$ac_compile"
40585 case "(($ac_try" in
40586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40587 *) ac_try_echo=$ac_try;;
40589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40590 (eval "$ac_compile") 2>conftest.er1
40592 grep -v '^ *+' conftest.er1 >conftest.err
40594 cat conftest.err >&5
40595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596 (exit $ac_status); } && {
40597 test -z "$ac_c_werror_flag" ||
40598 test ! -s conftest.err
40599 } && test -s conftest.$ac_objext; then
40600 wx_cv_func_pthread_mutexattr_settype_decl=yes
40602 echo "$as_me: failed program was:" >&5
40603 sed 's/^/| /' conftest.$ac_ext >&5
40605 wx_cv_func_pthread_mutexattr_settype_decl=no
40609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40612 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40613 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40614 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40615 cat >>confdefs.h <<\_ACEOF
40616 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40621 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40622 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40623 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40624 echo $ECHO_N "(cached) $ECHO_C" >&6
40627 cat >conftest.$ac_ext <<_ACEOF
40630 cat confdefs.h >>conftest.$ac_ext
40631 cat >>conftest.$ac_ext <<_ACEOF
40632 /* end confdefs.h. */
40633 #include <pthread.h>
40638 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40644 rm -f conftest.$ac_objext
40645 if { (ac_try="$ac_compile"
40646 case "(($ac_try" in
40647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40648 *) ac_try_echo
=$ac_try;;
40650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40651 (eval "$ac_compile") 2>conftest.er1
40653 grep -v '^ *+' conftest.er1
>conftest.err
40655 cat conftest.err
>&5
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); } && {
40658 test -z "$ac_c_werror_flag" ||
40659 test ! -s conftest.err
40660 } && test -s conftest.
$ac_objext; then
40662 wx_cv_type_pthread_rec_mutex_init
=yes
40665 echo "$as_me: failed program was:" >&5
40666 sed 's/^/| /' conftest.
$ac_ext >&5
40669 wx_cv_type_pthread_rec_mutex_init
=no
40674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40677 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40678 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40679 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40680 cat >>confdefs.h
<<\_ACEOF
40681 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40685 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40686 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40690 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40691 if test "$USE_NETBSD" = 1; then
40692 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40693 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40694 wxUSE_COMPILER_TLS
=no
40696 wxUSE_COMPILER_TLS
=yes
40700 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40701 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40702 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40703 if test "${wx_cv_cc___thread+set}" = set; then
40704 echo $ECHO_N "(cached) $ECHO_C" >&6
40707 cat >conftest.
$ac_ext <<_ACEOF
40710 cat confdefs.h
>>conftest.
$ac_ext
40711 cat >>conftest.
$ac_ext <<_ACEOF
40712 /* end confdefs.h. */
40713 #include <pthread.h>
40718 static __thread int n = 0;
40719 static __thread int *p = 0;
40725 rm -f conftest.
$ac_objext
40726 if { (ac_try
="$ac_compile"
40727 case "(($ac_try" in
40728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40729 *) ac_try_echo=$ac_try;;
40731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40732 (eval "$ac_compile") 2>conftest.er1
40734 grep -v '^ *+' conftest.er1 >conftest.err
40736 cat conftest.err >&5
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); } && {
40739 test -z "$ac_c_werror_flag" ||
40740 test ! -s conftest.err
40741 } && test -s conftest.$ac_objext; then
40742 wx_cv_cc___thread=yes
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40747 wx_cv_cc___thread=no
40751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40755 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40756 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40758 if test "$wx_cv_cc___thread" = "yes"; then
40764 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40765 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40767 if test "x$GCC" = "xyes" ; then
40769 if test -z "" ; then
40771 ax_gcc_option_test="int main()
40778 ax_gcc_option_test=""
40783 # Dump the test program to file
40784 cat <<EOF > conftest.c
40785 $ax_gcc_option_test
40788 # Dump back the file to the log, useful for debugging purposes
40789 { ac_try='cat conftest.c 1>&5'
40790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40791 (eval $ac_try) 2>&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); }; }
40796 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40798 (eval $ac_try) 2>&5
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); }; } ; then
40803 { echo "$as_me:$LINENO: result: yes" >&5
40804 echo "${ECHO_T}yes" >&6; }
40806 ax_gcc_version_option=yes
40811 { echo "$as_me:$LINENO: result: no" >&5
40812 echo "${ECHO_T}no" >&6; }
40814 ax_gcc_version_option=no
40822 { echo "$as_me:$LINENO: result: no gcc available" >&5
40823 echo "${ECHO_T}no gcc available" >&6; }
40828 if test "x$GXX" = "xyes"; then
40830 if test "x$ax_gxx_version_option" != "no"; then
40832 { echo "$as_me:$LINENO: checking gxx version" >&5
40833 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40834 if test "${ax_cv_gxx_version+set}" = set; then
40835 echo $ECHO_N "(cached) $ECHO_C" >&6
40838 ax_cv_gxx_version="`$CXX -dumpversion`"
40839 if test "x$ax_cv_gxx_version" = "x"; then
40841 ax_cv_gxx_version=""
40847 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40848 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40849 GXX_VERSION=$ax_cv_gxx_version
40858 if test -n "$ax_cv_gxx_version"; then
40859 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40860 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40861 case "$ax_cv_gxx_version" in
40863 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40864 echo "${ECHO_T}no, it's broken" >&6; }
40865 wx_cv_cc___thread=no
40868 { echo "$as_me:$LINENO: result: yes, it works" >&5
40869 echo "${ECHO_T}yes, it works" >&6; }
40875 if test "$wx_cv_cc___thread" = "yes"; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE___THREAD_KEYWORD 1
40885 if test "$wxUSE_THREADS" = "yes" ; then
40887 x86_64-*-mingw32* )
40890 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40891 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40892 if test "${wx_cv_cflags_mthread+set}" = set; then
40893 echo $ECHO_N "(cached) $ECHO_C" >&6
40896 CFLAGS_OLD="$CFLAGS"
40897 CFLAGS="-mthreads $CFLAGS"
40898 cat >conftest.$ac_ext <<_ACEOF
40901 cat confdefs.h >>conftest.$ac_ext
40902 cat >>conftest.$ac_ext <<_ACEOF
40903 /* end confdefs.h. */
40913 rm -f conftest.$ac_objext
40914 if { (ac_try="$ac_compile"
40915 case "(($ac_try" in
40916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40917 *) ac_try_echo
=$ac_try;;
40919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40920 (eval "$ac_compile") 2>conftest.er1
40922 grep -v '^ *+' conftest.er1
>conftest.err
40924 cat conftest.err
>&5
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); } && {
40927 test -z "$ac_c_werror_flag" ||
40928 test ! -s conftest.err
40929 } && test -s conftest.
$ac_objext; then
40930 wx_cv_cflags_mthread
=yes
40932 echo "$as_me: failed program was:" >&5
40933 sed 's/^/| /' conftest.
$ac_ext >&5
40935 wx_cv_cflags_mthread
=no
40939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40943 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40944 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40946 if test "$wx_cv_cflags_mthread" = "yes"; then
40947 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40948 LDFLAGS
="$LDFLAGS -mthreads"
40950 CFLAGS
="$CFLAGS_OLD"
40954 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40955 LDFLAGS
="$LDFLAGS -Zmt"
40961 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40962 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40963 if test "${ac_cv_func_localtime_r+set}" = set; then
40964 echo $ECHO_N "(cached) $ECHO_C" >&6
40966 cat >conftest.
$ac_ext <<_ACEOF
40969 cat confdefs.h
>>conftest.
$ac_ext
40970 cat >>conftest.
$ac_ext <<_ACEOF
40971 /* end confdefs.h. */
40972 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40974 #define localtime_r innocuous_localtime_r
40976 /* System header to define __stub macros and hopefully few prototypes,
40977 which can conflict with char localtime_r (); below.
40978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40979 <limits.h> exists even on freestanding compilers. */
40982 # include <limits.h>
40984 # include <assert.h>
40989 /* Override any GCC internal prototype to avoid an error.
40990 Use char because int might match the return type of a GCC
40991 builtin and then its argument prototype would still apply. */
40995 char localtime_r ();
40996 /* The GNU C library defines this for functions which it implements
40997 to always fail with ENOSYS. Some functions are actually named
40998 something starting with __ and the normal name is an alias. */
40999 #if defined __stub_localtime_r || defined __stub___localtime_r
41006 return localtime_r ();
41011 rm -f conftest.
$ac_objext conftest
$ac_exeext
41012 if { (ac_try
="$ac_link"
41013 case "(($ac_try" in
41014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41015 *) ac_try_echo=$ac_try;;
41017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41018 (eval "$ac_link") 2>conftest.er1
41020 grep -v '^ *+' conftest.er1 >conftest.err
41022 cat conftest.err >&5
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); } && {
41025 test -z "$ac_c_werror_flag" ||
41026 test ! -s conftest.err
41027 } && test -s conftest$ac_exeext &&
41028 $as_test_x conftest$ac_exeext; then
41029 ac_cv_func_localtime_r=yes
41031 echo "$as_me: failed program was:" >&5
41032 sed 's/^/| /' conftest.$ac_ext >&5
41034 ac_cv_func_localtime_r=no
41037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41038 conftest$ac_exeext conftest.$ac_ext
41040 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41041 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41042 if test $ac_cv_func_localtime_r = yes; then
41043 cat >>confdefs.h <<\_ACEOF
41044 #define HAVE_LOCALTIME_R 1
41049 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41050 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41051 if test "${ac_cv_func_gmtime_r+set}" = set; then
41052 echo $ECHO_N "(cached) $ECHO_C" >&6
41054 cat >conftest.$ac_ext <<_ACEOF
41057 cat confdefs.h >>conftest.$ac_ext
41058 cat >>conftest.$ac_ext <<_ACEOF
41059 /* end confdefs.h. */
41060 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41062 #define gmtime_r innocuous_gmtime_r
41064 /* System header to define __stub macros and hopefully few prototypes,
41065 which can conflict with char gmtime_r (); below.
41066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41067 <limits.h> exists even on freestanding compilers. */
41070 # include <limits.h>
41072 # include <assert.h>
41077 /* Override any GCC internal prototype to avoid an error.
41078 Use char because int might match the return type of a GCC
41079 builtin and then its argument prototype would still apply. */
41084 /* The GNU C library defines this for functions which it implements
41085 to always fail with ENOSYS. Some functions are actually named
41086 something starting with __ and the normal name is an alias. */
41087 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41094 return gmtime_r ();
41099 rm -f conftest.$ac_objext conftest$ac_exeext
41100 if { (ac_try="$ac_link"
41101 case "(($ac_try" in
41102 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41103 *) ac_try_echo
=$ac_try;;
41105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41106 (eval "$ac_link") 2>conftest.er1
41108 grep -v '^ *+' conftest.er1
>conftest.err
41110 cat conftest.err
>&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); } && {
41113 test -z "$ac_c_werror_flag" ||
41114 test ! -s conftest.err
41115 } && test -s conftest
$ac_exeext &&
41116 $as_test_x conftest
$ac_exeext; then
41117 ac_cv_func_gmtime_r
=yes
41119 echo "$as_me: failed program was:" >&5
41120 sed 's/^/| /' conftest.
$ac_ext >&5
41122 ac_cv_func_gmtime_r
=no
41125 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41126 conftest
$ac_exeext conftest.
$ac_ext
41128 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41129 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41130 if test $ac_cv_func_gmtime_r = yes; then
41131 cat >>confdefs.h
<<\_ACEOF
41132 #define HAVE_GMTIME_R 1
41141 ac_cpp
='$CPP $CPPFLAGS'
41142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41146 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41147 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41149 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41150 echo $ECHO_N "(cached) $ECHO_C" >&6
41154 ################################################################
41156 ac_cv_func_which_gethostbyname_r
=unknown
41159 # ONE ARGUMENT (sanity check)
41162 # This should fail, as there is no variant of gethostbyname_r() that takes
41163 # a single argument. If it actually compiles, then we can assume that
41164 # netdb.h is not declaring the function, and the compiler is thereby
41165 # assuming an implicit prototype. In which case, we're out of luck.
41167 cat >conftest.
$ac_ext <<_ACEOF
41170 cat confdefs.h
>>conftest.
$ac_ext
41171 cat >>conftest.
$ac_ext <<_ACEOF
41172 /* end confdefs.h. */
41178 char *name = "www.gnu.org";
41179 (void)gethostbyname_r(name) /* ; */
41185 rm -f conftest.
$ac_objext
41186 if { (ac_try
="$ac_compile"
41187 case "(($ac_try" in
41188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41189 *) ac_try_echo=$ac_try;;
41191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41192 (eval "$ac_compile") 2>conftest.er1
41194 grep -v '^ *+' conftest.er1 >conftest.err
41196 cat conftest.err >&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); } && {
41199 test -z "$ac_c_werror_flag" ||
41200 test ! -s conftest.err
41201 } && test -s conftest.$ac_objext; then
41202 ac_cv_func_which_gethostbyname_r=no
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41217 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41219 cat >conftest.$ac_ext <<_ACEOF
41222 cat confdefs.h >>conftest.$ac_ext
41223 cat >>conftest.$ac_ext <<_ACEOF
41224 /* end confdefs.h. */
41230 char *name = "www.gnu.org";
41231 struct hostent ret, *retp;
41235 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41241 rm -f conftest.$ac_objext
41242 if { (ac_try="$ac_compile"
41243 case "(($ac_try" in
41244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41245 *) ac_try_echo
=$ac_try;;
41247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41248 (eval "$ac_compile") 2>conftest.er1
41250 grep -v '^ *+' conftest.er1
>conftest.err
41252 cat conftest.err
>&5
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); } && {
41255 test -z "$ac_c_werror_flag" ||
41256 test ! -s conftest.err
41257 } && test -s conftest.
$ac_objext; then
41258 ac_cv_func_which_gethostbyname_r
=six
41260 echo "$as_me: failed program was:" >&5
41261 sed 's/^/| /' conftest.
$ac_ext >&5
41266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41275 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41277 cat >conftest.
$ac_ext <<_ACEOF
41280 cat confdefs.h
>>conftest.
$ac_ext
41281 cat >>conftest.
$ac_ext <<_ACEOF
41282 /* end confdefs.h. */
41288 char *name = "www.gnu.org";
41289 struct hostent ret;
41293 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41299 rm -f conftest.
$ac_objext
41300 if { (ac_try
="$ac_compile"
41301 case "(($ac_try" in
41302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41303 *) ac_try_echo=$ac_try;;
41305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41306 (eval "$ac_compile") 2>conftest.er1
41308 grep -v '^ *+' conftest.er1 >conftest.err
41310 cat conftest.err >&5
41311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41312 (exit $ac_status); } && {
41313 test -z "$ac_c_werror_flag" ||
41314 test ! -s conftest.err
41315 } && test -s conftest.$ac_objext; then
41316 ac_cv_func_which_gethostbyname_r=five
41318 echo "$as_me: failed program was:" >&5
41319 sed 's/^/| /' conftest.$ac_ext >&5
41324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41330 # (e.g. AIX, HP-UX, Tru64)
41333 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41335 cat >conftest.$ac_ext <<_ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41346 char *name = "www.gnu.org";
41347 struct hostent ret;
41348 struct hostent_data data;
41349 (void)gethostbyname_r(name, &ret, &data) /* ; */
41355 rm -f conftest.$ac_objext
41356 if { (ac_try="$ac_compile"
41357 case "(($ac_try" in
41358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41359 *) ac_try_echo
=$ac_try;;
41361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41362 (eval "$ac_compile") 2>conftest.er1
41364 grep -v '^ *+' conftest.er1
>conftest.err
41366 cat conftest.err
>&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } && {
41369 test -z "$ac_c_werror_flag" ||
41370 test ! -s conftest.err
41371 } && test -s conftest.
$ac_objext; then
41372 ac_cv_func_which_gethostbyname_r
=three
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.
$ac_ext >&5
41380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41384 ################################################################
41389 case "$ac_cv_func_which_gethostbyname_r" in
41391 { echo "$as_me:$LINENO: result: three" >&5
41392 echo "${ECHO_T}three" >&6; }
41393 cat >>confdefs.h
<<\_ACEOF
41394 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41400 { echo "$as_me:$LINENO: result: five" >&5
41401 echo "${ECHO_T}five" >&6; }
41402 cat >>confdefs.h
<<\_ACEOF
41403 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41409 { echo "$as_me:$LINENO: result: six" >&5
41410 echo "${ECHO_T}six" >&6; }
41411 cat >>confdefs.h
<<\_ACEOF
41412 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41418 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41419 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41423 { echo "$as_me:$LINENO: result: can't tell" >&5
41424 echo "${ECHO_T}can't tell" >&6; }
41428 { { echo "$as_me:$LINENO: error: internal error" >&5
41429 echo "$as_me: error: internal error" >&2;}
41430 { (exit 1); exit 1; }; }
41435 ac_cpp
='$CPP $CPPFLAGS'
41436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41442 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41443 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41444 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41445 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41446 if test "${ac_cv_func_gethostbyname+set}" = set; then
41447 echo $ECHO_N "(cached) $ECHO_C" >&6
41449 cat >conftest.
$ac_ext <<_ACEOF
41452 cat confdefs.h
>>conftest.
$ac_ext
41453 cat >>conftest.
$ac_ext <<_ACEOF
41454 /* end confdefs.h. */
41455 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41457 #define gethostbyname innocuous_gethostbyname
41459 /* System header to define __stub macros and hopefully few prototypes,
41460 which can conflict with char gethostbyname (); below.
41461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41462 <limits.h> exists even on freestanding compilers. */
41465 # include <limits.h>
41467 # include <assert.h>
41470 #undef gethostbyname
41472 /* Override any GCC internal prototype to avoid an error.
41473 Use char because int might match the return type of a GCC
41474 builtin and then its argument prototype would still apply. */
41478 char gethostbyname ();
41479 /* The GNU C library defines this for functions which it implements
41480 to always fail with ENOSYS. Some functions are actually named
41481 something starting with __ and the normal name is an alias. */
41482 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41489 return gethostbyname ();
41494 rm -f conftest.
$ac_objext conftest
$ac_exeext
41495 if { (ac_try
="$ac_link"
41496 case "(($ac_try" in
41497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41498 *) ac_try_echo=$ac_try;;
41500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41501 (eval "$ac_link") 2>conftest.er1
41503 grep -v '^ *+' conftest.er1 >conftest.err
41505 cat conftest.err >&5
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); } && {
41508 test -z "$ac_c_werror_flag" ||
41509 test ! -s conftest.err
41510 } && test -s conftest$ac_exeext &&
41511 $as_test_x conftest$ac_exeext; then
41512 ac_cv_func_gethostbyname=yes
41514 echo "$as_me: failed program was:" >&5
41515 sed 's/^/| /' conftest.$ac_ext >&5
41517 ac_cv_func_gethostbyname=no
41520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41521 conftest$ac_exeext conftest.$ac_ext
41523 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41524 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41525 if test $ac_cv_func_gethostbyname = yes; then
41526 cat >>confdefs.h <<\_ACEOF
41527 #define HAVE_GETHOSTBYNAME 1
41534 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41535 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41536 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41537 echo $ECHO_N "(cached) $ECHO_C" >&6
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41547 cat >conftest.$ac_ext <<_ACEOF
41550 cat confdefs.h >>conftest.$ac_ext
41551 cat >>conftest.$ac_ext <<_ACEOF
41552 /* end confdefs.h. */
41560 struct servent *se, *res;
41563 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41569 rm -f conftest.$ac_objext
41570 if { (ac_try="$ac_compile"
41571 case "(($ac_try" in
41572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41573 *) ac_try_echo
=$ac_try;;
41575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41576 (eval "$ac_compile") 2>conftest.er1
41578 grep -v '^ *+' conftest.er1
>conftest.err
41580 cat conftest.err
>&5
41581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41582 (exit $ac_status); } && {
41583 test -z "$ac_cxx_werror_flag" ||
41584 test ! -s conftest.err
41585 } && test -s conftest.
$ac_objext; then
41586 ac_cv_func_which_getservbyname_r
=six
41588 echo "$as_me: failed program was:" >&5
41589 sed 's/^/| /' conftest.
$ac_ext >&5
41592 cat >conftest.
$ac_ext <<_ACEOF
41595 cat confdefs.h
>>conftest.
$ac_ext
41596 cat >>conftest.
$ac_ext <<_ACEOF
41597 /* end confdefs.h. */
41605 struct servent *se;
41608 (void) getservbyname_r(name, proto, se, buffer, buflen)
41614 rm -f conftest.
$ac_objext
41615 if { (ac_try
="$ac_compile"
41616 case "(($ac_try" in
41617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41618 *) ac_try_echo=$ac_try;;
41620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41621 (eval "$ac_compile") 2>conftest.er1
41623 grep -v '^ *+' conftest.er1 >conftest.err
41625 cat conftest.err >&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); } && {
41628 test -z "$ac_cxx_werror_flag" ||
41629 test ! -s conftest.err
41630 } && test -s conftest.$ac_objext; then
41631 ac_cv_func_which_getservbyname_r=five
41633 echo "$as_me: failed program was:" >&5
41634 sed 's/^/| /' conftest.$ac_ext >&5
41637 cat >conftest.$ac_ext <<_ACEOF
41640 cat confdefs.h >>conftest.$ac_ext
41641 cat >>conftest.$ac_ext <<_ACEOF
41642 /* end confdefs.h. */
41650 struct servent *se;
41651 struct servent_data data;
41652 (void) getservbyname_r(name, proto, se, &data);
41658 rm -f conftest.$ac_objext
41659 if { (ac_try="$ac_compile"
41660 case "(($ac_try" in
41661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41662 *) ac_try_echo
=$ac_try;;
41664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41665 (eval "$ac_compile") 2>conftest.er1
41667 grep -v '^ *+' conftest.er1
>conftest.err
41669 cat conftest.err
>&5
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); } && {
41672 test -z "$ac_cxx_werror_flag" ||
41673 test ! -s conftest.err
41674 } && test -s conftest.
$ac_objext; then
41675 ac_cv_func_which_getservbyname_r
=four
41677 echo "$as_me: failed program was:" >&5
41678 sed 's/^/| /' conftest.
$ac_ext >&5
41680 ac_cv_func_which_getservbyname_r
=no
41684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41696 ac_cpp
='$CPP $CPPFLAGS'
41697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41704 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41705 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41707 if test $ac_cv_func_which_getservbyname_r = six
; then
41708 cat >>confdefs.h
<<\_ACEOF
41709 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41712 elif test $ac_cv_func_which_getservbyname_r = five
; then
41713 cat >>confdefs.h
<<\_ACEOF
41714 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41717 elif test $ac_cv_func_which_getservbyname_r = four
; then
41718 cat >>confdefs.h
<<\_ACEOF
41719 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41725 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41726 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41728 for ac_func
in getservbyname
41730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41733 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41734 echo $ECHO_N "(cached) $ECHO_C" >&6
41736 cat >conftest.
$ac_ext <<_ACEOF
41739 cat confdefs.h
>>conftest.
$ac_ext
41740 cat >>conftest.
$ac_ext <<_ACEOF
41741 /* end confdefs.h. */
41742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41744 #define $ac_func innocuous_$ac_func
41746 /* System header to define __stub macros and hopefully few prototypes,
41747 which can conflict with char $ac_func (); below.
41748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41749 <limits.h> exists even on freestanding compilers. */
41752 # include <limits.h>
41754 # include <assert.h>
41759 /* Override any GCC internal prototype to avoid an error.
41760 Use char because int might match the return type of a GCC
41761 builtin and then its argument prototype would still apply. */
41766 /* The GNU C library defines this for functions which it implements
41767 to always fail with ENOSYS. Some functions are actually named
41768 something starting with __ and the normal name is an alias. */
41769 #if defined __stub_$ac_func || defined __stub___$ac_func
41776 return $ac_func ();
41781 rm -f conftest.
$ac_objext conftest
$ac_exeext
41782 if { (ac_try
="$ac_link"
41783 case "(($ac_try" in
41784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41785 *) ac_try_echo=$ac_try;;
41787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41788 (eval "$ac_link") 2>conftest.er1
41790 grep -v '^ *+' conftest.er1 >conftest.err
41792 cat conftest.err >&5
41793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41794 (exit $ac_status); } && {
41795 test -z "$ac_c_werror_flag" ||
41796 test ! -s conftest.err
41797 } && test -s conftest$ac_exeext &&
41798 $as_test_x conftest$ac_exeext; then
41799 eval "$as_ac_var=yes"
41801 echo "$as_me: failed program was:" >&5
41802 sed 's/^/| /' conftest.$ac_ext >&5
41804 eval "$as_ac_var=no"
41807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41808 conftest$ac_exeext conftest.$ac_ext
41810 ac_res=`eval echo '${'$as_ac_var'}'`
41811 { echo "$as_me:$LINENO: result: $ac_res" >&5
41812 echo "${ECHO_T}$ac_res" >&6; }
41813 if test `eval echo '${'$as_ac_var'}'` = yes; then
41814 cat >>confdefs.h <<_ACEOF
41815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41817 cat >>confdefs.h <<\_ACEOF
41818 #define HAVE_GETSERVBYNAME 1
41826 if test "$wxUSE_THREADS" = "yes"; then
41827 cat >>confdefs.h <<\_ACEOF
41828 #define wxUSE_THREADS 1
41832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41834 if test "$wx_cv_func_strtok_r" = "yes"; then
41835 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41836 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41837 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41838 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41839 { echo "$as_me:$LINENO: result: yes" >&5
41840 echo "${ECHO_T}yes" >&6; }
41842 { echo "$as_me:$LINENO: result: no" >&5
41843 echo "${ECHO_T}no" >&6; }
41848 if test "$WXGTK2" = 1 ; then
41849 cat >>confdefs.h <<_ACEOF
41850 #define __WXGTK20__ $WXGTK2
41856 if test "$WXGTK12" = 1 ; then
41857 cat >>confdefs.h <<_ACEOF
41858 #define __WXGTK12__ $WXGTK12
41863 if test "$WXGTK127" = 1 ; then
41864 cat >>confdefs.h <<_ACEOF
41865 #define __WXGTK127__ $WXGTK127
41870 if test "$WXGPE" = 1 ; then
41871 cat >>confdefs.h <<_ACEOF
41872 #define __WXGPE__ $WXGPE
41878 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41879 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41880 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41881 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41885 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41886 wxUSE_DEBUG_INFO=yes
41887 if test "$GCC" = yes; then
41888 DEBUG_CFLAGS="-ggdb"
41892 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41893 if test "$wxUSE_GTK" = 1 ; then
41894 if test "x$wxGTK_VERSION" = "x1" ; then
41895 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41900 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41901 cat >>confdefs.h <<\_ACEOF
41902 #define wxUSE_MEMORY_TRACING 1
41905 cat >>confdefs.h <<\_ACEOF
41906 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41909 cat >>confdefs.h <<\_ACEOF
41910 #define wxUSE_DEBUG_NEW_ALWAYS 1
41913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41916 if test "$wxUSE_DMALLOC" = "yes" ; then
41917 DMALLOC_LIBS="-ldmallocthcxx"
41921 if test "$wxUSE_PROFILE" = "yes" ; then
41922 PROFILE_FLAGS=" -pg"
41925 if test "$GCC" = "yes" ; then
41926 if test "$wxUSE_NO_RTTI" = "yes" ; then
41927 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41929 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41930 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41932 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41933 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41938 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41941 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41947 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41948 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41949 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41951 if test "$wxUSE_OPTIMISE" = "no" ; then
41952 if test "$GCC" = yes ; then
41953 OPTIMISE_CFLAGS="-O0"
41956 if test "$GCC" = yes ; then
41958 *-pc-os2_emx | *-pc-os2-emx )
41959 OPTIMISE_CFLAGS="-O2"
41962 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41966 OPTIMISE_CFLAGS="-O"
41972 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41973 cat >>confdefs.h <<\_ACEOF
41974 #define WXWIN_COMPATIBILITY_2_6 1
41978 WXWIN_COMPATIBILITY_2_8="yes"
41981 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41982 cat >>confdefs.h <<\_ACEOF
41983 #define WXWIN_COMPATIBILITY_2_8 1
41989 if test "$wxUSE_GUI" = "yes"; then
41990 cat >>confdefs.h <<\_ACEOF
41991 #define wxUSE_GUI 1
41998 if test "$wxUSE_UNIX" = "yes"; then
41999 cat >>confdefs.h <<\_ACEOF
42000 #define wxUSE_UNIX 1
42006 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42010 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42011 if test "$USE_DOS" = 1; then
42015 for ac_func in dlopen
42017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42021 echo $ECHO_N "(cached) $ECHO_C" >&6
42023 cat >conftest.$ac_ext <<_ACEOF
42026 cat confdefs.h >>conftest.$ac_ext
42027 cat >>conftest.$ac_ext <<_ACEOF
42028 /* end confdefs.h. */
42029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42031 #define $ac_func innocuous_$ac_func
42033 /* System header to define __stub macros and hopefully few prototypes,
42034 which can conflict with char $ac_func (); below.
42035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42036 <limits.h> exists even on freestanding compilers. */
42039 # include <limits.h>
42041 # include <assert.h>
42046 /* Override any GCC internal prototype to avoid an error.
42047 Use char because int might match the return type of a GCC
42048 builtin and then its argument prototype would still apply. */
42053 /* The GNU C library defines this for functions which it implements
42054 to always fail with ENOSYS. Some functions are actually named
42055 something starting with __ and the normal name is an alias. */
42056 #if defined __stub_$ac_func || defined __stub___$ac_func
42063 return $ac_func ();
42068 rm -f conftest.$ac_objext conftest$ac_exeext
42069 if { (ac_try="$ac_link"
42070 case "(($ac_try" in
42071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42072 *) ac_try_echo
=$ac_try;;
42074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42075 (eval "$ac_link") 2>conftest.er1
42077 grep -v '^ *+' conftest.er1
>conftest.err
42079 cat conftest.err
>&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); } && {
42082 test -z "$ac_c_werror_flag" ||
42083 test ! -s conftest.err
42084 } && test -s conftest
$ac_exeext &&
42085 $as_test_x conftest
$ac_exeext; then
42086 eval "$as_ac_var=yes"
42088 echo "$as_me: failed program was:" >&5
42089 sed 's/^/| /' conftest.
$ac_ext >&5
42091 eval "$as_ac_var=no"
42094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42095 conftest
$ac_exeext conftest.
$ac_ext
42097 ac_res
=`eval echo '${'$as_ac_var'}'`
42098 { echo "$as_me:$LINENO: result: $ac_res" >&5
42099 echo "${ECHO_T}$ac_res" >&6; }
42100 if test `eval echo '${'$as_ac_var'}'` = yes; then
42101 cat >>confdefs.h
<<_ACEOF
42102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42105 cat >>confdefs.h
<<\_ACEOF
42106 #define HAVE_DLOPEN 1
42113 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42114 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42115 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42116 echo $ECHO_N "(cached) $ECHO_C" >&6
42118 ac_check_lib_save_LIBS
=$LIBS
42120 cat >conftest.
$ac_ext <<_ACEOF
42123 cat confdefs.h
>>conftest.
$ac_ext
42124 cat >>conftest.
$ac_ext <<_ACEOF
42125 /* end confdefs.h. */
42127 /* Override any GCC internal prototype to avoid an error.
42128 Use char because int might match the return type of a GCC
42129 builtin and then its argument prototype would still apply. */
42142 rm -f conftest.
$ac_objext conftest
$ac_exeext
42143 if { (ac_try
="$ac_link"
42144 case "(($ac_try" in
42145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42146 *) ac_try_echo=$ac_try;;
42148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42149 (eval "$ac_link") 2>conftest.er1
42151 grep -v '^ *+' conftest.er1 >conftest.err
42153 cat conftest.err >&5
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); } && {
42156 test -z "$ac_c_werror_flag" ||
42157 test ! -s conftest.err
42158 } && test -s conftest$ac_exeext &&
42159 $as_test_x conftest$ac_exeext; then
42160 ac_cv_lib_dl_dlopen=yes
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42165 ac_cv_lib_dl_dlopen=no
42168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42169 conftest$ac_exeext conftest.$ac_ext
42170 LIBS=$ac_check_lib_save_LIBS
42172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42173 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42174 if test $ac_cv_lib_dl_dlopen = yes; then
42176 cat >>confdefs.h <<\_ACEOF
42177 #define HAVE_DLOPEN 1
42181 DL_LINK=" -ldl$DL_LINK"
42186 for ac_func in shl_load
42188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42189 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42191 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42192 echo $ECHO_N "(cached) $ECHO_C" >&6
42194 cat >conftest.$ac_ext <<_ACEOF
42197 cat confdefs.h >>conftest.$ac_ext
42198 cat >>conftest.$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42202 #define $ac_func innocuous_$ac_func
42204 /* System header to define __stub macros and hopefully few prototypes,
42205 which can conflict with char $ac_func (); below.
42206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42207 <limits.h> exists even on freestanding compilers. */
42210 # include <limits.h>
42212 # include <assert.h>
42217 /* Override any GCC internal prototype to avoid an error.
42218 Use char because int might match the return type of a GCC
42219 builtin and then its argument prototype would still apply. */
42224 /* The GNU C library defines this for functions which it implements
42225 to always fail with ENOSYS. Some functions are actually named
42226 something starting with __ and the normal name is an alias. */
42227 #if defined __stub_$ac_func || defined __stub___$ac_func
42234 return $ac_func ();
42239 rm -f conftest.$ac_objext conftest$ac_exeext
42240 if { (ac_try="$ac_link"
42241 case "(($ac_try" in
42242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42243 *) ac_try_echo
=$ac_try;;
42245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42246 (eval "$ac_link") 2>conftest.er1
42248 grep -v '^ *+' conftest.er1
>conftest.err
42250 cat conftest.err
>&5
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); } && {
42253 test -z "$ac_c_werror_flag" ||
42254 test ! -s conftest.err
42255 } && test -s conftest
$ac_exeext &&
42256 $as_test_x conftest
$ac_exeext; then
42257 eval "$as_ac_var=yes"
42259 echo "$as_me: failed program was:" >&5
42260 sed 's/^/| /' conftest.
$ac_ext >&5
42262 eval "$as_ac_var=no"
42265 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42266 conftest
$ac_exeext conftest.
$ac_ext
42268 ac_res
=`eval echo '${'$as_ac_var'}'`
42269 { echo "$as_me:$LINENO: result: $ac_res" >&5
42270 echo "${ECHO_T}$ac_res" >&6; }
42271 if test `eval echo '${'$as_ac_var'}'` = yes; then
42272 cat >>confdefs.h
<<_ACEOF
42273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42276 cat >>confdefs.h
<<\_ACEOF
42277 #define HAVE_SHL_LOAD 1
42284 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42285 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42286 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42287 echo $ECHO_N "(cached) $ECHO_C" >&6
42289 ac_check_lib_save_LIBS
=$LIBS
42290 LIBS
="-lshl_load $LIBS"
42291 cat >conftest.
$ac_ext <<_ACEOF
42294 cat confdefs.h
>>conftest.
$ac_ext
42295 cat >>conftest.
$ac_ext <<_ACEOF
42296 /* end confdefs.h. */
42298 /* Override any GCC internal prototype to avoid an error.
42299 Use char because int might match the return type of a GCC
42300 builtin and then its argument prototype would still apply. */
42313 rm -f conftest.
$ac_objext conftest
$ac_exeext
42314 if { (ac_try
="$ac_link"
42315 case "(($ac_try" in
42316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42317 *) ac_try_echo=$ac_try;;
42319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42320 (eval "$ac_link") 2>conftest.er1
42322 grep -v '^ *+' conftest.er1 >conftest.err
42324 cat conftest.err >&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); } && {
42327 test -z "$ac_c_werror_flag" ||
42328 test ! -s conftest.err
42329 } && test -s conftest$ac_exeext &&
42330 $as_test_x conftest$ac_exeext; then
42331 ac_cv_lib_shl_load_dld=yes
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.$ac_ext >&5
42336 ac_cv_lib_shl_load_dld=no
42339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42340 conftest$ac_exeext conftest.$ac_ext
42341 LIBS=$ac_check_lib_save_LIBS
42343 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42344 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42345 if test $ac_cv_lib_shl_load_dld = yes; then
42348 DL_LINK=" -ldld$DL_LINK"
42364 if test "$HAVE_DL_FUNCS" = 1; then
42366 for ac_func in dlerror
42368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42369 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42371 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42372 echo $ECHO_N "(cached) $ECHO_C" >&6
42374 cat >conftest.$ac_ext <<_ACEOF
42377 cat confdefs.h >>conftest.$ac_ext
42378 cat >>conftest.$ac_ext <<_ACEOF
42379 /* end confdefs.h. */
42380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42382 #define $ac_func innocuous_$ac_func
42384 /* System header to define __stub macros and hopefully few prototypes,
42385 which can conflict with char $ac_func (); below.
42386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42387 <limits.h> exists even on freestanding compilers. */
42390 # include <limits.h>
42392 # include <assert.h>
42397 /* Override any GCC internal prototype to avoid an error.
42398 Use char because int might match the return type of a GCC
42399 builtin and then its argument prototype would still apply. */
42404 /* The GNU C library defines this for functions which it implements
42405 to always fail with ENOSYS. Some functions are actually named
42406 something starting with __ and the normal name is an alias. */
42407 #if defined __stub_$ac_func || defined __stub___$ac_func
42414 return $ac_func ();
42419 rm -f conftest.$ac_objext conftest$ac_exeext
42420 if { (ac_try="$ac_link"
42421 case "(($ac_try" in
42422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42423 *) ac_try_echo
=$ac_try;;
42425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42426 (eval "$ac_link") 2>conftest.er1
42428 grep -v '^ *+' conftest.er1
>conftest.err
42430 cat conftest.err
>&5
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); } && {
42433 test -z "$ac_c_werror_flag" ||
42434 test ! -s conftest.err
42435 } && test -s conftest
$ac_exeext &&
42436 $as_test_x conftest
$ac_exeext; then
42437 eval "$as_ac_var=yes"
42439 echo "$as_me: failed program was:" >&5
42440 sed 's/^/| /' conftest.
$ac_ext >&5
42442 eval "$as_ac_var=no"
42445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42446 conftest
$ac_exeext conftest.
$ac_ext
42448 ac_res
=`eval echo '${'$as_ac_var'}'`
42449 { echo "$as_me:$LINENO: result: $ac_res" >&5
42450 echo "${ECHO_T}$ac_res" >&6; }
42451 if test `eval echo '${'$as_ac_var'}'` = yes; then
42452 cat >>confdefs.h
<<_ACEOF
42453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42455 cat >>confdefs.h
<<\_ACEOF
42456 #define HAVE_DLERROR 1
42461 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42462 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42463 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42464 echo $ECHO_N "(cached) $ECHO_C" >&6
42466 ac_check_lib_save_LIBS
=$LIBS
42468 cat >conftest.
$ac_ext <<_ACEOF
42471 cat confdefs.h
>>conftest.
$ac_ext
42472 cat >>conftest.
$ac_ext <<_ACEOF
42473 /* end confdefs.h. */
42475 /* Override any GCC internal prototype to avoid an error.
42476 Use char because int might match the return type of a GCC
42477 builtin and then its argument prototype would still apply. */
42490 rm -f conftest.
$ac_objext conftest
$ac_exeext
42491 if { (ac_try
="$ac_link"
42492 case "(($ac_try" in
42493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42494 *) ac_try_echo=$ac_try;;
42496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42497 (eval "$ac_link") 2>conftest.er1
42499 grep -v '^ *+' conftest.er1 >conftest.err
42501 cat conftest.err >&5
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); } && {
42504 test -z "$ac_c_werror_flag" ||
42505 test ! -s conftest.err
42506 } && test -s conftest$ac_exeext &&
42507 $as_test_x conftest$ac_exeext; then
42508 ac_cv_lib_dl_dlerror=yes
42510 echo "$as_me: failed program was:" >&5
42511 sed 's/^/| /' conftest.$ac_ext >&5
42513 ac_cv_lib_dl_dlerror=no
42516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42517 conftest$ac_exeext conftest.$ac_ext
42518 LIBS=$ac_check_lib_save_LIBS
42520 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42521 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42522 if test $ac_cv_lib_dl_dlerror = yes; then
42523 cat >>confdefs.h <<\_ACEOF
42524 #define HAVE_DLERROR 1
42537 if test "$USE_DARWIN" = 1; then
42541 if test "$HAVE_DL_FUNCS" = 0; then
42542 if test "$HAVE_SHL_FUNCS" = 0; then
42543 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42544 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42545 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42546 wxUSE_DYNAMIC_LOADER=no
42547 wxUSE_DYNLIB_CLASS=no
42549 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42550 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42557 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42558 cat >>confdefs.h <<\_ACEOF
42559 #define wxUSE_DYNAMIC_LOADER 1
42563 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42564 cat >>confdefs.h <<\_ACEOF
42565 #define wxUSE_DYNLIB_CLASS 1
42572 if test "$wxUSE_PLUGINS" = "yes" ; then
42573 if test "$wxUSE_SHARED" = "no" ; then
42574 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42575 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42578 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42579 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42580 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42583 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42584 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42585 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42588 if test "$wxUSE_PLUGINS" = "yes" ; then
42589 cat >>confdefs.h <<\_ACEOF
42590 #define wxUSE_PLUGINS 1
42597 if test "$wxUSE_FSWATCHER" = "yes"; then
42598 cat >>confdefs.h <<\_ACEOF
42599 #define wxUSE_FSWATCHER 1
42602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42604 if test "$wxUSE_UNIX" = "yes"; then
42606 for ac_header in sys/inotify.h
42608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42612 echo $ECHO_N "(cached) $ECHO_C" >&6
42614 cat >conftest.$ac_ext <<_ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 $ac_includes_default
42622 #include <$ac_header>
42624 rm -f conftest.$ac_objext
42625 if { (ac_try="$ac_compile"
42626 case "(($ac_try" in
42627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42628 *) ac_try_echo
=$ac_try;;
42630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42631 (eval "$ac_compile") 2>conftest.er1
42633 grep -v '^ *+' conftest.er1
>conftest.err
42635 cat conftest.err
>&5
42636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42637 (exit $ac_status); } && {
42638 test -z "$ac_c_werror_flag" ||
42639 test ! -s conftest.err
42640 } && test -s conftest.
$ac_objext; then
42641 eval "$as_ac_Header=yes"
42643 echo "$as_me: failed program was:" >&5
42644 sed 's/^/| /' conftest.
$ac_ext >&5
42646 eval "$as_ac_Header=no"
42649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42651 ac_res
=`eval echo '${'$as_ac_Header'}'`
42652 { echo "$as_me:$LINENO: result: $ac_res" >&5
42653 echo "${ECHO_T}$ac_res" >&6; }
42654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42655 cat >>confdefs.h
<<_ACEOF
42656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42663 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42664 cat >>confdefs.h
<<\_ACEOF
42665 #define wxHAS_INOTIFY 1
42670 for ac_header
in sys
/event.h
42672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42675 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42676 echo $ECHO_N "(cached) $ECHO_C" >&6
42678 cat >conftest.
$ac_ext <<_ACEOF
42681 cat confdefs.h
>>conftest.
$ac_ext
42682 cat >>conftest.
$ac_ext <<_ACEOF
42683 /* end confdefs.h. */
42684 $ac_includes_default
42686 #include <$ac_header>
42688 rm -f conftest.
$ac_objext
42689 if { (ac_try
="$ac_compile"
42690 case "(($ac_try" in
42691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42692 *) ac_try_echo=$ac_try;;
42694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42695 (eval "$ac_compile") 2>conftest.er1
42697 grep -v '^ *+' conftest.er1 >conftest.err
42699 cat conftest.err >&5
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); } && {
42702 test -z "$ac_c_werror_flag" ||
42703 test ! -s conftest.err
42704 } && test -s conftest.$ac_objext; then
42705 eval "$as_ac_Header=yes"
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.$ac_ext >&5
42710 eval "$as_ac_Header=no"
42713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42715 ac_res=`eval echo '${'$as_ac_Header'}'`
42716 { echo "$as_me:$LINENO: result: $ac_res" >&5
42717 echo "${ECHO_T}$ac_res" >&6; }
42718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42719 cat >>confdefs.h <<_ACEOF
42720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42727 if test "$ac_cv_header_sys_event_h" = "yes"; then
42728 cat >>confdefs.h <<\_ACEOF
42729 #define wxHAS_KQUEUE 1
42733 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42734 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42741 if test "$wxUSE_STL" = "yes"; then
42742 cat >>confdefs.h <<\_ACEOF
42743 #define wxUSE_STL 1
42748 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42749 cat >>confdefs.h <<\_ACEOF
42750 #define wxUSE_EXTENDED_RTTI 1
42755 if test "$wxUSE_ANY" = "yes"; then
42756 cat >>confdefs.h <<\_ACEOF
42757 #define wxUSE_ANY 1
42762 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42763 cat >>confdefs.h <<\_ACEOF
42764 #define wxUSE_APPLE_IEEE 1
42769 if test "$wxUSE_TIMER" = "yes"; then
42770 cat >>confdefs.h <<\_ACEOF
42771 #define wxUSE_TIMER 1
42776 if test "$USE_UNIX" = 1 ; then
42777 if test "$wxUSE_MGL" != 1; then
42778 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42779 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42780 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42784 cat >conftest.$ac_ext <<_ACEOF
42787 cat confdefs.h >>conftest.$ac_ext
42788 cat >>conftest.$ac_ext <<_ACEOF
42789 /* end confdefs.h. */
42791 #include <sys/ioctl.h>
42792 #include <sys/soundcard.h>
42798 ioctl(0, SNDCTL_DSP_SPEED, 0);
42804 rm -f conftest.$ac_objext conftest$ac_exeext
42805 if { (ac_try="$ac_link"
42806 case "(($ac_try" in
42807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42808 *) ac_try_echo
=$ac_try;;
42810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42811 (eval "$ac_link") 2>conftest.er1
42813 grep -v '^ *+' conftest.er1
>conftest.err
42815 cat conftest.err
>&5
42816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42817 (exit $ac_status); } && {
42818 test -z "$ac_c_werror_flag" ||
42819 test ! -s conftest.err
42820 } && test -s conftest
$ac_exeext &&
42821 $as_test_x conftest
$ac_exeext; then
42822 ac_cv_header_sys_soundcard
=yes
42824 echo "$as_me: failed program was:" >&5
42825 sed 's/^/| /' conftest.
$ac_ext >&5
42829 LIBS
="$saveLibs -lossaudio"
42830 cat >conftest.
$ac_ext <<_ACEOF
42833 cat confdefs.h
>>conftest.
$ac_ext
42834 cat >>conftest.
$ac_ext <<_ACEOF
42835 /* end confdefs.h. */
42837 #include <sys/ioctl.h>
42838 #include <sys/soundcard.h>
42844 ioctl(0, SNDCTL_DSP_SPEED, 0);
42850 rm -f conftest.
$ac_objext conftest
$ac_exeext
42851 if { (ac_try
="$ac_link"
42852 case "(($ac_try" in
42853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42854 *) ac_try_echo=$ac_try;;
42856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42857 (eval "$ac_link") 2>conftest.er1
42859 grep -v '^ *+' conftest.er1 >conftest.err
42861 cat conftest.err >&5
42862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863 (exit $ac_status); } && {
42864 test -z "$ac_c_werror_flag" ||
42865 test ! -s conftest.err
42866 } && test -s conftest$ac_exeext &&
42867 $as_test_x conftest$ac_exeext; then
42868 ac_cv_header_sys_soundcard=yes
42870 echo "$as_me: failed program was:" >&5
42871 sed 's/^/| /' conftest.$ac_ext >&5
42875 ac_cv_header_sys_soundcard=no
42880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42881 conftest$ac_exeext conftest.$ac_ext
42886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42887 conftest$ac_exeext conftest.$ac_ext
42890 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42891 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42894 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42895 cat >>confdefs.h <<\_ACEOF
42896 #define HAVE_SYS_SOUNDCARD_H 1
42903 if test "$wxUSE_SOUND" = "yes"; then
42904 if test "$USE_UNIX" = 1 ; then
42905 if test "$wxUSE_LIBSDL" != "no"; then
42907 # Check whether --with-sdl-prefix was given.
42908 if test "${with_sdl_prefix+set}" = set; then
42909 withval=$with_sdl_prefix; sdl_prefix="$withval"
42915 # Check whether --with-sdl-exec-prefix was given.
42916 if test "${with_sdl_exec_prefix+set}" = set; then
42917 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42922 # Check whether --enable-sdltest was given.
42923 if test "${enable_sdltest+set}" = set; then
42924 enableval=$enable_sdltest;
42930 if test x$sdl_exec_prefix != x ; then
42931 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42932 if test x${SDL_CONFIG+set} != xset ; then
42933 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42936 if test x$sdl_prefix != x ; then
42937 sdl_args="$sdl_args --prefix=$sdl_prefix"
42938 if test x${SDL_CONFIG+set} != xset ; then
42939 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42943 if test "x$prefix" != xNONE; then
42944 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42946 # Extract the first word of "sdl-config", so it can be a program name with args.
42947 set dummy sdl-config; ac_word=$2
42948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42950 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42951 echo $ECHO_N "(cached) $ECHO_C" >&6
42953 case $SDL_CONFIG in
42955 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42959 for as_dir in $PATH
42962 test -z "$as_dir" && as_dir=.
42963 for ac_exec_ext in '' $ac_executable_extensions; do
42964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42965 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42973 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42977 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42978 if test -n "$SDL_CONFIG"; then
42979 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42980 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42982 { echo "$as_me:$LINENO: result: no" >&5
42983 echo "${ECHO_T}no" >&6; }
42987 min_sdl_version=1.2.0
42988 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42989 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42991 if test "$SDL_CONFIG" = "no" ; then
42994 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42995 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42997 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42999 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43001 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43003 if test "x$enable_sdltest" = "xyes" ; then
43004 ac_save_CFLAGS="$CFLAGS"
43005 ac_save_CXXFLAGS="$CXXFLAGS"
43006 ac_save_LIBS="$LIBS"
43007 CFLAGS="$CFLAGS $SDL_CFLAGS"
43008 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43009 LIBS="$LIBS $SDL_LIBS"
43011 if test "$cross_compiling" = yes; then
43012 echo $ac_n "cross compiling; assumed OK... $ac_c"
43014 cat >conftest.$ac_ext <<_ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43022 #include <stdlib.h>
43023 #include <string.h>
43027 my_strdup (char *str)
43033 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43034 strcpy (new_str, str);
43042 int main (int argc, char *argv[])
43044 int major, minor, micro;
43047 /* This hangs on some systems (?)
43048 system ("touch conf.sdltest");
43050 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43052 /* HP/UX 9 (%@#!) writes to sscanf strings */
43053 tmp_version = my_strdup("$min_sdl_version");
43054 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43055 printf("%s, bad version string\n", "$min_sdl_version");
43059 if (($sdl_major_version > major) ||
43060 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43061 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43067 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43068 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43069 printf("*** best to upgrade to the required version.\n");
43070 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43071 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43072 printf("*** config.cache before re-running configure\n");
43079 rm -f conftest$ac_exeext
43080 if { (ac_try="$ac_link"
43081 case "(($ac_try" in
43082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43083 *) ac_try_echo
=$ac_try;;
43085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43086 (eval "$ac_link") 2>&5
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43090 { (case "(($ac_try" in
43091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43092 *) ac_try_echo=$ac_try;;
43094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43095 (eval "$ac_try") 2>&5
43097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098 (exit $ac_status); }; }; then
43101 echo "$as_me: program exited with status $ac_status" >&5
43102 echo "$as_me: failed program was:" >&5
43103 sed 's/^/| /' conftest.$ac_ext >&5
43105 ( exit $ac_status )
43108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43112 CFLAGS="$ac_save_CFLAGS"
43113 CXXFLAGS="$ac_save_CXXFLAGS"
43114 LIBS="$ac_save_LIBS"
43117 if test "x$no_sdl" = x ; then
43118 { echo "$as_me:$LINENO: result: yes" >&5
43119 echo "${ECHO_T}yes" >&6; }
43121 EXTRALIBS_SDL="$SDL_LIBS"
43122 CFLAGS="$SDL_CFLAGS $CFLAGS"
43123 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43124 cat >>confdefs.h <<\_ACEOF
43125 #define wxUSE_LIBSDL 1
43130 { echo "$as_me:$LINENO: result: no" >&5
43131 echo "${ECHO_T}no" >&6; }
43132 if test "$SDL_CONFIG" = "no" ; then
43133 echo "*** The sdl-config script installed by SDL could not be found"
43134 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43135 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43136 echo "*** full path to sdl-config."
43138 if test -f conf.sdltest ; then
43141 echo "*** Could not run SDL test program, checking why..."
43142 CFLAGS="$CFLAGS $SDL_CFLAGS"
43143 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43144 LIBS="$LIBS $SDL_LIBS"
43145 cat >conftest.$ac_ext <<_ACEOF
43148 cat confdefs.h >>conftest.$ac_ext
43149 cat >>conftest.$ac_ext <<_ACEOF
43150 /* end confdefs.h. */
43155 int main(int argc, char *argv[])
43158 #define main K_and_R_C_main
43168 rm -f conftest.$ac_objext conftest$ac_exeext
43169 if { (ac_try="$ac_link"
43170 case "(($ac_try" in
43171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43172 *) ac_try_echo
=$ac_try;;
43174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43175 (eval "$ac_link") 2>conftest.er1
43177 grep -v '^ *+' conftest.er1
>conftest.err
43179 cat conftest.err
>&5
43180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43181 (exit $ac_status); } && {
43182 test -z "$ac_c_werror_flag" ||
43183 test ! -s conftest.err
43184 } && test -s conftest
$ac_exeext &&
43185 $as_test_x conftest
$ac_exeext; then
43186 echo "*** The test program compiled, but did not run. This usually means"
43187 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43188 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43189 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43190 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43191 echo "*** is required on your system"
43193 echo "*** If you have an old version installed, it is best to remove it, although"
43194 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43196 echo "$as_me: failed program was:" >&5
43197 sed 's/^/| /' conftest.
$ac_ext >&5
43199 echo "*** The test program failed to compile or link. See the file config.log for the"
43200 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43201 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43202 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43206 conftest
$ac_exeext conftest.
$ac_ext
43207 CFLAGS
="$ac_save_CFLAGS"
43208 CXXFLAGS
="$ac_save_CXXFLAGS"
43209 LIBS
="$ac_save_LIBS"
43220 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43225 if test "$wxUSE_MGL" = 1; then
43226 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43227 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43233 if test "$wxUSE_SOUND" = "yes"; then
43234 cat >>confdefs.h
<<\_ACEOF
43235 #define wxUSE_SOUND 1
43238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43241 if test "$WXGTK2" = 1; then
43244 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43245 if test -n "$ac_tool_prefix"; then
43246 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43247 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43251 echo $ECHO_N "(cached) $ECHO_C" >&6
43253 case $PKG_CONFIG in
43255 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43259 for as_dir
in $PATH
43262 test -z "$as_dir" && as_dir
=.
43263 for ac_exec_ext
in '' $ac_executable_extensions; do
43264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43265 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43276 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43277 if test -n "$PKG_CONFIG"; then
43278 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43279 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43281 { echo "$as_me:$LINENO: result: no" >&5
43282 echo "${ECHO_T}no" >&6; }
43287 if test -z "$ac_cv_path_PKG_CONFIG"; then
43288 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43289 # Extract the first word of "pkg-config", so it can be a program name with args.
43290 set dummy pkg
-config; ac_word
=$2
43291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43293 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43294 echo $ECHO_N "(cached) $ECHO_C" >&6
43296 case $ac_pt_PKG_CONFIG in
43298 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43302 for as_dir
in $PATH
43305 test -z "$as_dir" && as_dir
=.
43306 for ac_exec_ext
in '' $ac_executable_extensions; do
43307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43308 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43319 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43320 if test -n "$ac_pt_PKG_CONFIG"; then
43321 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43322 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43324 { echo "$as_me:$LINENO: result: no" >&5
43325 echo "${ECHO_T}no" >&6; }
43328 if test "x$ac_pt_PKG_CONFIG" = x
; then
43331 case $cross_compiling:$ac_tool_warned in
43333 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43334 whose name does not start with the host triplet. If you think this
43335 configuration is useful to you, please write to autoconf@gnu.org." >&5
43336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43337 whose name does not start with the host triplet. If you think this
43338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43339 ac_tool_warned
=yes ;;
43341 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43344 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43348 if test -n "$PKG_CONFIG"; then
43349 _pkg_min_version
=0.9.0
43350 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43351 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43352 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43353 { echo "$as_me:$LINENO: result: yes" >&5
43354 echo "${ECHO_T}yes" >&6; }
43356 { echo "$as_me:$LINENO: result: no" >&5
43357 echo "${ECHO_T}no" >&6; }
43363 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43365 if test "$wxUSE_GTKPRINT" = "yes" ; then
43369 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43370 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43372 if test -n "$PKG_CONFIG"; then
43373 if test -n "$GTKPRINT_CFLAGS"; then
43374 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43376 if test -n "$PKG_CONFIG" && \
43377 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43378 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; then
43382 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43390 if test -n "$PKG_CONFIG"; then
43391 if test -n "$GTKPRINT_LIBS"; then
43392 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43394 if test -n "$PKG_CONFIG" && \
43395 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43396 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43399 (exit $ac_status); }; then
43400 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43411 if test $pkg_failed = yes; then
43413 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43414 _pkg_short_errors_supported
=yes
43416 _pkg_short_errors_supported
=no
43418 if test $_pkg_short_errors_supported = yes; then
43419 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43421 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43423 # Put the nasty error message in config.log where it belongs
43424 echo "$GTKPRINT_PKG_ERRORS" >&5
43427 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43428 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43429 wxUSE_GTKPRINT
="no"
43432 elif test $pkg_failed = untried
; then
43434 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43435 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43436 wxUSE_GTKPRINT
="no"
43440 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43441 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43442 { echo "$as_me:$LINENO: result: yes" >&5
43443 echo "${ECHO_T}yes" >&6; }
43445 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43446 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43447 cat >>confdefs.h
<<\_ACEOF
43448 #define wxUSE_GTKPRINT 1
43455 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43459 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43460 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43462 if test -n "$PKG_CONFIG"; then
43463 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43464 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43466 if test -n "$PKG_CONFIG" && \
43467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43468 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43471 (exit $ac_status); }; then
43472 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43480 if test -n "$PKG_CONFIG"; then
43481 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43482 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43484 if test -n "$PKG_CONFIG" && \
43485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43486 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); }; then
43490 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43501 if test $pkg_failed = yes; then
43503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43504 _pkg_short_errors_supported
=yes
43506 _pkg_short_errors_supported
=no
43508 if test $_pkg_short_errors_supported = yes; then
43509 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43511 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43513 # Put the nasty error message in config.log where it belongs
43514 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43517 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43518 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43519 wxUSE_LIBGNOMEPRINT
="no"
43522 elif test $pkg_failed = untried
; then
43524 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43525 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43526 wxUSE_LIBGNOMEPRINT
="no"
43530 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43531 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43532 { echo "$as_me:$LINENO: result: yes" >&5
43533 echo "${ECHO_T}yes" >&6; }
43535 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43536 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43537 cat >>confdefs.h
<<\_ACEOF
43538 #define wxUSE_LIBGNOMEPRINT 1
43546 if test "$wxUSE_MIMETYPE" = "yes" ; then
43547 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43551 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43552 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43554 if test -n "$PKG_CONFIG"; then
43555 if test -n "$GNOMEVFS_CFLAGS"; then
43556 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43558 if test -n "$PKG_CONFIG" && \
43559 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43560 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); }; then
43564 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43572 if test -n "$PKG_CONFIG"; then
43573 if test -n "$GNOMEVFS_LIBS"; then
43574 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43576 if test -n "$PKG_CONFIG" && \
43577 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43578 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581 (exit $ac_status); }; then
43582 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43593 if test $pkg_failed = yes; then
43595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43596 _pkg_short_errors_supported
=yes
43598 _pkg_short_errors_supported
=no
43600 if test $_pkg_short_errors_supported = yes; then
43601 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43603 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43605 # Put the nasty error message in config.log where it belongs
43606 echo "$GNOMEVFS_PKG_ERRORS" >&5
43609 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43610 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43611 wxUSE_LIBGNOMEVFS
="no"
43614 elif test $pkg_failed = untried
; then
43616 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43617 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43618 wxUSE_LIBGNOMEVFS
="no"
43622 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43623 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43624 { echo "$as_me:$LINENO: result: yes" >&5
43625 echo "${ECHO_T}yes" >&6; }
43627 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43628 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43629 cat >>confdefs.h
<<\_ACEOF
43630 #define wxUSE_LIBGNOMEVFS 1
43638 if test "$wxUSE_LIBHILDON" = "yes" ; then
43641 { echo "$as_me:$LINENO: checking for HILDON" >&5
43642 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43644 if test -n "$PKG_CONFIG"; then
43645 if test -n "$HILDON_CFLAGS"; then
43646 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43648 if test -n "$PKG_CONFIG" && \
43649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43650 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43653 (exit $ac_status); }; then
43654 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43662 if test -n "$PKG_CONFIG"; then
43663 if test -n "$HILDON_LIBS"; then
43664 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43666 if test -n "$PKG_CONFIG" && \
43667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43668 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; then
43672 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43683 if test $pkg_failed = yes; then
43685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43686 _pkg_short_errors_supported
=yes
43688 _pkg_short_errors_supported
=no
43690 if test $_pkg_short_errors_supported = yes; then
43691 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43693 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43695 # Put the nasty error message in config.log where it belongs
43696 echo "$HILDON_PKG_ERRORS" >&5
43699 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43700 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43701 wxUSE_LIBHILDON
="no"
43705 elif test $pkg_failed = untried
; then
43707 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43708 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43709 wxUSE_LIBHILDON
="no"
43714 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43715 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43716 { echo "$as_me:$LINENO: result: yes" >&5
43717 echo "${ECHO_T}yes" >&6; }
43719 EXTRALIBS_HILDON
="$HILDON_LIBS"
43720 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43721 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_LIBHILDON 1
43730 if test "$ac_hildon_lgpl" = 0 ; then
43733 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43734 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43736 if test -n "$PKG_CONFIG"; then
43737 if test -n "$HILDON2_CFLAGS"; then
43738 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43740 if test -n "$PKG_CONFIG" && \
43741 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43742 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); }; then
43746 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43754 if test -n "$PKG_CONFIG"; then
43755 if test -n "$HILDON2_LIBS"; then
43756 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
43758 if test -n "$PKG_CONFIG" && \
43759 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43760 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); }; then
43764 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43775 if test $pkg_failed = yes; then
43777 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43778 _pkg_short_errors_supported
=yes
43780 _pkg_short_errors_supported
=no
43782 if test $_pkg_short_errors_supported = yes; then
43783 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43785 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43787 # Put the nasty error message in config.log where it belongs
43788 echo "$HILDON2_PKG_ERRORS" >&5
43791 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43792 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43793 wxUSE_LIBHILDON2
="no"
43796 elif test $pkg_failed = untried
; then
43798 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43799 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43800 wxUSE_LIBHILDON2
="no"
43804 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
43805 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
43806 { echo "$as_me:$LINENO: result: yes" >&5
43807 echo "${ECHO_T}yes" >&6; }
43809 EXTRALIBS_HILDON
="$HILDON2_LIBS"
43810 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
43811 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
43812 cat >>confdefs.h
<<\_ACEOF
43813 #define wxUSE_LIBHILDON2 1
43822 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43823 cat >>confdefs.h
<<\_ACEOF
43824 #define wxUSE_CMDLINE_PARSER 1
43829 if test "$wxUSE_STOPWATCH" = "yes"; then
43830 cat >>confdefs.h
<<\_ACEOF
43831 #define wxUSE_STOPWATCH 1
43836 if test "$wxUSE_DATETIME" = "yes"; then
43837 cat >>confdefs.h
<<\_ACEOF
43838 #define wxUSE_DATETIME 1
43843 if test "$wxUSE_FILE" = "yes"; then
43844 cat >>confdefs.h
<<\_ACEOF
43845 #define wxUSE_FILE 1
43850 if test "$wxUSE_FFILE" = "yes"; then
43851 cat >>confdefs.h
<<\_ACEOF
43852 #define wxUSE_FFILE 1
43857 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43858 if test "$wxUSE_STREAMS" != yes; then
43859 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43860 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43861 wxUSE_ARCHIVE_STREAMS
=no
43863 cat >>confdefs.h
<<\_ACEOF
43864 #define wxUSE_ARCHIVE_STREAMS 1
43870 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43871 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43872 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43873 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43874 elif test "$wxUSE_ZLIB" = "no"; then
43875 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43876 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_ZIPSTREAM 1
43885 if test "$wxUSE_TARSTREAM" = "yes"; then
43886 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43887 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43888 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43890 cat >>confdefs.h
<<\_ACEOF
43891 #define wxUSE_TARSTREAM 1
43897 if test "$wxUSE_FILESYSTEM" = "yes"; then
43898 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43899 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43900 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43901 wxUSE_FILESYSTEM
=no
43903 cat >>confdefs.h
<<\_ACEOF
43904 #define wxUSE_FILESYSTEM 1
43910 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43911 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43912 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43913 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43915 cat >>confdefs.h
<<\_ACEOF
43916 #define wxUSE_FS_ARCHIVE 1
43922 if test "$wxUSE_FS_ZIP" = "yes"; then
43923 if test "$wxUSE_FS_ARCHIVE" != yes; then
43924 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43925 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43927 cat >>confdefs.h
<<\_ACEOF
43928 #define wxUSE_FS_ZIP 1
43934 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43935 if test "$USE_UNIX" != 1; then
43936 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43937 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43938 wxUSE_ON_FATAL_EXCEPTION
=no
43940 cat >>confdefs.h
<<\_ACEOF
43941 #define wxUSE_ON_FATAL_EXCEPTION 1
43947 if test "$wxUSE_STACKWALKER" = "yes"; then
43948 cat >>confdefs.h
<<\_ACEOF
43949 #define wxUSE_STACKWALKER 1
43954 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43955 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43956 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43957 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43958 wxUSE_DEBUGREPORT
=no
43960 cat >>confdefs.h
<<\_ACEOF
43961 #define wxUSE_DEBUGREPORT 1
43964 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43970 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43971 cat >>confdefs.h
<<\_ACEOF
43972 #define wxUSE_SNGLINST_CHECKER 1
43977 if test "$wxUSE_BUSYINFO" = "yes"; then
43978 cat >>confdefs.h
<<\_ACEOF
43979 #define wxUSE_BUSYINFO 1
43984 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43985 cat >>confdefs.h
<<\_ACEOF
43986 #define wxUSE_STD_IOSTREAM 1
43991 if test "$wxUSE_STD_STRING" = "yes"; then
43992 cat >>confdefs.h
<<\_ACEOF
43993 #define wxUSE_STD_STRING 1
43998 if test "$wxUSE_STDPATHS" = "yes"; then
43999 cat >>confdefs.h
<<\_ACEOF
44000 #define wxUSE_STDPATHS 1
44005 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define wxUSE_TEXTBUFFER 1
44012 if test "$wxUSE_TEXTFILE" = "yes"; then
44013 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44014 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44015 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44017 cat >>confdefs.h
<<\_ACEOF
44018 #define wxUSE_TEXTFILE 1
44024 if test "$wxUSE_CONFIG" = "yes" ; then
44025 if test "$wxUSE_TEXTFILE" != "yes"; then
44026 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44027 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44029 cat >>confdefs.h
<<\_ACEOF
44030 #define wxUSE_CONFIG 1
44033 cat >>confdefs.h
<<\_ACEOF
44034 #define wxUSE_CONFIG_NATIVE 1
44037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44041 if test "$wxUSE_INTL" = "yes" ; then
44042 if test "$wxUSE_FILE" != "yes"; then
44043 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44044 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44046 cat >>confdefs.h
<<\_ACEOF
44047 #define wxUSE_INTL 1
44050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44051 GUIDIST
="$GUIDIST INTL_DIST"
44055 if test "$wxUSE_XLOCALE" = "yes" ; then
44056 cat >>confdefs.h
<<\_ACEOF
44057 #define wxUSE_XLOCALE 1
44060 { echo "$as_me:$LINENO: checking for locale_t" >&5
44061 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44062 if test "${ac_cv_type_locale_t+set}" = set; then
44063 echo $ECHO_N "(cached) $ECHO_C" >&6
44065 cat >conftest.
$ac_ext <<_ACEOF
44068 cat confdefs.h
>>conftest.
$ac_ext
44069 cat >>conftest.
$ac_ext <<_ACEOF
44070 /* end confdefs.h. */
44071 #include <xlocale.h>
44072 #include <locale.h>
44074 typedef locale_t ac__type_new_;
44078 if ((ac__type_new_ *) 0)
44080 if (sizeof (ac__type_new_))
44086 rm -f conftest.
$ac_objext
44087 if { (ac_try
="$ac_compile"
44088 case "(($ac_try" in
44089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44090 *) ac_try_echo=$ac_try;;
44092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44093 (eval "$ac_compile") 2>conftest.er1
44095 grep -v '^ *+' conftest.er1 >conftest.err
44097 cat conftest.err >&5
44098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44099 (exit $ac_status); } && {
44100 test -z "$ac_c_werror_flag" ||
44101 test ! -s conftest.err
44102 } && test -s conftest.$ac_objext; then
44103 ac_cv_type_locale_t=yes
44105 echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.$ac_ext >&5
44108 ac_cv_type_locale_t=no
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44113 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44114 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44115 if test $ac_cv_type_locale_t = yes; then
44117 cat >>confdefs.h <<_ACEOF
44118 #define HAVE_LOCALE_T 1
44126 if test "$wxUSE_LOG" = "yes"; then
44127 cat >>confdefs.h <<\_ACEOF
44128 #define wxUSE_LOG 1
44132 if test "$wxUSE_LOGGUI" = "yes"; then
44133 cat >>confdefs.h <<\_ACEOF
44134 #define wxUSE_LOGGUI 1
44139 if test "$wxUSE_LOGWINDOW" = "yes"; then
44140 cat >>confdefs.h <<\_ACEOF
44141 #define wxUSE_LOGWINDOW 1
44146 if test "$wxUSE_LOGDIALOG" = "yes"; then
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_LOG_DIALOG 1
44153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44156 if test "$wxUSE_LONGLONG" = "yes"; then
44157 cat >>confdefs.h <<\_ACEOF
44158 #define wxUSE_LONGLONG 1
44163 if test "$wxUSE_GEOMETRY" = "yes"; then
44164 cat >>confdefs.h <<\_ACEOF
44165 #define wxUSE_GEOMETRY 1
44170 if test "$wxUSE_BASE64" = "yes"; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_BASE64 1
44177 if test "$wxUSE_STREAMS" = "yes" ; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_STREAMS 1
44184 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44185 cat >>confdefs.h <<\_ACEOF
44186 #define wxUSE_PRINTF_POS_PARAMS 1
44191 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44192 cat >>confdefs.h <<\_ACEOF
44193 #define wxUSE_OBJC_UNIQUIFYING 1
44199 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_CONSOLE_EVENTLOOP 1
44205 if test "$wxUSE_UNIX" = "yes"; then
44206 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44207 cat >>confdefs.h <<\_ACEOF
44208 #define wxUSE_SELECT_DISPATCHER 1
44213 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44215 for ac_header in sys/epoll.h
44217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44223 cat >conftest.$ac_ext <<_ACEOF
44226 cat confdefs.h >>conftest.$ac_ext
44227 cat >>conftest.$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44229 $ac_includes_default
44231 #include <$ac_header>
44233 rm -f conftest.$ac_objext
44234 if { (ac_try="$ac_compile"
44235 case "(($ac_try" in
44236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44237 *) ac_try_echo
=$ac_try;;
44239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44240 (eval "$ac_compile") 2>conftest.er1
44242 grep -v '^ *+' conftest.er1
>conftest.err
44244 cat conftest.err
>&5
44245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44246 (exit $ac_status); } && {
44247 test -z "$ac_c_werror_flag" ||
44248 test ! -s conftest.err
44249 } && test -s conftest.
$ac_objext; then
44250 eval "$as_ac_Header=yes"
44252 echo "$as_me: failed program was:" >&5
44253 sed 's/^/| /' conftest.
$ac_ext >&5
44255 eval "$as_ac_Header=no"
44258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44260 ac_res
=`eval echo '${'$as_ac_Header'}'`
44261 { echo "$as_me:$LINENO: result: $ac_res" >&5
44262 echo "${ECHO_T}$ac_res" >&6; }
44263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44264 cat >>confdefs.h
<<_ACEOF
44265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44272 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44273 cat >>confdefs.h
<<\_ACEOF
44274 #define wxUSE_EPOLL_DISPATCHER 1
44278 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44279 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44288 for ac_func
in gettimeofday ftime
44290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44293 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44294 echo $ECHO_N "(cached) $ECHO_C" >&6
44296 cat >conftest.
$ac_ext <<_ACEOF
44299 cat confdefs.h
>>conftest.
$ac_ext
44300 cat >>conftest.
$ac_ext <<_ACEOF
44301 /* end confdefs.h. */
44302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44304 #define $ac_func innocuous_$ac_func
44306 /* System header to define __stub macros and hopefully few prototypes,
44307 which can conflict with char $ac_func (); below.
44308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44309 <limits.h> exists even on freestanding compilers. */
44312 # include <limits.h>
44314 # include <assert.h>
44319 /* Override any GCC internal prototype to avoid an error.
44320 Use char because int might match the return type of a GCC
44321 builtin and then its argument prototype would still apply. */
44326 /* The GNU C library defines this for functions which it implements
44327 to always fail with ENOSYS. Some functions are actually named
44328 something starting with __ and the normal name is an alias. */
44329 #if defined __stub_$ac_func || defined __stub___$ac_func
44336 return $ac_func ();
44341 rm -f conftest.
$ac_objext conftest
$ac_exeext
44342 if { (ac_try
="$ac_link"
44343 case "(($ac_try" in
44344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44345 *) ac_try_echo=$ac_try;;
44347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44348 (eval "$ac_link") 2>conftest.er1
44350 grep -v '^ *+' conftest.er1 >conftest.err
44352 cat conftest.err >&5
44353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44354 (exit $ac_status); } && {
44355 test -z "$ac_c_werror_flag" ||
44356 test ! -s conftest.err
44357 } && test -s conftest$ac_exeext &&
44358 $as_test_x conftest$ac_exeext; then
44359 eval "$as_ac_var=yes"
44361 echo "$as_me: failed program was:" >&5
44362 sed 's/^/| /' conftest.$ac_ext >&5
44364 eval "$as_ac_var=no"
44367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44368 conftest$ac_exeext conftest.$ac_ext
44370 ac_res=`eval echo '${'$as_ac_var'}'`
44371 { echo "$as_me:$LINENO: result: $ac_res" >&5
44372 echo "${ECHO_T}$ac_res" >&6; }
44373 if test `eval echo '${'$as_ac_var'}'` = yes; then
44374 cat >>confdefs.h <<_ACEOF
44375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44382 if test "$ac_cv_func_gettimeofday" = "yes"; then
44383 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44384 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44385 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44386 echo $ECHO_N "(cached) $ECHO_C" >&6
44389 cat >conftest.$ac_ext <<_ACEOF
44392 cat confdefs.h >>conftest.$ac_ext
44393 cat >>conftest.$ac_ext <<_ACEOF
44394 /* end confdefs.h. */
44396 #include <sys/time.h>
44397 #include <unistd.h>
44404 gettimeofday(&tv, NULL);
44410 rm -f conftest.$ac_objext
44411 if { (ac_try="$ac_compile"
44412 case "(($ac_try" in
44413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44414 *) ac_try_echo
=$ac_try;;
44416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44417 (eval "$ac_compile") 2>conftest.er1
44419 grep -v '^ *+' conftest.er1
>conftest.err
44421 cat conftest.err
>&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); } && {
44424 test -z "$ac_c_werror_flag" ||
44425 test ! -s conftest.err
44426 } && test -s conftest.
$ac_objext; then
44427 wx_cv_func_gettimeofday_has_2_args
=yes
44429 echo "$as_me: failed program was:" >&5
44430 sed 's/^/| /' conftest.
$ac_ext >&5
44432 cat >conftest.
$ac_ext <<_ACEOF
44435 cat confdefs.h
>>conftest.
$ac_ext
44436 cat >>conftest.
$ac_ext <<_ACEOF
44437 /* end confdefs.h. */
44439 #include <sys/time.h>
44440 #include <unistd.h>
44453 rm -f conftest.
$ac_objext
44454 if { (ac_try
="$ac_compile"
44455 case "(($ac_try" in
44456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44457 *) ac_try_echo=$ac_try;;
44459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44460 (eval "$ac_compile") 2>conftest.er1
44462 grep -v '^ *+' conftest.er1 >conftest.err
44464 cat conftest.err >&5
44465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466 (exit $ac_status); } && {
44467 test -z "$ac_c_werror_flag" ||
44468 test ! -s conftest.err
44469 } && test -s conftest.$ac_objext; then
44470 wx_cv_func_gettimeofday_has_2_args=no
44472 echo "$as_me: failed program was:" >&5
44473 sed 's/^/| /' conftest.$ac_ext >&5
44476 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44477 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44478 wx_cv_func_gettimeofday_has_2_args=unknown
44483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44490 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44491 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44493 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44494 cat >>confdefs.h <<\_ACEOF
44495 #define WX_GETTIMEOFDAY_NO_TZ 1
44501 if test "$wxUSE_DATETIME" = "yes"; then
44502 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44503 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44504 if test "${wx_cv_var_timezone+set}" = set; then
44505 echo $ECHO_N "(cached) $ECHO_C" >&6
44509 ac_cpp='$CXXCPP $CPPFLAGS'
44510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44514 cat >conftest.$ac_ext <<_ACEOF
44517 cat confdefs.h >>conftest.$ac_ext
44518 cat >>conftest.$ac_ext <<_ACEOF
44519 /* end confdefs.h. */
44534 rm -f conftest.$ac_objext
44535 if { (ac_try="$ac_compile"
44536 case "(($ac_try" in
44537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44538 *) ac_try_echo
=$ac_try;;
44540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44541 (eval "$ac_compile") 2>conftest.er1
44543 grep -v '^ *+' conftest.er1
>conftest.err
44545 cat conftest.err
>&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); } && {
44548 test -z "$ac_cxx_werror_flag" ||
44549 test ! -s conftest.err
44550 } && test -s conftest.
$ac_objext; then
44552 wx_cv_var_timezone
=timezone
44555 echo "$as_me: failed program was:" >&5
44556 sed 's/^/| /' conftest.
$ac_ext >&5
44559 cat >conftest.
$ac_ext <<_ACEOF
44562 cat confdefs.h
>>conftest.
$ac_ext
44563 cat >>conftest.
$ac_ext <<_ACEOF
44564 /* end confdefs.h. */
44579 rm -f conftest.
$ac_objext
44580 if { (ac_try
="$ac_compile"
44581 case "(($ac_try" in
44582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44583 *) ac_try_echo=$ac_try;;
44585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44586 (eval "$ac_compile") 2>conftest.er1
44588 grep -v '^ *+' conftest.er1 >conftest.err
44590 cat conftest.err >&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); } && {
44593 test -z "$ac_cxx_werror_flag" ||
44594 test ! -s conftest.err
44595 } && test -s conftest.$ac_objext; then
44597 wx_cv_var_timezone=_timezone
44600 echo "$as_me: failed program was:" >&5
44601 sed 's/^/| /' conftest.$ac_ext >&5
44604 cat >conftest.$ac_ext <<_ACEOF
44607 cat confdefs.h >>conftest.$ac_ext
44608 cat >>conftest.$ac_ext <<_ACEOF
44609 /* end confdefs.h. */
44624 rm -f conftest.$ac_objext
44625 if { (ac_try="$ac_compile"
44626 case "(($ac_try" in
44627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44628 *) ac_try_echo
=$ac_try;;
44630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44631 (eval "$ac_compile") 2>conftest.er1
44633 grep -v '^ *+' conftest.er1
>conftest.err
44635 cat conftest.err
>&5
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); } && {
44638 test -z "$ac_cxx_werror_flag" ||
44639 test ! -s conftest.err
44640 } && test -s conftest.
$ac_objext; then
44642 wx_cv_var_timezone
=__timezone
44645 echo "$as_me: failed program was:" >&5
44646 sed 's/^/| /' conftest.
$ac_ext >&5
44649 if test "$USE_DOS" = 0 ; then
44650 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44651 echo "$as_me: WARNING: no timezone variable" >&2;}
44657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44669 ac_cpp
='$CPP $CPPFLAGS'
44670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44677 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44678 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44680 if test "x$wx_cv_var_timezone" != x
; then
44681 cat >>confdefs.h
<<_ACEOF
44682 #define WX_TIMEZONE $wx_cv_var_timezone
44688 for ac_func
in localtime
44690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44693 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44694 echo $ECHO_N "(cached) $ECHO_C" >&6
44696 cat >conftest.
$ac_ext <<_ACEOF
44699 cat confdefs.h
>>conftest.
$ac_ext
44700 cat >>conftest.
$ac_ext <<_ACEOF
44701 /* end confdefs.h. */
44702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44704 #define $ac_func innocuous_$ac_func
44706 /* System header to define __stub macros and hopefully few prototypes,
44707 which can conflict with char $ac_func (); below.
44708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44709 <limits.h> exists even on freestanding compilers. */
44712 # include <limits.h>
44714 # include <assert.h>
44719 /* Override any GCC internal prototype to avoid an error.
44720 Use char because int might match the return type of a GCC
44721 builtin and then its argument prototype would still apply. */
44726 /* The GNU C library defines this for functions which it implements
44727 to always fail with ENOSYS. Some functions are actually named
44728 something starting with __ and the normal name is an alias. */
44729 #if defined __stub_$ac_func || defined __stub___$ac_func
44736 return $ac_func ();
44741 rm -f conftest.
$ac_objext conftest
$ac_exeext
44742 if { (ac_try
="$ac_link"
44743 case "(($ac_try" in
44744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44745 *) ac_try_echo=$ac_try;;
44747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44748 (eval "$ac_link") 2>conftest.er1
44750 grep -v '^ *+' conftest.er1 >conftest.err
44752 cat conftest.err >&5
44753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44754 (exit $ac_status); } && {
44755 test -z "$ac_c_werror_flag" ||
44756 test ! -s conftest.err
44757 } && test -s conftest$ac_exeext &&
44758 $as_test_x conftest$ac_exeext; then
44759 eval "$as_ac_var=yes"
44761 echo "$as_me: failed program was:" >&5
44762 sed 's/^/| /' conftest.$ac_ext >&5
44764 eval "$as_ac_var=no"
44767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44768 conftest$ac_exeext conftest.$ac_ext
44770 ac_res=`eval echo '${'$as_ac_var'}'`
44771 { echo "$as_me:$LINENO: result: $ac_res" >&5
44772 echo "${ECHO_T}$ac_res" >&6; }
44773 if test `eval echo '${'$as_ac_var'}'` = yes; then
44774 cat >>confdefs.h <<_ACEOF
44775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44782 if test "$ac_cv_func_localtime" = "yes"; then
44783 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44784 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44785 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44786 echo $ECHO_N "(cached) $ECHO_C" >&6
44789 cat >conftest.$ac_ext <<_ACEOF
44792 cat confdefs.h >>conftest.$ac_ext
44793 cat >>conftest.$ac_ext <<_ACEOF
44794 /* end confdefs.h. */
44809 rm -f conftest.$ac_objext
44810 if { (ac_try="$ac_compile"
44811 case "(($ac_try" in
44812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44813 *) ac_try_echo
=$ac_try;;
44815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44816 (eval "$ac_compile") 2>conftest.er1
44818 grep -v '^ *+' conftest.er1
>conftest.err
44820 cat conftest.err
>&5
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); } && {
44823 test -z "$ac_c_werror_flag" ||
44824 test ! -s conftest.err
44825 } && test -s conftest.
$ac_objext; then
44827 wx_cv_struct_tm_has_gmtoff
=yes
44830 echo "$as_me: failed program was:" >&5
44831 sed 's/^/| /' conftest.
$ac_ext >&5
44833 wx_cv_struct_tm_has_gmtoff
=no
44837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44840 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44841 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44844 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44845 cat >>confdefs.h
<<\_ACEOF
44846 #define WX_GMTOFF_IN_TM 1
44851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44855 if test "$wxUSE_SOCKETS" = "yes"; then
44856 if test "$wxUSE_MGL" = 1; then
44857 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44858 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44863 if test "$wxUSE_SOCKETS" = "yes"; then
44864 if test "$TOOLKIT" != "MSW"; then
44865 { echo "$as_me:$LINENO: checking for socket" >&5
44866 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44867 if test "${ac_cv_func_socket+set}" = set; then
44868 echo $ECHO_N "(cached) $ECHO_C" >&6
44870 cat >conftest.
$ac_ext <<_ACEOF
44873 cat confdefs.h
>>conftest.
$ac_ext
44874 cat >>conftest.
$ac_ext <<_ACEOF
44875 /* end confdefs.h. */
44876 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44878 #define socket innocuous_socket
44880 /* System header to define __stub macros and hopefully few prototypes,
44881 which can conflict with char socket (); below.
44882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44883 <limits.h> exists even on freestanding compilers. */
44886 # include <limits.h>
44888 # include <assert.h>
44893 /* Override any GCC internal prototype to avoid an error.
44894 Use char because int might match the return type of a GCC
44895 builtin and then its argument prototype would still apply. */
44900 /* The GNU C library defines this for functions which it implements
44901 to always fail with ENOSYS. Some functions are actually named
44902 something starting with __ and the normal name is an alias. */
44903 #if defined __stub_socket || defined __stub___socket
44915 rm -f conftest.
$ac_objext conftest
$ac_exeext
44916 if { (ac_try
="$ac_link"
44917 case "(($ac_try" in
44918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44919 *) ac_try_echo=$ac_try;;
44921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44922 (eval "$ac_link") 2>conftest.er1
44924 grep -v '^ *+' conftest.er1 >conftest.err
44926 cat conftest.err >&5
44927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44928 (exit $ac_status); } && {
44929 test -z "$ac_c_werror_flag" ||
44930 test ! -s conftest.err
44931 } && test -s conftest$ac_exeext &&
44932 $as_test_x conftest$ac_exeext; then
44933 ac_cv_func_socket=yes
44935 echo "$as_me: failed program was:" >&5
44936 sed 's/^/| /' conftest.$ac_ext >&5
44938 ac_cv_func_socket=no
44941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44942 conftest$ac_exeext conftest.$ac_ext
44944 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44945 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44946 if test $ac_cv_func_socket = yes; then
44950 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44951 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44952 if test "${ac_cv_lib_socket_socket+set}" = set; then
44953 echo $ECHO_N "(cached) $ECHO_C" >&6
44955 ac_check_lib_save_LIBS=$LIBS
44956 LIBS="-lsocket $LIBS"
44957 cat >conftest.$ac_ext <<_ACEOF
44960 cat confdefs.h >>conftest.$ac_ext
44961 cat >>conftest.$ac_ext <<_ACEOF
44962 /* end confdefs.h. */
44964 /* Override any GCC internal prototype to avoid an error.
44965 Use char because int might match the return type of a GCC
44966 builtin and then its argument prototype would still apply. */
44979 rm -f conftest.$ac_objext conftest$ac_exeext
44980 if { (ac_try="$ac_link"
44981 case "(($ac_try" in
44982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44983 *) ac_try_echo
=$ac_try;;
44985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44986 (eval "$ac_link") 2>conftest.er1
44988 grep -v '^ *+' conftest.er1
>conftest.err
44990 cat conftest.err
>&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); } && {
44993 test -z "$ac_c_werror_flag" ||
44994 test ! -s conftest.err
44995 } && test -s conftest
$ac_exeext &&
44996 $as_test_x conftest
$ac_exeext; then
44997 ac_cv_lib_socket_socket
=yes
44999 echo "$as_me: failed program was:" >&5
45000 sed 's/^/| /' conftest.
$ac_ext >&5
45002 ac_cv_lib_socket_socket
=no
45005 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45006 conftest
$ac_exeext conftest.
$ac_ext
45007 LIBS
=$ac_check_lib_save_LIBS
45009 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45010 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45011 if test $ac_cv_lib_socket_socket = yes; then
45012 if test "$INET_LINK" != " -lsocket"; then
45013 INET_LINK
="$INET_LINK -lsocket"
45017 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45018 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45031 if test "$wxUSE_SOCKETS" = "yes" ; then
45032 if test "$TOOLKIT" != "MSW"; then
45033 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45034 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45035 if test "${wx_cv_type_getsockname3+set}" = set; then
45036 echo $ECHO_N "(cached) $ECHO_C" >&6
45040 ac_cpp
='$CXXCPP $CPPFLAGS'
45041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45045 cat >conftest.
$ac_ext <<_ACEOF
45048 cat confdefs.h
>>conftest.
$ac_ext
45049 cat >>conftest.
$ac_ext <<_ACEOF
45050 /* end confdefs.h. */
45052 #include <sys/types.h>
45053 #include <sys/socket.h>
45060 getsockname(0, 0, &len);
45066 rm -f conftest.
$ac_objext
45067 if { (ac_try
="$ac_compile"
45068 case "(($ac_try" in
45069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45070 *) ac_try_echo=$ac_try;;
45072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45073 (eval "$ac_compile") 2>conftest.er1
45075 grep -v '^ *+' conftest.er1 >conftest.err
45077 cat conftest.err >&5
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); } && {
45080 test -z "$ac_cxx_werror_flag" ||
45081 test ! -s conftest.err
45082 } && test -s conftest.$ac_objext; then
45083 wx_cv_type_getsockname3=socklen_t
45085 echo "$as_me: failed program was:" >&5
45086 sed 's/^/| /' conftest.$ac_ext >&5
45089 CFLAGS_OLD="$CFLAGS"
45090 if test "$GCC" = yes ; then
45091 CFLAGS="-Werror $CFLAGS"
45094 cat >conftest.$ac_ext <<_ACEOF
45097 cat confdefs.h >>conftest.$ac_ext
45098 cat >>conftest.$ac_ext <<_ACEOF
45099 /* end confdefs.h. */
45101 #include <sys/types.h>
45102 #include <sys/socket.h>
45109 getsockname(0, 0, &len);
45115 rm -f conftest.$ac_objext
45116 if { (ac_try="$ac_compile"
45117 case "(($ac_try" in
45118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45119 *) ac_try_echo
=$ac_try;;
45121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45122 (eval "$ac_compile") 2>conftest.er1
45124 grep -v '^ *+' conftest.er1
>conftest.err
45126 cat conftest.err
>&5
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); } && {
45129 test -z "$ac_cxx_werror_flag" ||
45130 test ! -s conftest.err
45131 } && test -s conftest.
$ac_objext; then
45132 wx_cv_type_getsockname3
=size_t
45134 echo "$as_me: failed program was:" >&5
45135 sed 's/^/| /' conftest.
$ac_ext >&5
45137 cat >conftest.
$ac_ext <<_ACEOF
45140 cat confdefs.h
>>conftest.
$ac_ext
45141 cat >>conftest.
$ac_ext <<_ACEOF
45142 /* end confdefs.h. */
45144 #include <sys/types.h>
45145 #include <sys/socket.h>
45152 getsockname(0, 0, &len);
45158 rm -f conftest.
$ac_objext
45159 if { (ac_try
="$ac_compile"
45160 case "(($ac_try" in
45161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45162 *) ac_try_echo=$ac_try;;
45164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45165 (eval "$ac_compile") 2>conftest.er1
45167 grep -v '^ *+' conftest.er1 >conftest.err
45169 cat conftest.err >&5
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); } && {
45172 test -z "$ac_cxx_werror_flag" ||
45173 test ! -s conftest.err
45174 } && test -s conftest.$ac_objext; then
45175 wx_cv_type_getsockname3=int
45177 echo "$as_me: failed program was:" >&5
45178 sed 's/^/| /' conftest.$ac_ext >&5
45180 wx_cv_type_getsockname3=unknown
45184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45190 CFLAGS="$CFLAGS_OLD"
45195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45197 ac_cpp='$CPP $CPPFLAGS'
45198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45204 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45205 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45207 if test "$wx_cv_type_getsockname3" = "unknown"; then
45209 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45210 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45212 cat >>confdefs.h <<_ACEOF
45213 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45217 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45218 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45219 if test "${wx_cv_type_getsockopt5+set}" = set; then
45220 echo $ECHO_N "(cached) $ECHO_C" >&6
45224 ac_cpp='$CXXCPP $CPPFLAGS'
45225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45229 cat >conftest.$ac_ext <<_ACEOF
45232 cat confdefs.h >>conftest.$ac_ext
45233 cat >>conftest.$ac_ext <<_ACEOF
45234 /* end confdefs.h. */
45236 #include <sys/types.h>
45237 #include <sys/socket.h>
45244 getsockopt(0, 0, 0, 0, &len);
45250 rm -f conftest.$ac_objext
45251 if { (ac_try="$ac_compile"
45252 case "(($ac_try" in
45253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45254 *) ac_try_echo
=$ac_try;;
45256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45257 (eval "$ac_compile") 2>conftest.er1
45259 grep -v '^ *+' conftest.er1
>conftest.err
45261 cat conftest.err
>&5
45262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45263 (exit $ac_status); } && {
45264 test -z "$ac_cxx_werror_flag" ||
45265 test ! -s conftest.err
45266 } && test -s conftest.
$ac_objext; then
45267 wx_cv_type_getsockopt5
=socklen_t
45269 echo "$as_me: failed program was:" >&5
45270 sed 's/^/| /' conftest.
$ac_ext >&5
45273 cat >conftest.
$ac_ext <<_ACEOF
45276 cat confdefs.h
>>conftest.
$ac_ext
45277 cat >>conftest.
$ac_ext <<_ACEOF
45278 /* end confdefs.h. */
45280 #include <sys/types.h>
45281 #include <sys/socket.h>
45288 getsockopt(0, 0, 0, 0, &len);
45294 rm -f conftest.
$ac_objext
45295 if { (ac_try
="$ac_compile"
45296 case "(($ac_try" in
45297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45298 *) ac_try_echo=$ac_try;;
45300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45301 (eval "$ac_compile") 2>conftest.er1
45303 grep -v '^ *+' conftest.er1 >conftest.err
45305 cat conftest.err >&5
45306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45307 (exit $ac_status); } && {
45308 test -z "$ac_cxx_werror_flag" ||
45309 test ! -s conftest.err
45310 } && test -s conftest.$ac_objext; then
45311 wx_cv_type_getsockopt5=size_t
45313 echo "$as_me: failed program was:" >&5
45314 sed 's/^/| /' conftest.$ac_ext >&5
45316 cat >conftest.$ac_ext <<_ACEOF
45319 cat confdefs.h >>conftest.$ac_ext
45320 cat >>conftest.$ac_ext <<_ACEOF
45321 /* end confdefs.h. */
45323 #include <sys/types.h>
45324 #include <sys/socket.h>
45331 getsockopt(0, 0, 0, 0, &len);
45337 rm -f conftest.$ac_objext
45338 if { (ac_try="$ac_compile"
45339 case "(($ac_try" in
45340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45341 *) ac_try_echo
=$ac_try;;
45343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45344 (eval "$ac_compile") 2>conftest.er1
45346 grep -v '^ *+' conftest.er1
>conftest.err
45348 cat conftest.err
>&5
45349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45350 (exit $ac_status); } && {
45351 test -z "$ac_cxx_werror_flag" ||
45352 test ! -s conftest.err
45353 } && test -s conftest.
$ac_objext; then
45354 wx_cv_type_getsockopt5
=int
45356 echo "$as_me: failed program was:" >&5
45357 sed 's/^/| /' conftest.
$ac_ext >&5
45359 wx_cv_type_getsockopt5
=unknown
45363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45374 ac_cpp
='$CPP $CPPFLAGS'
45375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45381 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45382 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45384 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45386 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45387 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45389 cat >>confdefs.h
<<_ACEOF
45390 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45397 if test "$wxUSE_SOCKETS" = "yes" ; then
45398 if test "$wxUSE_IPV6" = "yes"; then
45399 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45400 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45401 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45402 echo $ECHO_N "(cached) $ECHO_C" >&6
45405 cat >conftest.
$ac_ext <<_ACEOF
45408 cat confdefs.h
>>conftest.
$ac_ext
45409 cat >>conftest.
$ac_ext <<_ACEOF
45410 /* end confdefs.h. */
45412 #include <sys/types.h>
45413 #include <sys/socket.h>
45414 #include <netinet/in.h>
45420 struct sockaddr_in6 sa6;
45426 rm -f conftest.
$ac_objext
45427 if { (ac_try
="$ac_compile"
45428 case "(($ac_try" in
45429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45430 *) ac_try_echo=$ac_try;;
45432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45433 (eval "$ac_compile") 2>conftest.er1
45435 grep -v '^ *+' conftest.er1 >conftest.err
45437 cat conftest.err >&5
45438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45439 (exit $ac_status); } && {
45440 test -z "$ac_c_werror_flag" ||
45441 test ! -s conftest.err
45442 } && test -s conftest.$ac_objext; then
45443 wx_cv_type_sockaddr_in6=yes
45445 echo "$as_me: failed program was:" >&5
45446 sed 's/^/| /' conftest.$ac_ext >&5
45448 wx_cv_type_sockaddr_in6=no
45452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45456 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45457 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45459 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45460 cat >>confdefs.h <<\_ACEOF
45461 #define wxUSE_IPV6 1
45465 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45466 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_SOCKETS 1
45474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45477 if test "$wxUSE_PROTOCOL" = "yes"; then
45478 if test "$wxUSE_SOCKETS" != "yes"; then
45479 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45480 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45485 if test "$wxUSE_PROTOCOL" = "yes"; then
45486 cat >>confdefs.h <<\_ACEOF
45487 #define wxUSE_PROTOCOL 1
45491 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_PROTOCOL_HTTP 1
45497 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_PROTOCOL_FTP 1
45503 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45504 cat >>confdefs.h <<\_ACEOF
45505 #define wxUSE_PROTOCOL_FILE 1
45510 if test "$wxUSE_FS_INET" = "yes"; then
45511 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45512 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45517 if test "$wxUSE_URL" = "yes"; then
45518 if test "$wxUSE_PROTOCOL" != "yes"; then
45519 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45520 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45523 if test "$wxUSE_URL" = "yes"; then
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_URL 1
45531 if test "$wxUSE_VARIANT" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_VARIANT 1
45538 if test "$wxUSE_FS_INET" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_FS_INET 1
45546 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45549 if test "$TOOLKIT" = "MSW"; then
45552 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45553 if test "$USE_DARWIN" = 1; then
45554 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45555 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45557 ac_cpp='$CXXCPP $CPPFLAGS'
45558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45562 cat >conftest.$ac_ext <<_ACEOF
45565 cat confdefs.h >>conftest.$ac_ext
45566 cat >>conftest.$ac_ext <<_ACEOF
45567 /* end confdefs.h. */
45568 #include <IOKit/hid/IOHIDLib.h>
45572 IOHIDQueueInterface *qi = NULL;
45573 IOHIDCallbackFunction cb = NULL;
45574 qi->setEventCallout(NULL, cb, NULL, NULL);
45579 rm -f conftest.$ac_objext
45580 if { (ac_try="$ac_compile"
45581 case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45583 *) ac_try_echo
=$ac_try;;
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_compile") 2>conftest.er1
45588 grep -v '^ *+' conftest.er1
>conftest.err
45590 cat conftest.err
>&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } && {
45593 test -z "$ac_cxx_werror_flag" ||
45594 test ! -s conftest.err
45595 } && test -s conftest.
$ac_objext; then
45599 echo "$as_me: failed program was:" >&5
45600 sed 's/^/| /' conftest.
$ac_ext >&5
45605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45607 ac_cpp
='$CPP $CPPFLAGS'
45608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45612 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45613 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45617 if test "$wxUSE_MGL" != 1; then
45619 for ac_header
in linux
/joystick.h
45621 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45624 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45625 echo $ECHO_N "(cached) $ECHO_C" >&6
45627 cat >conftest.
$ac_ext <<_ACEOF
45630 cat confdefs.h
>>conftest.
$ac_ext
45631 cat >>conftest.
$ac_ext <<_ACEOF
45632 /* end confdefs.h. */
45633 $ac_includes_default
45635 #include <$ac_header>
45637 rm -f conftest.
$ac_objext
45638 if { (ac_try
="$ac_compile"
45639 case "(($ac_try" in
45640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45641 *) ac_try_echo=$ac_try;;
45643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45644 (eval "$ac_compile") 2>conftest.er1
45646 grep -v '^ *+' conftest.er1 >conftest.err
45648 cat conftest.err >&5
45649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45650 (exit $ac_status); } && {
45651 test -z "$ac_c_werror_flag" ||
45652 test ! -s conftest.err
45653 } && test -s conftest.$ac_objext; then
45654 eval "$as_ac_Header=yes"
45656 echo "$as_me: failed program was:" >&5
45657 sed 's/^/| /' conftest.$ac_ext >&5
45659 eval "$as_ac_Header=no"
45662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45664 ac_res=`eval echo '${'$as_ac_Header'}'`
45665 { echo "$as_me:$LINENO: result: $ac_res" >&5
45666 echo "${ECHO_T}$ac_res" >&6; }
45667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45668 cat >>confdefs.h <<_ACEOF
45669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45679 if test "$wxUSE_JOYSTICK" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_JOYSTICK 1
45684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45686 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45687 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45693 if test "$wxUSE_FONTENUM" = "yes" ; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_FONTENUM 1
45700 if test "$wxUSE_FONTMAP" = "yes" ; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_FONTMAP 1
45707 if test "$wxUSE_UNICODE" = "yes" ; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_UNICODE 1
45713 if test "$USE_WIN32" != 1; then
45714 wxUSE_UNICODE_MSLU=no
45717 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45718 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45719 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45720 if test "${ac_cv_lib_unicows_main+set}" = set; then
45721 echo $ECHO_N "(cached) $ECHO_C" >&6
45723 ac_check_lib_save_LIBS=$LIBS
45724 LIBS="-lunicows $LIBS"
45725 cat >conftest.$ac_ext <<_ACEOF
45728 cat confdefs.h >>conftest.$ac_ext
45729 cat >>conftest.$ac_ext <<_ACEOF
45730 /* end confdefs.h. */
45741 rm -f conftest.$ac_objext conftest$ac_exeext
45742 if { (ac_try="$ac_link"
45743 case "(($ac_try" in
45744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45745 *) ac_try_echo
=$ac_try;;
45747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45748 (eval "$ac_link") 2>conftest.er1
45750 grep -v '^ *+' conftest.er1
>conftest.err
45752 cat conftest.err
>&5
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); } && {
45755 test -z "$ac_c_werror_flag" ||
45756 test ! -s conftest.err
45757 } && test -s conftest
$ac_exeext &&
45758 $as_test_x conftest
$ac_exeext; then
45759 ac_cv_lib_unicows_main
=yes
45761 echo "$as_me: failed program was:" >&5
45762 sed 's/^/| /' conftest.
$ac_ext >&5
45764 ac_cv_lib_unicows_main
=no
45767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45768 conftest
$ac_exeext conftest.
$ac_ext
45769 LIBS
=$ac_check_lib_save_LIBS
45771 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45772 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45773 if test $ac_cv_lib_unicows_main = yes; then
45775 cat >>confdefs.h
<<\_ACEOF
45776 #define wxUSE_UNICODE_MSLU 1
45782 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45783 Applications will only run on Windows NT/2000/XP!" >&5
45784 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45785 Applications will only run on Windows NT/2000/XP!" >&2;}
45786 wxUSE_UNICODE_MSLU
=no
45793 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45794 cat >>confdefs.h
<<\_ACEOF
45795 #define wxUSE_UNICODE_UTF8 1
45799 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45800 cat >>confdefs.h
<<\_ACEOF
45801 #define wxUSE_UTF8_LOCALE_ONLY 1
45808 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45809 cat >>confdefs.h
<<\_ACEOF
45810 #define wxUSE_CONSTRAINTS 1
45813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45816 if test "$wxUSE_MDI" = "yes"; then
45817 cat >>confdefs.h
<<\_ACEOF
45818 #define wxUSE_MDI 1
45822 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45823 cat >>confdefs.h
<<\_ACEOF
45824 #define wxUSE_MDI_ARCHITECTURE 1
45827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45831 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45832 cat >>confdefs.h
<<\_ACEOF
45833 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45839 if test "$wxUSE_HELP" = "yes"; then
45840 cat >>confdefs.h
<<\_ACEOF
45841 #define wxUSE_HELP 1
45844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45846 if test "$wxUSE_MSW" = 1; then
45847 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45848 cat >>confdefs.h
<<\_ACEOF
45849 #define wxUSE_MS_HTML_HELP 1
45855 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45856 if test "$wxUSE_HTML" = "yes"; then
45857 cat >>confdefs.h
<<\_ACEOF
45858 #define wxUSE_WXHTML_HELP 1
45862 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45863 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45864 wxUSE_WXHTML_HELP
=no
45869 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45870 cat >>confdefs.h
<<\_ACEOF
45871 #define wxUSE_PRINTING_ARCHITECTURE 1
45874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45877 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_POSTSCRIPT 1
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45889 if test "$wxUSE_SVG" = "yes"; then
45890 cat >>confdefs.h
<<\_ACEOF
45891 #define wxUSE_SVG 1
45897 if test "$wxUSE_METAFILE" = "yes"; then
45898 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45899 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45900 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45906 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45907 -o "$wxUSE_CLIPBOARD" = "yes" \
45908 -o "$wxUSE_OLE" = "yes" \
45909 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45910 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45911 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45912 if test "${ac_cv_header_ole2_h+set}" = set; then
45913 echo $ECHO_N "(cached) $ECHO_C" >&6
45915 cat >conftest.
$ac_ext <<_ACEOF
45918 cat confdefs.h
>>conftest.
$ac_ext
45919 cat >>conftest.
$ac_ext <<_ACEOF
45920 /* end confdefs.h. */
45925 rm -f conftest.
$ac_objext
45926 if { (ac_try
="$ac_compile"
45927 case "(($ac_try" in
45928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45929 *) ac_try_echo=$ac_try;;
45931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45932 (eval "$ac_compile") 2>conftest.er1
45934 grep -v '^ *+' conftest.er1 >conftest.err
45936 cat conftest.err >&5
45937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45938 (exit $ac_status); } && {
45939 test -z "$ac_c_werror_flag" ||
45940 test ! -s conftest.err
45941 } && test -s conftest.$ac_objext; then
45942 ac_cv_header_ole2_h=yes
45944 echo "$as_me: failed program was:" >&5
45945 sed 's/^/| /' conftest.$ac_ext >&5
45947 ac_cv_header_ole2_h=no
45950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45952 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45953 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45957 if test "$ac_cv_header_ole2_h" = "yes" ; then
45958 if test "$GCC" = yes ; then
45959 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45960 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45961 cat >conftest.$ac_ext <<_ACEOF
45964 cat confdefs.h >>conftest.$ac_ext
45965 cat >>conftest.$ac_ext <<_ACEOF
45966 /* end confdefs.h. */
45967 #include <windows.h>
45977 rm -f conftest.$ac_objext
45978 if { (ac_try="$ac_compile"
45979 case "(($ac_try" in
45980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45981 *) ac_try_echo
=$ac_try;;
45983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45984 (eval "$ac_compile") 2>conftest.er1
45986 grep -v '^ *+' conftest.er1
>conftest.err
45988 cat conftest.err
>&5
45989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45990 (exit $ac_status); } && {
45991 test -z "$ac_c_werror_flag" ||
45992 test ! -s conftest.err
45993 } && test -s conftest.
$ac_objext; then
45994 { echo "$as_me:$LINENO: result: no" >&5
45995 echo "${ECHO_T}no" >&6; }
45997 echo "$as_me: failed program was:" >&5
45998 sed 's/^/| /' conftest.
$ac_ext >&5
46000 { echo "$as_me:$LINENO: result: yes" >&5
46001 echo "${ECHO_T}yes" >&6; }
46002 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46006 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46007 if test "$wxUSE_OLE" = "yes" ; then
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_OLE 1
46012 cat >>confdefs.h
<<\_ACEOF
46013 #define wxUSE_OLE_AUTOMATION 1
46016 cat >>confdefs.h
<<\_ACEOF
46017 #define wxUSE_ACTIVEX 1
46020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46024 if test "$wxUSE_DATAOBJ" = "yes" ; then
46025 cat >>confdefs.h
<<\_ACEOF
46026 #define wxUSE_DATAOBJ 1
46031 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46032 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46035 wxUSE_DRAG_AND_DROP
=no
46040 if test "$wxUSE_METAFILE" = "yes"; then
46041 cat >>confdefs.h
<<\_ACEOF
46042 #define wxUSE_METAFILE 1
46046 cat >>confdefs.h
<<\_ACEOF
46047 #define wxUSE_ENH_METAFILE 1
46053 if test "$wxUSE_IPC" = "yes"; then
46054 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46055 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46056 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46060 if test "$wxUSE_IPC" = "yes"; then
46061 cat >>confdefs.h
<<\_ACEOF
46062 #define wxUSE_IPC 1
46065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46069 if test "$wxUSE_DATAOBJ" = "yes"; then
46070 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46071 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46072 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46075 cat >>confdefs.h
<<\_ACEOF
46076 #define wxUSE_DATAOBJ 1
46081 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46082 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46084 wxUSE_DRAG_AND_DROP
=no
46087 if test "$wxUSE_CLIPBOARD" = "yes"; then
46088 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46089 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46090 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46094 if test "$wxUSE_CLIPBOARD" = "yes"; then
46095 cat >>confdefs.h
<<\_ACEOF
46096 #define wxUSE_CLIPBOARD 1
46102 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46103 if test "$wxUSE_GTK" = 1; then
46104 if test "$WXGTK12" != 1; then
46105 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46106 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46107 wxUSE_DRAG_AND_DROP
=no
46111 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46112 "$wxUSE_DFB" = 1; then
46113 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46114 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46115 wxUSE_DRAG_AND_DROP
=no
46118 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46119 cat >>confdefs.h
<<\_ACEOF
46120 #define wxUSE_DRAG_AND_DROP 1
46127 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46131 if test "$wxUSE_CLIPBOARD" = "yes"; then
46132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46135 if test "$wxUSE_SPLINES" = "yes" ; then
46136 cat >>confdefs.h
<<\_ACEOF
46137 #define wxUSE_SPLINES 1
46142 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46143 cat >>confdefs.h
<<\_ACEOF
46144 #define wxUSE_MOUSEWHEEL 1
46151 if test "$wxUSE_CONTROLS" = "yes"; then
46155 if test "$wxUSE_ACCEL" = "yes"; then
46156 cat >>confdefs.h
<<\_ACEOF
46157 #define wxUSE_ACCEL 1
46163 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46164 cat >>confdefs.h
<<\_ACEOF
46165 #define wxUSE_ANIMATIONCTRL 1
46169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46172 if test "$wxUSE_BUTTON" = "yes"; then
46173 cat >>confdefs.h
<<\_ACEOF
46174 #define wxUSE_BUTTON 1
46180 if test "$wxUSE_BMPBUTTON" = "yes"; then
46181 cat >>confdefs.h
<<\_ACEOF
46182 #define wxUSE_BMPBUTTON 1
46188 if test "$wxUSE_CALCTRL" = "yes"; then
46189 cat >>confdefs.h
<<\_ACEOF
46190 #define wxUSE_CALENDARCTRL 1
46194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46197 if test "$wxUSE_CARET" = "yes"; then
46198 cat >>confdefs.h
<<\_ACEOF
46199 #define wxUSE_CARET 1
46203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46206 if test "$wxUSE_COLLPANE" = "yes"; then
46207 cat >>confdefs.h
<<\_ACEOF
46208 #define wxUSE_COLLPANE 1
46212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46215 if test "$wxUSE_COMBOBOX" = "yes"; then
46216 cat >>confdefs.h
<<\_ACEOF
46217 #define wxUSE_COMBOBOX 1
46223 if test "$wxUSE_COMBOCTRL" = "yes"; then
46224 cat >>confdefs.h
<<\_ACEOF
46225 #define wxUSE_COMBOCTRL 1
46231 if test "$wxUSE_CHOICE" = "yes"; then
46232 cat >>confdefs.h
<<\_ACEOF
46233 #define wxUSE_CHOICE 1
46239 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46240 cat >>confdefs.h
<<\_ACEOF
46241 #define wxUSE_CHOICEBOOK 1
46247 if test "$wxUSE_CHECKBOX" = "yes"; then
46248 cat >>confdefs.h
<<\_ACEOF
46249 #define wxUSE_CHECKBOX 1
46255 if test "$wxUSE_CHECKLST" = "yes"; then
46256 cat >>confdefs.h
<<\_ACEOF
46257 #define wxUSE_CHECKLISTBOX 1
46263 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46264 cat >>confdefs.h
<<\_ACEOF
46265 #define wxUSE_COLOURPICKERCTRL 1
46271 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46272 cat >>confdefs.h
<<\_ACEOF
46273 #define wxUSE_DATEPICKCTRL 1
46279 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46280 cat >>confdefs.h
<<\_ACEOF
46281 #define wxUSE_DIRPICKERCTRL 1
46287 if test "$wxUSE_FILECTRL" = "yes"; then
46288 cat >>confdefs.h
<<\_ACEOF
46289 #define wxUSE_FILECTRL 1
46295 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46296 cat >>confdefs.h
<<\_ACEOF
46297 #define wxUSE_FILEPICKERCTRL 1
46303 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46304 cat >>confdefs.h
<<\_ACEOF
46305 #define wxUSE_FONTPICKERCTRL 1
46311 if test "$wxUSE_DISPLAY" = "yes"; then
46312 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46313 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46314 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46317 cat >>confdefs.h
<<\_ACEOF
46318 #define wxUSE_DISPLAY 1
46321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46325 if test "$wxUSE_DETECT_SM" = "yes"; then
46326 cat >>confdefs.h
<<\_ACEOF
46327 #define wxUSE_DETECT_SM 1
46332 if test "$wxUSE_GAUGE" = "yes"; then
46333 cat >>confdefs.h
<<\_ACEOF
46334 #define wxUSE_GAUGE 1
46340 if test "$wxUSE_GRID" = "yes"; then
46341 cat >>confdefs.h
<<\_ACEOF
46342 #define wxUSE_GRID 1
46346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46349 if test "$wxUSE_HEADERCTRL" = "yes"; then
46350 cat >>confdefs.h
<<\_ACEOF
46351 #define wxUSE_HEADERCTRL 1
46357 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46358 cat >>confdefs.h
<<\_ACEOF
46359 #define wxUSE_HYPERLINKCTRL 1
46365 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46366 cat >>confdefs.h
<<\_ACEOF
46367 #define wxUSE_BITMAPCOMBOBOX 1
46373 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46374 cat >>confdefs.h
<<\_ACEOF
46375 #define wxUSE_DATAVIEWCTRL 1
46379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46382 if test "$wxUSE_IMAGLIST" = "yes"; then
46383 cat >>confdefs.h
<<\_ACEOF
46384 #define wxUSE_IMAGLIST 1
46389 if test "$wxUSE_INFOBAR" = "yes"; then
46390 cat >>confdefs.h
<<\_ACEOF
46391 #define wxUSE_INFOBAR 1
46396 if test "$wxUSE_LISTBOOK" = "yes"; then
46397 cat >>confdefs.h
<<\_ACEOF
46398 #define wxUSE_LISTBOOK 1
46404 if test "$wxUSE_LISTBOX" = "yes"; then
46405 cat >>confdefs.h
<<\_ACEOF
46406 #define wxUSE_LISTBOX 1
46412 if test "$wxUSE_LISTCTRL" = "yes"; then
46413 if test "$wxUSE_IMAGLIST" = "yes"; then
46414 cat >>confdefs.h
<<\_ACEOF
46415 #define wxUSE_LISTCTRL 1
46419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46421 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46422 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46426 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46427 cat >>confdefs.h
<<\_ACEOF
46428 #define wxUSE_EDITABLELISTBOX 1
46434 if test "$wxUSE_NOTEBOOK" = "yes"; then
46435 cat >>confdefs.h
<<\_ACEOF
46436 #define wxUSE_NOTEBOOK 1
46440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46443 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46444 cat >>confdefs.h
<<\_ACEOF
46445 #define wxUSE_NOTIFICATION_MESSAGE 1
46450 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46451 cat >>confdefs.h
<<\_ACEOF
46452 #define wxUSE_ODCOMBOBOX 1
46456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46459 if test "$wxUSE_RADIOBOX" = "yes"; then
46460 cat >>confdefs.h
<<\_ACEOF
46461 #define wxUSE_RADIOBOX 1
46467 if test "$wxUSE_RADIOBTN" = "yes"; then
46468 cat >>confdefs.h
<<\_ACEOF
46469 #define wxUSE_RADIOBTN 1
46475 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46476 cat >>confdefs.h
<<\_ACEOF
46477 #define wxUSE_REARRANGECTRL 1
46482 if test "$wxUSE_SASH" = "yes"; then
46483 cat >>confdefs.h
<<\_ACEOF
46484 #define wxUSE_SASH 1
46487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46490 if test "$wxUSE_SCROLLBAR" = "yes"; then
46491 cat >>confdefs.h
<<\_ACEOF
46492 #define wxUSE_SCROLLBAR 1
46496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46499 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46500 cat >>confdefs.h
<<\_ACEOF
46501 #define wxUSE_SEARCHCTRL 1
46507 if test "$wxUSE_SLIDER" = "yes"; then
46508 cat >>confdefs.h
<<\_ACEOF
46509 #define wxUSE_SLIDER 1
46515 if test "$wxUSE_SPINBTN" = "yes"; then
46516 cat >>confdefs.h
<<\_ACEOF
46517 #define wxUSE_SPINBTN 1
46523 if test "$wxUSE_SPINCTRL" = "yes"; then
46524 cat >>confdefs.h
<<\_ACEOF
46525 #define wxUSE_SPINCTRL 1
46531 if test "$wxUSE_SPLITTER" = "yes"; then
46532 cat >>confdefs.h
<<\_ACEOF
46533 #define wxUSE_SPLITTER 1
46536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46539 if test "$wxUSE_STATBMP" = "yes"; then
46540 cat >>confdefs.h
<<\_ACEOF
46541 #define wxUSE_STATBMP 1
46547 if test "$wxUSE_STATBOX" = "yes"; then
46548 cat >>confdefs.h
<<\_ACEOF
46549 #define wxUSE_STATBOX 1
46555 if test "$wxUSE_STATTEXT" = "yes"; then
46556 cat >>confdefs.h
<<\_ACEOF
46557 #define wxUSE_STATTEXT 1
46563 if test "$wxUSE_STATLINE" = "yes"; then
46564 cat >>confdefs.h
<<\_ACEOF
46565 #define wxUSE_STATLINE 1
46571 if test "$wxUSE_STATUSBAR" = "yes"; then
46572 cat >>confdefs.h
<<\_ACEOF
46573 #define wxUSE_NATIVE_STATUSBAR 1
46576 cat >>confdefs.h
<<\_ACEOF
46577 #define wxUSE_STATUSBAR 1
46582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46585 if test "$wxUSE_TEXTCTRL" = "yes"; then
46586 cat >>confdefs.h
<<\_ACEOF
46587 #define wxUSE_TEXTCTRL 1
46591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46593 cat >>confdefs.h
<<\_ACEOF
46594 #define wxUSE_RICHEDIT 1
46597 cat >>confdefs.h
<<\_ACEOF
46598 #define wxUSE_RICHEDIT2 1
46603 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46604 if test "$wxUSE_OLD_COCOA" = 1 ; then
46605 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46606 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46610 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46611 cat >>confdefs.h
<<\_ACEOF
46612 #define wxUSE_TOGGLEBTN 1
46619 if test "$wxUSE_TOOLBAR" = "yes"; then
46620 cat >>confdefs.h
<<\_ACEOF
46621 #define wxUSE_TOOLBAR 1
46626 if test "$wxUSE_UNIVERSAL" = "yes"; then
46627 wxUSE_TOOLBAR_NATIVE
="no"
46629 wxUSE_TOOLBAR_NATIVE
="yes"
46630 cat >>confdefs.h
<<\_ACEOF
46631 #define wxUSE_TOOLBAR_NATIVE 1
46636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46639 if test "$wxUSE_TOOLTIPS" = "yes"; then
46640 if test "$wxUSE_MOTIF" = 1; then
46641 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46642 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46644 if test "$wxUSE_UNIVERSAL" = "yes"; then
46645 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46646 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46648 cat >>confdefs.h
<<\_ACEOF
46649 #define wxUSE_TOOLTIPS 1
46656 if test "$wxUSE_TREEBOOK" = "yes"; then
46657 cat >>confdefs.h
<<\_ACEOF
46658 #define wxUSE_TREEBOOK 1
46664 if test "$wxUSE_TOOLBOOK" = "yes"; then
46665 cat >>confdefs.h
<<\_ACEOF
46666 #define wxUSE_TOOLBOOK 1
46672 if test "$wxUSE_TREECTRL" = "yes"; then
46673 if test "$wxUSE_IMAGLIST" = "yes"; then
46674 cat >>confdefs.h
<<\_ACEOF
46675 #define wxUSE_TREECTRL 1
46679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46681 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46682 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46686 if test "$wxUSE_POPUPWIN" = "yes"; then
46687 if test "$wxUSE_OLD_COCOA" = 1 ; then
46688 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46689 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46691 if test "$wxUSE_PM" = 1; then
46692 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46693 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46695 cat >>confdefs.h
<<\_ACEOF
46696 #define wxUSE_POPUPWIN 1
46699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46706 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46707 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46708 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46709 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46711 cat >>confdefs.h
<<\_ACEOF
46712 #define wxUSE_DIALUP_MANAGER 1
46715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46719 if test "$wxUSE_TIPWINDOW" = "yes"; then
46720 if test "$wxUSE_PM" = 1; then
46721 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46722 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46724 cat >>confdefs.h
<<\_ACEOF
46725 #define wxUSE_TIPWINDOW 1
46731 if test "$USES_CONTROLS" = 1; then
46732 cat >>confdefs.h
<<\_ACEOF
46733 #define wxUSE_CONTROLS 1
46739 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46740 cat >>confdefs.h
<<\_ACEOF
46741 #define wxUSE_ACCESSIBILITY 1
46744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46747 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46748 cat >>confdefs.h
<<\_ACEOF
46749 #define wxUSE_DRAGIMAGE 1
46752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46755 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46756 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46757 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46758 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46760 cat >>confdefs.h
<<\_ACEOF
46761 #define wxUSE_EXCEPTIONS 1
46764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46769 if test "$wxUSE_HTML" = "yes"; then
46770 cat >>confdefs.h
<<\_ACEOF
46771 #define wxUSE_HTML 1
46775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46777 if test "$wxUSE_WEBKIT" = "yes"; then
46778 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46779 old_CPPFLAGS
="$CPPFLAGS"
46780 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46781 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46782 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46783 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46784 echo $ECHO_N "(cached) $ECHO_C" >&6
46786 cat >conftest.
$ac_ext <<_ACEOF
46789 cat confdefs.h
>>conftest.
$ac_ext
46790 cat >>conftest.
$ac_ext <<_ACEOF
46791 /* end confdefs.h. */
46793 #include <Carbon/Carbon.h>
46794 #include <WebKit/WebKit.h>
46797 #include <WebKit/HIWebView.h>
46799 rm -f conftest.
$ac_objext
46800 if { (ac_try
="$ac_compile"
46801 case "(($ac_try" in
46802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46803 *) ac_try_echo=$ac_try;;
46805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46806 (eval "$ac_compile") 2>conftest.er1
46808 grep -v '^ *+' conftest.er1 >conftest.err
46810 cat conftest.err >&5
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); } && {
46813 test -z "$ac_c_werror_flag" ||
46814 test ! -s conftest.err
46815 } && test -s conftest.$ac_objext; then
46816 ac_cv_header_WebKit_HIWebView_h=yes
46818 echo "$as_me: failed program was:" >&5
46819 sed 's/^/| /' conftest.$ac_ext >&5
46821 ac_cv_header_WebKit_HIWebView_h=no
46824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46826 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46827 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46828 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_WEBKIT 1
46834 WEBKIT_LINK="-framework WebKit"
46838 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46839 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46845 CPPFLAGS="$old_CPPFLAGS"
46846 elif test "$wxUSE_OLD_COCOA" = 1; then
46847 cat >>confdefs.h <<\_ACEOF
46848 #define wxUSE_WEBKIT 1
46854 if test "$wxUSE_WEBKIT" = "yes"; then
46855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46860 if test "$wxUSE_XRC" = "yes"; then
46861 if test "$wxUSE_XML" != "yes"; then
46862 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46863 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46866 cat >>confdefs.h <<\_ACEOF
46867 #define wxUSE_XRC 1
46871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46876 if test "$wxUSE_AUI" = "yes"; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_AUI 1
46882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46886 if test "$wxUSE_PROPGRID" = "yes"; then
46887 cat >>confdefs.h <<\_ACEOF
46888 #define wxUSE_PROPGRID 1
46892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46896 if test "$wxUSE_RIBBON" = "yes"; then
46897 cat >>confdefs.h <<\_ACEOF
46898 #define wxUSE_RIBBON 1
46902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46906 if test "$wxUSE_STC" = "yes"; then
46907 cat >>confdefs.h <<\_ACEOF
46908 #define wxUSE_STC 1
46912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46914 # Extract the first word of "python", so it can be a program name with args.
46915 set dummy python; ac_word=$2
46916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46918 if test "${ac_cv_path_PYTHON+set}" = set; then
46919 echo $ECHO_N "(cached) $ECHO_C" >&6
46923 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46927 for as_dir in $PATH
46930 test -z "$as_dir" && as_dir=.
46931 for ac_exec_ext in '' $ac_executable_extensions; do
46932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46933 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46944 PYTHON=$ac_cv_path_PYTHON
46945 if test -n "$PYTHON"; then
46946 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46947 echo "${ECHO_T}$PYTHON" >&6; }
46949 { echo "$as_me:$LINENO: result: no" >&5
46950 echo "${ECHO_T}no" >&6; }
46954 if test "x$PYTHON" = "x"; then
46960 if test "$wxUSE_MENUS" = "yes"; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_MENUS 1
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46968 if test "$wxUSE_METAFILE" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_METAFILE 1
46975 if test "$wxUSE_MIMETYPE" = "yes"; then
46976 cat >>confdefs.h <<\_ACEOF
46977 #define wxUSE_MIMETYPE 1
46982 if test "$wxUSE_MINIFRAME" = "yes"; then
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_MINIFRAME 1
46989 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_SYSTEM_OPTIONS 1
46996 if test "$wxUSE_TASKBARICON" = "yes"; then
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_TASKBARICON 1
47001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47005 if test "$wxUSE_VALIDATORS" = "yes"; then
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_VALIDATORS 1
47010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47013 if test "$wxUSE_PALETTE" = "yes" ; then
47014 if test "$wxUSE_DFB" = 1; then
47015 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47016 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_PALETTE 1
47026 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47027 LIBS=" -lunicows $LIBS"
47031 if test "$wxUSE_RICHTEXT" = "yes"; then
47032 cat >>confdefs.h <<\_ACEOF
47033 #define wxUSE_RICHTEXT 1
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47041 if test "$wxUSE_IMAGE" = "yes" ; then
47042 cat >>confdefs.h <<\_ACEOF
47043 #define wxUSE_IMAGE 1
47047 if test "$wxUSE_GIF" = "yes" ; then
47048 cat >>confdefs.h <<\_ACEOF
47049 #define wxUSE_GIF 1
47054 if test "$wxUSE_PCX" = "yes" ; then
47055 cat >>confdefs.h <<\_ACEOF
47056 #define wxUSE_PCX 1
47061 if test "$wxUSE_TGA" = "yes" ; then
47062 cat >>confdefs.h <<\_ACEOF
47063 #define wxUSE_TGA 1
47068 if test "$wxUSE_IFF" = "yes" ; then
47069 cat >>confdefs.h <<\_ACEOF
47070 #define wxUSE_IFF 1
47075 if test "$wxUSE_PNM" = "yes" ; then
47076 cat >>confdefs.h <<\_ACEOF
47077 #define wxUSE_PNM 1
47082 if test "$wxUSE_XPM" = "yes" ; then
47083 cat >>confdefs.h <<\_ACEOF
47084 #define wxUSE_XPM 1
47089 if test "$wxUSE_ICO_CUR" = "yes" ; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_ICO_CUR 1
47098 if test "$wxUSE_ABOUTDLG" = "yes"; then
47099 cat >>confdefs.h <<\_ACEOF
47100 #define wxUSE_ABOUTDLG 1
47105 if test "$wxUSE_CHOICEDLG" = "yes"; then
47106 cat >>confdefs.h <<\_ACEOF
47107 #define wxUSE_CHOICEDLG 1
47112 if test "$wxUSE_COLOURDLG" = "yes"; then
47113 cat >>confdefs.h <<\_ACEOF
47114 #define wxUSE_COLOURDLG 1
47119 if test "$wxUSE_FILEDLG" = "yes"; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_FILEDLG 1
47126 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47127 cat >>confdefs.h <<\_ACEOF
47128 #define wxUSE_FINDREPLDLG 1
47133 if test "$wxUSE_FONTDLG" = "yes"; then
47134 cat >>confdefs.h <<\_ACEOF
47135 #define wxUSE_FONTDLG 1
47140 if test "$wxUSE_DIRDLG" = "yes"; then
47141 if test "$wxUSE_TREECTRL" != "yes"; then
47142 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47143 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47145 cat >>confdefs.h <<\_ACEOF
47146 #define wxUSE_DIRDLG 1
47152 if test "$wxUSE_MSGDLG" = "yes"; then
47153 cat >>confdefs.h <<\_ACEOF
47154 #define wxUSE_MSGDLG 1
47159 if test "$wxUSE_NUMBERDLG" = "yes"; then
47160 cat >>confdefs.h <<\_ACEOF
47161 #define wxUSE_NUMBERDLG 1
47166 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47167 cat >>confdefs.h <<\_ACEOF
47168 #define wxUSE_PROGRESSDLG 1
47173 if test "$wxUSE_SPLASH" = "yes"; then
47174 cat >>confdefs.h <<\_ACEOF
47175 #define wxUSE_SPLASH 1
47178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47181 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47182 cat >>confdefs.h <<\_ACEOF
47183 #define wxUSE_STARTUP_TIPS 1
47188 if test "$wxUSE_TEXTDLG" = "yes"; then
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_TEXTDLG 1
47195 if test "$wxUSE_WIZARDDLG" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_WIZARDDLG 1
47200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47204 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47205 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_OWNER_DRAWN 1
47214 if test "$wxUSE_MSW" = 1 ; then
47216 if test "$wxUSE_DC_CACHEING" = "yes"; then
47217 cat >>confdefs.h <<\_ACEOF
47218 #define wxUSE_DC_CACHEING 1
47223 if test "$wxUSE_DIB" = "yes"; then
47224 cat >>confdefs.h <<\_ACEOF
47225 #define wxUSE_WXDIB 1
47230 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47231 cat >>confdefs.h <<\_ACEOF
47232 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47237 if test "$wxUSE_UXTHEME" = "yes"; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_UXTHEME 1
47246 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47247 cat >>confdefs.h <<\_ACEOF
47248 #define wxUSE_AUTOID_MANAGEMENT 1
47253 if test "$USE_WIN32" = 1 ; then
47254 if test "$wxUSE_INICONF" = "yes"; then
47255 cat >>confdefs.h <<\_ACEOF
47256 #define wxUSE_INICONF 1
47261 if test "$wxUSE_REGKEY" = "yes"; then
47262 cat >>confdefs.h <<\_ACEOF
47263 #define wxUSE_REGKEY 1
47270 if test "$wxUSE_MAC" = 1; then
47271 wxUSE_GRAPHICS_CONTEXT="yes"
47274 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47276 if test "$wxUSE_MSW" = 1; then
47277 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47278 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47279 if test "${wx_cv_lib_gdiplus+set}" = set; then
47280 echo $ECHO_N "(cached) $ECHO_C" >&6
47284 ac_cpp='$CXXCPP $CPPFLAGS'
47285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47289 cat >conftest.$ac_ext <<_ACEOF
47292 cat confdefs.h >>conftest.$ac_ext
47293 cat >>conftest.$ac_ext <<_ACEOF
47294 /* end confdefs.h. */
47295 #include <gdiplus.h>
47300 using namespace Gdiplus;
47306 rm -f conftest.$ac_objext
47307 if { (ac_try="$ac_compile"
47308 case "(($ac_try" in
47309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47310 *) ac_try_echo
=$ac_try;;
47312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47313 (eval "$ac_compile") 2>conftest.er1
47315 grep -v '^ *+' conftest.er1
>conftest.err
47317 cat conftest.err
>&5
47318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319 (exit $ac_status); } && {
47320 test -z "$ac_cxx_werror_flag" ||
47321 test ! -s conftest.err
47322 } && test -s conftest.
$ac_objext; then
47323 wx_cv_lib_gdiplus
=yes
47325 echo "$as_me: failed program was:" >&5
47326 sed 's/^/| /' conftest.
$ac_ext >&5
47328 wx_cv_lib_gdiplus
=no
47332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47334 ac_cpp
='$CPP $CPPFLAGS'
47335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47342 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47343 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47344 if test "$wx_cv_lib_gdiplus" = "yes"; then
47347 elif test "$wxUSE_GTK" = 1; then
47350 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47351 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47353 if test -n "$PKG_CONFIG"; then
47354 if test -n "$CAIRO_CFLAGS"; then
47355 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47357 if test -n "$PKG_CONFIG" && \
47358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47359 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47362 (exit $ac_status); }; then
47363 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47371 if test -n "$PKG_CONFIG"; then
47372 if test -n "$CAIRO_LIBS"; then
47373 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47375 if test -n "$PKG_CONFIG" && \
47376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47377 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47380 (exit $ac_status); }; then
47381 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47392 if test $pkg_failed = yes; then
47394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47395 _pkg_short_errors_supported
=yes
47397 _pkg_short_errors_supported
=no
47399 if test $_pkg_short_errors_supported = yes; then
47400 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47402 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47404 # Put the nasty error message in config.log where it belongs
47405 echo "$CAIRO_PKG_ERRORS" >&5
47407 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47408 echo "$as_me: WARNING: Cairo library not found" >&2;}
47410 elif test $pkg_failed = untried
; then
47411 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47412 echo "$as_me: WARNING: Cairo library not found" >&2;}
47415 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47416 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47417 { echo "$as_me:$LINENO: result: yes" >&5
47418 echo "${ECHO_T}yes" >&6; }
47425 if test "$wx_has_graphics" = 1; then
47426 cat >>confdefs.h
<<\_ACEOF
47427 #define wxUSE_GRAPHICS_CONTEXT 1
47431 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47432 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47439 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47442 if test "$wxUSE_GTK" = 1; then
47443 wxUSE_GSTREAMER
="no"
47445 GST_VERSION_MAJOR
=0
47446 GST_VERSION_MINOR
=10
47447 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47449 if test "$wxUSE_GSTREAMER8" = "no"; then
47452 { echo "$as_me:$LINENO: checking for GST" >&5
47453 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47455 if test -n "$PKG_CONFIG"; then
47456 if test -n "$GST_CFLAGS"; then
47457 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47459 if test -n "$PKG_CONFIG" && \
47460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47461 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47464 (exit $ac_status); }; then
47465 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47473 if test -n "$PKG_CONFIG"; then
47474 if test -n "$GST_LIBS"; then
47475 pkg_cv_GST_LIBS
="$GST_LIBS"
47477 if test -n "$PKG_CONFIG" && \
47478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47479 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47482 (exit $ac_status); }; then
47483 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47494 if test $pkg_failed = yes; then
47496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47497 _pkg_short_errors_supported
=yes
47499 _pkg_short_errors_supported
=no
47501 if test $_pkg_short_errors_supported = yes; then
47502 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47504 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47506 # Put the nasty error message in config.log where it belongs
47507 echo "$GST_PKG_ERRORS" >&5
47510 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47511 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47512 GST_VERSION_MINOR
=8
47515 elif test $pkg_failed = untried
; then
47517 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47518 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47519 GST_VERSION_MINOR
=8
47523 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47524 GST_LIBS
=$pkg_cv_GST_LIBS
47525 { echo "$as_me:$LINENO: result: yes" >&5
47526 echo "${ECHO_T}yes" >&6; }
47528 wxUSE_GSTREAMER
="yes"
47529 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47533 GST_VERSION_MINOR
=8
47536 if test $GST_VERSION_MINOR = "8"; then
47537 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47540 { echo "$as_me:$LINENO: checking for GST" >&5
47541 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47543 if test -n "$PKG_CONFIG"; then
47544 if test -n "$GST_CFLAGS"; then
47545 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47547 if test -n "$PKG_CONFIG" && \
47548 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47549 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47552 (exit $ac_status); }; then
47553 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47561 if test -n "$PKG_CONFIG"; then
47562 if test -n "$GST_LIBS"; then
47563 pkg_cv_GST_LIBS
="$GST_LIBS"
47565 if test -n "$PKG_CONFIG" && \
47566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47567 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47570 (exit $ac_status); }; then
47571 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47582 if test $pkg_failed = yes; then
47584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47585 _pkg_short_errors_supported
=yes
47587 _pkg_short_errors_supported
=no
47589 if test $_pkg_short_errors_supported = yes; then
47590 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47592 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47594 # Put the nasty error message in config.log where it belongs
47595 echo "$GST_PKG_ERRORS" >&5
47598 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47599 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47601 elif test $pkg_failed = untried
; then
47603 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47604 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47607 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47608 GST_LIBS
=$pkg_cv_GST_LIBS
47609 { echo "$as_me:$LINENO: result: yes" >&5
47610 echo "${ECHO_T}yes" >&6; }
47611 wxUSE_GSTREAMER
="yes"
47616 if test "$wxUSE_GSTREAMER" = "yes"; then
47617 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47618 EXTRALIBS_MEDIA
="$GST_LIBS"
47620 cat >>confdefs.h
<<\_ACEOF
47621 #define wxUSE_GSTREAMER 1
47629 if test $USE_MEDIA = 1; then
47630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47631 cat >>confdefs.h
<<\_ACEOF
47632 #define wxUSE_MEDIACTRL 1
47636 if test "$wxUSE_MEDIACTRL" = "yes"; then
47637 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47638 echo "$as_me: error: GStreamer not available" >&2;}
47639 { (exit 1); exit 1; }; }
47641 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47642 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47648 if test "$cross_compiling" != "no"; then
47651 OSINFO
=`uname -s -r -m`
47652 OSINFO
="\"$OSINFO\""
47655 cat >>confdefs.h
<<_ACEOF
47656 #define WXWIN_OS_DESCRIPTION $OSINFO
47661 if test "x$prefix" != "xNONE"; then
47664 wxPREFIX
=$ac_default_prefix
47667 cat >>confdefs.h
<<_ACEOF
47668 #define wxINSTALL_PREFIX "$wxPREFIX"
47674 STD_BASE_LIBS
="base"
47676 BUILT_WX_LIBS
="base"
47677 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47679 if test "$wxUSE_SOCKETS" = "yes" ; then
47680 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47681 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47683 if test "$wxUSE_XML" = "yes" ; then
47684 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47685 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47688 if test "$wxUSE_GUI" = "yes"; then
47689 STD_GUI_LIBS
="adv core"
47690 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47692 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47693 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47694 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47696 if test "$wxUSE_HTML" = "yes" ; then
47697 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47698 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47700 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47701 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47703 if test "$wxUSE_OPENGL" = "yes" ; then
47704 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47706 if test "$wxUSE_AUI" = "yes" ; then
47707 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47709 if test "$wxUSE_PROPGRID" = "yes" ; then
47710 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47712 if test "$wxUSE_RIBBON" = "yes" ; then
47713 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47715 if test "$wxUSE_RICHTEXT" = "yes" ; then
47716 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47718 if test "$wxUSE_STC" = "yes" ; then
47719 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47721 if test "$wxUSE_XRC" = "yes" ; then
47722 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47723 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
47734 if test "$wxUSE_MAC" = 1 ; then
47735 if test "$USE_DARWIN" = 1; then
47736 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47739 if test "$wxUSE_OLD_COCOA" = 1 ; then
47740 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
47741 if test "$wxUSE_MEDIACTRL" = "yes"; then
47742 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
47745 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
47746 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47749 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
47750 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47752 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47754 if test "$wxUSE_GUI" = "yes"; then
47757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47758 erase event exec font image minimal render \
47759 shaped svg taborder vscroll widgets wrapsizer"
47761 if test "$wxUSE_MONOLITHIC" != "yes"; then
47762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47764 if test "$TOOLKIT" = "MSW"; then
47765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47766 if test "$wxUSE_UNIVERSAL" != "yes"; then
47767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47770 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47774 SAMPLES_SUBDIRS
="console"
47775 if test "$wxUSE_SOCKETS" = "yes" ; then
47776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47778 if test "$wxUSE_IPC" = "yes" ; then
47779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47784 if test "x$INTELCC" = "xyes" ; then
47785 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
47786 elif test "$GCC" = yes ; then
47787 CWARNINGS
="-Wall -Wundef"
47790 if test "x$INTELCXX" = "xyes" ; then
47791 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47792 elif test "$GXX" = yes ; then
47793 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47794 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47795 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47796 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47797 echo $ECHO_N "(cached) $ECHO_C" >&6
47799 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
47802 ac_cpp
='$CXXCPP $CPPFLAGS'
47803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47807 ac_save_CXXFLAGS
="$CXXFLAGS"
47808 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47809 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47810 cat >conftest.
$ac_ext <<_ACEOF
47813 cat confdefs.h
>>conftest.
$ac_ext
47814 cat >>conftest.
$ac_ext <<_ACEOF
47815 /* end confdefs.h. */
47825 rm -f conftest.
$ac_objext
47826 if { (ac_try
="$ac_compile"
47827 case "(($ac_try" in
47828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47829 *) ac_try_echo=$ac_try;;
47831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47832 (eval "$ac_compile") 2>conftest.er1
47834 grep -v '^ *+' conftest.er1 >conftest.err
47836 cat conftest.err >&5
47837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47838 (exit $ac_status); } && {
47839 test -z "$ac_cxx_werror_flag" ||
47840 test ! -s conftest.err
47841 } && test -s conftest.$ac_objext; then
47842 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47844 echo "$as_me: failed program was:" >&5
47845 sed 's/^/| /' conftest.$ac_ext >&5
47850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47852 CXXFLAGS="$ac_save_CXXFLAGS"
47854 ac_cpp='$CPP $CPPFLAGS'
47855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47861 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47862 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47863 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47867 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47868 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47869 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47872 (exit $ac_status); }
47873 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47874 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877 (exit $ac_status); }
47878 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47884 if test "$wxUSE_MAC" = 1 ; then
47885 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47890 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47891 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47894 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47895 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
47896 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
47899 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47900 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47901 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47902 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47903 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47905 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47908 if test "x$MWCC" = "xyes"; then
47910 CC="$CC -cwd source -I-"
47911 CXX="$CXX -cwd source -I-"
47916 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47917 EXTRALIBS_XML="$EXPAT_LINK"
47918 EXTRALIBS_HTML="$MSPACK_LINK"
47919 EXTRALIBS_MEDIA="$GST_LIBS"
47920 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47921 if test "$wxUSE_GUI" = "yes"; then
47922 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47924 if test "$wxUSE_OPENGL" = "yes"; then
47925 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47928 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47930 WXCONFIG_LIBS="$LIBS"
47932 if test "$wxUSE_REGEX" = "builtin" ; then
47933 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47935 if test "$wxUSE_EXPAT" = "builtin" ; then
47936 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47938 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47939 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47941 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47942 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47944 if test "$wxUSE_LIBPNG" = "builtin" ; then
47945 wxconfig_3rdparty="png $wxconfig_3rdparty"
47947 if test "$wxUSE_ZLIB" = "builtin" ; then
47948 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47951 for i in $wxconfig_3rdparty ; do
47952 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47956 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47959 case "$wxUNIV_THEMES" in
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_ALL_THEMES 1
47968 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47969 cat >>confdefs.h <<_ACEOF
47970 #define wxUSE_THEME_$t 1
47986 if test $wxUSE_MONOLITHIC = "yes" ; then
47992 if test $wxUSE_PLUGINS = "yes" ; then
47998 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48004 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48036 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48049 TOOLKIT_DESC="GTK+"
48050 if test "$WXGTK2" = 1; then
48051 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48052 if test "$wxUSE_GTKPRINT" = "yes" ; then
48053 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48055 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48056 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48058 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48059 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48061 if test "$wxUSE_LIBHILDON" = "yes"; then
48062 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48064 if test "$wxUSE_LIBHILDON2" = "yes"; then
48065 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48068 if test "$TOOLKIT_EXTRA" != ""; then
48069 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48075 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48079 TOOLKIT_DESC="base only"
48083 if test "$wxUSE_WINE" = "yes"; then
48084 BAKEFILE_FORCE_PLATFORM=win32
48087 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48089 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48090 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48091 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48092 echo $ECHO_N "(cached) $ECHO_C" >&6
48095 echo '#include <stdio.h>
48096 const wchar_t test_var[] = L"awidetest";' > conftest.h
48098 echo '#include "conftest.h"
48101 printf("%ls", test_var);
48105 wx_cv_gcc_pch_bug="pch not supported"
48107 if $CXX conftest.h >/dev/null 2>&1
48111 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48113 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48114 grep awidetest >/dev/null
48116 wx_cv_gcc_pch_bug=no
48118 wx_cv_gcc_pch_bug=yes
48123 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48126 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48127 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48129 if test "$wx_cv_gcc_pch_bug" = yes; then
48140 if test "x$BAKEFILE_HOST" = "x"; then
48141 if test "x${host}" = "x" ; then
48142 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48143 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48144 { (exit 1); exit 1; }; }
48147 BAKEFILE_HOST="${host}"
48150 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48152 if test -n "$ac_tool_prefix"; then
48153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48154 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48157 if test "${ac_cv_prog_RANLIB+set}" = set; then
48158 echo $ECHO_N "(cached) $ECHO_C" >&6
48160 if test -n "$RANLIB"; then
48161 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48164 for as_dir in $PATH
48167 test -z "$as_dir" && as_dir=.
48168 for ac_exec_ext in '' $ac_executable_extensions; do
48169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48170 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48180 RANLIB=$ac_cv_prog_RANLIB
48181 if test -n "$RANLIB"; then
48182 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48183 echo "${ECHO_T}$RANLIB" >&6; }
48185 { echo "$as_me:$LINENO: result: no" >&5
48186 echo "${ECHO_T}no" >&6; }
48191 if test -z "$ac_cv_prog_RANLIB"; then
48192 ac_ct_RANLIB=$RANLIB
48193 # Extract the first word of "ranlib", so it can be a program name with args.
48194 set dummy ranlib; ac_word=$2
48195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48197 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48198 echo $ECHO_N "(cached) $ECHO_C" >&6
48200 if test -n "$ac_ct_RANLIB"; then
48201 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48204 for as_dir in $PATH
48207 test -z "$as_dir" && as_dir=.
48208 for ac_exec_ext in '' $ac_executable_extensions; do
48209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48210 ac_cv_prog_ac_ct_RANLIB="ranlib"
48211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48220 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48221 if test -n "$ac_ct_RANLIB"; then
48222 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48223 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48225 { echo "$as_me:$LINENO: result: no" >&5
48226 echo "${ECHO_T}no" >&6; }
48229 if test "x$ac_ct_RANLIB" = x; then
48232 case $cross_compiling:$ac_tool_warned in
48234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48235 whose name does not start with the host triplet. If you think this
48236 configuration is useful to you, please write to autoconf@gnu.org." >&5
48237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48238 whose name does not start with the host triplet. If you think this
48239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48240 ac_tool_warned=yes ;;
48242 RANLIB=$ac_ct_RANLIB
48245 RANLIB="$ac_cv_prog_RANLIB"
48248 # Find a good install program. We prefer a C program (faster),
48249 # so one script is as good as another. But avoid the broken or
48250 # incompatible versions:
48251 # SysV /etc/install, /usr/sbin/install
48252 # SunOS /usr/etc/install
48253 # IRIX /sbin/install
48255 # AmigaOS /C/install, which installs bootblocks on floppy discs
48256 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48257 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48258 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48259 # OS/2's system install, which has a completely different semantic
48260 # ./install, which can be erroneously created by make from ./install.sh.
48261 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48262 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48263 if test -z "$INSTALL"; then
48264 if test "${ac_cv_path_install+set}" = set; then
48265 echo $ECHO_N "(cached) $ECHO_C" >&6
48267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48268 for as_dir in $PATH
48271 test -z "$as_dir" && as_dir=.
48272 # Account for people who put trailing slashes in PATH elements.
48274 ./ | .// | /cC/* | \
48275 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48276 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48279 # OSF1 and SCO ODT 3.0 have their own names for install.
48280 # Don't use installbsd from OSF since it installs stuff as root
48282 for ac_prog in ginstall scoinst install; do
48283 for ac_exec_ext in '' $ac_executable_extensions; do
48284 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48285 if test $ac_prog = install &&
48286 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48287 # AIX install. It has an incompatible calling convention.
48289 elif test $ac_prog = install &&
48290 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48291 # program-specific install script used by HP pwplus--don't use.
48294 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48307 if test "${ac_cv_path_install+set}" = set; then
48308 INSTALL=$ac_cv_path_install
48310 # As a last resort, use the slow shell script. Don't cache a
48311 # value for INSTALL within a source directory, because that will
48312 # break other packages using the cache if that directory is
48313 # removed, or if the value is a relative name.
48314 INSTALL=$ac_install_sh
48317 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48318 echo "${ECHO_T}$INSTALL" >&6; }
48320 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48321 # It thinks the first close brace ends the variable substitution.
48322 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48324 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48326 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48328 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48329 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48331 if test "$LN_S" = "ln -s"; then
48332 { echo "$as_me:$LINENO: result: yes" >&5
48333 echo "${ECHO_T}yes" >&6; }
48335 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48336 echo "${ECHO_T}no, using $LN_S" >&6; }
48340 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48341 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48342 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48343 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48344 echo $ECHO_N "(cached) $ECHO_C" >&6
48346 cat >conftest.make <<\_ACEOF
48349 @echo '@@@%%%=$(MAKE)=@@@%%%'
48351 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48352 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48353 *@@@%%%=?*=@@@%%%*)
48354 eval ac_cv_prog_make_${ac_make}_set=yes;;
48356 eval ac_cv_prog_make_${ac_make}_set=no;;
48358 rm -f conftest.make
48360 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48361 { echo "$as_me:$LINENO: result: yes" >&5
48362 echo "${ECHO_T}yes" >&6; }
48365 { echo "$as_me:$LINENO: result: no" >&5
48366 echo "${ECHO_T}no" >&6; }
48367 SET_MAKE="MAKE=${MAKE-make}"
48372 if test "x$SUNCXX" = "xyes"; then
48374 AROPTIONS="-xar -o"
48376 elif test "x$SGICC" = "xyes"; then
48381 if test -n "$ac_tool_prefix"; then
48382 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48383 set dummy ${ac_tool_prefix}ar; ac_word=$2
48384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48386 if test "${ac_cv_prog_AR+set}" = set; then
48387 echo $ECHO_N "(cached) $ECHO_C" >&6
48389 if test -n "$AR"; then
48390 ac_cv_prog_AR="$AR" # Let the user override the test.
48392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48393 for as_dir in $PATH
48396 test -z "$as_dir" && as_dir=.
48397 for ac_exec_ext in '' $ac_executable_extensions; do
48398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48399 ac_cv_prog_AR="${ac_tool_prefix}ar"
48400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48410 if test -n "$AR"; then
48411 { echo "$as_me:$LINENO: result: $AR" >&5
48412 echo "${ECHO_T}$AR" >&6; }
48414 { echo "$as_me:$LINENO: result: no" >&5
48415 echo "${ECHO_T}no" >&6; }
48420 if test -z "$ac_cv_prog_AR"; then
48422 # Extract the first word of "ar", so it can be a program name with args.
48423 set dummy ar; ac_word=$2
48424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48426 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48427 echo $ECHO_N "(cached) $ECHO_C" >&6
48429 if test -n "$ac_ct_AR"; then
48430 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48433 for as_dir in $PATH
48436 test -z "$as_dir" && as_dir=.
48437 for ac_exec_ext in '' $ac_executable_extensions; do
48438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48439 ac_cv_prog_ac_ct_AR="ar"
48440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48449 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48450 if test -n "$ac_ct_AR"; then
48451 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48452 echo "${ECHO_T}$ac_ct_AR" >&6; }
48454 { echo "$as_me:$LINENO: result: no" >&5
48455 echo "${ECHO_T}no" >&6; }
48458 if test "x$ac_ct_AR" = x; then
48461 case $cross_compiling:$ac_tool_warned in
48463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48464 whose name does not start with the host triplet. If you think this
48465 configuration is useful to you, please write to autoconf@gnu.org." >&5
48466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48467 whose name does not start with the host triplet. If you think this
48468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48469 ac_tool_warned=yes ;;
48474 AR="$ac_cv_prog_AR"
48481 if test -n "$ac_tool_prefix"; then
48482 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48483 set dummy ${ac_tool_prefix}strip; ac_word=$2
48484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48486 if test "${ac_cv_prog_STRIP+set}" = set; then
48487 echo $ECHO_N "(cached) $ECHO_C" >&6
48489 if test -n "$STRIP"; then
48490 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48493 for as_dir in $PATH
48496 test -z "$as_dir" && as_dir=.
48497 for ac_exec_ext in '' $ac_executable_extensions; do
48498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48499 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48509 STRIP=$ac_cv_prog_STRIP
48510 if test -n "$STRIP"; then
48511 { echo "$as_me:$LINENO: result: $STRIP" >&5
48512 echo "${ECHO_T}$STRIP" >&6; }
48514 { echo "$as_me:$LINENO: result: no" >&5
48515 echo "${ECHO_T}no" >&6; }
48520 if test -z "$ac_cv_prog_STRIP"; then
48522 # Extract the first word of "strip", so it can be a program name with args.
48523 set dummy strip; ac_word=$2
48524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48526 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48527 echo $ECHO_N "(cached) $ECHO_C" >&6
48529 if test -n "$ac_ct_STRIP"; then
48530 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48533 for as_dir in $PATH
48536 test -z "$as_dir" && as_dir=.
48537 for ac_exec_ext in '' $ac_executable_extensions; do
48538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48539 ac_cv_prog_ac_ct_STRIP="strip"
48540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48549 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48550 if test -n "$ac_ct_STRIP"; then
48551 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48552 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48554 { echo "$as_me:$LINENO: result: no" >&5
48555 echo "${ECHO_T}no" >&6; }
48558 if test "x$ac_ct_STRIP" = x; then
48561 case $cross_compiling:$ac_tool_warned in
48563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48564 whose name does not start with the host triplet. If you think this
48565 configuration is useful to you, please write to autoconf@gnu.org." >&5
48566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48567 whose name does not start with the host triplet. If you think this
48568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48569 ac_tool_warned=yes ;;
48574 STRIP="$ac_cv_prog_STRIP"
48577 if test -n "$ac_tool_prefix"; then
48578 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48579 set dummy ${ac_tool_prefix}nm; ac_word=$2
48580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48582 if test "${ac_cv_prog_NM+set}" = set; then
48583 echo $ECHO_N "(cached) $ECHO_C" >&6
48585 if test -n "$NM"; then
48586 ac_cv_prog_NM="$NM" # Let the user override the test.
48588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48589 for as_dir in $PATH
48592 test -z "$as_dir" && as_dir=.
48593 for ac_exec_ext in '' $ac_executable_extensions; do
48594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48595 ac_cv_prog_NM="${ac_tool_prefix}nm"
48596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48606 if test -n "$NM"; then
48607 { echo "$as_me:$LINENO: result: $NM" >&5
48608 echo "${ECHO_T}$NM" >&6; }
48610 { echo "$as_me:$LINENO: result: no" >&5
48611 echo "${ECHO_T}no" >&6; }
48616 if test -z "$ac_cv_prog_NM"; then
48618 # Extract the first word of "nm", so it can be a program name with args.
48619 set dummy nm; ac_word=$2
48620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48622 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48623 echo $ECHO_N "(cached) $ECHO_C" >&6
48625 if test -n "$ac_ct_NM"; then
48626 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48629 for as_dir in $PATH
48632 test -z "$as_dir" && as_dir=.
48633 for ac_exec_ext in '' $ac_executable_extensions; do
48634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48635 ac_cv_prog_ac_ct_NM="nm"
48636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48645 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48646 if test -n "$ac_ct_NM"; then
48647 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48648 echo "${ECHO_T}$ac_ct_NM" >&6; }
48650 { echo "$as_me:$LINENO: result: no" >&5
48651 echo "${ECHO_T}no" >&6; }
48654 if test "x$ac_ct_NM" = x; then
48657 case $cross_compiling:$ac_tool_warned in
48659 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48660 whose name does not start with the host triplet. If you think this
48661 configuration is useful to you, please write to autoconf@gnu.org." >&5
48662 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48663 whose name does not start with the host triplet. If you think this
48664 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48665 ac_tool_warned=yes ;;
48670 NM="$ac_cv_prog_NM"
48674 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48675 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48676 INSTALL_TEST_DIR=acbftest$$
48677 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48678 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48679 rmdir $INSTALL_TEST_DIR
48680 INSTALL_DIR='$(INSTALL) -d'
48681 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48682 echo "${ECHO_T}$INSTALL -d" >&6; }
48684 INSTALL_DIR="mkdir -p"
48685 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48686 echo "${ECHO_T}mkdir -p" >&6; }
48691 case ${BAKEFILE_HOST} in
48692 *-*-cygwin* | *-*-mingw32* )
48693 LDFLAGS_GUI="-mwindows"
48699 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48700 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48701 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48702 echo $ECHO_N "(cached) $ECHO_C" >&6
48705 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48706 egrep -s GNU > /dev/null); then
48707 bakefile_cv_prog_makeisgnu="yes"
48709 bakefile_cv_prog_makeisgnu="no"
48713 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48714 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48716 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48733 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48734 case "${BAKEFILE_HOST}" in
48741 *-pc-os2_emx | *-pc-os2-emx )
48751 powerpc-apple-macos* )
48760 case "$BAKEFILE_FORCE_PLATFORM" in
48781 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48782 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48783 { (exit 1); exit 1; }; }
48798 # Check whether --enable-omf was given.
48799 if test "${enable_omf+set}" = set; then
48800 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48804 case "${BAKEFILE_HOST}" in
48806 if test "x$GCC" = "xyes"; then
48807 CFLAGS="$CFLAGS -fno-common"
48808 CXXFLAGS="$CXXFLAGS -fno-common"
48810 if test "x$XLCC" = "xyes"; then
48811 CFLAGS="$CFLAGS -qnocommon"
48812 CXXFLAGS="$CXXFLAGS -qnocommon"
48816 *-pc-os2_emx | *-pc-os2-emx )
48817 if test "x$bk_os2_use_omf" = "xyes" ; then
48820 LDFLAGS="-Zomf $LDFLAGS"
48821 CFLAGS="-Zomf $CFLAGS"
48822 CXXFLAGS="-Zomf $CXXFLAGS"
48830 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48836 SO_SUFFIX_MODULE="so"
48841 DLLPREFIX_MODULE=""
48845 case "${BAKEFILE_HOST}" in
48850 SO_SUFFIX_MODULE="sl"
48854 SO_SUFFIX_MODULE="a"
48858 SO_SUFFIX_MODULE="dll"
48859 DLLIMP_SUFFIX="dll.a"
48866 SO_SUFFIX_MODULE="dll"
48867 DLLIMP_SUFFIX="dll.a"
48877 *-pc-os2_emx | *-pc-os2-emx )
48879 SO_SUFFIX_MODULE="dll"
48880 DLLIMP_SUFFIX=$OS2_LIBEXT
48884 LIBEXT=".$OS2_LIBEXT"
48889 SO_SUFFIX_MODULE="bundle"
48893 if test "x$DLLIMP_SUFFIX" = "x" ; then
48894 DLLIMP_SUFFIX="$SO_SUFFIX"
48909 if test "x$GCC" = "xyes"; then
48913 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48914 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48917 case "${BAKEFILE_HOST}" in
48919 if test "x$GCC" != "xyes"; then
48920 LDFLAGS="$LDFLAGS -L/usr/lib"
48922 SHARED_LD_CC="${CC} -b -o"
48923 SHARED_LD_CXX="${CXX} -b -o"
48929 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48931 elif test "x$SUNCXX" = "xyes"; then
48932 SHARED_LD_CC="${CC} -G -o"
48933 SHARED_LD_CXX="${CXX} -G -o"
48939 if test "x$SUNCXX" = xyes ; then
48940 SHARED_LD_CC="${CC} -G -o"
48941 SHARED_LD_CXX="${CXX} -G -o"
48949 cat <<EOF >shared-ld-sh
48951 #-----------------------------------------------------------------------------
48952 #-- Name: distrib/mac/shared-ld-sh
48953 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48954 #-- Author: Gilles Depeyrot
48955 #-- Copyright: (c) 2002 Gilles Depeyrot
48956 #-- Licence: any use permitted
48957 #-----------------------------------------------------------------------------
48962 linking_flag="-dynamiclib"
48963 ldargs="-r -keep_private_externs -nostdlib"
48965 if test "x${D}CXX" = "x"; then
48969 while test ${D}# -gt 0; do
48976 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48977 # collect these options and values
48978 args="${D}{args} ${D}1 ${D}2"
48983 # collect these options and values
48984 ldargs="${D}{ldargs} ${D}1 ${D}2"
48989 # collect these load args
48990 ldargs="${D}{ldargs} ${D}1"
48993 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48994 # collect these options
48995 args="${D}{args} ${D}1"
48998 -dynamiclib|-bundle)
48999 linking_flag="${D}1"
49003 echo "shared-ld: unhandled option '${D}1'"
49007 *.o | *.a | *.dylib)
49008 # collect object files
49009 objects="${D}{objects} ${D}1"
49013 echo "shared-ld: unhandled argument '${D}1'"
49024 # Link one module containing all the others
49026 if test ${D}{verbose} = 1; then
49027 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49029 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49033 # Link the shared library from the single module created, but only if the
49034 # previous command didn't fail:
49036 if test ${D}{status} = 0; then
49037 if test ${D}{verbose} = 1; then
49038 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49040 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49045 # Remove intermediate module
49047 rm -f master.${D}${D}.o
49052 chmod +x shared-ld-sh
49054 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49055 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49058 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49059 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49060 if test "${bakefile_cv_gcc31+set}" = set; then
49061 echo $ECHO_N "(cached) $ECHO_C" >&6
49064 cat >conftest.$ac_ext <<_ACEOF
49067 cat confdefs.h >>conftest.$ac_ext
49068 cat >>conftest.$ac_ext <<_ACEOF
49069 /* end confdefs.h. */
49075 #if (__GNUC__ < 3) || \
49076 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49084 rm -f conftest.$ac_objext
49085 if { (ac_try="$ac_compile"
49086 case "(($ac_try" in
49087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49088 *) ac_try_echo
=$ac_try;;
49090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49091 (eval "$ac_compile") 2>conftest.er1
49093 grep -v '^ *+' conftest.er1
>conftest.err
49095 cat conftest.err
>&5
49096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49097 (exit $ac_status); } && {
49098 test -z "$ac_c_werror_flag" ||
49099 test ! -s conftest.err
49100 } && test -s conftest.
$ac_objext; then
49102 bakefile_cv_gcc31
=yes
49105 echo "$as_me: failed program was:" >&5
49106 sed 's/^/| /' conftest.
$ac_ext >&5
49109 bakefile_cv_gcc31
=no
49114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49117 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49118 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49119 if test "$bakefile_cv_gcc31" = "no"; then
49120 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49121 SHARED_LD_CXX
="$SHARED_LD_CC"
49123 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49124 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49127 if test "x$GCC" == "xyes"; then
49128 PIC_FLAG
="-dynamic -fPIC"
49130 if test "x$XLCC" = "xyes"; then
49131 PIC_FLAG
="-dynamic -DPIC"
49136 if test "x$GCC" = "xyes"; then
49139 case "${BAKEFILE_HOST}" in
49141 LD_EXPFULL
="-Wl,-bexpfull"
49145 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49146 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49148 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49149 set dummy makeC
++SharedLib
; ac_word
=$2
49150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49152 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49153 echo $ECHO_N "(cached) $ECHO_C" >&6
49155 if test -n "$AIX_CXX_LD"; then
49156 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49159 for as_dir
in $PATH
49162 test -z "$as_dir" && as_dir
=.
49163 for ac_exec_ext
in '' $ac_executable_extensions; do
49164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49165 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49173 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49176 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49177 if test -n "$AIX_CXX_LD"; then
49178 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49179 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49181 { echo "$as_me:$LINENO: result: no" >&5
49182 echo "${ECHO_T}no" >&6; }
49186 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49187 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49192 SHARED_LD_CC
="${LD} -nostart -o"
49193 SHARED_LD_CXX
="${LD} -nostart -o"
49197 if test "x$GCC" != "xyes"; then
49202 *-*-cygwin* | *-*-mingw32* )
49204 SHARED_LD_CC
="\$(CC) -shared -o"
49205 SHARED_LD_CXX
="\$(CXX) -shared -o"
49209 *-pc-os2_emx | *-pc-os2-emx )
49210 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49211 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49215 cat <<EOF >dllar.sh
49218 # dllar - a tool to build both a .dll and an .a file
49219 # from a set of object (.o) files for EMX/OS2.
49221 # Written by Andrew Zabolotny, bit@freya.etu.ru
49222 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49224 # This script will accept a set of files on the command line.
49225 # All the public symbols from the .o files will be exported into
49226 # a .DEF file, then linker will be run (through gcc) against them to
49227 # build a shared library consisting of all given .o files. All libraries
49228 # (.a) will be first decompressed into component .o files then act as
49229 # described above. You can optionally give a description (-d "description")
49230 # which will be put into .DLL. To see the list of accepted options (as well
49231 # as command-line format) simply run this program without options. The .DLL
49232 # is built to be imported by name (there is no guarantee that new versions
49233 # of the library you build will have same ordinals for same symbols).
49235 # dllar is free software; you can redistribute it and/or modify
49236 # it under the terms of the GNU General Public License as published by
49237 # the Free Software Foundation; either version 2, or (at your option)
49238 # any later version.
49240 # dllar is distributed in the hope that it will be useful,
49241 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49242 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49243 # GNU General Public License for more details.
49245 # You should have received a copy of the GNU General Public License
49246 # along with dllar; see the file COPYING. If not, write to the Free
49247 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49250 # To successfuly run this program you will need:
49251 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49252 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49254 # (used to build the .dll)
49256 # (used to create .def file from .o files)
49258 # (used to create .a file from .def file)
49259 # - GNU text utilites (cat, sort, uniq)
49260 # used to process emxexp output
49261 # - GNU file utilities (mv, rm)
49263 # - lxlite (optional, see flag below)
49264 # (used for general .dll cleanup)
49271 # basnam, variant of basename, which does _not_ remove the path, _iff_
49272 # second argument (suffix to remove) is given
49276 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49279 echo ${D}1 | sed 's/'${D}2'${D}//'
49282 echo "error in basnam ${D}*"
49288 # Cleanup temporary files and output
49291 for i in ${D}inputFiles ; do
49294 rm -rf \`basnam ${D}i !\`
49301 # Kill result in case of failure as there is just to many stupid make/nmake
49302 # things out there which doesn't do this.
49303 if [ ${D}# -eq 0 ]; then
49304 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49308 # Print usage and exit script with rc=1.
49310 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49311 echo ' [-name-mangler-script script.sh]'
49312 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49313 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49314 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49315 echo ' [*.o] [*.a]'
49316 echo '*> "output_file" should have no extension.'
49317 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49318 echo ' The import library name is derived from this and is set to "name".a,'
49319 echo ' unless overridden by -import'
49320 echo '*> "importlib_name" should have no extension.'
49321 echo ' If it has the .o, or .a extension, it is automatically removed.'
49322 echo ' This name is used as the import library name and may be longer and'
49323 echo ' more descriptive than the DLL name which has to follow the old '
49324 echo ' 8.3 convention of FAT.'
49325 echo '*> "script.sh may be given to override the output_file name by a'
49326 echo ' different name. It is mainly useful if the regular make process'
49327 echo ' of some package does not take into account OS/2 restriction of'
49328 echo ' DLL name lengths. It takes the importlib name as input and is'
49329 echo ' supposed to procude a shorter name as output. The script should'
49330 echo ' expect to get importlib_name without extension and should produce'
49331 echo ' a (max.) 8 letter name without extension.'
49332 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49333 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49334 echo ' These flags will be put at the start of GCC command line.'
49335 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49336 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49337 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49338 echo ' If the last character of a symbol is "*", all symbols beginning'
49339 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49340 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49341 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49342 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49343 echo ' C runtime DLLs.'
49344 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49345 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49346 echo ' unchanged to GCC at the end of command line.'
49347 echo '*> If you create a DLL from a library and you do not specify -o,'
49348 echo ' the basename for DLL and import library will be set to library name,'
49349 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49350 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49351 echo ' library will be renamed into gcc_s.a.'
49354 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49355 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49360 # Execute a command.
49361 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49362 # @Uses Whatever CleanUp() uses.
49368 if [ ${D}rcCmd -ne 0 ]; then
49369 echo "command failed, exit code="${D}rcCmd
49384 CFLAGS="-s -Zcrtdll"
49386 EXPORT_BY_ORDINALS=0
49391 case ${D}curDirS in
49395 curDirS=${D}{curDirS}"/"
49398 # Parse commandline
49401 while [ ${D}1 ]; do
49404 EXPORT_BY_ORDINALS=1;
49414 -name-mangler-script)
49435 exclude_symbols=${D}{exclude_symbols}${D}1" "
49439 library_flags=${D}{library_flags}${D}1" "
49458 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49461 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49462 if [ ${D}omfLinking -eq 1 ]; then
49463 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49465 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49470 if [ ${D}libsToLink -ne 0 ]; then
49471 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49473 for file in ${D}1 ; do
49474 if [ -f ${D}file ]; then
49475 inputFiles="${D}{inputFiles} ${D}file"
49479 if [ ${D}found -eq 0 ]; then
49480 echo "ERROR: No file(s) found: "${D}1
49487 done # iterate cmdline words
49490 if [ -z "${D}inputFiles" ]; then
49491 echo "dllar: no input files"
49495 # Now extract all .o files from .a files
49497 for file in ${D}inputFiles ; do
49508 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49513 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49515 if [ ${D}? -ne 0 ]; then
49516 echo "Failed to create subdirectory ./${D}dirname"
49520 # Append '!' to indicate archive
49521 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49522 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49525 for subfile in ${D}dirname/*.o* ; do
49526 if [ -f ${D}subfile ]; then
49528 if [ -s ${D}subfile ]; then
49529 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49530 newInputFiles="${D}newInputFiles ${D}subfile"
49534 if [ ${D}found -eq 0 ]; then
49535 echo "WARNING: there are no files in archive \\'${D}file\\'"
49539 newInputFiles="${D}{newInputFiles} ${D}file"
49543 inputFiles="${D}newInputFiles"
49545 # Output filename(s).
49547 if [ -z ${D}outFile ]; then
49549 set outFile ${D}inputFiles; outFile=${D}2
49552 # If it is an archive, remove the '!' and the '_%' suffixes
49553 case ${D}outFile in
49555 outFile=\`basnam ${D}outFile _%!\`
49560 case ${D}outFile in
49562 outFile=\`basnam ${D}outFile .dll\`
49565 outFile=\`basnam ${D}outFile .DLL\`
49568 outFile=\`basnam ${D}outFile .o\`
49571 outFile=\`basnam ${D}outFile .obj\`
49574 outFile=\`basnam ${D}outFile .a\`
49577 outFile=\`basnam ${D}outFile .lib\`
49582 case ${D}outimpFile in
49584 outimpFile=\`basnam ${D}outimpFile .a\`
49587 outimpFile=\`basnam ${D}outimpFile .lib\`
49592 if [ -z ${D}outimpFile ]; then
49593 outimpFile=${D}outFile
49595 defFile="${D}{outFile}.def"
49596 arcFile="${D}{outimpFile}.a"
49597 arcFile2="${D}{outimpFile}.lib"
49599 #create ${D}dllFile as something matching 8.3 restrictions,
49600 if [ -z ${D}renameScript ] ; then
49601 dllFile="${D}outFile"
49603 dllFile=\`${D}renameScript ${D}outimpFile\`
49606 if [ ${D}do_backup -ne 0 ] ; then
49607 if [ -f ${D}arcFile ] ; then
49608 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49610 if [ -f ${D}arcFile2 ] ; then
49611 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49615 # Extract public symbols from all the object files.
49616 tmpdefFile=${D}{defFile}_%
49617 rm -f ${D}tmpdefFile
49618 for file in ${D}inputFiles ; do
49623 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49628 # Create the def file.
49630 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49631 dllFile="${D}{dllFile}.dll"
49632 if [ ! -z ${D}description ]; then
49633 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49635 echo "EXPORTS" >> ${D}defFile
49637 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49638 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49640 # Checks if the export is ok or not.
49641 for word in ${D}exclude_symbols; do
49642 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49643 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49647 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49648 sed "=" < ${D}tmpdefFile | \\
49652 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49654 ' > ${D}{tmpdefFile}%
49655 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49657 rm -f ${D}{tmpdefFile}%
49659 cat ${D}tmpdefFile >> ${D}defFile
49660 rm -f ${D}tmpdefFile
49662 # Do linking, create implib, and apply lxlite.
49664 for file in ${D}inputFiles ; do
49669 gccCmdl="${D}gccCmdl ${D}file"
49673 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49674 touch "${D}{outFile}.dll"
49676 doCommand "emximp -o ${D}arcFile ${D}defFile"
49677 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49679 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49682 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49684 doCommand "emxomf -s -l ${D}arcFile"
49694 powerpc
-apple-macos* | \
49695 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49705 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49706 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49707 { (exit 1); exit 1; }; }
49710 if test "x$PIC_FLAG" != "x" ; then
49711 PIC_FLAG
="$PIC_FLAG -DPIC"
49714 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49715 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49717 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49718 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49733 USE_SOTWOSYMLINKS
=0
49737 case "${BAKEFILE_HOST}" in
49738 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49739 *-*-k*bsd
*-gnu | *-*-mirbsd* )
49740 if test "x$SUNCXX" = "xyes"; then
49743 SONAME_FLAG
="-Wl,-soname,"
49747 USE_SOTWOSYMLINKS
=1
49759 USE_SOTWOSYMLINKS
=1
49777 # Check whether --enable-dependency-tracking was given.
49778 if test "${enable_dependency_tracking+set}" = set; then
49779 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
49783 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49784 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49787 if test "x$bk_use_trackdeps" = "xno" ; then
49789 { echo "$as_me:$LINENO: result: disabled" >&5
49790 echo "${ECHO_T}disabled" >&6; }
49794 if test "x$GCC" = "xyes"; then
49796 case "${BAKEFILE_HOST}" in
49798 DEPSFLAG
="-no-cpp-precomp -MMD"
49804 { echo "$as_me:$LINENO: result: gcc" >&5
49805 echo "${ECHO_T}gcc" >&6; }
49806 elif test "x$MWCC" = "xyes"; then
49809 { echo "$as_me:$LINENO: result: mwcc" >&5
49810 echo "${ECHO_T}mwcc" >&6; }
49811 elif test "x$SUNCC" = "xyes"; then
49814 { echo "$as_me:$LINENO: result: Sun cc" >&5
49815 echo "${ECHO_T}Sun cc" >&6; }
49816 elif test "x$SGICC" = "xyes"; then
49819 { echo "$as_me:$LINENO: result: SGI cc" >&5
49820 echo "${ECHO_T}SGI cc" >&6; }
49821 elif test "x$HPCC" = "xyes"; then
49824 { echo "$as_me:$LINENO: result: HP cc" >&5
49825 echo "${ECHO_T}HP cc" >&6; }
49826 elif test "x$COMPAQCC" = "xyes"; then
49829 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49830 echo "${ECHO_T}Compaq cc" >&6; }
49833 { echo "$as_me:$LINENO: result: none" >&5
49834 echo "${ECHO_T}none" >&6; }
49837 if test $DEPS_TRACKING = 1 ; then
49843 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49844 # script. It is used to track C/C++ files dependencies in portable way.
49846 # Permission is given to use this file in any way.
49848 DEPSMODE=${DEPSMODE}
49849 DEPSFLAG="${DEPSFLAG}"
49852 if test ${D}DEPSMODE = gcc ; then
49853 ${D}* ${D}{DEPSFLAG}
49856 # determine location of created files:
49857 while test ${D}# -gt 0; do
49871 objfilebase=\`basename ${D}objfile\`
49872 builddir=\`dirname ${D}objfile\`
49873 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49874 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49875 depsdir=${D}builddir/${D}DEPSDIRBASE
49876 mkdir -p ${D}depsdir
49878 # if the compiler failed, we're done:
49879 if test ${D}{status} != 0 ; then
49884 # move created file to the location we want it in:
49885 if test -f ${D}depfile ; then
49886 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49889 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49890 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49891 if test ! -f ${D}depfile ; then
49892 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49893 depfile="${D}objfile.d"
49895 if test -f ${D}depfile ; then
49896 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49902 elif test ${D}DEPSMODE = mwcc ; then
49903 ${D}* || exit ${D}?
49904 # Run mwcc again with -MM and redirect into the dep file we want
49905 # NOTE: We can't use shift here because we need ${D}* to be valid
49907 for arg in ${D}* ; do
49908 if test "${D}prevarg" = "-o"; then
49922 objfilebase=\`basename ${D}objfile\`
49923 builddir=\`dirname ${D}objfile\`
49924 depsdir=${D}builddir/${D}DEPSDIRBASE
49925 mkdir -p ${D}depsdir
49927 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49930 elif test ${D}DEPSMODE = unixcc; then
49931 ${D}* || exit ${D}?
49932 # Run compiler again with deps flag and redirect into the dep file.
49933 # It doesn't work if the '-o FILE' option is used, but without it the
49934 # dependency file will contain the wrong name for the object. So it is
49935 # removed from the command line, and the dep file is fixed with sed.
49937 while test ${D}# -gt 0; do
49944 eval arg${D}#=\\${D}1
49945 cmd="${D}cmd \\${D}arg${D}#"
49951 objfilebase=\`basename ${D}objfile\`
49952 builddir=\`dirname ${D}objfile\`
49953 depsdir=${D}builddir/${D}DEPSDIRBASE
49954 mkdir -p ${D}depsdir
49956 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49966 BK_DEPS
="`pwd`/bk-deps"
49974 case ${BAKEFILE_HOST} in
49975 *-*-cygwin* | *-*-mingw32* )
49976 if test -n "$ac_tool_prefix"; then
49977 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49978 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49981 if test "${ac_cv_prog_WINDRES+set}" = set; then
49982 echo $ECHO_N "(cached) $ECHO_C" >&6
49984 if test -n "$WINDRES"; then
49985 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49988 for as_dir
in $PATH
49991 test -z "$as_dir" && as_dir
=.
49992 for ac_exec_ext
in '' $ac_executable_extensions; do
49993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49994 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50004 WINDRES
=$ac_cv_prog_WINDRES
50005 if test -n "$WINDRES"; then
50006 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50007 echo "${ECHO_T}$WINDRES" >&6; }
50009 { echo "$as_me:$LINENO: result: no" >&5
50010 echo "${ECHO_T}no" >&6; }
50015 if test -z "$ac_cv_prog_WINDRES"; then
50016 ac_ct_WINDRES
=$WINDRES
50017 # Extract the first word of "windres", so it can be a program name with args.
50018 set dummy windres
; ac_word
=$2
50019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50021 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50022 echo $ECHO_N "(cached) $ECHO_C" >&6
50024 if test -n "$ac_ct_WINDRES"; then
50025 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50028 for as_dir
in $PATH
50031 test -z "$as_dir" && as_dir
=.
50032 for ac_exec_ext
in '' $ac_executable_extensions; do
50033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50034 ac_cv_prog_ac_ct_WINDRES
="windres"
50035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50044 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50045 if test -n "$ac_ct_WINDRES"; then
50046 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50047 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50049 { echo "$as_me:$LINENO: result: no" >&5
50050 echo "${ECHO_T}no" >&6; }
50053 if test "x$ac_ct_WINDRES" = x
; then
50056 case $cross_compiling:$ac_tool_warned in
50058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50059 whose name does not start with the host triplet. If you think this
50060 configuration is useful to you, please write to autoconf@gnu.org." >&5
50061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50062 whose name does not start with the host triplet. If you think this
50063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50064 ac_tool_warned
=yes ;;
50066 WINDRES
=$ac_ct_WINDRES
50069 WINDRES
="$ac_cv_prog_WINDRES"
50074 *-*-darwin* | powerpc
-apple-macos* )
50075 # Extract the first word of "Rez", so it can be a program name with args.
50076 set dummy Rez
; ac_word
=$2
50077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50079 if test "${ac_cv_prog_REZ+set}" = set; then
50080 echo $ECHO_N "(cached) $ECHO_C" >&6
50082 if test -n "$REZ"; then
50083 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50086 for as_dir
in $PATH
50089 test -z "$as_dir" && as_dir
=.
50090 for ac_exec_ext
in '' $ac_executable_extensions; do
50091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50092 ac_cv_prog_REZ
="Rez"
50093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50100 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50103 REZ
=$ac_cv_prog_REZ
50104 if test -n "$REZ"; then
50105 { echo "$as_me:$LINENO: result: $REZ" >&5
50106 echo "${ECHO_T}$REZ" >&6; }
50108 { echo "$as_me:$LINENO: result: no" >&5
50109 echo "${ECHO_T}no" >&6; }
50113 # Extract the first word of "SetFile", so it can be a program name with args.
50114 set dummy SetFile
; ac_word
=$2
50115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50117 if test "${ac_cv_prog_SETFILE+set}" = set; then
50118 echo $ECHO_N "(cached) $ECHO_C" >&6
50120 if test -n "$SETFILE"; then
50121 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50124 for as_dir
in $PATH
50127 test -z "$as_dir" && as_dir
=.
50128 for ac_exec_ext
in '' $ac_executable_extensions; do
50129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50130 ac_cv_prog_SETFILE
="SetFile"
50131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50138 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50141 SETFILE
=$ac_cv_prog_SETFILE
50142 if test -n "$SETFILE"; then
50143 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50144 echo "${ECHO_T}$SETFILE" >&6; }
50146 { echo "$as_me:$LINENO: result: no" >&5
50147 echo "${ECHO_T}no" >&6; }
50162 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50165 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50169 # Check whether --enable-precomp-headers was given.
50170 if test "${enable_precomp_headers+set}" = set; then
50171 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50180 case ${BAKEFILE_HOST} in
50186 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50187 if test "x$GCC" = "xyes"; then
50188 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50189 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50190 cat >conftest.
$ac_ext <<_ACEOF
50193 cat confdefs.h
>>conftest.
$ac_ext
50194 cat >>conftest.
$ac_ext <<_ACEOF
50195 /* end confdefs.h. */
50201 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50202 There is no PCH support
50205 There is no PCH support
50207 #if (__GNUC__ == 3) && \
50208 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50209 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50210 ( defined(__INTEL_COMPILER) )
50211 There is no PCH support
50218 rm -f conftest.
$ac_objext
50219 if { (ac_try
="$ac_compile"
50220 case "(($ac_try" in
50221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50222 *) ac_try_echo=$ac_try;;
50224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50225 (eval "$ac_compile") 2>conftest.er1
50227 grep -v '^ *+' conftest.er1 >conftest.err
50229 cat conftest.err >&5
50230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50231 (exit $ac_status); } && {
50232 test -z "$ac_c_werror_flag" ||
50233 test ! -s conftest.err
50234 } && test -s conftest.$ac_objext; then
50236 { echo "$as_me:$LINENO: result: yes" >&5
50237 echo "${ECHO_T}yes" >&6; }
50241 echo "$as_me: failed program was:" >&5
50242 sed 's/^/| /' conftest.$ac_ext >&5
50245 if test "$INTELCXX8" = "yes"; then
50246 { echo "$as_me:$LINENO: result: yes" >&5
50247 echo "${ECHO_T}yes" >&6; }
50249 if test "$INTELCXX10" = "yes"; then
50250 ICC_PCH_CREATE_SWITCH="-pch-create"
50251 ICC_PCH_USE_SWITCH="-pch-use"
50253 ICC_PCH_CREATE_SWITCH="-create-pch"
50254 ICC_PCH_USE_SWITCH="-use-pch"
50257 { echo "$as_me:$LINENO: result: no" >&5
50258 echo "${ECHO_T}no" >&6; }
50263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50264 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50268 cat <<EOF >bk-make-pch
50271 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50272 # script. It is used to generated precompiled headers.
50274 # Permission is given to use this file in any way.
50281 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50286 while test ${D}{#} -gt 0; do
50290 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50291 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50292 headerfile="${D}{incdir}/${D}{header}"
50295 -use-pch|-use_pch|-pch-use )
50300 if test ${D}add_to_cmdline = 1 ; then
50301 compiler="${D}{compiler} ${D}{1}"
50306 if test "x${D}{headerfile}" = "x" ; then
50307 echo "error: can't find header ${D}{header} in include paths" >&2
50309 if test -f ${D}{outfile} ; then
50310 rm -f ${D}{outfile}
50312 mkdir -p \`dirname ${D}{outfile
}\
`
50314 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50315 mkdir -p ${D}{builddir}/.deps
50316 if test "x${GCC_PCH}" = "x1" ; then
50317 # can do this because gcc is >= 3.4:
50318 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50319 elif test "x${ICC_PCH}" = "x1" ; then
50320 filename=pch_gen-${D}${D}
50321 file=${D}{filename}.c
50322 dfile=${D}{filename}.d
50323 cat > ${D}file <<EOT
50324 #include "${D}header"
50326 # using -MF icc complains about differing command lines in creation/use
50327 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50328 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50329 rm -f ${D}file ${D}dfile ${D}{filename}.o
50335 chmod +x bk-make-pch
50336 BK_MAKE_PCH="`pwd`/bk-make-pch"
50347 COND_BUILD_DEBUG="#"
50348 if test "x$BUILD" = "xdebug" ; then
50349 COND_BUILD_DEBUG=""
50352 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50353 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50354 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50357 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50358 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50359 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50362 COND_BUILD_DEBUG_UNICODE_0="#"
50363 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50364 COND_BUILD_DEBUG_UNICODE_0=""
50367 COND_BUILD_DEBUG_UNICODE_1="#"
50368 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50369 COND_BUILD_DEBUG_UNICODE_1=""
50372 COND_BUILD_RELEASE="#"
50373 if test "x$BUILD" = "xrelease" ; then
50374 COND_BUILD_RELEASE=""
50377 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50378 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50379 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50382 COND_BUILD_RELEASE_UNICODE_0="#"
50383 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50384 COND_BUILD_RELEASE_UNICODE_0=""
50387 COND_BUILD_RELEASE_UNICODE_1="#"
50388 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50389 COND_BUILD_RELEASE_UNICODE_1=""
50392 COND_BUILD_debug="#"
50393 if test "x$BUILD" = "xdebug" ; then
50394 COND_BUILD_debug=""
50397 COND_BUILD_debug_DEBUG_FLAG_default="#"
50398 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50399 COND_BUILD_debug_DEBUG_FLAG_default=""
50402 COND_BUILD_debug_DEBUG_INFO_default="#"
50403 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50404 COND_BUILD_debug_DEBUG_INFO_default=""
50407 COND_BUILD_debug_UNICODE_0="#"
50408 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50409 COND_BUILD_debug_UNICODE_0=""
50412 COND_BUILD_debug_UNICODE_1="#"
50413 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50414 COND_BUILD_debug_UNICODE_1=""
50417 COND_BUILD_release="#"
50418 if test "x$BUILD" = "xrelease" ; then
50419 COND_BUILD_release=""
50422 COND_BUILD_release_DEBUG_INFO_default="#"
50423 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50424 COND_BUILD_release_DEBUG_INFO_default=""
50427 COND_BUILD_release_UNICODE_0="#"
50428 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50429 COND_BUILD_release_UNICODE_0=""
50432 COND_BUILD_release_UNICODE_1="#"
50433 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50434 COND_BUILD_release_UNICODE_1=""
50437 COND_DEBUG_FLAG_0="#"
50438 if test "x$DEBUG_FLAG" = "x0" ; then
50439 COND_DEBUG_FLAG_0=""
50442 COND_DEBUG_FLAG_1="#"
50443 if test "x$DEBUG_FLAG" = "x1" ; then
50444 COND_DEBUG_FLAG_1=""
50447 COND_DEBUG_INFO_0="#"
50448 if test "x$DEBUG_INFO" = "x0" ; then
50449 COND_DEBUG_INFO_0=""
50452 COND_DEBUG_INFO_1="#"
50453 if test "x$DEBUG_INFO" = "x1" ; then
50454 COND_DEBUG_INFO_1=""
50457 COND_DEPS_TRACKING_0="#"
50458 if test "x$DEPS_TRACKING" = "x0" ; then
50459 COND_DEPS_TRACKING_0=""
50462 COND_DEPS_TRACKING_1="#"
50463 if test "x$DEPS_TRACKING" = "x1" ; then
50464 COND_DEPS_TRACKING_1=""
50468 if test "x$GCC_PCH" = "x1" ; then
50473 if test "x$ICC_PCH" = "x1" ; then
50477 COND_MONOLITHIC_0="#"
50478 if test "x$MONOLITHIC" = "x0" ; then
50479 COND_MONOLITHIC_0=""
50482 COND_MONOLITHIC_0_SHARED_0="#"
50483 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50484 COND_MONOLITHIC_0_SHARED_0=""
50487 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50488 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50489 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50492 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50493 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50494 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50498 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50499 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50503 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50504 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50508 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50509 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50512 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50513 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50514 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50517 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50519 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50522 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50524 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50527 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50528 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50529 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50532 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50533 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50534 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50537 COND_MONOLITHIC_0_SHARED_1="#"
50538 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50539 COND_MONOLITHIC_0_SHARED_1=""
50542 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50543 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50544 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50548 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50552 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50553 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50554 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50557 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50558 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50559 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50563 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50564 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50567 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50568 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50569 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50572 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50573 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50574 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50577 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50578 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50579 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50582 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50583 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50584 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50587 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50588 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50589 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50592 COND_MONOLITHIC_0_USE_AUI_1="#"
50593 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50594 COND_MONOLITHIC_0_USE_AUI_1=""
50597 COND_MONOLITHIC_0_USE_GUI_1="#"
50598 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50599 COND_MONOLITHIC_0_USE_GUI_1=""
50602 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50603 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50604 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50607 COND_MONOLITHIC_0_USE_HTML_1="#"
50608 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50609 COND_MONOLITHIC_0_USE_HTML_1=""
50612 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50613 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50614 COND_MONOLITHIC_0_USE_MEDIA_1=""
50617 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50618 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50619 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50622 COND_MONOLITHIC_0_USE_QA_1="#"
50623 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50624 COND_MONOLITHIC_0_USE_QA_1=""
50627 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50628 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50629 COND_MONOLITHIC_0_USE_RIBBON_1=""
50632 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50633 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50634 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50637 COND_MONOLITHIC_0_USE_STC_1="#"
50638 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50639 COND_MONOLITHIC_0_USE_STC_1=""
50642 COND_MONOLITHIC_0_USE_XRC_1="#"
50643 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50644 COND_MONOLITHIC_0_USE_XRC_1=""
50647 COND_MONOLITHIC_1="#"
50648 if test "x$MONOLITHIC" = "x1" ; then
50649 COND_MONOLITHIC_1=""
50652 COND_MONOLITHIC_1_SHARED_0="#"
50653 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50654 COND_MONOLITHIC_1_SHARED_0=""
50657 COND_MONOLITHIC_1_SHARED_1="#"
50658 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50659 COND_MONOLITHIC_1_SHARED_1=""
50662 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50663 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50664 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50667 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50668 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50669 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50672 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50673 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50674 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50677 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50678 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50679 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50682 COND_PLATFORM_MACOSX_1="#"
50683 if test "x$PLATFORM_MACOSX" = "x1" ; then
50684 COND_PLATFORM_MACOSX_1=""
50687 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50688 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50689 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50692 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50693 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50694 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50697 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50698 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50699 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50702 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50703 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50704 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50707 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50708 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50709 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50712 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50713 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50714 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50717 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50718 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50719 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50722 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50723 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50724 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50727 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50728 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50729 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50732 COND_PLATFORM_MACOS_1="#"
50733 if test "x$PLATFORM_MACOS" = "x1" ; then
50734 COND_PLATFORM_MACOS_1=""
50737 COND_PLATFORM_MAC_0="#"
50738 if test "x$PLATFORM_MAC" = "x0" ; then
50739 COND_PLATFORM_MAC_0=""
50742 COND_PLATFORM_MAC_1="#"
50743 if test "x$PLATFORM_MAC" = "x1" ; then
50744 COND_PLATFORM_MAC_1=""
50747 COND_PLATFORM_MSDOS_0="#"
50748 if test "x$PLATFORM_MSDOS" = "x0" ; then
50749 COND_PLATFORM_MSDOS_0=""
50752 COND_PLATFORM_MSDOS_1="#"
50753 if test "x$PLATFORM_MSDOS" = "x1" ; then
50754 COND_PLATFORM_MSDOS_1=""
50757 COND_PLATFORM_OS2_1="#"
50758 if test "x$PLATFORM_OS2" = "x1" ; then
50759 COND_PLATFORM_OS2_1=""
50762 COND_PLATFORM_UNIX_0="#"
50763 if test "x$PLATFORM_UNIX" = "x0" ; then
50764 COND_PLATFORM_UNIX_0=""
50767 COND_PLATFORM_UNIX_1="#"
50768 if test "x$PLATFORM_UNIX" = "x1" ; then
50769 COND_PLATFORM_UNIX_1=""
50772 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50773 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50774 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50777 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50778 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50779 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50782 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50783 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50784 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50787 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50788 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50789 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50792 COND_PLATFORM_WIN32_0="#"
50793 if test "x$PLATFORM_WIN32" = "x0" ; then
50794 COND_PLATFORM_WIN32_0=""
50797 COND_PLATFORM_WIN32_1="#"
50798 if test "x$PLATFORM_WIN32" = "x1" ; then
50799 COND_PLATFORM_WIN32_1=""
50802 COND_PLATFORM_WIN32_1_SHARED_0="#"
50803 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50804 COND_PLATFORM_WIN32_1_SHARED_0=""
50808 if test "x$SHARED" = "x0" ; then
50812 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50813 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50814 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50817 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50818 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50819 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50822 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50823 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50824 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50827 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50828 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50829 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50832 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50833 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50834 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50837 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50838 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50839 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50842 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50843 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50844 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50847 COND_SHARED_0_USE_STC_1="#"
50848 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50849 COND_SHARED_0_USE_STC_1=""
50852 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50853 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50854 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50857 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50858 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50859 COND_SHARED_0_wxUSE_REGEX_builtin=""
50862 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50863 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50864 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50868 if test "x$SHARED" = "x1" ; then
50872 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50873 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50874 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50878 if test "x$TOOLKIT" = "x" ; then
50882 COND_TOOLKIT_COCOA="#"
50883 if test "x$TOOLKIT" = "xCOCOA" ; then
50884 COND_TOOLKIT_COCOA=""
50887 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50888 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50889 COND_TOOLKIT_COCOA_USE_GUI_1=""
50892 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50893 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50894 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50897 COND_TOOLKIT_DFB="#"
50898 if test "x$TOOLKIT" = "xDFB" ; then
50899 COND_TOOLKIT_DFB=""
50902 COND_TOOLKIT_DFB_USE_GUI_1="#"
50903 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50904 COND_TOOLKIT_DFB_USE_GUI_1=""
50907 COND_TOOLKIT_GTK="#"
50908 if test "x$TOOLKIT" = "xGTK" ; then
50909 COND_TOOLKIT_GTK=""
50912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50913 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50918 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50923 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50928 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50933 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50934 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50937 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50938 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50942 COND_TOOLKIT_GTK_USE_GUI_1="#"
50943 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50944 COND_TOOLKIT_GTK_USE_GUI_1=""
50947 COND_TOOLKIT_MAC="#"
50948 if test "x$TOOLKIT" = "xMAC" ; then
50949 COND_TOOLKIT_MAC=""
50952 COND_TOOLKIT_MGL="#"
50953 if test "x$TOOLKIT" = "xMGL" ; then
50954 COND_TOOLKIT_MGL=""
50957 COND_TOOLKIT_MGL_USE_GUI_1="#"
50958 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50959 COND_TOOLKIT_MGL_USE_GUI_1=""
50962 COND_TOOLKIT_MOTIF="#"
50963 if test "x$TOOLKIT" = "xMOTIF" ; then
50964 COND_TOOLKIT_MOTIF=""
50967 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50968 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50969 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50972 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50973 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50974 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50977 COND_TOOLKIT_MSW="#"
50978 if test "x$TOOLKIT" = "xMSW" ; then
50979 COND_TOOLKIT_MSW=""
50982 COND_TOOLKIT_MSW_USE_GUI_1="#"
50983 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50984 COND_TOOLKIT_MSW_USE_GUI_1=""
50987 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50988 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50989 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50992 COND_TOOLKIT_MSW_WXUNIV_0="#"
50993 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50994 COND_TOOLKIT_MSW_WXUNIV_0=""
50997 COND_TOOLKIT_OSX_CARBON="#"
50998 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50999 COND_TOOLKIT_OSX_CARBON=""
51002 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51003 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51004 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51007 COND_TOOLKIT_OSX_COCOA="#"
51008 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51009 COND_TOOLKIT_OSX_COCOA=""
51012 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51013 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51014 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51017 COND_TOOLKIT_OSX_IPHONE="#"
51018 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51019 COND_TOOLKIT_OSX_IPHONE=""
51022 COND_TOOLKIT_PM="#"
51023 if test "x$TOOLKIT" = "xPM" ; then
51027 COND_TOOLKIT_PM_USE_GUI_1="#"
51028 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51029 COND_TOOLKIT_PM_USE_GUI_1=""
51032 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51033 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51034 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51037 COND_TOOLKIT_WINCE="#"
51038 if test "x$TOOLKIT" = "xWINCE" ; then
51039 COND_TOOLKIT_WINCE=""
51042 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51043 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51044 COND_TOOLKIT_WINCE_USE_GUI_1=""
51047 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51048 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51049 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51052 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51053 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51054 COND_TOOLKIT_WINCE_WXUNIV_0=""
51057 COND_TOOLKIT_X11="#"
51058 if test "x$TOOLKIT" = "xX11" ; then
51059 COND_TOOLKIT_X11=""
51062 COND_TOOLKIT_X11_USE_GUI_1="#"
51063 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51064 COND_TOOLKIT_X11_USE_GUI_1=""
51068 if test "x$UNICODE" = "x1" ; then
51072 COND_USE_CAIRO_1="#"
51073 if test "x$USE_CAIRO" = "x1" ; then
51074 COND_USE_CAIRO_1=""
51077 COND_USE_EXCEPTIONS_0="#"
51078 if test "x$USE_EXCEPTIONS" = "x0" ; then
51079 COND_USE_EXCEPTIONS_0=""
51082 COND_USE_EXCEPTIONS_1="#"
51083 if test "x$USE_EXCEPTIONS" = "x1" ; then
51084 COND_USE_EXCEPTIONS_1=""
51088 if test "x$USE_GUI" = "x0" ; then
51093 if test "x$USE_GUI" = "x1" ; then
51097 COND_USE_GUI_1_USE_OPENGL_1="#"
51098 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51099 COND_USE_GUI_1_USE_OPENGL_1=""
51102 COND_USE_GUI_1_WXUNIV_0="#"
51103 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51104 COND_USE_GUI_1_WXUNIV_0=""
51107 COND_USE_GUI_1_WXUNIV_1="#"
51108 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51109 COND_USE_GUI_1_WXUNIV_1=""
51112 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51113 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51114 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51117 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51118 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51119 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51122 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51123 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51124 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51127 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51128 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51129 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51132 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51133 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51134 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51137 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51138 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51139 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51142 COND_USE_OPENGL_1="#"
51143 if test "x$USE_OPENGL" = "x1" ; then
51144 COND_USE_OPENGL_1=""
51148 if test "x$USE_PCH" = "x1" ; then
51152 COND_USE_PLUGINS_0="#"
51153 if test "x$USE_PLUGINS" = "x0" ; then
51154 COND_USE_PLUGINS_0=""
51157 COND_USE_RTTI_0="#"
51158 if test "x$USE_RTTI" = "x0" ; then
51162 COND_USE_RTTI_1="#"
51163 if test "x$USE_RTTI" = "x1" ; then
51167 COND_USE_SOTWOSYMLINKS_1="#"
51168 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51169 COND_USE_SOTWOSYMLINKS_1=""
51172 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51173 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51174 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51177 COND_USE_SOVERLINUX_1="#"
51178 if test "x$USE_SOVERLINUX" = "x1" ; then
51179 COND_USE_SOVERLINUX_1=""
51182 COND_USE_SOVERSION_0="#"
51183 if test "x$USE_SOVERSION" = "x0" ; then
51184 COND_USE_SOVERSION_0=""
51187 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51188 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51189 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51192 COND_USE_SOVERSOLARIS_1="#"
51193 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51194 COND_USE_SOVERSOLARIS_1=""
51198 if test "x$USE_STC" = "x1" ; then
51202 COND_USE_THREADS_0="#"
51203 if test "x$USE_THREADS" = "x0" ; then
51204 COND_USE_THREADS_0=""
51207 COND_USE_THREADS_1="#"
51208 if test "x$USE_THREADS" = "x1" ; then
51209 COND_USE_THREADS_1=""
51213 if test "x$USE_XRC" = "x1" ; then
51217 COND_WINDOWS_IMPLIB_1="#"
51218 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51219 COND_WINDOWS_IMPLIB_1=""
51222 COND_WITH_PLUGIN_SDL_1="#"
51223 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51224 COND_WITH_PLUGIN_SDL_1=""
51228 if test "x$WXUNIV" = "x0" ; then
51233 if test "x$WXUNIV" = "x1" ; then
51237 COND_WXUSE_EXPAT_BUILTIN="#"
51238 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51239 COND_WXUSE_EXPAT_BUILTIN=""
51242 COND_WXUSE_LIBJPEG_BUILTIN="#"
51243 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51244 COND_WXUSE_LIBJPEG_BUILTIN=""
51247 COND_WXUSE_LIBPNG_BUILTIN="#"
51248 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51249 COND_WXUSE_LIBPNG_BUILTIN=""
51252 COND_WXUSE_LIBTIFF_BUILTIN="#"
51253 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51254 COND_WXUSE_LIBTIFF_BUILTIN=""
51257 COND_WXUSE_REGEX_BUILTIN="#"
51258 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51259 COND_WXUSE_REGEX_BUILTIN=""
51262 COND_WXUSE_ZLIB_BUILTIN="#"
51263 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51264 COND_WXUSE_ZLIB_BUILTIN=""
51267 COND_wxUSE_EXPAT_builtin="#"
51268 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51269 COND_wxUSE_EXPAT_builtin=""
51272 COND_wxUSE_LIBJPEG_builtin="#"
51273 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51274 COND_wxUSE_LIBJPEG_builtin=""
51277 COND_wxUSE_LIBPNG_builtin="#"
51278 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51279 COND_wxUSE_LIBPNG_builtin=""
51282 COND_wxUSE_LIBTIFF_builtin="#"
51283 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51284 COND_wxUSE_LIBTIFF_builtin=""
51287 COND_wxUSE_REGEX_builtin="#"
51288 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51289 COND_wxUSE_REGEX_builtin=""
51292 COND_wxUSE_ZLIB_builtin="#"
51293 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51294 COND_wxUSE_ZLIB_builtin=""
51299 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51300 { { 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
51301 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;}
51302 { (exit 1); exit 1; }; }
51305 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51306 { { 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
51307 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;}
51308 { (exit 1); exit 1; }; }
51315 ?:* ) # Drive letter, considered as absolute.
51318 INSTALL=`pwd`/${INSTALL} ;;
51321 if test "$wxUSE_GUI" = "yes"; then
51323 if test "$wxUSE_MSW" = 1 ; then
51324 if test "x$WINDRES" = "x"; then
51325 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51326 echo "$as_me: error: Required windres program not found" >&2;}
51327 { (exit 1); exit 1; }; }
51330 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51333 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51334 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51335 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51337 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51339 # Extract the first word of "DeRez", so it can be a program name with args.
51340 set dummy DeRez; ac_word=$2
51341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51343 if test "${ac_cv_prog_DEREZ+set}" = set; then
51344 echo $ECHO_N "(cached) $ECHO_C" >&6
51346 if test -n "$DEREZ"; then
51347 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51350 for as_dir in $PATH
51353 test -z "$as_dir" && as_dir=.
51354 for ac_exec_ext in '' $ac_executable_extensions; do
51355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51356 ac_cv_prog_DEREZ="DeRez"
51357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51364 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51367 DEREZ=$ac_cv_prog_DEREZ
51368 if test -n "$DEREZ"; then
51369 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51370 echo "${ECHO_T}$DEREZ" >&6; }
51372 { echo "$as_me:$LINENO: result: no" >&5
51373 echo "${ECHO_T}no" >&6; }
51378 MACSETFILE="\$(SETFILE)"
51380 if test "$wxUSE_OSX_CARBON" = 1; then
51381 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51383 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51385 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51386 RESCOMP="cat /dev/null \| $REZ"
51387 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51393 if test "$wxUSE_PM" = 1; then
51395 WXCONFIG_RESFLAGS="-ep"
51397 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51399 POSTLINK_COMMAND="@true"
51406 if test $GCC_PCH = 1
51408 if test "$wx_cv_gcc_pch_bug" = yes; then
51409 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51410 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51411 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51412 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51413 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51414 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51417 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51418 # the headers that benefit from precompilation are mostly C++ headers.
51419 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51420 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51421 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51425 if test "$wxUSE_MAC" = 1 ; then
51426 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51427 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51433 if test "$wxUSE_SHARED" = "yes"; then
51435 *-pc-os2_emx | *-pc-os2-emx )
51436 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51437 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51438 cp -p ${srcdir}/src/os2/dllnames.sh .
51439 cp -p ${srcdir}/src/os2/dllar.sh .
51443 if test "$wxUSE_OMF" = "yes"; then
51445 *-pc-os2_emx | *-pc-os2-emx )
51446 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51447 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51448 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51453 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51458 if test "$GCC" = yes; then
51459 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51460 LIBS=`echo $LIBS | sed 's/-mt//'`
51461 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51466 if test "x$SUNCXX" = xyes; then
51467 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51468 LIBS=`echo $LIBS | sed 's/-pthread//'`
51469 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51474 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51475 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51476 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51477 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51479 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51540 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51541 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51542 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51543 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51544 echo $ECHO_N "(cached) $ECHO_C" >&6
51546 cat >conftest.make <<\_ACEOF
51549 @echo '@@@%%%=$(MAKE)=@@@%%%'
51551 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51552 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51553 *@@@%%%=?*=@@@%%%*)
51554 eval ac_cv_prog_make_${ac_make}_set=yes;;
51556 eval ac_cv_prog_make_${ac_make}_set=no;;
51558 rm -f conftest.make
51560 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51561 { echo "$as_me:$LINENO: result: yes" >&5
51562 echo "${ECHO_T}yes" >&6; }
51565 { echo "$as_me:$LINENO: result: no" >&5
51566 echo "${ECHO_T}no" >&6; }
51567 SET_MAKE="MAKE=${MAKE-make}"
51572 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51575 if test "$USE_WIN32" = 1; then
51576 ac_config_commands="$ac_config_commands rcdefs.h"
51580 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51583 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51586 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51589 if test "$wx_cv_version_script" = "yes"; then
51590 ac_config_files="$ac_config_files version-script"
51593 ac_config_files="$ac_config_files Makefile"
51596 ac_config_commands="$ac_config_commands wx-config"
51600 if test "$wxWITH_SUBDIRS" != "no"; then
51601 if test "$wxUSE_GUI" = "yes"; then
51602 SUBDIRS="samples demos utils"
51604 SUBDIRS="samples utils"
51609 # Check whether --with-cppunit-prefix was given.
51610 if test "${with_cppunit_prefix+set}" = set; then
51611 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51613 cppunit_config_prefix=""
51617 # Check whether --with-cppunit-exec-prefix was given.
51618 if test "${with_cppunit_exec_prefix+set}" = set; then
51619 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51621 cppunit_config_exec_prefix=""
51625 if test x$cppunit_config_exec_prefix != x ; then
51626 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51627 if test x${CPPUNIT_CONFIG+set} != xset ; then
51628 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51631 if test x$cppunit_config_prefix != x ; then
51632 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51633 if test x${CPPUNIT_CONFIG+set} != xset ; then
51634 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51638 # Extract the first word of "cppunit-config", so it can be a program name with args.
51639 set dummy cppunit-config; ac_word=$2
51640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51642 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51643 echo $ECHO_N "(cached) $ECHO_C" >&6
51645 case $CPPUNIT_CONFIG in
51647 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51651 for as_dir in $PATH
51654 test -z "$as_dir" && as_dir=.
51655 for ac_exec_ext in '' $ac_executable_extensions; do
51656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51657 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51665 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51669 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51670 if test -n "$CPPUNIT_CONFIG"; then
51671 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51672 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51674 { echo "$as_me:$LINENO: result: no" >&5
51675 echo "${ECHO_T}no" >&6; }
51679 cppunit_version_min=1.8.0
51681 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51682 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51684 if test "$CPPUNIT_CONFIG" = "no" ; then
51685 { echo "$as_me:$LINENO: result: no" >&5
51686 echo "${ECHO_T}no" >&6; }
51689 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51690 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51691 cppunit_version=`$CPPUNIT_CONFIG --version`
51693 cppunit_major_version=`echo $cppunit_version | \
51694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51695 cppunit_minor_version=`echo $cppunit_version | \
51696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51697 cppunit_micro_version=`echo $cppunit_version | \
51698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51700 cppunit_major_min=`echo $cppunit_version_min | \
51701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51702 cppunit_minor_min=`echo $cppunit_version_min | \
51703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51704 cppunit_micro_min=`echo $cppunit_version_min | \
51705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51707 cppunit_version_proper=`expr \
51708 $cppunit_major_version \
> $cppunit_major_min \
| \
51709 $cppunit_major_version \
= $cppunit_major_min \
& \
51710 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51711 $cppunit_major_version \
= $cppunit_major_min \
& \
51712 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51713 $cppunit_micro_version \
>= $cppunit_micro_min `
51715 if test "$cppunit_version_proper" = "1" ; then
51716 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51717 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51719 { echo "$as_me:$LINENO: result: no" >&5
51720 echo "${ECHO_T}no" >&6; }
51725 if test "x$no_cppunit" = x ; then
51726 SUBDIRS="$SUBDIRS tests"
51737 for subdir in $SUBDIRS; do
51738 if test -d ${srcdir}/${subdir} ; then
51739 if test "$wxUSE_GUI" = "yes"; then
51740 if test ${subdir} = "samples"; then
51741 makefiles="samples/Makefile.in $makefiles"
51742 for sample in $SAMPLES_SUBDIRS; do
51743 if test -d $srcdir/samples/$sample; then
51744 makefiles="samples/$sample/Makefile.in $makefiles"
51748 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51749 eval "disabled=\$$disabled_var"
51750 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51751 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51754 if test ${subdir} = "samples"; then
51755 makefiles="samples/Makefile.in $makefiles"
51756 for sample in `echo $SAMPLES_SUBDIRS`; do
51757 if test -d $srcdir/samples/$sample; then
51758 makefiles="samples/$sample/Makefile.in $makefiles"
51761 elif test ${subdir} = "utils"; then
51763 for util in ifacecheck ; do
51764 if test -d $srcdir/utils/$util ; then
51765 makefiles="utils/$util/src/Makefile.in \
51770 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51774 for mkin in $makefiles ; do
51775 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51776 ac_config_files="$ac_config_files $mk"
51782 cat >confcache <<\_ACEOF
51783 # This file is a shell script that caches the results of configure
51784 # tests run on this system so they can be shared between configure
51785 # scripts and configure runs, see configure's option --config-cache.
51786 # It is not useful on other systems. If it contains results you don't
51787 # want to keep, you may remove or edit it.
51789 # config.status only pays attention to the cache file if you give it
51790 # the --recheck option to rerun configure.
51792 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
51793 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51794 # following values.
51798 # The following way of writing the cache mishandles newlines in values,
51799 # but we know of no workaround that is simple, portable, and efficient.
51800 # So, we kill variables containing newlines.
51801 # Ultrix sh set writes to stderr and can't be redirected directly,
51802 # and sets the high bit in the cache file unless we assign to the vars.
51804 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51805 eval ac_val
=\$
$ac_var
51809 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51810 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51813 _
| IFS
| as_nl
) ;; #(
51814 *) $as_unset $ac_var ;;
51820 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51821 *${as_nl}ac_space
=\
*)
51822 # `set' does not quote correctly, so add quotes (double-quote
51823 # substitution turns \\\\ into \\, and sed turns \\ into \).
51826 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51829 # `set' quotes correctly as required by POSIX, so do not add quotes.
51830 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51839 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51841 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51843 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51844 if test -w "$cache_file"; then
51845 test "x$cache_file" != "x/dev/null" &&
51846 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51847 echo "$as_me: updating cache $cache_file" >&6;}
51848 cat confcache
>$cache_file
51850 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51851 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51856 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51857 # Let make expand exec_prefix.
51858 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51860 DEFS
=-DHAVE_CONFIG_H
51864 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51865 # 1. Remove the extension, and $U if already installed.
51866 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51867 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51868 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51869 # will be set to the directory where LIBOBJS objects are built.
51870 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51871 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51873 LIBOBJS
=$ac_libobjs
51875 LTLIBOBJS
=$ac_ltlibobjs
51879 : ${CONFIG_STATUS=./config.status}
51880 ac_clean_files_save
=$ac_clean_files
51881 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51882 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51883 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51884 cat >$CONFIG_STATUS <<_ACEOF
51886 # Generated by $as_me.
51887 # Run this file to recreate the current configuration.
51888 # Compiler output produced by configure, useful for debugging
51889 # configure, is in config.log if it exists.
51892 ac_cs_recheck=false
51894 SHELL=\${CONFIG_SHELL-$SHELL}
51897 cat >>$CONFIG_STATUS <<\_ACEOF
51898 ## --------------------- ##
51899 ## M4sh Initialization. ##
51900 ## --------------------- ##
51902 # Be more Bourne compatible
51903 DUALCASE
=1; export DUALCASE
# for MKS sh
51904 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51907 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51908 # is contrary to our usage. Disable this feature.
51909 alias -g '${1+"$@"}'='"$@"'
51910 setopt NO_GLOB_SUBST
51912 case `(set -o) 2>/dev/null` in
51913 *posix
*) set -o posix
;;
51922 # Avoid depending upon Character Ranges.
51923 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51924 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51925 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51926 as_cr_digits
='0123456789'
51927 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51929 # The user is always right.
51930 if test "${PATH_SEPARATOR+set}" != set; then
51931 echo "#! /bin/sh" >conf$$.sh
51932 echo "exit 0" >>conf$$.sh
51934 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51942 # Support unset when possible.
51943 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51951 # We need space, tab and new line, in precisely that order. Quoting is
51952 # there to prevent editors from complaining about space-tab.
51953 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51954 # splitting by setting IFS to empty value.)
51959 # Find who we are. Look in the path if we contain no directory separator.
51961 *[\\/]* ) as_myself
=$0 ;;
51962 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51963 for as_dir
in $PATH
51966 test -z "$as_dir" && as_dir
=.
51967 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51973 # We did not find ourselves, most probably we were run as `sh COMMAND'
51974 # in which case we are not to be found in the path.
51975 if test "x$as_myself" = x
; then
51978 if test ! -f "$as_myself"; then
51979 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51980 { (exit 1); exit 1; }
51983 # Work around bugs in pre-3.0 UWIN ksh.
51984 for as_var
in ENV MAIL MAILPATH
51985 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51993 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51994 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51995 LC_TELEPHONE LC_TIME
51997 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51998 eval $as_var=C
; export $as_var
52000 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52004 # Required to use basename.
52005 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52006 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52012 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52013 as_basename
=basename
52019 # Name of the executable.
52020 as_me
=`$as_basename -- "$0" ||
52021 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52022 X"$0" : 'X\(//\)$' \| \
52023 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52025 sed '/^.*\/\([^/][^/]*\)\/*$/{
52044 as_lineno_1
=$LINENO
52045 as_lineno_2
=$LINENO
52046 test "x$as_lineno_1" != "x$as_lineno_2" &&
52047 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52049 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52050 # uniformly replaced by the line number. The first 'sed' inserts a
52051 # line-number line after each line using $LINENO; the second 'sed'
52052 # does the real work. The second script uses 'N' to pair each
52053 # line-number line with the line containing $LINENO, and appends
52054 # trailing '-' during substitution so that $LINENO is not a special
52055 # case at line end.
52056 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52057 # scripts with optimization help from Paolo Bonzini. Blame Lee
52058 # E. McMahon (1931-1989) for sed's syntax. :-)
52070 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52073 ' >$as_me.lineno
&&
52074 chmod +x
"$as_me.lineno" ||
52075 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52076 { (exit 1); exit 1; }; }
52078 # Don't try to exec as it changes $[0], causing all sort of problems
52079 # (the dirname of $[0] is not the place where we might find the
52080 # original and so on. Autoconf is especially sensitive to this).
52081 .
"./$as_me.lineno"
52082 # Exit status is that of the last command.
52087 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52093 ECHO_C
= ECHO_N
= ECHO_T
=
52094 case `echo -n x` in
52096 case `echo 'x\c'` in
52097 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52104 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52105 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52111 rm -f conf$$ conf$$.exe conf$$.
file
52112 if test -d conf$$.dir
; then
52113 rm -f conf$$.dir
/conf$$.
file
52119 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52121 # ... but there are two gotchas:
52122 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52123 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52124 # In both cases, we have to default to `cp -p'.
52125 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52127 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52132 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52133 rmdir conf$$.dir
2>/dev
/null
52135 if mkdir -p .
2>/dev
/null
; then
52138 test -d .
/-p && rmdir .
/-p
52142 if test -x / >/dev
/null
2>&1; then
52143 as_test_x
='test -x'
52145 if ls -dL / >/dev
/null
2>&1; then
52152 if test -d "$1"; then
52158 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52159 ???[sx]*):;;*)false;;esac;fi
52163 as_executable_p
=$as_test_x
52165 # Sed expression to map a string onto a valid CPP name.
52166 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52168 # Sed expression to map a string onto a valid variable name.
52169 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52174 # Save the log message, to keep $[0] and so on meaningful, and to
52175 # report actual input values of CONFIG_FILES etc. instead of their
52176 # values after options handling.
52178 This file was extended by wxWidgets $as_me 2.9.1, which was
52179 generated by GNU Autoconf 2.61. Invocation command line was
52181 CONFIG_FILES = $CONFIG_FILES
52182 CONFIG_HEADERS = $CONFIG_HEADERS
52183 CONFIG_LINKS = $CONFIG_LINKS
52184 CONFIG_COMMANDS = $CONFIG_COMMANDS
52187 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52192 cat >>$CONFIG_STATUS <<_ACEOF
52193 # Files that config.status was made for.
52194 config_files="$ac_config_files"
52195 config_headers="$ac_config_headers"
52196 config_commands="$ac_config_commands"
52200 cat >>$CONFIG_STATUS <<\_ACEOF
52202 \`$as_me' instantiates files from templates according to the
52203 current configuration.
52205 Usage: $0 [OPTIONS] [FILE]...
52207 -h, --help print this help, then exit
52208 -V, --version print version number and configuration settings, then exit
52209 -q, --quiet do not print progress messages
52210 -d, --debug don't remove temporary files
52211 --recheck update $as_me by reconfiguring in the same conditions
52212 --file=FILE[:TEMPLATE]
52213 instantiate the configuration file FILE
52214 --header=FILE[:TEMPLATE]
52215 instantiate the configuration header FILE
52217 Configuration files:
52220 Configuration headers:
52223 Configuration commands:
52226 Report bugs to <bug-autoconf@gnu.org>."
52229 cat >>$CONFIG_STATUS <<_ACEOF
52231 wxWidgets config.status 2.9.1
52232 configured by $0, generated by GNU Autoconf 2.61,
52233 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52235 Copyright (C) 2006 Free Software Foundation, Inc.
52236 This config.status script is free software; the Free Software Foundation
52237 gives unlimited permission to copy, distribute and modify it."
52244 cat >>$CONFIG_STATUS <<\_ACEOF
52245 # If no file are specified by the user, then we need to provide default
52246 # value. By we need to know if files were specified by the user.
52252 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52253 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52264 # Handling of the options.
52265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52267 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52268 echo "$ac_cs_version"; exit ;;
52269 --debug | --debu | --deb | --de | --d | -d )
52271 --file | --fil | --fi | --f )
52273 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52274 ac_need_defaults
=false
;;
52275 --header | --heade | --head | --hea )
52277 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52278 ac_need_defaults
=false
;;
52280 # Conflict between --help and --header
52281 { echo "$as_me: error: ambiguous option: $1
52282 Try \`$0 --help' for more information." >&2
52283 { (exit 1); exit 1; }; };;
52284 --help | --hel | -h )
52285 echo "$ac_cs_usage"; exit ;;
52286 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52287 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52290 # This is an error.
52291 -*) { echo "$as_me: error: unrecognized option: $1
52292 Try \`$0 --help' for more information." >&2
52293 { (exit 1); exit 1; }; } ;;
52295 *) ac_config_targets
="$ac_config_targets $1"
52296 ac_need_defaults
=false
;;
52302 ac_configure_extra_args
=
52304 if $ac_cs_silent; then
52306 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52310 cat >>$CONFIG_STATUS <<_ACEOF
52311 if \$ac_cs_recheck; then
52312 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52313 CONFIG_SHELL=$SHELL
52314 export CONFIG_SHELL
52315 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52319 cat >>$CONFIG_STATUS <<\_ACEOF
52323 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52324 ## Running $as_me. ##
52330 cat >>$CONFIG_STATUS <<_ACEOF
52336 infile="$srcdir/include/wx/msw/genrcdefs.h"
52337 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52340 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52341 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52342 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52348 cat >>$CONFIG_STATUS <<\_ACEOF
52350 # Handling of arguments.
52351 for ac_config_target
in $ac_config_targets
52353 case $ac_config_target in
52354 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52355 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52356 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52357 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52358 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52359 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52360 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52361 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52362 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52364 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52365 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52366 { (exit 1); exit 1; }; };;
52371 # If the user did not use the arguments to specify the items to instantiate,
52372 # then the envvar interface is used. Set only those that are not.
52373 # We use the long form for the default assignment because of an extremely
52374 # bizarre bug on SunOS 4.1.3.
52375 if $ac_need_defaults; then
52376 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52377 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52378 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52381 # Have a temporary directory for convenience. Make it in the build tree
52382 # simply because there is no reason against having it here, and in addition,
52383 # creating and moving files from /tmp can sometimes cause problems.
52384 # Hook for its removal unless debugging.
52385 # Note that there is a small window in which the directory will not be cleaned:
52386 # after its creation but before its name has been assigned to `$tmp'.
52390 trap 'exit_status=$?
52391 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52393 trap '{ (exit 1); exit 1; }' 1 2 13 15
52395 # Create a (secure) tmp directory for tmp files.
52398 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52399 test -n "$tmp" && test -d "$tmp"
52402 tmp
=.
/conf$$
-$RANDOM
52403 (umask 077 && mkdir "$tmp")
52406 echo "$me: cannot create a temporary directory in ." >&2
52407 { (exit 1); exit 1; }
52411 # Set up the sed scripts for CONFIG_FILES section.
52414 # No need to generate the scripts if there are no CONFIG_FILES.
52415 # This happens for instance when ./config.status config.h
52416 if test -n "$CONFIG_FILES"; then
52423 for ac_last_try
in false false false false false
:; do
52424 cat >conf$
$subs.
sed <<_ACEOF
52425 SHELL!$SHELL$ac_delim
52426 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52427 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52428 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52429 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52430 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52431 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52432 exec_prefix!$exec_prefix$ac_delim
52433 prefix!$prefix$ac_delim
52434 program_transform_name!$program_transform_name$ac_delim
52435 bindir!$bindir$ac_delim
52436 sbindir!$sbindir$ac_delim
52437 libexecdir!$libexecdir$ac_delim
52438 datarootdir!$datarootdir$ac_delim
52439 datadir!$datadir$ac_delim
52440 sysconfdir!$sysconfdir$ac_delim
52441 sharedstatedir!$sharedstatedir$ac_delim
52442 localstatedir!$localstatedir$ac_delim
52443 includedir!$includedir$ac_delim
52444 oldincludedir!$oldincludedir$ac_delim
52445 docdir!$docdir$ac_delim
52446 infodir!$infodir$ac_delim
52447 htmldir!$htmldir$ac_delim
52448 dvidir!$dvidir$ac_delim
52449 pdfdir!$pdfdir$ac_delim
52450 psdir!$psdir$ac_delim
52451 libdir!$libdir$ac_delim
52452 localedir!$localedir$ac_delim
52453 mandir!$mandir$ac_delim
52454 DEFS!$DEFS$ac_delim
52455 ECHO_C!$ECHO_C$ac_delim
52456 ECHO_N!$ECHO_N$ac_delim
52457 ECHO_T!$ECHO_T$ac_delim
52458 LIBS!$LIBS$ac_delim
52459 build_alias!$build_alias$ac_delim
52460 host_alias!$host_alias$ac_delim
52461 target_alias!$target_alias$ac_delim
52462 build!$build$ac_delim
52463 build_cpu!$build_cpu$ac_delim
52464 build_vendor!$build_vendor$ac_delim
52465 build_os!$build_os$ac_delim
52466 host!$host$ac_delim
52467 host_cpu!$host_cpu$ac_delim
52468 host_vendor!$host_vendor$ac_delim
52469 host_os!$host_os$ac_delim
52470 wx_top_builddir!$wx_top_builddir$ac_delim
52472 CFLAGS!$CFLAGS$ac_delim
52473 LDFLAGS!$LDFLAGS$ac_delim
52474 CPPFLAGS!$CPPFLAGS$ac_delim
52475 ac_ct_CC!$ac_ct_CC$ac_delim
52476 EXEEXT!$EXEEXT$ac_delim
52477 OBJEXT!$OBJEXT$ac_delim
52479 GREP!$GREP$ac_delim
52480 EGREP!$EGREP$ac_delim
52482 CXXFLAGS!$CXXFLAGS$ac_delim
52483 ac_ct_CXX!$ac_ct_CXX$ac_delim
52485 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52486 subdirs!$subdirs$ac_delim
52487 PKG_CONFIG!$PKG_CONFIG$ac_delim
52488 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52489 GTK_LIBS!$GTK_LIBS$ac_delim
52490 GTK_CONFIG!$GTK_CONFIG$ac_delim
52491 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52492 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52493 XMKMF!$XMKMF$ac_delim
52494 X_CFLAGS!$X_CFLAGS$ac_delim
52495 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52496 X_LIBS!$X_LIBS$ac_delim
52497 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52498 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52499 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52500 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52501 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52502 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52503 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52504 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52505 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52506 LIBICONV!$LIBICONV$ac_delim
52507 GXX_VERSION!$GXX_VERSION$ac_delim
52508 SDL_CONFIG!$SDL_CONFIG$ac_delim
52509 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52510 SDL_LIBS!$SDL_LIBS$ac_delim
52511 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52512 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52513 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52514 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52515 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52516 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52517 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52518 HILDON_LIBS!$HILDON_LIBS$ac_delim
52519 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52520 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52521 PYTHON!$PYTHON$ac_delim
52524 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52526 elif $ac_last_try; then
52527 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52528 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52529 { (exit 1); exit 1; }; }
52531 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52535 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52536 if test -n "$ac_eof"; then
52537 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52538 ac_eof
=`expr $ac_eof + 1`
52541 cat >>$CONFIG_STATUS <<_ACEOF
52542 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52546 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52547 s/^/s,@/; s/!/@,|#_!!_#|/
52550 s/'"$ac_delim"'$/,g/; t
52552 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52553 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52554 rm -f conf$
$subs.
sed
52555 cat >>$CONFIG_STATUS <<_ACEOF
52561 for ac_last_try
in false false false false false
:; do
52562 cat >conf$
$subs.
sed <<_ACEOF
52563 COND_PYTHON!$COND_PYTHON$ac_delim
52564 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52565 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52566 GST_CFLAGS!$GST_CFLAGS$ac_delim
52567 GST_LIBS!$GST_LIBS$ac_delim
52568 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52569 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52570 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52571 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52572 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52573 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52574 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52575 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52576 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52577 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52578 VENDOR!$VENDOR$ac_delim
52579 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52580 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52581 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52582 WXUNIV!$WXUNIV$ac_delim
52583 MONOLITHIC!$MONOLITHIC$ac_delim
52584 USE_PLUGINS!$USE_PLUGINS$ac_delim
52585 CXXWARNINGS!$CXXWARNINGS$ac_delim
52586 EXTRALIBS!$EXTRALIBS$ac_delim
52587 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52588 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52589 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52590 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52591 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52592 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52593 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52594 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52595 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52596 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52597 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52598 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52599 UNICODE!$UNICODE$ac_delim
52600 DEBUG_INFO!$DEBUG_INFO$ac_delim
52601 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52602 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52603 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52604 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52605 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52606 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52607 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52608 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52609 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52610 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52611 RANLIB!$RANLIB$ac_delim
52612 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52613 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52614 INSTALL_DATA!$INSTALL_DATA$ac_delim
52615 LN_S!$LN_S$ac_delim
52616 SET_MAKE!$SET_MAKE$ac_delim
52617 MAKE_SET!$MAKE_SET$ac_delim
52618 AROPTIONS!$AROPTIONS$ac_delim
52619 STRIP!$STRIP$ac_delim
52621 INSTALL_DIR!$INSTALL_DIR$ac_delim
52622 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52623 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52624 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52625 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52626 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52627 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52628 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52629 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52630 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52631 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52632 SO_SUFFIX!$SO_SUFFIX$ac_delim
52633 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52634 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52635 LIBPREFIX!$LIBPREFIX$ac_delim
52636 LIBEXT!$LIBEXT$ac_delim
52637 DLLPREFIX!$DLLPREFIX$ac_delim
52638 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52639 dlldir!$dlldir$ac_delim
52640 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52641 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52642 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52643 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52644 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52645 PIC_FLAG!$PIC_FLAG$ac_delim
52646 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52647 USE_SOVERSION!$USE_SOVERSION$ac_delim
52648 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52649 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52650 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52651 USE_MACVERSION!$USE_MACVERSION$ac_delim
52652 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52653 SONAME_FLAG!$SONAME_FLAG$ac_delim
52654 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52655 BK_DEPS!$BK_DEPS$ac_delim
52656 WINDRES!$WINDRES$ac_delim
52658 SETFILE!$SETFILE$ac_delim
52659 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52662 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52664 elif $ac_last_try; then
52665 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52666 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52667 { (exit 1); exit 1; }; }
52669 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52673 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52674 if test -n "$ac_eof"; then
52675 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52676 ac_eof
=`expr $ac_eof + 1`
52679 cat >>$CONFIG_STATUS <<_ACEOF
52680 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52681 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52684 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52685 s/^/s,@/; s/!/@,|#_!!_#|/
52688 s/'"$ac_delim"'$/,g/; t
52690 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52691 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52692 rm -f conf$
$subs.
sed
52693 cat >>$CONFIG_STATUS <<_ACEOF
52699 for ac_last_try
in false false false false false
:; do
52700 cat >conf$
$subs.
sed <<_ACEOF
52701 GCC_PCH!$GCC_PCH$ac_delim
52702 ICC_PCH!$ICC_PCH$ac_delim
52703 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52704 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52705 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52706 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52707 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52708 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52709 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52710 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52711 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52712 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52713 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52714 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52715 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52716 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52717 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52718 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52719 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52720 COND_BUILD_release!$COND_BUILD_release$ac_delim
52721 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52722 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52723 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52724 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52725 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52726 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52727 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52728 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52729 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52730 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52731 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52732 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52733 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52734 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52736 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52738 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52739 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52740 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52741 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52742 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52743 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52744 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52745 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52746 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52747 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52748 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52749 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52750 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52751 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52752 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52753 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52754 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52755 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52756 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52757 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52758 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52759 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52760 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52761 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52762 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52763 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52764 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52765 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52766 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52767 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52768 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52769 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52770 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52771 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52772 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52773 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52774 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52775 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52776 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52777 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
52778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52779 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
52780 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52781 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52782 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52783 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52784 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52785 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52786 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52787 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52788 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52789 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52790 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52791 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52792 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52793 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52794 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52795 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52796 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52797 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
52800 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52802 elif $ac_last_try; then
52803 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52804 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52805 { (exit 1); exit 1; }; }
52807 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52811 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52812 if test -n "$ac_eof"; then
52813 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52814 ac_eof
=`expr $ac_eof + 1`
52817 cat >>$CONFIG_STATUS <<_ACEOF
52818 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52819 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52822 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52823 s/^/s,@/; s/!/@,|#_!!_#|/
52826 s/'"$ac_delim"'$/,g/; t
52828 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52829 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52830 rm -f conf$
$subs.
sed
52831 cat >>$CONFIG_STATUS <<_ACEOF
52837 for ac_last_try
in false false false false false
:; do
52838 cat >conf$
$subs.
sed <<_ACEOF
52839 COND_SHARED_0!$COND_SHARED_0$ac_delim
52840 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52841 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52842 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52843 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52844 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52845 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52846 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52847 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52848 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52849 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52850 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52851 COND_SHARED_1!$COND_SHARED_1$ac_delim
52852 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52853 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52854 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52855 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52856 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52857 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52858 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52859 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52861 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52862 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52863 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52864 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52865 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52866 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52867 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52868 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52869 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52870 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52871 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52872 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52873 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52874 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52875 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52876 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52877 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52878 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52879 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52880 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52881 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52882 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52883 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52884 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52885 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52886 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52887 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52888 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52889 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52890 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52891 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52892 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
52893 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52894 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52895 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52896 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52897 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52898 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52899 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52900 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52901 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52902 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52903 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52904 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52905 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52906 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52907 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52908 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52909 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52910 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52911 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52912 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52913 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52914 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52915 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52916 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52917 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52918 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52919 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52920 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52921 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52922 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52923 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52924 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52925 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52926 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52927 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52928 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52929 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52930 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52931 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52932 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52933 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52934 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52935 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52938 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52940 elif $ac_last_try; then
52941 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52942 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52943 { (exit 1); exit 1; }; }
52945 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52949 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52950 if test -n "$ac_eof"; then
52951 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52952 ac_eof
=`expr $ac_eof + 1`
52955 cat >>$CONFIG_STATUS <<_ACEOF
52956 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52957 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52960 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52961 s/^/s,@/; s/!/@,|#_!!_#|/
52964 s/'"$ac_delim"'$/,g/; t
52966 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52967 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52968 rm -f conf$
$subs.
sed
52969 cat >>$CONFIG_STATUS <<_ACEOF
52975 for ac_last_try
in false false false false false
:; do
52976 cat >conf$
$subs.
sed <<_ACEOF
52977 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52978 DEREZ!$DEREZ$ac_delim
52979 SHARED!$SHARED$ac_delim
52980 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52981 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52982 USE_GUI!$USE_GUI$ac_delim
52983 AFMINSTALL!$AFMINSTALL$ac_delim
52984 WIN32INSTALL!$WIN32INSTALL$ac_delim
52985 TOOLKIT!$TOOLKIT$ac_delim
52986 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52987 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52988 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52989 cross_compiling!$cross_compiling$ac_delim
52990 WIDGET_SET!$WIDGET_SET$ac_delim
52991 WX_RELEASE!$WX_RELEASE$ac_delim
52992 WX_VERSION!$WX_VERSION$ac_delim
52993 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52994 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52995 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52996 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52997 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52998 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52999 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53000 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53001 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53002 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53003 GUIDIST!$GUIDIST$ac_delim
53004 DISTDIR!$DISTDIR$ac_delim
53005 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53006 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53007 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53008 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53009 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53010 RESCOMP!$RESCOMP$ac_delim
53011 RESFLAGS!$RESFLAGS$ac_delim
53012 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53013 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53014 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53015 LIBWXMACRES!$LIBWXMACRES$ac_delim
53016 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53017 MACSETFILE!$MACSETFILE$ac_delim
53019 DLLTOOL!$DLLTOOL$ac_delim
53020 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53021 LIBOBJS!$LIBOBJS$ac_delim
53022 LTLIBOBJS!$LTLIBOBJS$ac_delim
53025 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53027 elif $ac_last_try; then
53028 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53029 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53030 { (exit 1); exit 1; }; }
53032 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53036 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53037 if test -n "$ac_eof"; then
53038 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53039 ac_eof
=`expr $ac_eof + 1`
53042 cat >>$CONFIG_STATUS <<_ACEOF
53043 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53047 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53048 s/^/s,@/; s/!/@,|#_!!_#|/
53051 s/'"$ac_delim"'$/,g/; t
53053 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53054 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53055 rm -f conf$
$subs.
sed
53056 cat >>$CONFIG_STATUS <<_ACEOF
53063 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53064 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53065 # trailing colons and then remove the whole line if VPATH becomes empty
53066 # (actually we leave an empty line to preserve line numbers).
53067 if test "x$srcdir" = x.
; then
53068 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53069 s/:*\$(srcdir):*/:/
53070 s/:*\${srcdir}:*/:/
53072 s/^\([^=]*=[ ]*\):*/\1/
53078 cat >>$CONFIG_STATUS <<\_ACEOF
53079 fi # test -n "$CONFIG_FILES"
53082 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53085 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53087 case $ac_mode$ac_tag in
53089 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53090 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53091 { (exit 1); exit 1; }; };;
53092 :[FH
]-) ac_tag
=-:-;;
53093 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53110 -) ac_f
="$tmp/stdin";;
53111 *) # Look for the file first in the build tree, then in the source tree
53112 # (if the path is not absolute). The absolute path cannot be DOS-style,
53113 # because $ac_f cannot contain `:'.
53117 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53119 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53120 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53121 { (exit 1); exit 1; }; };;
53123 ac_file_inputs
="$ac_file_inputs $ac_f"
53126 # Let's still pretend it is `configure' which instantiates (i.e., don't
53127 # use $as_me), people would be surprised to read:
53128 # /* config.h. Generated by config.status. */
53129 configure_input
="Generated from "`IFS=:
53130 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53131 if test x
"$ac_file" != x
-; then
53132 configure_input
="$ac_file. $configure_input"
53133 { echo "$as_me:$LINENO: creating $ac_file" >&5
53134 echo "$as_me: creating $ac_file" >&6;}
53138 *:-:* | *:-) cat >"$tmp/stdin";;
53143 ac_dir
=`$as_dirname -- "$ac_file" ||
53144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53145 X"$ac_file" : 'X\(//\)[^/]' \| \
53146 X"$ac_file" : 'X\(//\)$' \| \
53147 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53153 /^X\(\/\/\)[^/].*/{
53168 -*) as_dir
=.
/$as_dir;;
53170 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53174 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53175 *) as_qdir
=$as_dir;;
53177 as_dirs
="'$as_qdir' $as_dirs"
53178 as_dir
=`$as_dirname -- "$as_dir" ||
53179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53180 X"$as_dir" : 'X\(//\)[^/]' \| \
53181 X"$as_dir" : 'X\(//\)$' \| \
53182 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53188 /^X\(\/\/\)[^/].*/{
53201 test -d "$as_dir" && break
53203 test -z "$as_dirs" || eval "mkdir $as_dirs"
53204 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53205 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53206 { (exit 1); exit 1; }; }; }
53210 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53212 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53213 # A ".." for each directory in $ac_dir_suffix.
53214 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53215 case $ac_top_builddir_sub in
53216 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53217 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53220 ac_abs_top_builddir
=$ac_pwd
53221 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53222 # for backward compatibility:
53223 ac_top_builddir
=$ac_top_build_prefix
53226 .
) # We are building in place.
53228 ac_top_srcdir
=$ac_top_builddir_sub
53229 ac_abs_top_srcdir
=$ac_pwd ;;
53230 [\\/]* | ?
:[\\/]* ) # Absolute name.
53231 ac_srcdir
=$srcdir$ac_dir_suffix;
53232 ac_top_srcdir
=$srcdir
53233 ac_abs_top_srcdir
=$srcdir ;;
53234 *) # Relative name.
53235 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53236 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53237 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53239 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53249 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53250 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53254 cat >>$CONFIG_STATUS <<\_ACEOF
53255 # If the template does not know about datarootdir, expand it.
53256 # FIXME: This hack should be removed a few years after 2.60.
53257 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53259 case `sed -n '/datarootdir/ {
53268 ' $ac_file_inputs` in
53269 *datarootdir
*) ac_datarootdir_seen
=yes;;
53270 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53271 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53272 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53274 cat >>$CONFIG_STATUS <<_ACEOF
53275 ac_datarootdir_hack='
53276 s&@datadir@&$datadir&g
53277 s&@docdir@&$docdir&g
53278 s&@infodir@&$infodir&g
53279 s&@localedir@&$localedir&g
53280 s&@mandir@&$mandir&g
53281 s&\\\${datarootdir}&$datarootdir&g' ;;
53285 # Neutralize VPATH when `$srcdir' = `.'.
53286 # Shell code in configure.ac might set extrasub.
53287 # FIXME: do we really want to maintain this feature?
53288 cat >>$CONFIG_STATUS <<_ACEOF
53292 cat >>$CONFIG_STATUS <<\_ACEOF
53294 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53295 s
&@configure_input@
&$configure_input&;t t
53296 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53297 s
&@srcdir@
&$ac_srcdir&;t t
53298 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53299 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53300 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53301 s
&@builddir@
&$ac_builddir&;t t
53302 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53303 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53304 s
&@INSTALL@
&$ac_INSTALL&;t t
53305 $ac_datarootdir_hack
53306 " $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
53308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53309 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53311 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53312 which seems to be undefined. Please make sure it is defined." >&5
53313 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53314 which seems to be undefined. Please make sure it is defined." >&2;}
53318 -) cat "$tmp/out"; rm -f "$tmp/out";;
53319 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53328 # Transform confdefs.h into a sed script `conftest.defines', that
53329 # substitutes the proper values into config.h.in to produce config.h.
53330 rm -f conftest.defines conftest.
tail
53331 # First, append a space to every undef/define line, to ease matching.
53332 echo 's/$/ /' >conftest.defines
53333 # Then, protect against being on the right side of a sed subst, or in
53334 # an unquoted here document, in config.status. If some macros were
53335 # called several times there might be several #defines for the same
53336 # symbol, which is useless. But do not sort them, since the last
53337 # AC_DEFINE must be honored.
53338 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53339 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53340 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53341 # PARAMS is the parameter list in the macro definition--in most cases, it's
53342 # just an empty string.
53343 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53344 ac_dB
='\\)[ (].*,\\1define\\2'
53352 s/^[ ]*#[ ]*define[ ][ ]*//
53357 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53358 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53359 ' >>conftest.defines
53361 # Remove the space that was appended to ease matching.
53362 # Then replace #undef with comments. This is necessary, for
53363 # example, in the case of _POSIX_SOURCE, which is predefined and required
53364 # on some systems where configure will not decide to define it.
53365 # (The regexp can be short, since the line contains either #define or #undef.)
53367 s,^[ #]*u.*,/* & */,' >>conftest.defines
53369 # Break up conftest.defines:
53370 ac_max_sed_lines
=50
53372 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53373 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53374 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53376 ac_in
='$ac_file_inputs'
53377 ac_out
='"$tmp/out1"'
53378 ac_nxt
='"$tmp/out2"'
53382 # Write a here document:
53383 cat >>$CONFIG_STATUS <<_ACEOF
53384 # First, check the format of the line:
53385 cat >"\$tmp/defines.sed" <<\\CEOF
53386 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53387 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53391 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53393 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53394 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53395 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53396 grep . conftest.
tail >/dev
/null
|| break
53397 rm -f conftest.defines
53398 mv conftest.
tail conftest.defines
53400 rm -f conftest.defines conftest.
tail
53402 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53403 cat >>$CONFIG_STATUS <<\_ACEOF
53404 if test x
"$ac_file" != x
-; then
53405 echo "/* $configure_input */" >"$tmp/config.h"
53406 cat "$ac_result" >>"$tmp/config.h"
53407 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53408 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53409 echo "$as_me: $ac_file is unchanged" >&6;}
53412 mv "$tmp/config.h" $ac_file
53415 echo "/* $configure_input */"
53421 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53422 echo "$as_me: executing $ac_file commands" >&6;}
53427 case $ac_file$ac_mode in
53429 mkdir -p $outdir &&
53430 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53432 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53433 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53434 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53435 "wx-config":C
) rm -f wx
-config
53436 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53443 { (exit 0); exit 0; }
53445 chmod +x
$CONFIG_STATUS
53446 ac_clean_files
=$ac_clean_files_save
53449 # configure is writing to config.log, and then calls config.status.
53450 # config.status does its own redirection, appending to config.log.
53451 # Unfortunately, on DOS this fails, as config.log is still kept open
53452 # by configure, so config.status won't be able to write to it; its
53453 # output is simply discarded. So we exec the FD to /dev/null,
53454 # effectively closing config.log, so it can be properly (re)opened and
53455 # appended to by config.status. When coming back to configure, we
53456 # need to make the FD available again.
53457 if test "$no_create" != yes; then
53459 ac_config_status_args
=
53460 test "$silent" = yes &&
53461 ac_config_status_args
="$ac_config_status_args --quiet"
53463 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53465 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53466 # would make configure fail if this is the last instruction.
53467 $ac_cs_success || { (exit 1); exit 1; }
53471 # CONFIG_SUBDIRS section.
53473 if test "$no_recursion" != yes; then
53475 # Remove --cache-file and --srcdir arguments so they do not pile up.
53476 ac_sub_configure_args
=
53478 eval "set x $ac_configure_args"
53482 if test -n "$ac_prev"; then
53487 -cache-file | --cache-file | --cache-fil | --cache-fi \
53488 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53489 ac_prev
=cache_file
;;
53490 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53491 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53494 --config-cache | -C)
53496 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53498 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53506 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53508 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53512 # Always prepend --prefix to ensure using the same prefix
53513 # in subdir configurations.
53514 ac_arg
="--prefix=$prefix"
53516 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53518 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53521 if test "$silent" = yes; then
53522 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53526 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53528 # Do not complain, so a configure script can configure whichever
53529 # parts of a large source tree are present.
53530 test -d "$srcdir/$ac_dir" || continue
53532 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53533 echo "$as_me:$LINENO: $ac_msg" >&5
53537 -*) as_dir
=.
/$as_dir;;
53539 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53543 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53544 *) as_qdir
=$as_dir;;
53546 as_dirs
="'$as_qdir' $as_dirs"
53547 as_dir
=`$as_dirname -- "$as_dir" ||
53548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53549 X"$as_dir" : 'X\(//\)[^/]' \| \
53550 X"$as_dir" : 'X\(//\)$' \| \
53551 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53557 /^X\(\/\/\)[^/].*/{
53570 test -d "$as_dir" && break
53572 test -z "$as_dirs" || eval "mkdir $as_dirs"
53573 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53574 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53575 { (exit 1); exit 1; }; }; }
53579 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53581 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53582 # A ".." for each directory in $ac_dir_suffix.
53583 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53584 case $ac_top_builddir_sub in
53585 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53586 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53589 ac_abs_top_builddir
=$ac_pwd
53590 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53591 # for backward compatibility:
53592 ac_top_builddir
=$ac_top_build_prefix
53595 .
) # We are building in place.
53597 ac_top_srcdir
=$ac_top_builddir_sub
53598 ac_abs_top_srcdir
=$ac_pwd ;;
53599 [\\/]* | ?
:[\\/]* ) # Absolute name.
53600 ac_srcdir
=$srcdir$ac_dir_suffix;
53601 ac_top_srcdir
=$srcdir
53602 ac_abs_top_srcdir
=$srcdir ;;
53603 *) # Relative name.
53604 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53605 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53606 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53608 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53613 # Check for guested configure; otherwise get Cygnus style configure.
53614 if test -f "$ac_srcdir/configure.gnu"; then
53615 ac_sub_configure
=$ac_srcdir/configure.gnu
53616 elif test -f "$ac_srcdir/configure"; then
53617 ac_sub_configure
=$ac_srcdir/configure
53618 elif test -f "$ac_srcdir/configure.in"; then
53619 # This should be Cygnus configure.
53620 ac_sub_configure
=$ac_aux_dir/configure
53622 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53623 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53627 # The recursion is here.
53628 if test -n "$ac_sub_configure"; then
53629 # Make the cache file name correct relative to the subdirectory.
53630 case $cache_file in
53631 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53632 *) # Relative name.
53633 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53636 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53637 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53638 # The eval makes quoting arguments work.
53639 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53640 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53641 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53642 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53643 { (exit 1); exit 1; }; }
53652 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53654 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53655 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53656 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53657 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53658 if test "$wxUSE_UNICODE" = "yes"; then
53659 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53660 echo " (using UTF-8)"
53662 echo " (using wchar_t)"
53668 echo " What level of wxWidgets compatibility should be enabled?"
53669 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53670 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53672 echo " Which libraries should wxWidgets use?"
53673 echo " STL ${wxUSE_STL}"
53674 echo " jpeg ${wxUSE_LIBJPEG-none}"
53675 echo " png ${wxUSE_LIBPNG-none}"
53676 echo " regex ${wxUSE_REGEX}"
53677 echo " tiff ${wxUSE_LIBTIFF-none}"
53678 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53679 echo " xpm ${wxUSE_LIBXPM-none}"
53681 echo " zlib ${wxUSE_ZLIB}"
53682 echo " expat ${wxUSE_EXPAT}"
53683 echo " libmspack ${wxUSE_LIBMSPACK}"
53684 echo " sdl ${wxUSE_LIBSDL}"