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-uiactionsim use wxUIActionSimulator
(experimental
)
1887 --enable-palette use wxPalette class
1888 --enable-image use wxImage class
1889 --enable-gif use gif images
(GIF
file format
)
1890 --enable-pcx use pcx images
(PCX
file format
)
1891 --enable-tga use tga images
(TGA
file format
)
1892 --enable-iff use iff images
(IFF
file format
)
1893 --enable-pnm use pnm images
(PNM
file format
)
1894 --enable-xpm use xpm images
(XPM
file format
)
1895 --enable-ico_cur use Windows ICO and CUR formats
1896 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1897 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1898 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1899 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1900 --enable-wxdib use wxDIB class
(Win32 only
)
1901 --enable-autoidman use automatic ids management
1902 --disable-largefile omit support
for large files
1903 --disable-gtktest do not try to compile and run a
test GTK
+ program
1904 --disable-gtktest Do not try to compile and run a
test GTK program
1905 --disable-sdltest Do not try to compile and run a
test SDL program
1906 --enable-omf use OMF object format
(OS
/2)
1907 --disable-dependency-tracking
1908 don
't use dependency tracking even if the compiler
1910 --disable-precomp-headers
1911 don't use precompiled headers even
if compiler can
1914 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1915 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1916 --without-subdirs don
't generate makefiles for samples/demos/...
1917 --with-flavour=NAME specify a name to identify this build
1918 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1919 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1920 --with-motif use Motif/Lesstif
1921 --with-osx_carbon use Mac OS X (Carbon)
1922 --with-osx_cocoa use Mac OS X (Cocoa)
1923 --with-osx_iphone use iPhone OS X port
1924 --with-osx use Mac OS X (default port, currently Carbon)
1925 --with-carbon same as --with-osx_carbon
1926 --with-cocoa same as --with-osx_cocoa
1927 --with-iphone same as --with-osx_iphone
1928 --with-mac same as --with-osx
1929 --with-old_cocoa use old, deprecated, Cocoa port
1930 --with-wine use Wine
1931 --with-msw use MS-Windows
1932 --with-pm use OS/2 Presentation Manager
1933 --with-mgl use SciTech MGL
1934 --with-directfb use DirectFB
1935 --with-microwin use MicroWindows
1937 --with-libpng use libpng (PNG image format)
1938 --with-libjpeg use libjpeg (JPEG file format)
1939 --with-libtiff use libtiff (TIFF file format)
1940 --with-libxpm use libxpm (XPM file format)
1941 --with-libiconv use libiconv (character conversion)
1942 --with-libmspack use libmspack (CHM help files loading)
1943 --without-gtkprint don't use GTK printing support
1944 --without-gnomeprint don
't use GNOME printing libraries
1945 --with-gnomevfs use GNOME VFS for associating MIME types
1946 --with-hildon use Hildon framework for Nokia 770/800/810
1947 --with-opengl use OpenGL (or Mesa)
1948 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1949 --with-sdl use SDL for audio on Unix
1950 --with-regex enable support for wxRegEx class
1951 --with-zlib use zlib for LZW compression
1952 --with-expat enable XML support using expat parser
1953 --with-macosx-sdk=PATH use an OS X SDK at PATH
1954 --with-macosx-version-min=VER build binaries which require at least this OS X version
1955 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1956 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1957 --with-x use the X Window System
1958 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1959 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1960 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1961 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1962 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1964 Some influential environment variables:
1965 CC C compiler command
1966 CFLAGS C compiler flags
1967 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1968 nonstandard directory <lib dir>
1969 LIBS libraries to pass to the linker, e.g. -l<library>
1970 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1971 you have headers in a nonstandard directory <include dir>
1973 CXX C++ compiler command
1974 CXXFLAGS C++ compiler flags
1975 PKG_CONFIG path to pkg-config utility
1977 C compiler flags for DIRECTFB, overriding pkg-config
1979 linker flags for DIRECTFB, overriding pkg-config
1980 XMKMF Path to xmkmf, Makefile generator for X Window System
1982 C compiler flags for PANGOX, overriding pkg-config
1983 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1985 C compiler flags for PANGOFT2, overriding pkg-config
1987 linker flags for PANGOFT2, overriding pkg-config
1989 C compiler flags for PANGOXFT, overriding pkg-config
1991 linker flags for PANGOXFT, overriding pkg-config
1993 C compiler flags for GTKPRINT, overriding pkg-config
1995 linker flags for GTKPRINT, overriding pkg-config
1996 LIBGNOMEPRINTUI_CFLAGS
1997 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1998 LIBGNOMEPRINTUI_LIBS
1999 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2001 C compiler flags for GNOMEVFS, overriding pkg-config
2003 linker flags for GNOMEVFS, overriding pkg-config
2005 C compiler flags for HILDON, overriding pkg-config
2006 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2008 C compiler flags for HILDON2, overriding pkg-config
2010 linker flags for HILDON2, overriding pkg-config
2012 C compiler flags for CAIRO, overriding pkg-config
2013 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2014 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2015 GST_LIBS linker flags for GST, overriding pkg-config
2017 Use these variables to override the choices made by `configure' or to
help
2018 it to
find libraries and programs with nonstandard names
/locations.
2020 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2025 if test "$ac_init_help" = "recursive"; then
2026 # If there are subdirs, report their specific --help.
2027 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2028 test -d "$ac_dir" || continue
2032 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2034 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2035 # A ".." for each directory in $ac_dir_suffix.
2036 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2037 case $ac_top_builddir_sub in
2038 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2039 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2042 ac_abs_top_builddir
=$ac_pwd
2043 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2044 # for backward compatibility:
2045 ac_top_builddir
=$ac_top_build_prefix
2048 .
) # We are building in place.
2050 ac_top_srcdir
=$ac_top_builddir_sub
2051 ac_abs_top_srcdir
=$ac_pwd ;;
2052 [\\/]* | ?
:[\\/]* ) # Absolute name.
2053 ac_srcdir
=$srcdir$ac_dir_suffix;
2054 ac_top_srcdir
=$srcdir
2055 ac_abs_top_srcdir
=$srcdir ;;
2057 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2058 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2059 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2061 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2063 cd "$ac_dir" || { ac_status
=$?
; continue; }
2064 # Check for guested configure.
2065 if test -f "$ac_srcdir/configure.gnu"; then
2067 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2068 elif test -f "$ac_srcdir/configure"; then
2070 $SHELL "$ac_srcdir/configure" --help=recursive
2072 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2074 cd "$ac_pwd" || { ac_status
=$?
; break; }
2078 test -n "$ac_init_help" && exit $ac_status
2079 if $ac_init_version; then
2081 wxWidgets configure
2.9.1
2082 generated by GNU Autoconf
2.61
2084 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2085 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2086 This configure
script is free software
; the Free Software Foundation
2087 gives unlimited permission to copy
, distribute and modify it.
2091 cat >config.log
<<_ACEOF
2092 This file contains any messages produced by compilers while
2093 running configure, to aid debugging if configure makes a mistake.
2095 It was created by wxWidgets $as_me 2.9.1, which was
2096 generated by GNU Autoconf 2.61. Invocation command line was
2108 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2109 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2110 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2111 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2112 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2114 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2115 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2117 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2118 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2119 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2120 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2121 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2122 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2123 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 echo "PATH: $as_dir"
2148 # Keep a trace of the command line.
2149 # Strip out --no-create and --no-recursion so they do not pile up.
2150 # Strip out --silent because we don't want to record it for future runs.
2151 # Also quote any args containing shell meta-characters.
2152 # Make two passes to allow for proper duplicate-argument suppression.
2156 ac_must_keep_next
=false
2162 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2164 | -silent | --silent | --silen | --sile | --sil)
2167 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2170 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2172 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2173 if test $ac_must_keep_next = true
; then
2174 ac_must_keep_next
=false
# Got value, back to normal.
2177 *=* | --config-cache | -C | -disable-* | --disable-* \
2178 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2179 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2180 | -with-* | --with-* | -without-* | --without-* | --x)
2181 case "$ac_configure_args0 " in
2182 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2185 -* ) ac_must_keep_next
=true
;;
2188 ac_configure_args
="$ac_configure_args '$ac_arg'"
2193 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2194 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2196 # When interrupted or exit'd, cleanup temporary files, and complete
2197 # config.log. We remove comments because anyway the quotes in there
2198 # would cause problems or look ugly.
2199 # WARNING: Use '\'' to represent an apostrophe within the trap.
2200 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2201 trap 'exit_status=$?
2202 # Save into config.log some information that might help in debugging.
2207 ## ---------------- ##
2208 ## Cache variables. ##
2209 ## ---------------- ##
2212 # The following way of writing the cache mishandles newlines in values,
2214 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2215 eval ac_val=\$$ac_var
2219 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2220 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2223 _ | IFS | as_nl) ;; #(
2224 *) $as_unset $ac_var ;;
2229 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2230 *${as_nl}ac_space=\ *)
2232 "s/'\''/'\''\\\\'\'''\''/g;
2233 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2236 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2244 ## ----------------- ##
2245 ## Output variables. ##
2246 ## ----------------- ##
2249 for ac_var in $ac_subst_vars
2251 eval ac_val=\$$ac_var
2253 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255 echo "$ac_var='\''$ac_val'\''"
2259 if test -n "$ac_subst_files"; then
2261 ## ------------------- ##
2262 ## File substitutions. ##
2263 ## ------------------- ##
2266 for ac_var
in $ac_subst_files
2268 eval ac_val
=\$
$ac_var
2270 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 echo "$ac_var='\''$ac_val'\''"
2277 if test -s confdefs.h; then
2287 test "$ac_signal" != 0 &&
2288 echo "$as_me: caught signal $ac_signal"
2289 echo "$as_me: exit $exit_status"
2291 rm -f core *.core core.conftest.* &&
2292 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2295 for ac_signal
in 1 2 13 15; do
2296 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2300 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2301 rm -f -r conftest
* confdefs.h
2303 # Predefined preprocessor variables.
2305 cat >>confdefs.h
<<_ACEOF
2306 #define PACKAGE_NAME "$PACKAGE_NAME"
2310 cat >>confdefs.h
<<_ACEOF
2311 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2315 cat >>confdefs.h
<<_ACEOF
2316 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2320 cat >>confdefs.h
<<_ACEOF
2321 #define PACKAGE_STRING "$PACKAGE_STRING"
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330 # Let the site file select an alternate cache file if it wants to.
2331 # Prefer explicitly selected file to automatically selected ones.
2332 if test -n "$CONFIG_SITE"; then
2333 set x
"$CONFIG_SITE"
2334 elif test "x$prefix" != xNONE
; then
2335 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2337 set x
"$ac_default_prefix/share/config.site" \
2338 "$ac_default_prefix/etc/config.site"
2343 if test -r "$ac_site_file"; then
2344 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2345 echo "$as_me: loading site script $ac_site_file" >&6;}
2346 sed 's/^/| /' "$ac_site_file" >&5
2351 if test -r "$cache_file"; then
2352 # Some versions of bash will fail to source /dev/null (special
2353 # files actually), so we avoid doing that.
2354 if test -f "$cache_file"; then
2355 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2356 echo "$as_me: loading cache $cache_file" >&6;}
2358 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2359 *) .
"./$cache_file";;
2363 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2364 echo "$as_me: creating cache $cache_file" >&6;}
2368 # Check that the precious variables saved in the cache have kept the same
2370 ac_cache_corrupted
=false
2371 for ac_var
in $ac_precious_vars; do
2372 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2373 eval ac_new_set
=\
$ac_env_${ac_var}_set
2374 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2375 eval ac_new_val
=\
$ac_env_${ac_var}_value
2376 case $ac_old_set,$ac_new_set in
2378 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2379 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2380 ac_cache_corrupted
=: ;;
2382 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2383 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2384 ac_cache_corrupted
=: ;;
2387 if test "x$ac_old_val" != "x$ac_new_val"; then
2388 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2389 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2390 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2391 echo "$as_me: former value: $ac_old_val" >&2;}
2392 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2393 echo "$as_me: current value: $ac_new_val" >&2;}
2394 ac_cache_corrupted
=:
2397 # Pass precious variables to config.status.
2398 if test "$ac_new_set" = set; then
2400 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2401 *) ac_arg
=$ac_var=$ac_new_val ;;
2403 case " $ac_configure_args " in
2404 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2405 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2409 if $ac_cache_corrupted; then
2410 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2411 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2413 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2414 { (exit 1); exit 1; }; }
2442 ac_cpp
='$CPP $CPPFLAGS'
2443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2452 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2453 if test -f "$ac_dir/install-sh"; then
2455 ac_install_sh
="$ac_aux_dir/install-sh -c"
2457 elif test -f "$ac_dir/install.sh"; then
2459 ac_install_sh
="$ac_aux_dir/install.sh -c"
2461 elif test -f "$ac_dir/shtool"; then
2463 ac_install_sh
="$ac_aux_dir/shtool install -c"
2467 if test -z "$ac_aux_dir"; then
2468 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2469 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2470 { (exit 1); exit 1; }; }
2473 # These three variables are undocumented and unsupported,
2474 # and are intended to be withdrawn in a future Autoconf release.
2475 # They can cause serious problems if a builder's source tree is in a directory
2476 # whose full name contains unusual characters.
2477 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2478 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2479 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2482 # Make sure we can run config.sub.
2483 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2484 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2485 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2486 { (exit 1); exit 1; }; }
2488 { echo "$as_me:$LINENO: checking build system type" >&5
2489 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2490 if test "${ac_cv_build+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 ac_build_alias
=$build_alias
2494 test "x$ac_build_alias" = x
&&
2495 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2496 test "x$ac_build_alias" = x
&&
2497 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2498 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2499 { (exit 1); exit 1; }; }
2500 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2501 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2502 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2503 { (exit 1); exit 1; }; }
2506 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2507 echo "${ECHO_T}$ac_cv_build" >&6; }
2508 case $ac_cv_build in
2510 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2511 echo "$as_me: error: invalid value of canonical build" >&2;}
2512 { (exit 1); exit 1; }; };;
2515 ac_save_IFS
=$IFS; IFS
='-'
2521 # Remember, the first character of IFS is used to create $*,
2522 # except with old shells:
2525 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2528 { echo "$as_me:$LINENO: checking host system type" >&5
2529 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2530 if test "${ac_cv_host+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 if test "x$host_alias" = x
; then
2534 ac_cv_host
=$ac_cv_build
2536 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2537 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2538 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2539 { (exit 1); exit 1; }; }
2543 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2544 echo "${ECHO_T}$ac_cv_host" >&6; }
2547 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2548 echo "$as_me: error: invalid value of canonical host" >&2;}
2549 { (exit 1); exit 1; }; };;
2552 ac_save_IFS
=$IFS; IFS
='-'
2558 # Remember, the first character of IFS is used to create $*,
2559 # except with old shells:
2562 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2566 if test "$cross_compiling" != "no"; then
2567 HOST_PREFIX
="${host_alias}-"
2568 HOST_SUFFIX
="-$host_alias"
2575 wx_major_version_number
=2
2576 wx_minor_version_number
=9
2578 wx_subrelease_number
=0
2580 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2581 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2582 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2584 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2587 wx_top_builddir
="`pwd`"
2600 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2606 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2612 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2614 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2616 DEFAULT_wxUSE_OLD_COCOA
=0
2618 DEFAULT_wxUSE_OSX_CARBON
=0
2619 DEFAULT_wxUSE_OSX_COCOA
=0
2620 DEFAULT_wxUSE_OSX_IPHONE
=0
2622 DEFAULT_wxUSE_MICROWIN
=0
2623 DEFAULT_wxUSE_MOTIF
=0
2629 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2630 DEFAULT_DEFAULT_wxUSE_GTK
=0
2631 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2633 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2634 DEFAULT_DEFAULT_wxUSE_MGL
=0
2635 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2636 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2637 DEFAULT_DEFAULT_wxUSE_MSW
=0
2638 DEFAULT_DEFAULT_wxUSE_PM
=0
2639 DEFAULT_DEFAULT_wxUSE_X11
=0
2640 DEFAULT_DEFAULT_wxUSE_DFB
=0
2644 DYLIB_RPATH_INSTALL
=
2645 DYLIB_RPATH_POSTLINK
=
2647 DEFAULT_STD_FLAG
=yes
2652 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2653 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2654 cat >>confdefs.h
<<\_ACEOF
2659 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2663 cat >>confdefs.h
<<\_ACEOF
2668 if test "x$TMP" = "xalpha"; then
2670 cat >>confdefs.h
<<\_ACEOF
2675 DEFAULT_DEFAULT_wxUSE_GTK
=1
2677 *-*-gnu* | *-*-k*bsd
*-gnu )
2680 if test "x$TMP" = "xalpha"; then
2682 cat >>confdefs.h
<<\_ACEOF
2687 DEFAULT_DEFAULT_wxUSE_GTK
=1
2689 *-*-irix5* | *-*-irix6* )
2692 cat >>confdefs.h
<<\_ACEOF
2696 cat >>confdefs.h
<<\_ACEOF
2700 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2704 cat >>confdefs.h
<<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_X11
=1
2714 cat >>confdefs.h
<<\_ACEOF
2718 cat >>confdefs.h
<<\_ACEOF
2719 #define __SOLARIS__ 1
2722 cat >>confdefs.h
<<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2733 cat >>confdefs.h
<<\_ACEOF
2737 cat >>confdefs.h
<<\_ACEOF
2741 cat >>confdefs.h
<<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2750 cat >>confdefs.h
<<\_ACEOF
2751 #define __FREEBSD__ 1
2754 cat >>confdefs.h
<<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_GTK
=1
2760 *-*-openbsd*|*-*-mirbsd*)
2763 cat >>confdefs.h
<<\_ACEOF
2764 #define __OPENBSD__ 1
2767 cat >>confdefs.h
<<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_GTK
=1
2776 cat >>confdefs.h
<<\_ACEOF
2777 #define __NETBSD__ 1
2780 cat >>confdefs.h
<<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_GTK
=1
2785 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2787 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2792 cat >>confdefs.h
<<\_ACEOF
2796 cat >>confdefs.h
<<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2806 cat >>confdefs.h
<<\_ACEOF
2810 cat >>confdefs.h
<<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2819 cat >>confdefs.h
<<\_ACEOF
2823 cat >>confdefs.h
<<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2833 cat >>confdefs.h
<<\_ACEOF
2837 cat >>confdefs.h
<<\_ACEOF
2841 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2852 cat >>confdefs.h
<<\_ACEOF
2853 #define __UNIXWARE__ 1
2858 *-*-cygwin* | *-*-mingw32* )
2860 DEFAULT_DEFAULT_wxUSE_MSW
=1
2866 cat >>confdefs.h
<<\_ACEOF
2871 DEFAULT_DEFAULT_wxUSE_MGL
=1
2874 *-pc-os2_emx | *-pc-os2-emx )
2875 cat >>confdefs.h
<<\_ACEOF
2880 cat >>confdefs.h
<<\_ACEOF
2885 DEFAULT_DEFAULT_wxUSE_PM
=1
2887 LDFLAGS
="$LDFLAGS -Zcrtdll"
2888 ac_executable_extensions
=".exe"
2889 export ac_executable_extensions
2893 for ac_dir
in $PATH; do
2895 if test -z "$ac_TEMP_PATH"; then
2896 ac_TEMP_PATH
="$ac_dir"
2898 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2901 export PATH
="$ac_TEMP_PATH"
2909 cat >>confdefs.h
<<\_ACEOF
2913 cat >>confdefs.h
<<\_ACEOF
2914 #define __DARWIN__ 1
2917 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2923 cat >>confdefs.h
<<\_ACEOF
2927 cat >>confdefs.h
<<\_ACEOF
2928 #define __DARWIN__ 1
2931 cat >>confdefs.h
<<\_ACEOF
2932 #define TARGET_CARBON 1
2935 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2940 cat >>confdefs.h
<<\_ACEOF
2947 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2948 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2949 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2950 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2952 DEFAULT_DEFAULT_wxUSE_X11
=1
2953 DEFAULT_wxUSE_SHARED
=no
2958 DEFAULT_wxUSE_ALL_FEATURES
=yes
2960 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2961 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2963 DEFAULT_wxUSE_DMALLOC
=no
2964 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2965 DEFAULT_wxUSE_LIBHILDON
=no
2966 DEFAULT_wxUSE_LIBHILDON2
=no
2967 DEFAULT_wxUSE_LIBMSPACK
=no
2968 DEFAULT_wxUSE_LIBSDL
=no
2970 DEFAULT_wxUSE_ACCESSIBILITY
=no
2971 DEFAULT_wxUSE_IPV6
=no
2972 DEFAULT_wxUSE_GSTREAMER8
=no
2973 DEFAULT_wxUSE_UIACTIONSIMULATOR
=no
2975 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2976 DEFAULT_wxUSE_OPENGL
=auto
2977 DEFAULT_wxUSE_MEDIACTRL
=auto
2978 DEFAULT_wxUSE_COMPILER_TLS
=auto
2980 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2982 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2984 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2986 DEFAULT_wxUSE_GTK2
=yes
2988 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2994 enablestring
=disable
2996 if test -z "$defaultval"; then
2997 if test x
"$enablestring" = xdisable
; then
3004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3005 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3006 # Check whether --enable-gui was given.
3007 if test "${enable_gui+set}" = set; then
3008 enableval
=$enable_gui;
3009 if test "$enableval" = yes; then
3010 wx_cv_use_gui
='wxUSE_GUI=yes'
3012 wx_cv_use_gui
='wxUSE_GUI=no'
3017 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3022 eval "$wx_cv_use_gui"
3024 if test x"$enablestring" = xdisable; then
3025 if test $wxUSE_GUI = no; then
3034 { echo "$as_me:$LINENO: result: $result" >&5
3035 echo "${ECHO_T}$result" >&6; }
3040 if test -z "$defaultval"; then
3041 if test x"$enablestring" = xdisable; then
3048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3049 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3050 # Check whether --enable-monolithic was given.
3051 if test "${enable_monolithic+set}" = set; then
3052 enableval=$enable_monolithic;
3053 if test "$enableval" = yes; then
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3056 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3061 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3066 eval "$wx_cv_use_monolithic"
3068 if test x"$enablestring" = xdisable; then
3069 if test $wxUSE_MONOLITHIC = no; then
3075 result=$wxUSE_MONOLITHIC
3078 { echo "$as_me:$LINENO: result
: $result" >&5
3079 echo "${ECHO_T}$result" >&6; }
3084 if test -z "$defaultval"; then
3085 if test x"$enablestring" = xdisable; then
3092 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3093 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3094 # Check whether --enable-plugins was given.
3095 if test "${enable_plugins+set}" = set; then
3096 enableval=$enable_plugins;
3097 if test "$enableval" = yes; then
3098 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3100 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3105 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3110 eval "$wx_cv_use_plugins"
3112 if test x
"$enablestring" = xdisable
; then
3113 if test $wxUSE_PLUGINS = no
; then
3119 result
=$wxUSE_PLUGINS
3122 { echo "$as_me:$LINENO: result: $result" >&5
3123 echo "${ECHO_T}$result" >&6; }
3127 defaultval
=$wxUSE_ALL_FEATURES
3128 if test -z "$defaultval"; then
3129 if test x
"$withstring" = xwithout
; then
3135 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3136 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3138 # Check whether --with-subdirs was given.
3139 if test "${with_subdirs+set}" = set; then
3140 withval
=$with_subdirs;
3141 if test "$withval" = yes; then
3142 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3144 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3149 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3154 eval "$wx_cv_use_subdirs"
3156 if test x"$withstring" = xwithout; then
3157 if test $wxWITH_SUBDIRS = yes; then
3163 result=$wxWITH_SUBDIRS
3166 { echo "$as_me:$LINENO: result: $result" >&5
3167 echo "${ECHO_T}$result" >&6; }
3170 # Check whether --with-flavour was given.
3171 if test "${with_flavour+set}" = set; then
3172 withval=$with_flavour; WX_FLAVOUR="$withval"
3178 if test -z "$defaultval"; then
3179 if test x"$enablestring" = xdisable; then
3186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3187 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3188 # Check whether --enable-official_build was given.
3189 if test "${enable_official_build+set}" = set; then
3190 enableval=$enable_official_build;
3191 if test "$enableval" = yes; then
3192 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3194 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3199 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3204 eval "$wx_cv_use_official_build"
3206 if test x"$enablestring" = xdisable; then
3207 if test $wxUSE_OFFICIAL_BUILD = no; then
3213 result=$wxUSE_OFFICIAL_BUILD
3216 { echo "$as_me:$LINENO: result
: $result" >&5
3217 echo "${ECHO_T}$result" >&6; }
3219 # Check whether --enable-vendor was given.
3220 if test "${enable_vendor+set}" = set; then
3221 enableval=$enable_vendor; VENDOR="$enableval"
3224 if test "x
$VENDOR" = "x
"; then
3229 enablestring=disable
3231 if test -z "$defaultval"; then
3232 if test x"$enablestring" = xdisable; then
3239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3240 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3241 # Check whether --enable-all-features was given.
3242 if test "${enable_all_features+set}" = set; then
3243 enableval=$enable_all_features;
3244 if test "$enableval" = yes; then
3245 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3247 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3252 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3257 eval "$wx_cv_use_all_features"
3259 if test x
"$enablestring" = xdisable
; then
3260 if test $wxUSE_ALL_FEATURES = no
; then
3266 result
=$wxUSE_ALL_FEATURES
3269 { echo "$as_me:$LINENO: result: $result" >&5
3270 echo "${ECHO_T}$result" >&6; }
3273 if test "$wxUSE_ALL_FEATURES" = "no"; then
3274 DEFAULT_wxUSE_MEDIACTRL
=no
3278 if test "$wxUSE_GUI" = "yes"; then
3283 if test -z "$defaultval"; then
3284 if test x
"$enablestring" = xdisable
; then
3291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3292 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3293 # Check whether --enable-universal was given.
3294 if test "${enable_universal+set}" = set; then
3295 enableval
=$enable_universal;
3296 if test "$enableval" = yes; then
3297 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3299 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3304 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3309 eval "$wx_cv_use_universal"
3311 if test x"$enablestring" = xdisable; then
3312 if test $wxUSE_UNIVERSAL = no; then
3318 result=$wxUSE_UNIVERSAL
3321 { echo "$as_me:$LINENO: result: $result" >&5
3322 echo "${ECHO_T}$result" >&6; }
3324 if test "$wxUSE_UNIVERSAL" = "yes"; then
3326 # Check whether --with-themes was given.
3327 if test "${with_themes+set}" = set; then
3328 withval=$with_themes; wxUNIV_THEMES="$withval"
3334 # Check whether --with-gtk was given.
3335 if test "${with_gtk+set}" = set; then
3336 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3340 # Check whether --with-motif was given.
3341 if test "${with_motif+set}" = set; then
3342 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3346 # Check whether --with-osx_carbon was given.
3347 if test "${with_osx_carbon+set}" = set; then
3348 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3352 # Check whether --with-osx_cocoa was given.
3353 if test "${with_osx_cocoa+set}" = set; then
3354 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3358 # Check whether --with-osx_iphone was given.
3359 if test "${with_osx_iphone+set}" = set; then
3360 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3364 # Check whether --with-osx was given.
3365 if test "${with_osx+set}" = set; then
3366 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3370 # Check whether --with-carbon was given.
3371 if test "${with_carbon+set}" = set; then
3372 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3376 # Check whether --with-cocoa was given.
3377 if test "${with_cocoa+set}" = set; then
3378 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3382 # Check whether --with-iphone was given.
3383 if test "${with_iphone+set}" = set; then
3384 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3388 # Check whether --with-mac was given.
3389 if test "${with_mac+set}" = set; then
3390 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3394 # Check whether --with-old_cocoa was given.
3395 if test "${with_old_cocoa+set}" = set; then
3396 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3400 # Check whether --with-wine was given.
3401 if test "${with_wine+set}" = set; then
3402 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3406 # Check whether --with-msw was given.
3407 if test "${with_msw+set}" = set; then
3408 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-pm was given.
3413 if test "${with_pm+set}" = set; then
3414 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-mgl was given.
3419 if test "${with_mgl+set}" = set; then
3420 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-directfb was given.
3425 if test "${with_directfb+set}" = set; then
3426 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3430 # Check whether --with-microwin was given.
3431 if test "${with_microwin+set}" = set; then
3432 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3436 # Check whether --with-x11 was given.
3437 if test "${with_x11+set}" = set; then
3438 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3444 if test -z "$defaultval"; then
3445 if test x"$enablestring" = xdisable; then
3452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3453 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3454 # Check whether --enable-nanox was given.
3455 if test "${enable_nanox+set}" = set; then
3456 enableval=$enable_nanox;
3457 if test "$enableval" = yes; then
3458 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3460 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3465 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3470 eval "$wx_cv_use_nanox"
3472 if test x"$enablestring" = xdisable; then
3473 if test $wxUSE_NANOX = no; then
3482 { echo "$as_me:$LINENO: result
: $result" >&5
3483 echo "${ECHO_T}$result" >&6; }
3486 # Check whether --enable-gtk2 was given.
3487 if test "${enable_gtk2+set}" = set; then
3488 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3494 if test -z "$defaultval"; then
3495 if test x"$enablestring" = xdisable; then
3502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3503 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3504 # Check whether --enable-gpe was given.
3505 if test "${enable_gpe+set}" = set; then
3506 enableval=$enable_gpe;
3507 if test "$enableval" = yes; then
3508 wx_cv_use_gpe='wxUSE_GPE=yes'
3510 wx_cv_use_gpe='wxUSE_GPE=no'
3515 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3520 eval "$wx_cv_use_gpe"
3522 if test x
"$enablestring" = xdisable
; then
3523 if test $wxUSE_GPE = no
; then
3532 { echo "$as_me:$LINENO: result: $result" >&5
3533 echo "${ECHO_T}$result" >&6; }
3537 { echo "$as_me:$LINENO: checking for toolkit" >&5
3538 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3542 # In Wine, we need to default to MSW, not GTK or MOTIF
3543 if test "$wxUSE_WINE" = "yes"; then
3544 DEFAULT_DEFAULT_wxUSE_GTK
=0
3545 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3546 DEFAULT_DEFAULT_wxUSE_MSW
=1
3553 if test "$wxUSE_GUI" = "yes"; then
3555 if test "$USE_BEOS" = 1; then
3556 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3557 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3558 { (exit 1); exit 1; }; }
3561 if test "$TOOLKIT_GIVEN" = 1; then
3562 for toolkit
in $ALL_TOOLKITS; do
3564 eval "value=\$${var}"
3565 if test "x$value" = "xno"; then
3567 elif test "x$value" != "x"; then
3571 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3572 eval "wx${toolkit}_VERSION=$value"
3576 for toolkit
in $ALL_TOOLKITS; do
3577 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3578 eval "wxUSE_$toolkit=\$${var}"
3582 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3583 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3584 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3587 *-pc-os2_emx | *-pc-os2-emx )
3588 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3591 case "$NUM_TOOLKITS" in
3595 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3596 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3597 { (exit 1); exit 1; }; }
3600 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3601 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3602 { (exit 1); exit 1; }; }
3605 # to be removed when --disable-gtk2 isn't needed
3606 if test "x$wxUSE_GTK2" = "xyes"; then
3608 elif test "x$wxUSE_GTK2" = "xno"; then
3612 for toolkit
in $ALL_TOOLKITS; do
3614 eval "value=\$${var}"
3615 if test "$value" = 1; then
3616 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3617 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3618 echo "${ECHO_T}$toolkit_echo" >&6; }
3622 if test "x$host_alias" != "x"; then
3623 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3624 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3626 { echo "$as_me:$LINENO: result: base only" >&5
3627 echo "${ECHO_T}base only" >&6; }
3632 if test "$wxUSE_OSX_CARBON" = 1 \
3633 -o "$wxUSE_OSX_COCOA" = 1 \
3634 -o "$wxUSE_OSX_IPHONE" = 1; then
3640 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3641 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3643 # Check whether --with-libpng was given.
3644 if test "${with_libpng+set}" = set; then
3645 withval
=$with_libpng;
3646 if test "$withval" = yes; then
3647 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3648 elif test "$withval" = no
; then
3649 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3650 elif test "$withval" = sys
; then
3651 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3652 elif test "$withval" = builtin; then
3653 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3655 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3656 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3657 { (exit 1); exit 1; }; }
3662 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3667 eval "$wx_cv_use_libpng"
3669 if test "$wxUSE_LIBPNG" = yes; then
3670 { echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6; }
3672 elif test "$wxUSE_LIBPNG" = no; then
3673 { echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6; }
3675 elif test "$wxUSE_LIBPNG" = sys; then
3676 { echo "$as_me:$LINENO: result: system version" >&5
3677 echo "${ECHO_T}system version" >&6; }
3678 elif test "$wxUSE_LIBPNG" = builtin; then
3679 { echo "$as_me:$LINENO: result: builtin version" >&5
3680 echo "${ECHO_T}builtin version" >&6; }
3682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3683 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3684 { (exit 1); exit 1; }; }
3688 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3689 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3691 # Check whether --with-libjpeg was given.
3692 if test "${with_libjpeg+set}" = set; then
3693 withval=$with_libjpeg;
3694 if test "$withval" = yes; then
3695 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3696 elif test "$withval" = no; then
3697 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3698 elif test "$withval" = sys; then
3699 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3700 elif test "$withval" = builtin; then
3701 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3703 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3704 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3705 { (exit 1); exit 1; }; }
3710 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3715 eval "$wx_cv_use_libjpeg"
3717 if test "$wxUSE_LIBJPEG" = yes; then
3718 { echo "$as_me:$LINENO: result
: yes" >&5
3719 echo "${ECHO_T}yes" >&6; }
3720 elif test "$wxUSE_LIBJPEG" = no; then
3721 { echo "$as_me:$LINENO: result
: no
" >&5
3722 echo "${ECHO_T}no
" >&6; }
3723 elif test "$wxUSE_LIBJPEG" = sys; then
3724 { echo "$as_me:$LINENO: result
: system version
" >&5
3725 echo "${ECHO_T}system version
" >&6; }
3726 elif test "$wxUSE_LIBJPEG" = builtin; then
3727 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3728 echo "${ECHO_T}builtin version
" >&6; }
3730 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3731 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3736 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3737 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3739 # Check whether --with-libtiff was given.
3740 if test "${with_libtiff+set}" = set; then
3741 withval=$with_libtiff;
3742 if test "$withval" = yes; then
3743 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3744 elif test "$withval" = no; then
3745 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3746 elif test "$withval" = sys; then
3747 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3748 elif test "$withval" = builtin; then
3749 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3751 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3752 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3758 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3763 eval "$wx_cv_use_libtiff"
3765 if test "$wxUSE_LIBTIFF" = yes; then
3766 { echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6; }
3768 elif test "$wxUSE_LIBTIFF" = no
; then
3769 { echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6; }
3771 elif test "$wxUSE_LIBTIFF" = sys
; then
3772 { echo "$as_me:$LINENO: result: system version" >&5
3773 echo "${ECHO_T}system version" >&6; }
3774 elif test "$wxUSE_LIBTIFF" = builtin; then
3775 { echo "$as_me:$LINENO: result: builtin version" >&5
3776 echo "${ECHO_T}builtin version" >&6; }
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3784 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3785 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3787 # Check whether --with-libxpm was given.
3788 if test "${with_libxpm+set}" = set; then
3789 withval
=$with_libxpm;
3790 if test "$withval" = yes; then
3791 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3792 elif test "$withval" = no
; then
3793 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3794 elif test "$withval" = sys
; then
3795 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3796 elif test "$withval" = builtin; then
3797 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3800 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3801 { (exit 1); exit 1; }; }
3806 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3811 eval "$wx_cv_use_libxpm"
3813 if test "$wxUSE_LIBXPM" = yes; then
3814 { echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6; }
3816 elif test "$wxUSE_LIBXPM" = no; then
3817 { echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6; }
3819 elif test "$wxUSE_LIBXPM" = sys; then
3820 { echo "$as_me:$LINENO: result: system version" >&5
3821 echo "${ECHO_T}system version" >&6; }
3822 elif test "$wxUSE_LIBXPM" = builtin; then
3823 { echo "$as_me:$LINENO: result: builtin version" >&5
3824 echo "${ECHO_T}builtin version" >&6; }
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3844 # Check whether --with-libiconv was given.
3845 if test "${with_libiconv+set}" = set; then
3846 withval=$with_libiconv;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3850 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3855 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3860 eval "$wx_cv_use_libiconv"
3862 if test x"$withstring" = xwithout; then
3863 if test $wxUSE_LIBICONV = yes; then
3869 result=$wxUSE_LIBICONV
3872 { echo "$as_me:$LINENO: result
: $result" >&5
3873 echo "${ECHO_T}$result" >&6; }
3877 defaultval=$wxUSE_ALL_FEATURES
3878 if test -z "$defaultval"; then
3879 if test x"$withstring" = xwithout; then
3885 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3886 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3888 # Check whether --with-libmspack was given.
3889 if test "${with_libmspack+set}" = set; then
3890 withval=$with_libmspack;
3891 if test "$withval" = yes; then
3892 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3894 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3899 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3904 eval "$wx_cv_use_libmspack"
3906 if test x
"$withstring" = xwithout
; then
3907 if test $wxUSE_LIBMSPACK = yes; then
3913 result
=$wxUSE_LIBMSPACK
3916 { echo "$as_me:$LINENO: result: $result" >&5
3917 echo "${ECHO_T}$result" >&6; }
3921 defaultval
=$wxUSE_ALL_FEATURES
3922 if test -z "$defaultval"; then
3923 if test x
"$withstring" = xwithout
; then
3929 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3930 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3932 # Check whether --with-gtkprint was given.
3933 if test "${with_gtkprint+set}" = set; then
3934 withval
=$with_gtkprint;
3935 if test "$withval" = yes; then
3936 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3938 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3943 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3948 eval "$wx_cv_use_gtkprint"
3950 if test x"$withstring" = xwithout; then
3951 if test $wxUSE_GTKPRINT = yes; then
3957 result=$wxUSE_GTKPRINT
3960 { echo "$as_me:$LINENO: result: $result" >&5
3961 echo "${ECHO_T}$result" >&6; }
3965 defaultval=$wxUSE_ALL_FEATURES
3966 if test -z "$defaultval"; then
3967 if test x"$withstring" = xwithout; then
3973 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3974 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3976 # Check whether --with-gnomeprint was given.
3977 if test "${with_gnomeprint+set}" = set; then
3978 withval=$with_gnomeprint;
3979 if test "$withval" = yes; then
3980 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3982 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3987 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3992 eval "$wx_cv_use_gnomeprint"
3994 if test x"$withstring" = xwithout; then
3995 if test $wxUSE_LIBGNOMEPRINT = yes; then
4001 result=$wxUSE_LIBGNOMEPRINT
4004 { echo "$as_me:$LINENO: result
: $result" >&5
4005 echo "${ECHO_T}$result" >&6; }
4009 defaultval=$wxUSE_ALL_FEATURES
4010 if test -z "$defaultval"; then
4011 if test x"$withstring" = xwithout; then
4017 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4018 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4020 # Check whether --with-gnomevfs was given.
4021 if test "${with_gnomevfs+set}" = set; then
4022 withval=$with_gnomevfs;
4023 if test "$withval" = yes; then
4024 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4026 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4031 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4036 eval "$wx_cv_use_gnomevfs"
4038 if test x
"$withstring" = xwithout
; then
4039 if test $wxUSE_LIBGNOMEVFS = yes; then
4045 result
=$wxUSE_LIBGNOMEVFS
4048 { echo "$as_me:$LINENO: result: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4053 defaultval
=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x
"$withstring" = xwithout
; then
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4064 # Check whether --with-hildon was given.
4065 if test "${with_hildon+set}" = set; then
4066 withval
=$with_hildon;
4067 if test "$withval" = yes; then
4068 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4070 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4075 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4080 eval "$wx_cv_use_hildon"
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_LIBHILDON = yes; then
4089 result=$wxUSE_LIBHILDON
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4097 defaultval=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x"$withstring" = xwithout; then
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4108 # Check whether --with-opengl was given.
4109 if test "${with_opengl+set}" = set; then
4110 withval=$with_opengl;
4111 if test "$withval" = yes; then
4112 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4114 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4119 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4124 eval "$wx_cv_use_opengl"
4126 if test x"$withstring" = xwithout; then
4127 if test $wxUSE_OPENGL = yes; then
4133 result=$wxUSE_OPENGL
4136 { echo "$as_me:$LINENO: result
: $result" >&5
4137 echo "${ECHO_T}$result" >&6; }
4144 defaultval=$wxUSE_ALL_FEATURES
4145 if test -z "$defaultval"; then
4146 if test x"$withstring" = xwithout; then
4152 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4153 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4155 # Check whether --with-dmalloc was given.
4156 if test "${with_dmalloc+set}" = set; then
4157 withval=$with_dmalloc;
4158 if test "$withval" = yes; then
4159 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4161 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4166 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4171 eval "$wx_cv_use_dmalloc"
4173 if test x
"$withstring" = xwithout
; then
4174 if test $wxUSE_DMALLOC = yes; then
4180 result
=$wxUSE_DMALLOC
4183 { echo "$as_me:$LINENO: result: $result" >&5
4184 echo "${ECHO_T}$result" >&6; }
4188 defaultval
=$wxUSE_ALL_FEATURES
4189 if test -z "$defaultval"; then
4190 if test x
"$withstring" = xwithout
; then
4196 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4197 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4199 # Check whether --with-sdl was given.
4200 if test "${with_sdl+set}" = set; then
4202 if test "$withval" = yes; then
4203 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4205 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4210 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4215 eval "$wx_cv_use_sdl"
4217 if test x"$withstring" = xwithout; then
4218 if test $wxUSE_LIBSDL = yes; then
4224 result=$wxUSE_LIBSDL
4227 { echo "$as_me:$LINENO: result: $result" >&5
4228 echo "${ECHO_T}$result" >&6; }
4231 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4232 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4234 # Check whether --with-regex was given.
4235 if test "${with_regex+set}" = set; then
4236 withval=$with_regex;
4237 if test "$withval" = yes; then
4238 wx_cv_use_regex='wxUSE_REGEX
=yes'
4239 elif test "$withval" = no; then
4240 wx_cv_use_regex='wxUSE_REGEX
=no
'
4241 elif test "$withval" = sys; then
4242 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4243 elif test "$withval" = builtin; then
4244 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4248 { (exit 1); exit 1; }; }
4253 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4258 eval "$wx_cv_use_regex"
4260 if test "$wxUSE_REGEX" = yes; then
4261 { echo "$as_me:$LINENO: result
: yes" >&5
4262 echo "${ECHO_T}yes" >&6; }
4263 elif test "$wxUSE_REGEX" = no; then
4264 { echo "$as_me:$LINENO: result
: no
" >&5
4265 echo "${ECHO_T}no
" >&6; }
4266 elif test "$wxUSE_REGEX" = sys; then
4267 { echo "$as_me:$LINENO: result
: system version
" >&5
4268 echo "${ECHO_T}system version
" >&6; }
4269 elif test "$wxUSE_REGEX" = builtin; then
4270 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4271 echo "${ECHO_T}builtin version
" >&6; }
4273 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4274 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4275 { (exit 1); exit 1; }; }
4279 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4280 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4282 # Check whether --with-zlib was given.
4283 if test "${with_zlib+set}" = set; then
4285 if test "$withval" = yes; then
4286 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4287 elif test "$withval" = no; then
4288 wx_cv_use_zlib='wxUSE_ZLIB=no'
4289 elif test "$withval" = sys; then
4290 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4291 elif test "$withval" = builtin; then
4292 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4294 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4295 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4296 { (exit 1); exit 1; }; }
4301 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4306 eval "$wx_cv_use_zlib"
4308 if test "$wxUSE_ZLIB" = yes; then
4309 { echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6; }
4311 elif test "$wxUSE_ZLIB" = no
; then
4312 { echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6; }
4314 elif test "$wxUSE_ZLIB" = sys
; then
4315 { echo "$as_me:$LINENO: result: system version" >&5
4316 echo "${ECHO_T}system version" >&6; }
4317 elif test "$wxUSE_ZLIB" = builtin; then
4318 { echo "$as_me:$LINENO: result: builtin version" >&5
4319 echo "${ECHO_T}builtin version" >&6; }
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4327 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4328 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4330 # Check whether --with-expat was given.
4331 if test "${with_expat+set}" = set; then
4332 withval
=$with_expat;
4333 if test "$withval" = yes; then
4334 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4335 elif test "$withval" = no
; then
4336 wx_cv_use_expat
='wxUSE_EXPAT=no'
4337 elif test "$withval" = sys
; then
4338 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4339 elif test "$withval" = builtin; then
4340 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4342 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4343 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4344 { (exit 1); exit 1; }; }
4349 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4354 eval "$wx_cv_use_expat"
4356 if test "$wxUSE_EXPAT" = yes; then
4357 { echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6; }
4359 elif test "$wxUSE_EXPAT" = no; then
4360 { echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6; }
4362 elif test "$wxUSE_EXPAT" = sys; then
4363 { echo "$as_me:$LINENO: result: system version" >&5
4364 echo "${ECHO_T}system version" >&6; }
4365 elif test "$wxUSE_EXPAT" = builtin; then
4366 { echo "$as_me:$LINENO: result: builtin version" >&5
4367 echo "${ECHO_T}builtin version" >&6; }
4369 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4370 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4375 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4376 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4378 # Check whether --with-macosx-sdk was given.
4379 if test "${with_macosx_sdk+set}" = set; then
4380 withval=$with_macosx_sdk;
4381 wxUSE_MACOSX_SDK=$withval
4382 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4386 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4387 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4389 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4390 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4392 # Check whether --with-macosx-version-min was given.
4393 if test "${with_macosx_version_min+set}" = set; then
4394 withval=$with_macosx_version_min;
4395 wxUSE_MACOSX_VERSION_MIN=$withval
4396 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4400 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4401 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4404 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4405 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4406 # Check whether --enable-debug was given.
4407 if test "${enable_debug+set}" = set; then
4408 enableval=$enable_debug;
4409 if test "$enableval" = yes; then
4411 elif test "$enableval" = no; then
4413 elif test "$enableval" = max; then
4415 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4417 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4418 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4419 { (exit 1); exit 1; }; }
4428 case "$wxUSE_DEBUG" in
4430 DEFAULT_wxUSE_DEBUG_FLAG=yes
4431 DEFAULT_wxUSE_DEBUG_INFO=yes
4433 DEFAULT_wxUSE_OPTIMISE=no
4437 DEFAULT_wxUSE_DEBUG_FLAG=no
4438 DEFAULT_wxUSE_DEBUG_INFO=no
4442 DEFAULT_wxUSE_DEBUG_FLAG=yes
4443 DEFAULT_wxUSE_DEBUG_INFO=no
4448 enablestring=disable
4450 if test -z "$defaultval"; then
4451 if test x"$enablestring" = xdisable; then
4458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4460 # Check whether --enable-debug_flag was given.
4461 if test "${enable_debug_flag+set}" = set; then
4462 enableval=$enable_debug_flag;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4466 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4471 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4476 eval "$wx_cv_use_debug_flag"
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_DEBUG_FLAG = no; then
4485 result=$wxUSE_DEBUG_FLAG
4488 { echo "$as_me:$LINENO: result
: $result" >&5
4489 echo "${ECHO_T}$result" >&6; }
4494 if test -z "$defaultval"; then
4495 if test x"$enablestring" = xdisable; then
4502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4503 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4504 # Check whether --enable-debug_info was given.
4505 if test "${enable_debug_info+set}" = set; then
4506 enableval=$enable_debug_info;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4510 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4515 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4520 eval "$wx_cv_use_debug_info"
4522 if test x
"$enablestring" = xdisable
; then
4523 if test $wxUSE_DEBUG_INFO = no
; then
4529 result
=$wxUSE_DEBUG_INFO
4532 { echo "$as_me:$LINENO: result: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4540 if test -z "$defaultval"; then
4541 if test x
"$enablestring" = xdisable
; then
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4550 # Check whether --enable-debug_gdb was given.
4551 if test "${enable_debug_gdb+set}" = set; then
4552 enableval
=$enable_debug_gdb;
4553 if test "$enableval" = yes; then
4554 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4556 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4561 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4566 eval "$wx_cv_use_debug_gdb"
4568 if test x"$enablestring" = xdisable; then
4569 if test $wxUSE_DEBUG_GDB = no; then
4575 result=$wxUSE_DEBUG_GDB
4578 { echo "$as_me:$LINENO: result: $result" >&5
4579 echo "${ECHO_T}$result" >&6; }
4584 if test -z "$defaultval"; then
4585 if test x"$enablestring" = xdisable; then
4592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4594 # Check whether --enable-debug_cntxt was given.
4595 if test "${enable_debug_cntxt+set}" = set; then
4596 enableval=$enable_debug_cntxt;
4597 if test "$enableval" = yes; then
4598 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4600 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4605 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4610 eval "$wx_cv_use_debug_cntxt"
4612 if test x"$enablestring" = xdisable; then
4613 if test $wxUSE_DEBUG_CONTEXT = no; then
4619 result=$wxUSE_DEBUG_CONTEXT
4622 { echo "$as_me:$LINENO: result
: $result" >&5
4623 echo "${ECHO_T}$result" >&6; }
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4636 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4637 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4638 # Check whether --enable-mem_tracing was given.
4639 if test "${enable_mem_tracing+set}" = set; then
4640 enableval=$enable_mem_tracing;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4644 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4649 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4654 eval "$wx_cv_use_mem_tracing"
4656 if test x
"$enablestring" = xdisable
; then
4657 if test $wxUSE_MEM_TRACING = no
; then
4663 result
=$wxUSE_MEM_TRACING
4666 { echo "$as_me:$LINENO: result: $result" >&5
4667 echo "${ECHO_T}$result" >&6; }
4672 enablestring
=disable
4674 if test -z "$defaultval"; then
4675 if test x
"$enablestring" = xdisable
; then
4682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4684 # Check whether --enable-shared was given.
4685 if test "${enable_shared+set}" = set; then
4686 enableval
=$enable_shared;
4687 if test "$enableval" = yes; then
4688 wx_cv_use_shared
='wxUSE_SHARED=yes'
4690 wx_cv_use_shared
='wxUSE_SHARED=no'
4695 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4700 eval "$wx_cv_use_shared"
4702 if test x"$enablestring" = xdisable; then
4703 if test $wxUSE_SHARED = no; then
4709 result=$wxUSE_SHARED
4712 { echo "$as_me:$LINENO: result: $result" >&5
4713 echo "${ECHO_T}$result" >&6; }
4718 if test -z "$defaultval"; then
4719 if test x"$enablestring" = xdisable; then
4726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4728 # Check whether --enable-stl was given.
4729 if test "${enable_stl+set}" = set; then
4730 enableval=$enable_stl;
4731 if test "$enableval" = yes; then
4732 wx_cv_use_stl='wxUSE_STL
=yes'
4734 wx_cv_use_stl='wxUSE_STL
=no
'
4739 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4744 eval "$wx_cv_use_stl"
4746 if test x"$enablestring" = xdisable; then
4747 if test $wxUSE_STL = no; then
4756 { echo "$as_me:$LINENO: result
: $result" >&5
4757 echo "${ECHO_T}$result" >&6; }
4762 if test -z "$defaultval"; then
4763 if test x"$enablestring" = xdisable; then
4770 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4771 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4772 # Check whether --enable-std_iostreams was given.
4773 if test "${enable_std_iostreams+set}" = set; then
4774 enableval=$enable_std_iostreams;
4775 if test "$enableval" = yes; then
4776 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4778 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4783 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4788 eval "$wx_cv_use_std_iostreams"
4790 if test x
"$enablestring" = xdisable
; then
4791 if test $wxUSE_STD_IOSTREAM = no
; then
4797 result
=$wxUSE_STD_IOSTREAM
4800 { echo "$as_me:$LINENO: result: $result" >&5
4801 echo "${ECHO_T}$result" >&6; }
4806 if test -z "$defaultval"; then
4807 if test x
"$enablestring" = xdisable
; then
4814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4816 # Check whether --enable-std_string was given.
4817 if test "${enable_std_string+set}" = set; then
4818 enableval
=$enable_std_string;
4819 if test "$enableval" = yes; then
4820 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4822 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4827 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4832 eval "$wx_cv_use_std_string"
4834 if test x"$enablestring" = xdisable; then
4835 if test $wxUSE_STD_STRING = no; then
4841 result=$wxUSE_STD_STRING
4844 { echo "$as_me:$LINENO: result: $result" >&5
4845 echo "${ECHO_T}$result" >&6; }
4848 enablestring=disable
4850 if test -z "$defaultval"; then
4851 if test x"$enablestring" = xdisable; then
4858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4860 # Check whether --enable-unicode was given.
4861 if test "${enable_unicode+set}" = set; then
4862 enableval=$enable_unicode;
4863 if test "$enableval" = yes; then
4864 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4866 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4871 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4876 eval "$wx_cv_use_unicode"
4878 if test x"$enablestring" = xdisable; then
4879 if test $wxUSE_UNICODE = no; then
4885 result=$wxUSE_UNICODE
4888 { echo "$as_me:$LINENO: result
: $result" >&5
4889 echo "${ECHO_T}$result" >&6; }
4894 if test -z "$defaultval"; then
4895 if test x"$enablestring" = xdisable; then
4902 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4903 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4904 # Check whether --enable-mslu was given.
4905 if test "${enable_mslu+set}" = set; then
4906 enableval=$enable_mslu;
4907 if test "$enableval" = yes; then
4908 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4910 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4915 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4920 eval "$wx_cv_use_mslu"
4922 if test x
"$enablestring" = xdisable
; then
4923 if test $wxUSE_UNICODE_MSLU = no
; then
4929 result
=$wxUSE_UNICODE_MSLU
4932 { echo "$as_me:$LINENO: result: $result" >&5
4933 echo "${ECHO_T}$result" >&6; }
4937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4939 # Check whether --enable-utf8 was given.
4940 if test "${enable_utf8+set}" = set; then
4941 enableval
=$enable_utf8;
4942 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4946 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4951 eval "$wx_cv_use_utf8"
4953 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4954 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4959 if test -z "$defaultval"; then
4960 if test x
"$enablestring" = xdisable
; then
4967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4968 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4969 # Check whether --enable-utf8only was given.
4970 if test "${enable_utf8only+set}" = set; then
4971 enableval
=$enable_utf8only;
4972 if test "$enableval" = yes; then
4973 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4975 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4980 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4985 eval "$wx_cv_use_utf8only"
4987 if test x"$enablestring" = xdisable; then
4988 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4994 result=$wxUSE_UNICODE_UTF8_LOCALE
4997 { echo "$as_me:$LINENO: result: $result" >&5
4998 echo "${ECHO_T}$result" >&6; }
5003 if test -z "$defaultval"; then
5004 if test x"$enablestring" = xdisable; then
5011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5013 # Check whether --enable-extended_rtti was given.
5014 if test "${enable_extended_rtti+set}" = set; then
5015 enableval=$enable_extended_rtti;
5016 if test "$enableval" = yes; then
5017 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5019 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5024 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5029 eval "$wx_cv_use_extended_rtti"
5031 if test x"$enablestring" = xdisable; then
5032 if test $wxUSE_EXTENDED_RTTI = no; then
5038 result=$wxUSE_EXTENDED_RTTI
5041 { echo "$as_me:$LINENO: result
: $result" >&5
5042 echo "${ECHO_T}$result" >&6; }
5044 if test "$USE_OS2" = 1; then
5045 DEFAULT_wxUSE_OMF=no
5049 if test -z "$defaultval"; then
5050 if test x"$enablestring" = xdisable; then
5057 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5058 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5059 # Check whether --enable-omf was given.
5060 if test "${enable_omf+set}" = set; then
5061 enableval=$enable_omf;
5062 if test "$enableval" = yes; then
5063 wx_cv_use_omf='wxUSE_OMF=yes'
5065 wx_cv_use_omf='wxUSE_OMF=no'
5070 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5075 eval "$wx_cv_use_omf"
5077 if test x
"$enablestring" = xdisable
; then
5078 if test $wxUSE_OMF = no
; then
5087 { echo "$as_me:$LINENO: result: $result" >&5
5088 echo "${ECHO_T}$result" >&6; }
5093 enablestring
=disable
5095 if test -z "$defaultval"; then
5096 if test x
"$enablestring" = xdisable
; then
5103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5104 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5105 # Check whether --enable-optimise was given.
5106 if test "${enable_optimise+set}" = set; then
5107 enableval
=$enable_optimise;
5108 if test "$enableval" = yes; then
5109 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5111 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5116 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5121 eval "$wx_cv_use_optimise"
5123 if test x"$enablestring" = xdisable; then
5124 if test $wxUSE_OPTIMISE = no; then
5130 result=$wxUSE_OPTIMISE
5133 { echo "$as_me:$LINENO: result: $result" >&5
5134 echo "${ECHO_T}$result" >&6; }
5140 if test -z "$defaultval"; then
5141 if test x"$enablestring" = xdisable; then
5148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5150 # Check whether --enable-profile was given.
5151 if test "${enable_profile+set}" = set; then
5152 enableval=$enable_profile;
5153 if test "$enableval" = yes; then
5154 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5156 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5161 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5166 eval "$wx_cv_use_profile"
5168 if test x"$enablestring" = xdisable; then
5169 if test $wxUSE_PROFILE = no; then
5175 result=$wxUSE_PROFILE
5178 { echo "$as_me:$LINENO: result
: $result" >&5
5179 echo "${ECHO_T}$result" >&6; }
5184 if test -z "$defaultval"; then
5185 if test x"$enablestring" = xdisable; then
5192 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5193 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5194 # Check whether --enable-no_rtti was given.
5195 if test "${enable_no_rtti+set}" = set; then
5196 enableval=$enable_no_rtti;
5197 if test "$enableval" = yes; then
5198 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5200 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5205 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5210 eval "$wx_cv_use_no_rtti"
5212 if test x
"$enablestring" = xdisable
; then
5213 if test $wxUSE_NO_RTTI = no
; then
5219 result
=$wxUSE_NO_RTTI
5222 { echo "$as_me:$LINENO: result: $result" >&5
5223 echo "${ECHO_T}$result" >&6; }
5228 if test -z "$defaultval"; then
5229 if test x
"$enablestring" = xdisable
; then
5236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5238 # Check whether --enable-no_exceptions was given.
5239 if test "${enable_no_exceptions+set}" = set; then
5240 enableval
=$enable_no_exceptions;
5241 if test "$enableval" = yes; then
5242 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5244 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5249 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5254 eval "$wx_cv_use_no_exceptions"
5256 if test x"$enablestring" = xdisable; then
5257 if test $wxUSE_NO_EXCEPTIONS = no; then
5263 result=$wxUSE_NO_EXCEPTIONS
5266 { echo "$as_me:$LINENO: result: $result" >&5
5267 echo "${ECHO_T}$result" >&6; }
5272 if test -z "$defaultval"; then
5273 if test x"$enablestring" = xdisable; then
5280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5281 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5282 # Check whether --enable-permissive was given.
5283 if test "${enable_permissive+set}" = set; then
5284 enableval=$enable_permissive;
5285 if test "$enableval" = yes; then
5286 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5288 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5293 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5298 eval "$wx_cv_use_permissive"
5300 if test x"$enablestring" = xdisable; then
5301 if test $wxUSE_PERMISSIVE = no; then
5307 result=$wxUSE_PERMISSIVE
5310 { echo "$as_me:$LINENO: result
: $result" >&5
5311 echo "${ECHO_T}$result" >&6; }
5316 if test -z "$defaultval"; then
5317 if test x"$enablestring" = xdisable; then
5324 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5325 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5326 # Check whether --enable-no_deps was given.
5327 if test "${enable_no_deps+set}" = set; then
5328 enableval=$enable_no_deps;
5329 if test "$enableval" = yes; then
5330 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5332 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5337 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5342 eval "$wx_cv_use_no_deps"
5344 if test x
"$enablestring" = xdisable
; then
5345 if test $wxUSE_NO_DEPS = no
; then
5351 result
=$wxUSE_NO_DEPS
5354 { echo "$as_me:$LINENO: result: $result" >&5
5355 echo "${ECHO_T}$result" >&6; }
5358 enablestring
=disable
5360 if test -z "$defaultval"; then
5361 if test x
"$enablestring" = xdisable
; then
5368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5369 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5370 # Check whether --enable-vararg_macros was given.
5371 if test "${enable_vararg_macros+set}" = set; then
5372 enableval
=$enable_vararg_macros;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5376 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5381 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5386 eval "$wx_cv_use_vararg_macros"
5388 if test x"$enablestring" = xdisable; then
5389 if test $wxUSE_VARARG_MACROS = no; then
5395 result=$wxUSE_VARARG_MACROS
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5405 # Check whether --enable-universal_binary was given.
5406 if test "${enable_universal_binary+set}" = set; then
5407 enableval=$enable_universal_binary;
5408 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5412 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5417 eval "$wx_cv_use_universal_binary"
5419 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5420 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5426 if test -z "$defaultval"; then
5427 if test x"$enablestring" = xdisable; then
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5436 # Check whether --enable-compat26 was given.
5437 if test "${enable_compat26+set}" = set; then
5438 enableval=$enable_compat26;
5439 if test "$enableval" = yes; then
5440 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5442 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5447 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5452 eval "$wx_cv_use_compat26"
5454 if test x"$enablestring" = xdisable; then
5455 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5461 result=$WXWIN_COMPATIBILITY_2_6
5464 { echo "$as_me:$LINENO: result
: $result" >&5
5465 echo "${ECHO_T}$result" >&6; }
5468 enablestring=disable
5470 if test -z "$defaultval"; then
5471 if test x"$enablestring" = xdisable; then
5478 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5479 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5480 # Check whether --enable-compat28 was given.
5481 if test "${enable_compat28+set}" = set; then
5482 enableval=$enable_compat28;
5483 if test "$enableval" = yes; then
5484 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5486 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5491 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5496 eval "$wx_cv_use_compat28"
5498 if test x
"$enablestring" = xdisable
; then
5499 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5505 result
=$WXWIN_COMPATIBILITY_2_8
5508 { echo "$as_me:$LINENO: result: $result" >&5
5509 echo "${ECHO_T}$result" >&6; }
5513 enablestring
=disable
5515 if test -z "$defaultval"; then
5516 if test x
"$enablestring" = xdisable
; then
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5525 # Check whether --enable-rpath was given.
5526 if test "${enable_rpath+set}" = set; then
5527 enableval
=$enable_rpath;
5528 if test "$enableval" = yes; then
5529 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5531 wx_cv_use_rpath
='wxUSE_RPATH=no'
5536 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5541 eval "$wx_cv_use_rpath"
5543 if test x"$enablestring" = xdisable; then
5544 if test $wxUSE_RPATH = no; then
5553 { echo "$as_me:$LINENO: result: $result" >&5
5554 echo "${ECHO_T}$result" >&6; }
5560 if test -z "$defaultval"; then
5561 if test x"$enablestring" = xdisable; then
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5570 # Check whether --enable-objc_uniquifying was given.
5571 if test "${enable_objc_uniquifying+set}" = set; then
5572 enableval=$enable_objc_uniquifying;
5573 if test "$enableval" = yes; then
5574 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5576 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5581 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5586 eval "$wx_cv_use_objc_uniquifying"
5588 if test x"$enablestring" = xdisable; then
5589 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5595 result=$wxUSE_OBJC_UNIQUIFYING
5598 { echo "$as_me:$LINENO: result
: $result" >&5
5599 echo "${ECHO_T}$result" >&6; }
5603 enablestring=disable
5605 if test -z "$defaultval"; then
5606 if test x"$enablestring" = xdisable; then
5613 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5614 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5615 # Check whether --enable-visibility was given.
5616 if test "${enable_visibility+set}" = set; then
5617 enableval=$enable_visibility;
5618 if test "$enableval" = yes; then
5619 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5621 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5626 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5631 eval "$wx_cv_use_visibility"
5633 if test x
"$enablestring" = xdisable
; then
5634 if test $wxUSE_VISIBILITY = no
; then
5640 result
=$wxUSE_VISIBILITY
5643 { echo "$as_me:$LINENO: result: $result" >&5
5644 echo "${ECHO_T}$result" >&6; }
5647 enablestring
=disable
5649 if test -z "$defaultval"; then
5650 if test x
"$enablestring" = xdisable
; then
5657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5659 # Check whether --enable-tls was given.
5660 if test "${enable_tls+set}" = set; then
5661 enableval
=$enable_tls;
5662 if test "$enableval" = yes; then
5663 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5665 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5670 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5675 eval "$wx_cv_use_tls"
5677 if test x"$enablestring" = xdisable; then
5678 if test $wxUSE_COMPILER_TLS = no; then
5684 result=$wxUSE_COMPILER_TLS
5687 { echo "$as_me:$LINENO: result: $result" >&5
5688 echo "${ECHO_T}$result" >&6; }
5694 defaultval=$wxUSE_ALL_FEATURES
5695 if test -z "$defaultval"; then
5696 if test x"$enablestring" = xdisable; then
5703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5705 # Check whether --enable-intl was given.
5706 if test "${enable_intl+set}" = set; then
5707 enableval=$enable_intl;
5708 if test "$enableval" = yes; then
5709 wx_cv_use_intl='wxUSE_INTL
=yes'
5711 wx_cv_use_intl='wxUSE_INTL
=no
'
5716 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5721 eval "$wx_cv_use_intl"
5723 if test x"$enablestring" = xdisable; then
5724 if test $wxUSE_INTL = no; then
5733 { echo "$as_me:$LINENO: result
: $result" >&5
5734 echo "${ECHO_T}$result" >&6; }
5738 defaultval=$wxUSE_ALL_FEATURES
5739 if test -z "$defaultval"; then
5740 if test x"$enablestring" = xdisable; then
5747 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5748 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5749 # Check whether --enable-xlocale was given.
5750 if test "${enable_xlocale+set}" = set; then
5751 enableval=$enable_xlocale;
5752 if test "$enableval" = yes; then
5753 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5755 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5760 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5765 eval "$wx_cv_use_xlocale"
5767 if test x
"$enablestring" = xdisable
; then
5768 if test $wxUSE_XLOCALE = no
; then
5774 result
=$wxUSE_XLOCALE
5777 { echo "$as_me:$LINENO: result: $result" >&5
5778 echo "${ECHO_T}$result" >&6; }
5782 defaultval
=$wxUSE_ALL_FEATURES
5783 if test -z "$defaultval"; then
5784 if test x
"$enablestring" = xdisable
; then
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5793 # Check whether --enable-config was given.
5794 if test "${enable_config+set}" = set; then
5795 enableval
=$enable_config;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_config
='wxUSE_CONFIG=yes'
5799 wx_cv_use_config
='wxUSE_CONFIG=no'
5804 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5809 eval "$wx_cv_use_config"
5811 if test x"$enablestring" = xdisable; then
5812 if test $wxUSE_CONFIG = no; then
5818 result=$wxUSE_CONFIG
5821 { echo "$as_me:$LINENO: result: $result" >&5
5822 echo "${ECHO_T}$result" >&6; }
5827 defaultval=$wxUSE_ALL_FEATURES
5828 if test -z "$defaultval"; then
5829 if test x"$enablestring" = xdisable; then
5836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5837 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5838 # Check whether --enable-protocols was given.
5839 if test "${enable_protocols+set}" = set; then
5840 enableval=$enable_protocols;
5841 if test "$enableval" = yes; then
5842 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5844 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5849 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5854 eval "$wx_cv_use_protocols"
5856 if test x"$enablestring" = xdisable; then
5857 if test $wxUSE_PROTOCOL = no; then
5863 result=$wxUSE_PROTOCOL
5866 { echo "$as_me:$LINENO: result
: $result" >&5
5867 echo "${ECHO_T}$result" >&6; }
5871 defaultval=$wxUSE_ALL_FEATURES
5872 if test -z "$defaultval"; then
5873 if test x"$enablestring" = xdisable; then
5880 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5881 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5882 # Check whether --enable-ftp was given.
5883 if test "${enable_ftp+set}" = set; then
5884 enableval=$enable_ftp;
5885 if test "$enableval" = yes; then
5886 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5888 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5893 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5898 eval "$wx_cv_use_ftp"
5900 if test x
"$enablestring" = xdisable
; then
5901 if test $wxUSE_PROTOCOL_FTP = no
; then
5907 result
=$wxUSE_PROTOCOL_FTP
5910 { echo "$as_me:$LINENO: result: $result" >&5
5911 echo "${ECHO_T}$result" >&6; }
5915 defaultval
=$wxUSE_ALL_FEATURES
5916 if test -z "$defaultval"; then
5917 if test x
"$enablestring" = xdisable
; then
5924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5925 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5926 # Check whether --enable-http was given.
5927 if test "${enable_http+set}" = set; then
5928 enableval
=$enable_http;
5929 if test "$enableval" = yes; then
5930 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5932 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5937 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5942 eval "$wx_cv_use_http"
5944 if test x"$enablestring" = xdisable; then
5945 if test $wxUSE_PROTOCOL_HTTP = no; then
5951 result=$wxUSE_PROTOCOL_HTTP
5954 { echo "$as_me:$LINENO: result: $result" >&5
5955 echo "${ECHO_T}$result" >&6; }
5959 defaultval=$wxUSE_ALL_FEATURES
5960 if test -z "$defaultval"; then
5961 if test x"$enablestring" = xdisable; then
5968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5970 # Check whether --enable-fileproto was given.
5971 if test "${enable_fileproto+set}" = set; then
5972 enableval=$enable_fileproto;
5973 if test "$enableval" = yes; then
5974 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5976 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5981 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5986 eval "$wx_cv_use_fileproto"
5988 if test x"$enablestring" = xdisable; then
5989 if test $wxUSE_PROTOCOL_FILE = no; then
5995 result=$wxUSE_PROTOCOL_FILE
5998 { echo "$as_me:$LINENO: result
: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6003 defaultval=$wxUSE_ALL_FEATURES
6004 if test -z "$defaultval"; then
6005 if test x"$enablestring" = xdisable; then
6012 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6013 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6014 # Check whether --enable-sockets was given.
6015 if test "${enable_sockets+set}" = set; then
6016 enableval=$enable_sockets;
6017 if test "$enableval" = yes; then
6018 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6020 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6025 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6030 eval "$wx_cv_use_sockets"
6032 if test x
"$enablestring" = xdisable
; then
6033 if test $wxUSE_SOCKETS = no
; then
6039 result
=$wxUSE_SOCKETS
6042 { echo "$as_me:$LINENO: result: $result" >&5
6043 echo "${ECHO_T}$result" >&6; }
6047 defaultval
=$wxUSE_ALL_FEATURES
6048 if test -z "$defaultval"; then
6049 if test x
"$enablestring" = xdisable
; then
6056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6058 # Check whether --enable-ipv6 was given.
6059 if test "${enable_ipv6+set}" = set; then
6060 enableval
=$enable_ipv6;
6061 if test "$enableval" = yes; then
6062 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6064 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6069 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6074 eval "$wx_cv_use_ipv6"
6076 if test x"$enablestring" = xdisable; then
6077 if test $wxUSE_IPV6 = no; then
6086 { echo "$as_me:$LINENO: result: $result" >&5
6087 echo "${ECHO_T}$result" >&6; }
6091 defaultval=$wxUSE_ALL_FEATURES
6092 if test -z "$defaultval"; then
6093 if test x"$enablestring" = xdisable; then
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6102 # Check whether --enable-ole was given.
6103 if test "${enable_ole+set}" = set; then
6104 enableval=$enable_ole;
6105 if test "$enableval" = yes; then
6106 wx_cv_use_ole='wxUSE_OLE
=yes'
6108 wx_cv_use_ole='wxUSE_OLE
=no
'
6113 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6118 eval "$wx_cv_use_ole"
6120 if test x"$enablestring" = xdisable; then
6121 if test $wxUSE_OLE = no; then
6130 { echo "$as_me:$LINENO: result
: $result" >&5
6131 echo "${ECHO_T}$result" >&6; }
6135 defaultval=$wxUSE_ALL_FEATURES
6136 if test -z "$defaultval"; then
6137 if test x"$enablestring" = xdisable; then
6144 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6145 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6146 # Check whether --enable-dataobj was given.
6147 if test "${enable_dataobj+set}" = set; then
6148 enableval=$enable_dataobj;
6149 if test "$enableval" = yes; then
6150 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6152 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6157 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6162 eval "$wx_cv_use_dataobj"
6164 if test x
"$enablestring" = xdisable
; then
6165 if test $wxUSE_DATAOBJ = no
; then
6171 result
=$wxUSE_DATAOBJ
6174 { echo "$as_me:$LINENO: result: $result" >&5
6175 echo "${ECHO_T}$result" >&6; }
6180 defaultval
=$wxUSE_ALL_FEATURES
6181 if test -z "$defaultval"; then
6182 if test x
"$enablestring" = xdisable
; then
6189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6190 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6191 # Check whether --enable-ipc was given.
6192 if test "${enable_ipc+set}" = set; then
6193 enableval
=$enable_ipc;
6194 if test "$enableval" = yes; then
6195 wx_cv_use_ipc
='wxUSE_IPC=yes'
6197 wx_cv_use_ipc
='wxUSE_IPC=no'
6202 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6207 eval "$wx_cv_use_ipc"
6209 if test x"$enablestring" = xdisable; then
6210 if test $wxUSE_IPC = no; then
6219 { echo "$as_me:$LINENO: result: $result" >&5
6220 echo "${ECHO_T}$result" >&6; }
6225 defaultval=$wxUSE_ALL_FEATURES
6226 if test -z "$defaultval"; then
6227 if test x"$enablestring" = xdisable; then
6234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6236 # Check whether --enable-baseevtloop was given.
6237 if test "${enable_baseevtloop+set}" = set; then
6238 enableval=$enable_baseevtloop;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6242 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6247 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6252 eval "$wx_cv_use_baseevtloop"
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6261 result=$wxUSE_CONSOLE_EVENTLOOP
6264 { echo "$as_me:$LINENO: result
: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6278 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6279 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6280 # Check whether --enable-epollloop was given.
6281 if test "${enable_epollloop+set}" = set; then
6282 enableval=$enable_epollloop;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6286 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6291 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6296 eval "$wx_cv_use_epollloop"
6298 if test x
"$enablestring" = xdisable
; then
6299 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6305 result
=$wxUSE_EPOLL_DISPATCHER
6308 { echo "$as_me:$LINENO: result: $result" >&5
6309 echo "${ECHO_T}$result" >&6; }
6313 defaultval
=$wxUSE_ALL_FEATURES
6314 if test -z "$defaultval"; then
6315 if test x
"$enablestring" = xdisable
; then
6322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6324 # Check whether --enable-selectloop was given.
6325 if test "${enable_selectloop+set}" = set; then
6326 enableval
=$enable_selectloop;
6327 if test "$enableval" = yes; then
6328 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6330 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6335 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6340 eval "$wx_cv_use_selectloop"
6342 if test x"$enablestring" = xdisable; then
6343 if test $wxUSE_SELECT_DISPATCHER = no; then
6349 result=$wxUSE_SELECT_DISPATCHER
6352 { echo "$as_me:$LINENO: result: $result" >&5
6353 echo "${ECHO_T}$result" >&6; }
6358 defaultval=$wxUSE_ALL_FEATURES
6359 if test -z "$defaultval"; then
6360 if test x"$enablestring" = xdisable; then
6367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6369 # Check whether --enable-any was given.
6370 if test "${enable_any+set}" = set; then
6371 enableval=$enable_any;
6372 if test "$enableval" = yes; then
6373 wx_cv_use_any='wxUSE_ANY
=yes'
6375 wx_cv_use_any='wxUSE_ANY
=no
'
6380 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6385 eval "$wx_cv_use_any"
6387 if test x"$enablestring" = xdisable; then
6388 if test $wxUSE_ANY = no; then
6397 { echo "$as_me:$LINENO: result
: $result" >&5
6398 echo "${ECHO_T}$result" >&6; }
6402 defaultval=$wxUSE_ALL_FEATURES
6403 if test -z "$defaultval"; then
6404 if test x"$enablestring" = xdisable; then
6411 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6412 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6413 # Check whether --enable-apple_ieee was given.
6414 if test "${enable_apple_ieee+set}" = set; then
6415 enableval=$enable_apple_ieee;
6416 if test "$enableval" = yes; then
6417 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6419 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6424 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6429 eval "$wx_cv_use_apple_ieee"
6431 if test x
"$enablestring" = xdisable
; then
6432 if test $wxUSE_APPLE_IEEE = no
; then
6438 result
=$wxUSE_APPLE_IEEE
6441 { echo "$as_me:$LINENO: result: $result" >&5
6442 echo "${ECHO_T}$result" >&6; }
6446 defaultval
=$wxUSE_ALL_FEATURES
6447 if test -z "$defaultval"; then
6448 if test x
"$enablestring" = xdisable
; then
6455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6457 # Check whether --enable-arcstream was given.
6458 if test "${enable_arcstream+set}" = set; then
6459 enableval
=$enable_arcstream;
6460 if test "$enableval" = yes; then
6461 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6463 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6468 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6473 eval "$wx_cv_use_arcstream"
6475 if test x"$enablestring" = xdisable; then
6476 if test $wxUSE_ARCHIVE_STREAMS = no; then
6482 result=$wxUSE_ARCHIVE_STREAMS
6485 { echo "$as_me:$LINENO: result: $result" >&5
6486 echo "${ECHO_T}$result" >&6; }
6490 defaultval=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x"$enablestring" = xdisable; then
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6501 # Check whether --enable-base64 was given.
6502 if test "${enable_base64+set}" = set; then
6503 enableval=$enable_base64;
6504 if test "$enableval" = yes; then
6505 wx_cv_use_base64='wxUSE_BASE64
=yes'
6507 wx_cv_use_base64='wxUSE_BASE64
=no
'
6512 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6517 eval "$wx_cv_use_base64"
6519 if test x"$enablestring" = xdisable; then
6520 if test $wxUSE_BASE64 = no; then
6526 result=$wxUSE_BASE64
6529 { echo "$as_me:$LINENO: result
: $result" >&5
6530 echo "${ECHO_T}$result" >&6; }
6534 defaultval=$wxUSE_ALL_FEATURES
6535 if test -z "$defaultval"; then
6536 if test x"$enablestring" = xdisable; then
6543 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6544 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6545 # Check whether --enable-backtrace was given.
6546 if test "${enable_backtrace+set}" = set; then
6547 enableval=$enable_backtrace;
6548 if test "$enableval" = yes; then
6549 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6551 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6556 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6561 eval "$wx_cv_use_backtrace"
6563 if test x
"$enablestring" = xdisable
; then
6564 if test $wxUSE_STACKWALKER = no
; then
6570 result
=$wxUSE_STACKWALKER
6573 { echo "$as_me:$LINENO: result: $result" >&5
6574 echo "${ECHO_T}$result" >&6; }
6578 defaultval
=$wxUSE_ALL_FEATURES
6579 if test -z "$defaultval"; then
6580 if test x
"$enablestring" = xdisable
; then
6587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6588 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6589 # Check whether --enable-catch_segvs was given.
6590 if test "${enable_catch_segvs+set}" = set; then
6591 enableval
=$enable_catch_segvs;
6592 if test "$enableval" = yes; then
6593 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6595 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6600 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6605 eval "$wx_cv_use_catch_segvs"
6607 if test x"$enablestring" = xdisable; then
6608 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6614 result=$wxUSE_ON_FATAL_EXCEPTION
6617 { echo "$as_me:$LINENO: result: $result" >&5
6618 echo "${ECHO_T}$result" >&6; }
6622 defaultval=$wxUSE_ALL_FEATURES
6623 if test -z "$defaultval"; then
6624 if test x"$enablestring" = xdisable; then
6631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6633 # Check whether --enable-cmdline was given.
6634 if test "${enable_cmdline+set}" = set; then
6635 enableval=$enable_cmdline;
6636 if test "$enableval" = yes; then
6637 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6639 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6644 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6649 eval "$wx_cv_use_cmdline"
6651 if test x"$enablestring" = xdisable; then
6652 if test $wxUSE_CMDLINE_PARSER = no; then
6658 result=$wxUSE_CMDLINE_PARSER
6661 { echo "$as_me:$LINENO: result
: $result" >&5
6662 echo "${ECHO_T}$result" >&6; }
6666 defaultval=$wxUSE_ALL_FEATURES
6667 if test -z "$defaultval"; then
6668 if test x"$enablestring" = xdisable; then
6675 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6676 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6677 # Check whether --enable-datetime was given.
6678 if test "${enable_datetime+set}" = set; then
6679 enableval=$enable_datetime;
6680 if test "$enableval" = yes; then
6681 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6683 wx_cv_use_datetime='wxUSE_DATETIME=no'
6688 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6693 eval "$wx_cv_use_datetime"
6695 if test x
"$enablestring" = xdisable
; then
6696 if test $wxUSE_DATETIME = no
; then
6702 result
=$wxUSE_DATETIME
6705 { echo "$as_me:$LINENO: result: $result" >&5
6706 echo "${ECHO_T}$result" >&6; }
6710 defaultval
=$wxUSE_ALL_FEATURES
6711 if test -z "$defaultval"; then
6712 if test x
"$enablestring" = xdisable
; then
6719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6721 # Check whether --enable-debugreport was given.
6722 if test "${enable_debugreport+set}" = set; then
6723 enableval
=$enable_debugreport;
6724 if test "$enableval" = yes; then
6725 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6727 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6732 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6737 eval "$wx_cv_use_debugreport"
6739 if test x"$enablestring" = xdisable; then
6740 if test $wxUSE_DEBUGREPORT = no; then
6746 result=$wxUSE_DEBUGREPORT
6749 { echo "$as_me:$LINENO: result: $result" >&5
6750 echo "${ECHO_T}$result" >&6; }
6754 defaultval=$wxUSE_ALL_FEATURES
6755 if test -z "$defaultval"; then
6756 if test x"$enablestring" = xdisable; then
6763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6765 # Check whether --enable-dialupman was given.
6766 if test "${enable_dialupman+set}" = set; then
6767 enableval=$enable_dialupman;
6768 if test "$enableval" = yes; then
6769 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6771 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6776 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6781 eval "$wx_cv_use_dialupman"
6783 if test x"$enablestring" = xdisable; then
6784 if test $wxUSE_DIALUP_MANAGER = no; then
6790 result=$wxUSE_DIALUP_MANAGER
6793 { echo "$as_me:$LINENO: result
: $result" >&5
6794 echo "${ECHO_T}$result" >&6; }
6798 defaultval=$wxUSE_ALL_FEATURES
6799 if test -z "$defaultval"; then
6800 if test x"$enablestring" = xdisable; then
6807 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6808 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6809 # Check whether --enable-dynlib was given.
6810 if test "${enable_dynlib+set}" = set; then
6811 enableval=$enable_dynlib;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6815 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6820 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6825 eval "$wx_cv_use_dynlib"
6827 if test x
"$enablestring" = xdisable
; then
6828 if test $wxUSE_DYNLIB_CLASS = no
; then
6834 result
=$wxUSE_DYNLIB_CLASS
6837 { echo "$as_me:$LINENO: result: $result" >&5
6838 echo "${ECHO_T}$result" >&6; }
6842 defaultval
=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x
"$enablestring" = xdisable
; then
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6853 # Check whether --enable-dynamicloader was given.
6854 if test "${enable_dynamicloader+set}" = set; then
6855 enableval
=$enable_dynamicloader;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6859 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6864 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6869 eval "$wx_cv_use_dynamicloader"
6871 if test x"$enablestring" = xdisable; then
6872 if test $wxUSE_DYNAMIC_LOADER = no; then
6878 result=$wxUSE_DYNAMIC_LOADER
6881 { echo "$as_me:$LINENO: result: $result" >&5
6882 echo "${ECHO_T}$result" >&6; }
6886 defaultval=$wxUSE_ALL_FEATURES
6887 if test -z "$defaultval"; then
6888 if test x"$enablestring" = xdisable; then
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6897 # Check whether --enable-exceptions was given.
6898 if test "${enable_exceptions+set}" = set; then
6899 enableval=$enable_exceptions;
6900 if test "$enableval" = yes; then
6901 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6903 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6908 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6913 eval "$wx_cv_use_exceptions"
6915 if test x"$enablestring" = xdisable; then
6916 if test $wxUSE_EXCEPTIONS = no; then
6922 result=$wxUSE_EXCEPTIONS
6925 { echo "$as_me:$LINENO: result
: $result" >&5
6926 echo "${ECHO_T}$result" >&6; }
6930 defaultval=$wxUSE_ALL_FEATURES
6931 if test -z "$defaultval"; then
6932 if test x"$enablestring" = xdisable; then
6939 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6940 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6941 # Check whether --enable-ffile was given.
6942 if test "${enable_ffile+set}" = set; then
6943 enableval=$enable_ffile;
6944 if test "$enableval" = yes; then
6945 wx_cv_use_ffile='wxUSE_FFILE=yes'
6947 wx_cv_use_ffile='wxUSE_FFILE=no'
6952 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6957 eval "$wx_cv_use_ffile"
6959 if test x
"$enablestring" = xdisable
; then
6960 if test $wxUSE_FFILE = no
; then
6969 { echo "$as_me:$LINENO: result: $result" >&5
6970 echo "${ECHO_T}$result" >&6; }
6974 defaultval
=$wxUSE_ALL_FEATURES
6975 if test -z "$defaultval"; then
6976 if test x
"$enablestring" = xdisable
; then
6983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6985 # Check whether --enable-file was given.
6986 if test "${enable_file+set}" = set; then
6987 enableval
=$enable_file;
6988 if test "$enableval" = yes; then
6989 wx_cv_use_file
='wxUSE_FILE=yes'
6991 wx_cv_use_file
='wxUSE_FILE=no'
6996 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7001 eval "$wx_cv_use_file"
7003 if test x"$enablestring" = xdisable; then
7004 if test $wxUSE_FILE = no; then
7013 { echo "$as_me:$LINENO: result: $result" >&5
7014 echo "${ECHO_T}$result" >&6; }
7018 defaultval=$wxUSE_ALL_FEATURES
7019 if test -z "$defaultval"; then
7020 if test x"$enablestring" = xdisable; then
7027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7029 # Check whether --enable-filesystem was given.
7030 if test "${enable_filesystem+set}" = set; then
7031 enableval=$enable_filesystem;
7032 if test "$enableval" = yes; then
7033 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7035 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7040 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7045 eval "$wx_cv_use_filesystem"
7047 if test x"$enablestring" = xdisable; then
7048 if test $wxUSE_FILESYSTEM = no; then
7054 result=$wxUSE_FILESYSTEM
7057 { echo "$as_me:$LINENO: result
: $result" >&5
7058 echo "${ECHO_T}$result" >&6; }
7062 defaultval=$wxUSE_ALL_FEATURES
7063 if test -z "$defaultval"; then
7064 if test x"$enablestring" = xdisable; then
7071 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7072 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7073 # Check whether --enable-fontenum was given.
7074 if test "${enable_fontenum+set}" = set; then
7075 enableval=$enable_fontenum;
7076 if test "$enableval" = yes; then
7077 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7079 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7084 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7089 eval "$wx_cv_use_fontenum"
7091 if test x
"$enablestring" = xdisable
; then
7092 if test $wxUSE_FONTENUM = no
; then
7098 result
=$wxUSE_FONTENUM
7101 { echo "$as_me:$LINENO: result: $result" >&5
7102 echo "${ECHO_T}$result" >&6; }
7106 defaultval
=$wxUSE_ALL_FEATURES
7107 if test -z "$defaultval"; then
7108 if test x
"$enablestring" = xdisable
; then
7115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7117 # Check whether --enable-fontmap was given.
7118 if test "${enable_fontmap+set}" = set; then
7119 enableval
=$enable_fontmap;
7120 if test "$enableval" = yes; then
7121 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7123 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7128 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7133 eval "$wx_cv_use_fontmap"
7135 if test x"$enablestring" = xdisable; then
7136 if test $wxUSE_FONTMAP = no; then
7142 result=$wxUSE_FONTMAP
7145 { echo "$as_me:$LINENO: result: $result" >&5
7146 echo "${ECHO_T}$result" >&6; }
7150 defaultval=$wxUSE_ALL_FEATURES
7151 if test -z "$defaultval"; then
7152 if test x"$enablestring" = xdisable; then
7159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7160 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7161 # Check whether --enable-fs_archive was given.
7162 if test "${enable_fs_archive+set}" = set; then
7163 enableval=$enable_fs_archive;
7164 if test "$enableval" = yes; then
7165 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7167 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7172 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7177 eval "$wx_cv_use_fs_archive"
7179 if test x"$enablestring" = xdisable; then
7180 if test $wxUSE_FS_ARCHIVE = no; then
7186 result=$wxUSE_FS_ARCHIVE
7189 { echo "$as_me:$LINENO: result
: $result" >&5
7190 echo "${ECHO_T}$result" >&6; }
7194 defaultval=$wxUSE_ALL_FEATURES
7195 if test -z "$defaultval"; then
7196 if test x"$enablestring" = xdisable; then
7203 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7204 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7205 # Check whether --enable-fs_inet was given.
7206 if test "${enable_fs_inet+set}" = set; then
7207 enableval=$enable_fs_inet;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7211 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7216 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7221 eval "$wx_cv_use_fs_inet"
7223 if test x
"$enablestring" = xdisable
; then
7224 if test $wxUSE_FS_INET = no
; then
7230 result
=$wxUSE_FS_INET
7233 { echo "$as_me:$LINENO: result: $result" >&5
7234 echo "${ECHO_T}$result" >&6; }
7238 defaultval
=$wxUSE_ALL_FEATURES
7239 if test -z "$defaultval"; then
7240 if test x
"$enablestring" = xdisable
; then
7247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7249 # Check whether --enable-fs_zip was given.
7250 if test "${enable_fs_zip+set}" = set; then
7251 enableval
=$enable_fs_zip;
7252 if test "$enableval" = yes; then
7253 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7255 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7260 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7265 eval "$wx_cv_use_fs_zip"
7267 if test x"$enablestring" = xdisable; then
7268 if test $wxUSE_FS_ZIP = no; then
7274 result=$wxUSE_FS_ZIP
7277 { echo "$as_me:$LINENO: result: $result" >&5
7278 echo "${ECHO_T}$result" >&6; }
7282 defaultval=$wxUSE_ALL_FEATURES
7283 if test -z "$defaultval"; then
7284 if test x"$enablestring" = xdisable; then
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7293 # Check whether --enable-fswatcher was given.
7294 if test "${enable_fswatcher+set}" = set; then
7295 enableval=$enable_fswatcher;
7296 if test "$enableval" = yes; then
7297 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7299 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7304 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7309 eval "$wx_cv_use_fswatcher"
7311 if test x"$enablestring" = xdisable; then
7312 if test $wxUSE_FSWATCHER = no; then
7318 result=$wxUSE_FSWATCHER
7321 { echo "$as_me:$LINENO: result
: $result" >&5
7322 echo "${ECHO_T}$result" >&6; }
7326 defaultval=$wxUSE_ALL_FEATURES
7327 if test -z "$defaultval"; then
7328 if test x"$enablestring" = xdisable; then
7335 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7336 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7337 # Check whether --enable-geometry was given.
7338 if test "${enable_geometry+set}" = set; then
7339 enableval=$enable_geometry;
7340 if test "$enableval" = yes; then
7341 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7343 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7348 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7353 eval "$wx_cv_use_geometry"
7355 if test x
"$enablestring" = xdisable
; then
7356 if test $wxUSE_GEOMETRY = no
; then
7362 result
=$wxUSE_GEOMETRY
7365 { echo "$as_me:$LINENO: result: $result" >&5
7366 echo "${ECHO_T}$result" >&6; }
7370 defaultval
=$wxUSE_ALL_FEATURES
7371 if test -z "$defaultval"; then
7372 if test x
"$enablestring" = xdisable
; then
7379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7381 # Check whether --enable-log was given.
7382 if test "${enable_log+set}" = set; then
7383 enableval
=$enable_log;
7384 if test "$enableval" = yes; then
7385 wx_cv_use_log
='wxUSE_LOG=yes'
7387 wx_cv_use_log
='wxUSE_LOG=no'
7392 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7397 eval "$wx_cv_use_log"
7399 if test x"$enablestring" = xdisable; then
7400 if test $wxUSE_LOG = no; then
7409 { echo "$as_me:$LINENO: result: $result" >&5
7410 echo "${ECHO_T}$result" >&6; }
7414 defaultval=$wxUSE_ALL_FEATURES
7415 if test -z "$defaultval"; then
7416 if test x"$enablestring" = xdisable; then
7423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7425 # Check whether --enable-longlong was given.
7426 if test "${enable_longlong+set}" = set; then
7427 enableval=$enable_longlong;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7431 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7436 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7441 eval "$wx_cv_use_longlong"
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_LONGLONG = no; then
7450 result=$wxUSE_LONGLONG
7453 { echo "$as_me:$LINENO: result
: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7467 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7468 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7469 # Check whether --enable-mimetype was given.
7470 if test "${enable_mimetype+set}" = set; then
7471 enableval=$enable_mimetype;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7475 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7480 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7485 eval "$wx_cv_use_mimetype"
7487 if test x
"$enablestring" = xdisable
; then
7488 if test $wxUSE_MIMETYPE = no
; then
7494 result
=$wxUSE_MIMETYPE
7497 { echo "$as_me:$LINENO: result: $result" >&5
7498 echo "${ECHO_T}$result" >&6; }
7502 defaultval
=$wxUSE_ALL_FEATURES
7503 if test -z "$defaultval"; then
7504 if test x
"$enablestring" = xdisable
; then
7511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7513 # Check whether --enable-printfposparam was given.
7514 if test "${enable_printfposparam+set}" = set; then
7515 enableval
=$enable_printfposparam;
7516 if test "$enableval" = yes; then
7517 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7519 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7524 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7529 eval "$wx_cv_use_printfposparam"
7531 if test x"$enablestring" = xdisable; then
7532 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7538 result=$wxUSE_PRINTF_POS_PARAMS
7541 { echo "$as_me:$LINENO: result: $result" >&5
7542 echo "${ECHO_T}$result" >&6; }
7546 defaultval=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x"$enablestring" = xdisable; then
7555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7557 # Check whether --enable-snglinst was given.
7558 if test "${enable_snglinst+set}" = set; then
7559 enableval=$enable_snglinst;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7563 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7568 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7573 eval "$wx_cv_use_snglinst"
7575 if test x"$enablestring" = xdisable; then
7576 if test $wxUSE_SNGLINST_CHECKER = no; then
7582 result=$wxUSE_SNGLINST_CHECKER
7585 { echo "$as_me:$LINENO: result
: $result" >&5
7586 echo "${ECHO_T}$result" >&6; }
7590 defaultval=$wxUSE_ALL_FEATURES
7591 if test -z "$defaultval"; then
7592 if test x"$enablestring" = xdisable; then
7599 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7600 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7601 # Check whether --enable-sound was given.
7602 if test "${enable_sound+set}" = set; then
7603 enableval=$enable_sound;
7604 if test "$enableval" = yes; then
7605 wx_cv_use_sound='wxUSE_SOUND=yes'
7607 wx_cv_use_sound='wxUSE_SOUND=no'
7612 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7617 eval "$wx_cv_use_sound"
7619 if test x
"$enablestring" = xdisable
; then
7620 if test $wxUSE_SOUND = no
; then
7629 { echo "$as_me:$LINENO: result: $result" >&5
7630 echo "${ECHO_T}$result" >&6; }
7634 defaultval
=$wxUSE_ALL_FEATURES
7635 if test -z "$defaultval"; then
7636 if test x
"$enablestring" = xdisable
; then
7643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7644 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7645 # Check whether --enable-stdpaths was given.
7646 if test "${enable_stdpaths+set}" = set; then
7647 enableval
=$enable_stdpaths;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7651 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7656 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7661 eval "$wx_cv_use_stdpaths"
7663 if test x"$enablestring" = xdisable; then
7664 if test $wxUSE_STDPATHS = no; then
7670 result=$wxUSE_STDPATHS
7673 { echo "$as_me:$LINENO: result: $result" >&5
7674 echo "${ECHO_T}$result" >&6; }
7678 defaultval=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x"$enablestring" = xdisable; then
7687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7689 # Check whether --enable-stopwatch was given.
7690 if test "${enable_stopwatch+set}" = set; then
7691 enableval=$enable_stopwatch;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7695 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7700 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7705 eval "$wx_cv_use_stopwatch"
7707 if test x"$enablestring" = xdisable; then
7708 if test $wxUSE_STOPWATCH = no; then
7714 result=$wxUSE_STOPWATCH
7717 { echo "$as_me:$LINENO: result
: $result" >&5
7718 echo "${ECHO_T}$result" >&6; }
7722 defaultval=$wxUSE_ALL_FEATURES
7723 if test -z "$defaultval"; then
7724 if test x"$enablestring" = xdisable; then
7731 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7732 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7733 # Check whether --enable-streams was given.
7734 if test "${enable_streams+set}" = set; then
7735 enableval=$enable_streams;
7736 if test "$enableval" = yes; then
7737 wx_cv_use_streams='wxUSE_STREAMS=yes'
7739 wx_cv_use_streams='wxUSE_STREAMS=no'
7744 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7749 eval "$wx_cv_use_streams"
7751 if test x
"$enablestring" = xdisable
; then
7752 if test $wxUSE_STREAMS = no
; then
7758 result
=$wxUSE_STREAMS
7761 { echo "$as_me:$LINENO: result: $result" >&5
7762 echo "${ECHO_T}$result" >&6; }
7766 defaultval
=$wxUSE_ALL_FEATURES
7767 if test -z "$defaultval"; then
7768 if test x
"$enablestring" = xdisable
; then
7775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7777 # Check whether --enable-sysoptions was given.
7778 if test "${enable_sysoptions+set}" = set; then
7779 enableval
=$enable_sysoptions;
7780 if test "$enableval" = yes; then
7781 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7783 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7788 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7793 eval "$wx_cv_use_sysoptions"
7795 if test x"$enablestring" = xdisable; then
7796 if test $wxUSE_SYSTEM_OPTIONS = no; then
7802 result=$wxUSE_SYSTEM_OPTIONS
7805 { echo "$as_me:$LINENO: result: $result" >&5
7806 echo "${ECHO_T}$result" >&6; }
7810 defaultval=$wxUSE_ALL_FEATURES
7811 if test -z "$defaultval"; then
7812 if test x"$enablestring" = xdisable; then
7819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7820 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7821 # Check whether --enable-tarstream was given.
7822 if test "${enable_tarstream+set}" = set; then
7823 enableval=$enable_tarstream;
7824 if test "$enableval" = yes; then
7825 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7827 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7832 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7837 eval "$wx_cv_use_tarstream"
7839 if test x"$enablestring" = xdisable; then
7840 if test $wxUSE_TARSTREAM = no; then
7846 result=$wxUSE_TARSTREAM
7849 { echo "$as_me:$LINENO: result
: $result" >&5
7850 echo "${ECHO_T}$result" >&6; }
7854 defaultval=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x"$enablestring" = xdisable; then
7863 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7864 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7865 # Check whether --enable-textbuf was given.
7866 if test "${enable_textbuf+set}" = set; then
7867 enableval=$enable_textbuf;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7871 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7876 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7881 eval "$wx_cv_use_textbuf"
7883 if test x
"$enablestring" = xdisable
; then
7884 if test $wxUSE_TEXTBUFFER = no
; then
7890 result
=$wxUSE_TEXTBUFFER
7893 { echo "$as_me:$LINENO: result: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7898 defaultval
=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x
"$enablestring" = xdisable
; then
7907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7909 # Check whether --enable-textfile was given.
7910 if test "${enable_textfile+set}" = set; then
7911 enableval
=$enable_textfile;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7915 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7920 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7925 eval "$wx_cv_use_textfile"
7927 if test x"$enablestring" = xdisable; then
7928 if test $wxUSE_TEXTFILE = no; then
7934 result=$wxUSE_TEXTFILE
7937 { echo "$as_me:$LINENO: result: $result" >&5
7938 echo "${ECHO_T}$result" >&6; }
7942 defaultval=$wxUSE_ALL_FEATURES
7943 if test -z "$defaultval"; then
7944 if test x"$enablestring" = xdisable; then
7951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7953 # Check whether --enable-timer was given.
7954 if test "${enable_timer+set}" = set; then
7955 enableval=$enable_timer;
7956 if test "$enableval" = yes; then
7957 wx_cv_use_timer='wxUSE_TIMER
=yes'
7959 wx_cv_use_timer='wxUSE_TIMER
=no
'
7964 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7969 eval "$wx_cv_use_timer"
7971 if test x"$enablestring" = xdisable; then
7972 if test $wxUSE_TIMER = no; then
7981 { echo "$as_me:$LINENO: result
: $result" >&5
7982 echo "${ECHO_T}$result" >&6; }
7986 defaultval=$wxUSE_ALL_FEATURES
7987 if test -z "$defaultval"; then
7988 if test x"$enablestring" = xdisable; then
7995 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7996 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7997 # Check whether --enable-variant was given.
7998 if test "${enable_variant+set}" = set; then
7999 enableval=$enable_variant;
8000 if test "$enableval" = yes; then
8001 wx_cv_use_variant='wxUSE_VARIANT=yes'
8003 wx_cv_use_variant='wxUSE_VARIANT=no'
8008 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8013 eval "$wx_cv_use_variant"
8015 if test x
"$enablestring" = xdisable
; then
8016 if test $wxUSE_VARIANT = no
; then
8022 result
=$wxUSE_VARIANT
8025 { echo "$as_me:$LINENO: result: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8030 defaultval
=$wxUSE_ALL_FEATURES
8031 if test -z "$defaultval"; then
8032 if test x
"$enablestring" = xdisable
; then
8039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8041 # Check whether --enable-zipstream was given.
8042 if test "${enable_zipstream+set}" = set; then
8043 enableval
=$enable_zipstream;
8044 if test "$enableval" = yes; then
8045 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8047 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8052 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8057 eval "$wx_cv_use_zipstream"
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_ZIPSTREAM = no; then
8066 result=$wxUSE_ZIPSTREAM
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8075 defaultval=$wxUSE_ALL_FEATURES
8076 if test -z "$defaultval"; then
8077 if test x"$enablestring" = xdisable; then
8084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8085 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8086 # Check whether --enable-url was given.
8087 if test "${enable_url+set}" = set; then
8088 enableval=$enable_url;
8089 if test "$enableval" = yes; then
8090 wx_cv_use_url='wxUSE_URL
=yes'
8092 wx_cv_use_url='wxUSE_URL
=no
'
8097 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8102 eval "$wx_cv_use_url"
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_URL = no; then
8114 { echo "$as_me:$LINENO: result
: $result" >&5
8115 echo "${ECHO_T}$result" >&6; }
8119 defaultval=$wxUSE_ALL_FEATURES
8120 if test -z "$defaultval"; then
8121 if test x"$enablestring" = xdisable; then
8128 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8129 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8130 # Check whether --enable-protocol was given.
8131 if test "${enable_protocol+set}" = set; then
8132 enableval=$enable_protocol;
8133 if test "$enableval" = yes; then
8134 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8136 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8141 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8146 eval "$wx_cv_use_protocol"
8148 if test x
"$enablestring" = xdisable
; then
8149 if test $wxUSE_PROTOCOL = no
; then
8155 result
=$wxUSE_PROTOCOL
8158 { echo "$as_me:$LINENO: result: $result" >&5
8159 echo "${ECHO_T}$result" >&6; }
8163 defaultval
=$wxUSE_ALL_FEATURES
8164 if test -z "$defaultval"; then
8165 if test x
"$enablestring" = xdisable
; then
8172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8173 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8174 # Check whether --enable-protocol_http was given.
8175 if test "${enable_protocol_http+set}" = set; then
8176 enableval
=$enable_protocol_http;
8177 if test "$enableval" = yes; then
8178 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8180 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8185 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8190 eval "$wx_cv_use_protocol_http"
8192 if test x"$enablestring" = xdisable; then
8193 if test $wxUSE_PROTOCOL_HTTP = no; then
8199 result=$wxUSE_PROTOCOL_HTTP
8202 { echo "$as_me:$LINENO: result: $result" >&5
8203 echo "${ECHO_T}$result" >&6; }
8207 defaultval=$wxUSE_ALL_FEATURES
8208 if test -z "$defaultval"; then
8209 if test x"$enablestring" = xdisable; then
8216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8218 # Check whether --enable-protocol_ftp was given.
8219 if test "${enable_protocol_ftp+set}" = set; then
8220 enableval=$enable_protocol_ftp;
8221 if test "$enableval" = yes; then
8222 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8224 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8229 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8234 eval "$wx_cv_use_protocol_ftp"
8236 if test x"$enablestring" = xdisable; then
8237 if test $wxUSE_PROTOCOL_FTP = no; then
8243 result=$wxUSE_PROTOCOL_FTP
8246 { echo "$as_me:$LINENO: result
: $result" >&5
8247 echo "${ECHO_T}$result" >&6; }
8251 defaultval=$wxUSE_ALL_FEATURES
8252 if test -z "$defaultval"; then
8253 if test x"$enablestring" = xdisable; then
8260 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8261 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8262 # Check whether --enable-protocol_file was given.
8263 if test "${enable_protocol_file+set}" = set; then
8264 enableval=$enable_protocol_file;
8265 if test "$enableval" = yes; then
8266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8273 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8278 eval "$wx_cv_use_protocol_file"
8280 if test x
"$enablestring" = xdisable
; then
8281 if test $wxUSE_PROTOCOL_FILE = no
; then
8287 result
=$wxUSE_PROTOCOL_FILE
8290 { echo "$as_me:$LINENO: result: $result" >&5
8291 echo "${ECHO_T}$result" >&6; }
8296 defaultval
=$wxUSE_ALL_FEATURES
8297 if test -z "$defaultval"; then
8298 if test x
"$enablestring" = xdisable
; then
8305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8307 # Check whether --enable-threads was given.
8308 if test "${enable_threads+set}" = set; then
8309 enableval
=$enable_threads;
8310 if test "$enableval" = yes; then
8311 wx_cv_use_threads
='wxUSE_THREADS=yes'
8313 wx_cv_use_threads
='wxUSE_THREADS=no'
8318 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8323 eval "$wx_cv_use_threads"
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_THREADS = no; then
8332 result=$wxUSE_THREADS
8335 { echo "$as_me:$LINENO: result: $result" >&5
8336 echo "${ECHO_T}$result" >&6; }
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8352 # Check whether --enable-iniconf was given.
8353 if test "${enable_iniconf+set}" = set; then
8354 enableval=$enable_iniconf;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8358 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8363 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8368 eval "$wx_cv_use_iniconf"
8370 if test x"$enablestring" = xdisable; then
8371 if test $wxUSE_INICONF = no; then
8377 result=$wxUSE_INICONF
8380 { echo "$as_me:$LINENO: result
: $result" >&5
8381 echo "${ECHO_T}$result" >&6; }
8385 defaultval=$wxUSE_ALL_FEATURES
8386 if test -z "$defaultval"; then
8387 if test x"$enablestring" = xdisable; then
8394 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8395 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8396 # Check whether --enable-regkey was given.
8397 if test "${enable_regkey+set}" = set; then
8398 enableval=$enable_regkey;
8399 if test "$enableval" = yes; then
8400 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8402 wx_cv_use_regkey='wxUSE_REGKEY=no'
8407 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8412 eval "$wx_cv_use_regkey"
8414 if test x
"$enablestring" = xdisable
; then
8415 if test $wxUSE_REGKEY = no
; then
8421 result
=$wxUSE_REGKEY
8424 { echo "$as_me:$LINENO: result: $result" >&5
8425 echo "${ECHO_T}$result" >&6; }
8428 if test "$wxUSE_GUI" = "yes"; then
8433 defaultval
=$wxUSE_ALL_FEATURES
8434 if test -z "$defaultval"; then
8435 if test x
"$enablestring" = xdisable
; then
8442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8444 # Check whether --enable-docview was given.
8445 if test "${enable_docview+set}" = set; then
8446 enableval
=$enable_docview;
8447 if test "$enableval" = yes; then
8448 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8450 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8455 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8460 eval "$wx_cv_use_docview"
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8469 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8472 { echo "$as_me:$LINENO: result: $result" >&5
8473 echo "${ECHO_T}$result" >&6; }
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8488 # Check whether --enable-help was given.
8489 if test "${enable_help+set}" = set; then
8490 enableval=$enable_help;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_help='wxUSE_HELP
=yes'
8494 wx_cv_use_help='wxUSE_HELP
=no
'
8499 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8504 eval "$wx_cv_use_help"
8506 if test x"$enablestring" = xdisable; then
8507 if test $wxUSE_HELP = no; then
8516 { echo "$as_me:$LINENO: result
: $result" >&5
8517 echo "${ECHO_T}$result" >&6; }
8521 defaultval=$wxUSE_ALL_FEATURES
8522 if test -z "$defaultval"; then
8523 if test x"$enablestring" = xdisable; then
8530 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8531 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8532 # Check whether --enable-mshtmlhelp was given.
8533 if test "${enable_mshtmlhelp+set}" = set; then
8534 enableval=$enable_mshtmlhelp;
8535 if test "$enableval" = yes; then
8536 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8538 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8543 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8548 eval "$wx_cv_use_mshtmlhelp"
8550 if test x
"$enablestring" = xdisable
; then
8551 if test $wxUSE_MS_HTML_HELP = no
; then
8557 result
=$wxUSE_MS_HTML_HELP
8560 { echo "$as_me:$LINENO: result: $result" >&5
8561 echo "${ECHO_T}$result" >&6; }
8565 defaultval
=$wxUSE_ALL_FEATURES
8566 if test -z "$defaultval"; then
8567 if test x
"$enablestring" = xdisable
; then
8574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8576 # Check whether --enable-html was given.
8577 if test "${enable_html+set}" = set; then
8578 enableval
=$enable_html;
8579 if test "$enableval" = yes; then
8580 wx_cv_use_html
='wxUSE_HTML=yes'
8582 wx_cv_use_html
='wxUSE_HTML=no'
8587 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8592 eval "$wx_cv_use_html"
8594 if test x"$enablestring" = xdisable; then
8595 if test $wxUSE_HTML = no; then
8604 { echo "$as_me:$LINENO: result: $result" >&5
8605 echo "${ECHO_T}$result" >&6; }
8609 defaultval=$wxUSE_ALL_FEATURES
8610 if test -z "$defaultval"; then
8611 if test x"$enablestring" = xdisable; then
8618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8620 # Check whether --enable-htmlhelp was given.
8621 if test "${enable_htmlhelp+set}" = set; then
8622 enableval=$enable_htmlhelp;
8623 if test "$enableval" = yes; then
8624 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8626 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8631 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8636 eval "$wx_cv_use_htmlhelp"
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_WXHTML_HELP = no; then
8645 result=$wxUSE_WXHTML_HELP
8648 { echo "$as_me:$LINENO: result
: $result" >&5
8649 echo "${ECHO_T}$result" >&6; }
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8662 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8663 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8664 # Check whether --enable-xrc was given.
8665 if test "${enable_xrc+set}" = set; then
8666 enableval=$enable_xrc;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_xrc='wxUSE_XRC=yes'
8670 wx_cv_use_xrc='wxUSE_XRC=no'
8675 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8680 eval "$wx_cv_use_xrc"
8682 if test x
"$enablestring" = xdisable
; then
8683 if test $wxUSE_XRC = no
; then
8692 { echo "$as_me:$LINENO: result: $result" >&5
8693 echo "${ECHO_T}$result" >&6; }
8697 defaultval
=$wxUSE_ALL_FEATURES
8698 if test -z "$defaultval"; then
8699 if test x
"$enablestring" = xdisable
; then
8706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8707 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8708 # Check whether --enable-aui was given.
8709 if test "${enable_aui+set}" = set; then
8710 enableval
=$enable_aui;
8711 if test "$enableval" = yes; then
8712 wx_cv_use_aui
='wxUSE_AUI=yes'
8714 wx_cv_use_aui
='wxUSE_AUI=no'
8719 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8724 eval "$wx_cv_use_aui"
8726 if test x"$enablestring" = xdisable; then
8727 if test $wxUSE_AUI = no; then
8736 { echo "$as_me:$LINENO: result: $result" >&5
8737 echo "${ECHO_T}$result" >&6; }
8741 defaultval=$wxUSE_ALL_FEATURES
8742 if test -z "$defaultval"; then
8743 if test x"$enablestring" = xdisable; then
8750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8752 # Check whether --enable-propgrid was given.
8753 if test "${enable_propgrid+set}" = set; then
8754 enableval=$enable_propgrid;
8755 if test "$enableval" = yes; then
8756 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8758 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8763 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8768 eval "$wx_cv_use_propgrid"
8770 if test x"$enablestring" = xdisable; then
8771 if test $wxUSE_PROPGRID = no; then
8777 result=$wxUSE_PROPGRID
8780 { echo "$as_me:$LINENO: result
: $result" >&5
8781 echo "${ECHO_T}$result" >&6; }
8785 defaultval=$wxUSE_ALL_FEATURES
8786 if test -z "$defaultval"; then
8787 if test x"$enablestring" = xdisable; then
8794 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8795 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8796 # Check whether --enable-ribbon was given.
8797 if test "${enable_ribbon+set}" = set; then
8798 enableval=$enable_ribbon;
8799 if test "$enableval" = yes; then
8800 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8802 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8807 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8812 eval "$wx_cv_use_ribbon"
8814 if test x
"$enablestring" = xdisable
; then
8815 if test $wxUSE_RIBBON = no
; then
8821 result
=$wxUSE_RIBBON
8824 { echo "$as_me:$LINENO: result: $result" >&5
8825 echo "${ECHO_T}$result" >&6; }
8829 defaultval
=$wxUSE_ALL_FEATURES
8830 if test -z "$defaultval"; then
8831 if test x
"$enablestring" = xdisable
; then
8838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8840 # Check whether --enable-stc was given.
8841 if test "${enable_stc+set}" = set; then
8842 enableval
=$enable_stc;
8843 if test "$enableval" = yes; then
8844 wx_cv_use_stc
='wxUSE_STC=yes'
8846 wx_cv_use_stc
='wxUSE_STC=no'
8851 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8856 eval "$wx_cv_use_stc"
8858 if test x"$enablestring" = xdisable; then
8859 if test $wxUSE_STC = no; then
8868 { echo "$as_me:$LINENO: result: $result" >&5
8869 echo "${ECHO_T}$result" >&6; }
8873 defaultval=$wxUSE_ALL_FEATURES
8874 if test -z "$defaultval"; then
8875 if test x"$enablestring" = xdisable; then
8882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8884 # Check whether --enable-constraints was given.
8885 if test "${enable_constraints+set}" = set; then
8886 enableval=$enable_constraints;
8887 if test "$enableval" = yes; then
8888 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8890 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8895 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8900 eval "$wx_cv_use_constraints"
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_CONSTRAINTS = no; then
8909 result=$wxUSE_CONSTRAINTS
8912 { echo "$as_me:$LINENO: result
: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8926 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8927 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8928 # Check whether --enable-loggui was given.
8929 if test "${enable_loggui+set}" = set; then
8930 enableval=$enable_loggui;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8934 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8939 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8944 eval "$wx_cv_use_loggui"
8946 if test x
"$enablestring" = xdisable
; then
8947 if test $wxUSE_LOGGUI = no
; then
8953 result
=$wxUSE_LOGGUI
8956 { echo "$as_me:$LINENO: result: $result" >&5
8957 echo "${ECHO_T}$result" >&6; }
8961 defaultval
=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x
"$enablestring" = xdisable
; then
8970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8972 # Check whether --enable-logwin was given.
8973 if test "${enable_logwin+set}" = set; then
8974 enableval
=$enable_logwin;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8978 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8983 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8988 eval "$wx_cv_use_logwin"
8990 if test x"$enablestring" = xdisable; then
8991 if test $wxUSE_LOGWINDOW = no; then
8997 result=$wxUSE_LOGWINDOW
9000 { echo "$as_me:$LINENO: result: $result" >&5
9001 echo "${ECHO_T}$result" >&6; }
9005 defaultval=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x"$enablestring" = xdisable; then
9014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9016 # Check whether --enable-logdialog was given.
9017 if test "${enable_logdialog+set}" = set; then
9018 enableval=$enable_logdialog;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9022 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9027 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9032 eval "$wx_cv_use_logdialog"
9034 if test x"$enablestring" = xdisable; then
9035 if test $wxUSE_LOGDIALOG = no; then
9041 result=$wxUSE_LOGDIALOG
9044 { echo "$as_me:$LINENO: result
: $result" >&5
9045 echo "${ECHO_T}$result" >&6; }
9049 defaultval=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x"$enablestring" = xdisable; then
9058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9059 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9060 # Check whether --enable-mdi was given.
9061 if test "${enable_mdi+set}" = set; then
9062 enableval=$enable_mdi;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_mdi='wxUSE_MDI=yes'
9066 wx_cv_use_mdi='wxUSE_MDI=no'
9071 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9076 eval "$wx_cv_use_mdi"
9078 if test x
"$enablestring" = xdisable
; then
9079 if test $wxUSE_MDI = no
; then
9088 { echo "$as_me:$LINENO: result: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9093 defaultval
=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x
"$enablestring" = xdisable
; then
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9104 # Check whether --enable-mdidoc was given.
9105 if test "${enable_mdidoc+set}" = set; then
9106 enableval
=$enable_mdidoc;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9110 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9115 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9120 eval "$wx_cv_use_mdidoc"
9122 if test x"$enablestring" = xdisable; then
9123 if test $wxUSE_MDI_ARCHITECTURE = no; then
9129 result=$wxUSE_MDI_ARCHITECTURE
9132 { echo "$as_me:$LINENO: result: $result" >&5
9133 echo "${ECHO_T}$result" >&6; }
9137 defaultval=$wxUSE_ALL_FEATURES
9138 if test -z "$defaultval"; then
9139 if test x"$enablestring" = xdisable; then
9146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9148 # Check whether --enable-mediactrl was given.
9149 if test "${enable_mediactrl+set}" = set; then
9150 enableval=$enable_mediactrl;
9151 if test "$enableval" = yes; then
9152 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9154 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9159 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9164 eval "$wx_cv_use_mediactrl"
9166 if test x"$enablestring" = xdisable; then
9167 if test $wxUSE_MEDIACTRL = no; then
9173 result=$wxUSE_MEDIACTRL
9176 { echo "$as_me:$LINENO: result
: $result" >&5
9177 echo "${ECHO_T}$result" >&6; }
9181 defaultval=$wxUSE_ALL_FEATURES
9182 if test -z "$defaultval"; then
9183 if test x"$enablestring" = xdisable; then
9190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9191 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9192 # Check whether --enable-gstreamer8 was given.
9193 if test "${enable_gstreamer8+set}" = set; then
9194 enableval=$enable_gstreamer8;
9195 if test "$enableval" = yes; then
9196 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9198 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9203 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9208 eval "$wx_cv_use_gstreamer8"
9210 if test x
"$enablestring" = xdisable
; then
9211 if test $wxUSE_GSTREAMER8 = no
; then
9217 result
=$wxUSE_GSTREAMER8
9220 { echo "$as_me:$LINENO: result: $result" >&5
9221 echo "${ECHO_T}$result" >&6; }
9225 defaultval
=$wxUSE_ALL_FEATURES
9226 if test -z "$defaultval"; then
9227 if test x
"$enablestring" = xdisable
; then
9234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9235 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9236 # Check whether --enable-webkit was given.
9237 if test "${enable_webkit+set}" = set; then
9238 enableval
=$enable_webkit;
9239 if test "$enableval" = yes; then
9240 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9242 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9247 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9252 eval "$wx_cv_use_webkit"
9254 if test x"$enablestring" = xdisable; then
9255 if test $wxUSE_WEBKIT = no; then
9261 result=$wxUSE_WEBKIT
9264 { echo "$as_me:$LINENO: result: $result" >&5
9265 echo "${ECHO_T}$result" >&6; }
9269 defaultval=$wxUSE_ALL_FEATURES
9270 if test -z "$defaultval"; then
9271 if test x"$enablestring" = xdisable; then
9278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9279 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9280 # Check whether --enable-richtext was given.
9281 if test "${enable_richtext+set}" = set; then
9282 enableval=$enable_richtext;
9283 if test "$enableval" = yes; then
9284 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9286 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9291 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9296 eval "$wx_cv_use_richtext"
9298 if test x"$enablestring" = xdisable; then
9299 if test $wxUSE_RICHTEXT = no; then
9305 result=$wxUSE_RICHTEXT
9308 { echo "$as_me:$LINENO: result
: $result" >&5
9309 echo "${ECHO_T}$result" >&6; }
9313 defaultval=$wxUSE_ALL_FEATURES
9314 if test -z "$defaultval"; then
9315 if test x"$enablestring" = xdisable; then
9322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9323 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9324 # Check whether --enable-postscript was given.
9325 if test "${enable_postscript+set}" = set; then
9326 enableval=$enable_postscript;
9327 if test "$enableval" = yes; then
9328 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9330 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9335 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9340 eval "$wx_cv_use_postscript"
9342 if test x
"$enablestring" = xdisable
; then
9343 if test $wxUSE_POSTSCRIPT = no
; then
9349 result
=$wxUSE_POSTSCRIPT
9352 { echo "$as_me:$LINENO: result: $result" >&5
9353 echo "${ECHO_T}$result" >&6; }
9357 defaultval
=$wxUSE_ALL_FEATURES
9358 if test -z "$defaultval"; then
9359 if test x
"$enablestring" = xdisable
; then
9366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9368 # Check whether --enable-printarch was given.
9369 if test "${enable_printarch+set}" = set; then
9370 enableval
=$enable_printarch;
9371 if test "$enableval" = yes; then
9372 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9374 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9379 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9384 eval "$wx_cv_use_printarch"
9386 if test x"$enablestring" = xdisable; then
9387 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9393 result=$wxUSE_PRINTING_ARCHITECTURE
9396 { echo "$as_me:$LINENO: result: $result" >&5
9397 echo "${ECHO_T}$result" >&6; }
9401 defaultval=$wxUSE_ALL_FEATURES
9402 if test -z "$defaultval"; then
9403 if test x"$enablestring" = xdisable; then
9410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9412 # Check whether --enable-svg was given.
9413 if test "${enable_svg+set}" = set; then
9414 enableval=$enable_svg;
9415 if test "$enableval" = yes; then
9416 wx_cv_use_svg='wxUSE_SVG
=yes'
9418 wx_cv_use_svg='wxUSE_SVG
=no
'
9423 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9428 eval "$wx_cv_use_svg"
9430 if test x"$enablestring" = xdisable; then
9431 if test $wxUSE_SVG = no; then
9440 { echo "$as_me:$LINENO: result
: $result" >&5
9441 echo "${ECHO_T}$result" >&6; }
9444 if test "$wxUSE_MAC" != 1; then
9447 defaultval=$wxUSE_ALL_FEATURES
9448 if test -z "$defaultval"; then
9449 if test x"$enablestring" = xdisable; then
9456 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9457 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9458 # Check whether --enable-graphics_ctx was given.
9459 if test "${enable_graphics_ctx+set}" = set; then
9460 enableval=$enable_graphics_ctx;
9461 if test "$enableval" = yes; then
9462 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9464 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9469 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9474 eval "$wx_cv_use_graphics_ctx"
9476 if test x
"$enablestring" = xdisable
; then
9477 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9483 result
=$wxUSE_GRAPHICS_CONTEXT
9486 { echo "$as_me:$LINENO: result: $result" >&5
9487 echo "${ECHO_T}$result" >&6; }
9494 defaultval
=$wxUSE_ALL_FEATURES
9495 if test -z "$defaultval"; then
9496 if test x
"$enablestring" = xdisable
; then
9503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9505 # Check whether --enable-clipboard was given.
9506 if test "${enable_clipboard+set}" = set; then
9507 enableval
=$enable_clipboard;
9508 if test "$enableval" = yes; then
9509 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9511 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9516 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9521 eval "$wx_cv_use_clipboard"
9523 if test x"$enablestring" = xdisable; then
9524 if test $wxUSE_CLIPBOARD = no; then
9530 result=$wxUSE_CLIPBOARD
9533 { echo "$as_me:$LINENO: result: $result" >&5
9534 echo "${ECHO_T}$result" >&6; }
9538 defaultval=$wxUSE_ALL_FEATURES
9539 if test -z "$defaultval"; then
9540 if test x"$enablestring" = xdisable; then
9547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9549 # Check whether --enable-dnd was given.
9550 if test "${enable_dnd+set}" = set; then
9551 enableval=$enable_dnd;
9552 if test "$enableval" = yes; then
9553 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9555 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9560 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9565 eval "$wx_cv_use_dnd"
9567 if test x"$enablestring" = xdisable; then
9568 if test $wxUSE_DRAG_AND_DROP = no; then
9574 result=$wxUSE_DRAG_AND_DROP
9577 { echo "$as_me:$LINENO: result
: $result" >&5
9578 echo "${ECHO_T}$result" >&6; }
9582 defaultval=$wxUSE_ALL_FEATURES
9583 if test -z "$defaultval"; then
9584 if test x"$enablestring" = xdisable; then
9591 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9592 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9593 # Check whether --enable-metafile was given.
9594 if test "${enable_metafile+set}" = set; then
9595 enableval=$enable_metafile;
9596 if test "$enableval" = yes; then
9597 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9599 wx_cv_use_metafile='wxUSE_METAFILE=no'
9604 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9609 eval "$wx_cv_use_metafile"
9611 if test x
"$enablestring" = xdisable
; then
9612 if test $wxUSE_METAFILE = no
; then
9618 result
=$wxUSE_METAFILE
9621 { echo "$as_me:$LINENO: result: $result" >&5
9622 echo "${ECHO_T}$result" >&6; }
9626 DEFAULT_wxUSE_CONTROLS
=none
9628 enablestring
=disable
9630 if test -z "$defaultval"; then
9631 if test x
"$enablestring" = xdisable
; then
9638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9640 # Check whether --enable-controls was given.
9641 if test "${enable_controls+set}" = set; then
9642 enableval
=$enable_controls;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9646 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9651 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9656 eval "$wx_cv_use_controls"
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_CONTROLS = no; then
9665 result=$wxUSE_CONTROLS
9668 { echo "$as_me:$LINENO: result: $result" >&5
9669 echo "${ECHO_T}$result" >&6; }
9672 if test "$wxUSE_CONTROLS" = "no"; then
9673 DEFAULT_wxUSE_ACCEL=no
9674 DEFAULT_wxUSE_ANIMATIONCTRL=no
9675 DEFAULT_wxUSE_BMPBUTTON=no
9676 DEFAULT_wxUSE_BUTTON=no
9677 DEFAULT_wxUSE_CALCTRL=no
9678 DEFAULT_wxUSE_CARET=no
9679 DEFAULT_wxUSE_CHECKBOX=no
9680 DEFAULT_wxUSE_CHECKLISTBOX=no
9681 DEFAULT_wxUSE_CHOICE=no
9682 DEFAULT_wxUSE_CHOICEBOOK=no
9683 DEFAULT_wxUSE_COLLPANE=no
9684 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9685 DEFAULT_wxUSE_COMBOBOX=no
9686 DEFAULT_wxUSE_COMBOBOX=no
9687 DEFAULT_wxUSE_DATAVIEWCTRL=no
9688 DEFAULT_wxUSE_DATEPICKCTRL=no
9689 DEFAULT_wxUSE_DETECT_SM=no
9690 DEFAULT_wxUSE_DIRPICKERCTRL=no
9691 DEFAULT_wxUSE_DISPLAY=no
9692 DEFAULT_wxUSE_FILECTRL=no
9693 DEFAULT_wxUSE_FILEPICKERCTRL=no
9694 DEFAULT_wxUSE_FONTPICKERCTRL=no
9695 DEFAULT_wxUSE_GAUGE=no
9696 DEFAULT_wxUSE_GRID=no
9697 DEFAULT_wxUSE_HEADERCTRL=no
9698 DEFAULT_wxUSE_HYPERLINKCTRL=no
9699 DEFAULT_wxUSE_IMAGLIST=no
9700 DEFAULT_wxUSE_LISTBOOK=no
9701 DEFAULT_wxUSE_LISTBOX=no
9702 DEFAULT_wxUSE_LISTCTRL=no
9703 DEFAULT_wxUSE_NOTEBOOK=no
9704 DEFAULT_wxUSE_POPUPWIN=no
9705 DEFAULT_wxUSE_RADIOBOX=no
9706 DEFAULT_wxUSE_RADIOBTN=no
9707 DEFAULT_wxUSE_REARRANGECTRL=no
9708 DEFAULT_wxUSE_SASH=no
9709 DEFAULT_wxUSE_SCROLLBAR=no
9710 DEFAULT_wxUSE_SEARCHCTRL=no
9711 DEFAULT_wxUSE_SLIDER=no
9712 DEFAULT_wxUSE_SPINBTN=no
9713 DEFAULT_wxUSE_SPINCTRL=no
9714 DEFAULT_wxUSE_SPLITTER=no
9715 DEFAULT_wxUSE_STATBMP=no
9716 DEFAULT_wxUSE_STATBOX=no
9717 DEFAULT_wxUSE_STATLINE=no
9718 DEFAULT_wxUSE_STATUSBAR=no
9719 DEFAULT_wxUSE_TIPWINDOW=no
9720 DEFAULT_wxUSE_TOGGLEBTN=no
9721 DEFAULT_wxUSE_TOOLBAR=no
9722 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9723 DEFAULT_wxUSE_TOOLBOOK=no
9724 DEFAULT_wxUSE_TOOLTIPS=no
9725 DEFAULT_wxUSE_TREEBOOK=no
9726 DEFAULT_wxUSE_TREECTRL=no
9731 defaultval=$wxUSE_ALL_FEATURES
9732 if test -z "$defaultval"; then
9733 if test x"$enablestring" = xdisable; then
9740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9741 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9742 # Check whether --enable-accel was given.
9743 if test "${enable_accel+set}" = set; then
9744 enableval=$enable_accel;
9745 if test "$enableval" = yes; then
9746 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9748 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9753 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9758 eval "$wx_cv_use_accel"
9760 if test x"$enablestring" = xdisable; then
9761 if test $wxUSE_ACCEL = no; then
9770 { echo "$as_me:$LINENO: result
: $result" >&5
9771 echo "${ECHO_T}$result" >&6; }
9775 defaultval=$wxUSE_ALL_FEATURES
9776 if test -z "$defaultval"; then
9777 if test x"$enablestring" = xdisable; then
9784 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9785 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9786 # Check whether --enable-animatectrl was given.
9787 if test "${enable_animatectrl+set}" = set; then
9788 enableval=$enable_animatectrl;
9789 if test "$enableval" = yes; then
9790 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9792 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9797 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9802 eval "$wx_cv_use_animatectrl"
9804 if test x
"$enablestring" = xdisable
; then
9805 if test $wxUSE_ANIMATIONCTRL = no
; then
9811 result
=$wxUSE_ANIMATIONCTRL
9814 { echo "$as_me:$LINENO: result: $result" >&5
9815 echo "${ECHO_T}$result" >&6; }
9819 defaultval
=$wxUSE_ALL_FEATURES
9820 if test -z "$defaultval"; then
9821 if test x
"$enablestring" = xdisable
; then
9828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9829 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9830 # Check whether --enable-bmpbutton was given.
9831 if test "${enable_bmpbutton+set}" = set; then
9832 enableval
=$enable_bmpbutton;
9833 if test "$enableval" = yes; then
9834 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9836 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9841 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9846 eval "$wx_cv_use_bmpbutton"
9848 if test x"$enablestring" = xdisable; then
9849 if test $wxUSE_BMPBUTTON = no; then
9855 result=$wxUSE_BMPBUTTON
9858 { echo "$as_me:$LINENO: result: $result" >&5
9859 echo "${ECHO_T}$result" >&6; }
9863 defaultval=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9874 # Check whether --enable-bmpcombobox was given.
9875 if test "${enable_bmpcombobox+set}" = set; then
9876 enableval=$enable_bmpcombobox;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9880 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9885 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9890 eval "$wx_cv_use_bmpcombobox"
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_BITMAPCOMBOBOX = no; then
9899 result=$wxUSE_BITMAPCOMBOBOX
9902 { echo "$as_me:$LINENO: result
: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9916 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9917 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9918 # Check whether --enable-button was given.
9919 if test "${enable_button+set}" = set; then
9920 enableval=$enable_button;
9921 if test "$enableval" = yes; then
9922 wx_cv_use_button='wxUSE_BUTTON=yes'
9924 wx_cv_use_button='wxUSE_BUTTON=no'
9929 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9934 eval "$wx_cv_use_button"
9936 if test x
"$enablestring" = xdisable
; then
9937 if test $wxUSE_BUTTON = no
; then
9943 result
=$wxUSE_BUTTON
9946 { echo "$as_me:$LINENO: result: $result" >&5
9947 echo "${ECHO_T}$result" >&6; }
9951 defaultval
=$wxUSE_ALL_FEATURES
9952 if test -z "$defaultval"; then
9953 if test x
"$enablestring" = xdisable
; then
9960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9962 # Check whether --enable-calendar was given.
9963 if test "${enable_calendar+set}" = set; then
9964 enableval
=$enable_calendar;
9965 if test "$enableval" = yes; then
9966 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9968 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9973 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9978 eval "$wx_cv_use_calendar"
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_CALCTRL = no; then
9987 result=$wxUSE_CALCTRL
9990 { echo "$as_me:$LINENO: result: $result" >&5
9991 echo "${ECHO_T}$result" >&6; }
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10006 # Check whether --enable-caret was given.
10007 if test "${enable_caret+set}" = set; then
10008 enableval=$enable_caret;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_caret='wxUSE_CARET
=yes'
10012 wx_cv_use_caret='wxUSE_CARET
=no
'
10017 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10022 eval "$wx_cv_use_caret"
10024 if test x"$enablestring" = xdisable; then
10025 if test $wxUSE_CARET = no; then
10031 result=$wxUSE_CARET
10034 { echo "$as_me:$LINENO: result
: $result" >&5
10035 echo "${ECHO_T}$result" >&6; }
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10048 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
10049 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
10050 # Check whether --enable-checkbox was given.
10051 if test "${enable_checkbox+set}" = set; then
10052 enableval=$enable_checkbox;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10056 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10061 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10066 eval "$wx_cv_use_checkbox"
10068 if test x
"$enablestring" = xdisable
; then
10069 if test $wxUSE_CHECKBOX = no
; then
10075 result
=$wxUSE_CHECKBOX
10078 { echo "$as_me:$LINENO: result: $result" >&5
10079 echo "${ECHO_T}$result" >&6; }
10083 defaultval
=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x
"$enablestring" = xdisable
; then
10092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10094 # Check whether --enable-checklst was given.
10095 if test "${enable_checklst+set}" = set; then
10096 enableval
=$enable_checklst;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10100 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10105 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10110 eval "$wx_cv_use_checklst"
10112 if test x"$enablestring" = xdisable; then
10113 if test $wxUSE_CHECKLST = no; then
10119 result=$wxUSE_CHECKLST
10122 { echo "$as_me:$LINENO: result: $result" >&5
10123 echo "${ECHO_T}$result" >&6; }
10127 defaultval=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x"$enablestring" = xdisable; then
10136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10138 # Check whether --enable-choice was given.
10139 if test "${enable_choice+set}" = set; then
10140 enableval=$enable_choice;
10141 if test "$enableval" = yes; then
10142 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10144 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10149 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10154 eval "$wx_cv_use_choice"
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_CHOICE = no; then
10163 result=$wxUSE_CHOICE
10166 { echo "$as_me:$LINENO: result
: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10180 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10181 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10182 # Check whether --enable-choicebook was given.
10183 if test "${enable_choicebook+set}" = set; then
10184 enableval=$enable_choicebook;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10188 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10193 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10198 eval "$wx_cv_use_choicebook"
10200 if test x
"$enablestring" = xdisable
; then
10201 if test $wxUSE_CHOICEBOOK = no
; then
10207 result
=$wxUSE_CHOICEBOOK
10210 { echo "$as_me:$LINENO: result: $result" >&5
10211 echo "${ECHO_T}$result" >&6; }
10215 defaultval
=$wxUSE_ALL_FEATURES
10216 if test -z "$defaultval"; then
10217 if test x
"$enablestring" = xdisable
; then
10224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10226 # Check whether --enable-collpane was given.
10227 if test "${enable_collpane+set}" = set; then
10228 enableval
=$enable_collpane;
10229 if test "$enableval" = yes; then
10230 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10232 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10237 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10242 eval "$wx_cv_use_collpane"
10244 if test x"$enablestring" = xdisable; then
10245 if test $wxUSE_COLLPANE = no; then
10251 result=$wxUSE_COLLPANE
10254 { echo "$as_me:$LINENO: result: $result" >&5
10255 echo "${ECHO_T}$result" >&6; }
10259 defaultval=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x"$enablestring" = xdisable; then
10268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10269 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10270 # Check whether --enable-colourpicker was given.
10271 if test "${enable_colourpicker+set}" = set; then
10272 enableval=$enable_colourpicker;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10276 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10281 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10286 eval "$wx_cv_use_colourpicker"
10288 if test x"$enablestring" = xdisable; then
10289 if test $wxUSE_COLOURPICKERCTRL = no; then
10295 result=$wxUSE_COLOURPICKERCTRL
10298 { echo "$as_me:$LINENO: result
: $result" >&5
10299 echo "${ECHO_T}$result" >&6; }
10303 defaultval=$wxUSE_ALL_FEATURES
10304 if test -z "$defaultval"; then
10305 if test x"$enablestring" = xdisable; then
10312 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10313 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10314 # Check whether --enable-combobox was given.
10315 if test "${enable_combobox+set}" = set; then
10316 enableval=$enable_combobox;
10317 if test "$enableval" = yes; then
10318 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10320 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10325 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10330 eval "$wx_cv_use_combobox"
10332 if test x
"$enablestring" = xdisable
; then
10333 if test $wxUSE_COMBOBOX = no
; then
10339 result
=$wxUSE_COMBOBOX
10342 { echo "$as_me:$LINENO: result: $result" >&5
10343 echo "${ECHO_T}$result" >&6; }
10347 defaultval
=$wxUSE_ALL_FEATURES
10348 if test -z "$defaultval"; then
10349 if test x
"$enablestring" = xdisable
; then
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10358 # Check whether --enable-comboctrl was given.
10359 if test "${enable_comboctrl+set}" = set; then
10360 enableval
=$enable_comboctrl;
10361 if test "$enableval" = yes; then
10362 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10364 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10369 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10374 eval "$wx_cv_use_comboctrl"
10376 if test x"$enablestring" = xdisable; then
10377 if test $wxUSE_COMBOCTRL = no; then
10383 result=$wxUSE_COMBOCTRL
10386 { echo "$as_me:$LINENO: result: $result" >&5
10387 echo "${ECHO_T}$result" >&6; }
10391 defaultval=$wxUSE_ALL_FEATURES
10392 if test -z "$defaultval"; then
10393 if test x"$enablestring" = xdisable; then
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10402 # Check whether --enable-dataviewctrl was given.
10403 if test "${enable_dataviewctrl+set}" = set; then
10404 enableval=$enable_dataviewctrl;
10405 if test "$enableval" = yes; then
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10408 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10413 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10418 eval "$wx_cv_use_dataviewctrl"
10420 if test x"$enablestring" = xdisable; then
10421 if test $wxUSE_DATAVIEWCTRL = no; then
10427 result=$wxUSE_DATAVIEWCTRL
10430 { echo "$as_me:$LINENO: result
: $result" >&5
10431 echo "${ECHO_T}$result" >&6; }
10435 defaultval=$wxUSE_ALL_FEATURES
10436 if test -z "$defaultval"; then
10437 if test x"$enablestring" = xdisable; then
10444 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10445 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10446 # Check whether --enable-datepick was given.
10447 if test "${enable_datepick+set}" = set; then
10448 enableval=$enable_datepick;
10449 if test "$enableval" = yes; then
10450 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10452 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10457 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10462 eval "$wx_cv_use_datepick"
10464 if test x
"$enablestring" = xdisable
; then
10465 if test $wxUSE_DATEPICKCTRL = no
; then
10471 result
=$wxUSE_DATEPICKCTRL
10474 { echo "$as_me:$LINENO: result: $result" >&5
10475 echo "${ECHO_T}$result" >&6; }
10479 defaultval
=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x
"$enablestring" = xdisable
; then
10488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10489 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10490 # Check whether --enable-detect_sm was given.
10491 if test "${enable_detect_sm+set}" = set; then
10492 enableval
=$enable_detect_sm;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10496 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10501 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10506 eval "$wx_cv_use_detect_sm"
10508 if test x"$enablestring" = xdisable; then
10509 if test $wxUSE_DETECT_SM = no; then
10515 result=$wxUSE_DETECT_SM
10518 { echo "$as_me:$LINENO: result: $result" >&5
10519 echo "${ECHO_T}$result" >&6; }
10523 defaultval=$wxUSE_ALL_FEATURES
10524 if test -z "$defaultval"; then
10525 if test x"$enablestring" = xdisable; then
10532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10533 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10534 # Check whether --enable-dirpicker was given.
10535 if test "${enable_dirpicker+set}" = set; then
10536 enableval=$enable_dirpicker;
10537 if test "$enableval" = yes; then
10538 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10540 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10545 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10550 eval "$wx_cv_use_dirpicker"
10552 if test x"$enablestring" = xdisable; then
10553 if test $wxUSE_DIRPICKERCTRL = no; then
10559 result=$wxUSE_DIRPICKERCTRL
10562 { echo "$as_me:$LINENO: result
: $result" >&5
10563 echo "${ECHO_T}$result" >&6; }
10567 defaultval=$wxUSE_ALL_FEATURES
10568 if test -z "$defaultval"; then
10569 if test x"$enablestring" = xdisable; then
10576 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10577 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10578 # Check whether --enable-display was given.
10579 if test "${enable_display+set}" = set; then
10580 enableval=$enable_display;
10581 if test "$enableval" = yes; then
10582 wx_cv_use_display='wxUSE_DISPLAY=yes'
10584 wx_cv_use_display='wxUSE_DISPLAY=no'
10589 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10594 eval "$wx_cv_use_display"
10596 if test x
"$enablestring" = xdisable
; then
10597 if test $wxUSE_DISPLAY = no
; then
10603 result
=$wxUSE_DISPLAY
10606 { echo "$as_me:$LINENO: result: $result" >&5
10607 echo "${ECHO_T}$result" >&6; }
10611 defaultval
=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x
"$enablestring" = xdisable
; then
10620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10621 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10622 # Check whether --enable-editablebox was given.
10623 if test "${enable_editablebox+set}" = set; then
10624 enableval
=$enable_editablebox;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10628 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10633 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10638 eval "$wx_cv_use_editablebox"
10640 if test x"$enablestring" = xdisable; then
10641 if test $wxUSE_EDITABLELISTBOX = no; then
10647 result=$wxUSE_EDITABLELISTBOX
10650 { echo "$as_me:$LINENO: result: $result" >&5
10651 echo "${ECHO_T}$result" >&6; }
10655 defaultval=$wxUSE_ALL_FEATURES
10656 if test -z "$defaultval"; then
10657 if test x"$enablestring" = xdisable; then
10664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10666 # Check whether --enable-filectrl was given.
10667 if test "${enable_filectrl+set}" = set; then
10668 enableval=$enable_filectrl;
10669 if test "$enableval" = yes; then
10670 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10672 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10677 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10682 eval "$wx_cv_use_filectrl"
10684 if test x"$enablestring" = xdisable; then
10685 if test $wxUSE_FILECTRL = no; then
10691 result=$wxUSE_FILECTRL
10694 { echo "$as_me:$LINENO: result
: $result" >&5
10695 echo "${ECHO_T}$result" >&6; }
10699 defaultval=$wxUSE_ALL_FEATURES
10700 if test -z "$defaultval"; then
10701 if test x"$enablestring" = xdisable; then
10708 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10709 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10710 # Check whether --enable-filepicker was given.
10711 if test "${enable_filepicker+set}" = set; then
10712 enableval=$enable_filepicker;
10713 if test "$enableval" = yes; then
10714 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10716 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10721 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10726 eval "$wx_cv_use_filepicker"
10728 if test x
"$enablestring" = xdisable
; then
10729 if test $wxUSE_FILEPICKERCTRL = no
; then
10735 result
=$wxUSE_FILEPICKERCTRL
10738 { echo "$as_me:$LINENO: result: $result" >&5
10739 echo "${ECHO_T}$result" >&6; }
10743 defaultval
=$wxUSE_ALL_FEATURES
10744 if test -z "$defaultval"; then
10745 if test x
"$enablestring" = xdisable
; then
10752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10754 # Check whether --enable-fontpicker was given.
10755 if test "${enable_fontpicker+set}" = set; then
10756 enableval
=$enable_fontpicker;
10757 if test "$enableval" = yes; then
10758 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10760 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10765 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10770 eval "$wx_cv_use_fontpicker"
10772 if test x"$enablestring" = xdisable; then
10773 if test $wxUSE_FONTPICKERCTRL = no; then
10779 result=$wxUSE_FONTPICKERCTRL
10782 { echo "$as_me:$LINENO: result: $result" >&5
10783 echo "${ECHO_T}$result" >&6; }
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10798 # Check whether --enable-gauge was given.
10799 if test "${enable_gauge+set}" = set; then
10800 enableval=$enable_gauge;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10804 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10809 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10814 eval "$wx_cv_use_gauge"
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_GAUGE = no; then
10823 result=$wxUSE_GAUGE
10826 { echo "$as_me:$LINENO: result
: $result" >&5
10827 echo "${ECHO_T}$result" >&6; }
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10840 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10841 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10842 # Check whether --enable-grid was given.
10843 if test "${enable_grid+set}" = set; then
10844 enableval=$enable_grid;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_grid='wxUSE_GRID=yes'
10848 wx_cv_use_grid='wxUSE_GRID=no'
10853 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10858 eval "$wx_cv_use_grid"
10860 if test x
"$enablestring" = xdisable
; then
10861 if test $wxUSE_GRID = no
; then
10870 { echo "$as_me:$LINENO: result: $result" >&5
10871 echo "${ECHO_T}$result" >&6; }
10875 defaultval
=$wxUSE_ALL_FEATURES
10876 if test -z "$defaultval"; then
10877 if test x
"$enablestring" = xdisable
; then
10884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10885 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10886 # Check whether --enable-headerctrl was given.
10887 if test "${enable_headerctrl+set}" = set; then
10888 enableval
=$enable_headerctrl;
10889 if test "$enableval" = yes; then
10890 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10892 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10897 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10902 eval "$wx_cv_use_headerctrl"
10904 if test x"$enablestring" = xdisable; then
10905 if test $wxUSE_HEADERCTRL = no; then
10911 result=$wxUSE_HEADERCTRL
10914 { echo "$as_me:$LINENO: result: $result" >&5
10915 echo "${ECHO_T}$result" >&6; }
10919 defaultval=$wxUSE_ALL_FEATURES
10920 if test -z "$defaultval"; then
10921 if test x"$enablestring" = xdisable; then
10928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10929 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10930 # Check whether --enable-hyperlink was given.
10931 if test "${enable_hyperlink+set}" = set; then
10932 enableval=$enable_hyperlink;
10933 if test "$enableval" = yes; then
10934 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10936 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10941 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10946 eval "$wx_cv_use_hyperlink"
10948 if test x"$enablestring" = xdisable; then
10949 if test $wxUSE_HYPERLINKCTRL = no; then
10955 result=$wxUSE_HYPERLINKCTRL
10958 { echo "$as_me:$LINENO: result
: $result" >&5
10959 echo "${ECHO_T}$result" >&6; }
10963 defaultval=$wxUSE_ALL_FEATURES
10964 if test -z "$defaultval"; then
10965 if test x"$enablestring" = xdisable; then
10972 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10973 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10974 # Check whether --enable-imaglist was given.
10975 if test "${enable_imaglist+set}" = set; then
10976 enableval=$enable_imaglist;
10977 if test "$enableval" = yes; then
10978 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10980 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10985 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10990 eval "$wx_cv_use_imaglist"
10992 if test x
"$enablestring" = xdisable
; then
10993 if test $wxUSE_IMAGLIST = no
; then
10999 result
=$wxUSE_IMAGLIST
11002 { echo "$as_me:$LINENO: result: $result" >&5
11003 echo "${ECHO_T}$result" >&6; }
11007 defaultval
=$wxUSE_ALL_FEATURES
11008 if test -z "$defaultval"; then
11009 if test x
"$enablestring" = xdisable
; then
11016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11017 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11018 # Check whether --enable-infobar was given.
11019 if test "${enable_infobar+set}" = set; then
11020 enableval
=$enable_infobar;
11021 if test "$enableval" = yes; then
11022 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
11024 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
11029 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11034 eval "$wx_cv_use_infobar"
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_INFOBAR = no; then
11043 result=$wxUSE_INFOBAR
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11062 # Check whether --enable-listbook was given.
11063 if test "${enable_listbook+set}" = set; then
11064 enableval=$enable_listbook;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
11068 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
11073 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11078 eval "$wx_cv_use_listbook"
11080 if test x"$enablestring" = xdisable; then
11081 if test $wxUSE_LISTBOOK = no; then
11087 result=$wxUSE_LISTBOOK
11090 { echo "$as_me:$LINENO: result
: $result" >&5
11091 echo "${ECHO_T}$result" >&6; }
11095 defaultval=$wxUSE_ALL_FEATURES
11096 if test -z "$defaultval"; then
11097 if test x"$enablestring" = xdisable; then
11104 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
11105 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
11106 # Check whether --enable-listbox was given.
11107 if test "${enable_listbox+set}" = set; then
11108 enableval=$enable_listbox;
11109 if test "$enableval" = yes; then
11110 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11112 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11117 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11122 eval "$wx_cv_use_listbox"
11124 if test x
"$enablestring" = xdisable
; then
11125 if test $wxUSE_LISTBOX = no
; then
11131 result
=$wxUSE_LISTBOX
11134 { echo "$as_me:$LINENO: result: $result" >&5
11135 echo "${ECHO_T}$result" >&6; }
11139 defaultval
=$wxUSE_ALL_FEATURES
11140 if test -z "$defaultval"; then
11141 if test x
"$enablestring" = xdisable
; then
11148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11149 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11150 # Check whether --enable-listctrl was given.
11151 if test "${enable_listctrl+set}" = set; then
11152 enableval
=$enable_listctrl;
11153 if test "$enableval" = yes; then
11154 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
11156 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
11161 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11166 eval "$wx_cv_use_listctrl"
11168 if test x"$enablestring" = xdisable; then
11169 if test $wxUSE_LISTCTRL = no; then
11175 result=$wxUSE_LISTCTRL
11178 { echo "$as_me:$LINENO: result: $result" >&5
11179 echo "${ECHO_T}$result" >&6; }
11183 defaultval=$wxUSE_ALL_FEATURES
11184 if test -z "$defaultval"; then
11185 if test x"$enablestring" = xdisable; then
11192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11193 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11194 # Check whether --enable-notebook was given.
11195 if test "${enable_notebook+set}" = set; then
11196 enableval=$enable_notebook;
11197 if test "$enableval" = yes; then
11198 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
11200 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
11205 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11210 eval "$wx_cv_use_notebook"
11212 if test x"$enablestring" = xdisable; then
11213 if test $wxUSE_NOTEBOOK = no; then
11219 result=$wxUSE_NOTEBOOK
11222 { echo "$as_me:$LINENO: result
: $result" >&5
11223 echo "${ECHO_T}$result" >&6; }
11227 defaultval=$wxUSE_ALL_FEATURES
11228 if test -z "$defaultval"; then
11229 if test x"$enablestring" = xdisable; then
11236 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
11237 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
11238 # Check whether --enable-notifmsg was given.
11239 if test "${enable_notifmsg+set}" = set; then
11240 enableval=$enable_notifmsg;
11241 if test "$enableval" = yes; then
11242 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11244 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11249 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11254 eval "$wx_cv_use_notifmsg"
11256 if test x
"$enablestring" = xdisable
; then
11257 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11263 result
=$wxUSE_NOTIFICATION_MESSAGE
11266 { echo "$as_me:$LINENO: result: $result" >&5
11267 echo "${ECHO_T}$result" >&6; }
11271 defaultval
=$wxUSE_ALL_FEATURES
11272 if test -z "$defaultval"; then
11273 if test x
"$enablestring" = xdisable
; then
11280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11281 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11282 # Check whether --enable-odcombobox was given.
11283 if test "${enable_odcombobox+set}" = set; then
11284 enableval
=$enable_odcombobox;
11285 if test "$enableval" = yes; then
11286 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11288 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11293 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11298 eval "$wx_cv_use_odcombobox"
11300 if test x"$enablestring" = xdisable; then
11301 if test $wxUSE_ODCOMBOBOX = no; then
11307 result=$wxUSE_ODCOMBOBOX
11310 { echo "$as_me:$LINENO: result: $result" >&5
11311 echo "${ECHO_T}$result" >&6; }
11315 defaultval=$wxUSE_ALL_FEATURES
11316 if test -z "$defaultval"; then
11317 if test x"$enablestring" = xdisable; then
11324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11326 # Check whether --enable-popupwin was given.
11327 if test "${enable_popupwin+set}" = set; then
11328 enableval=$enable_popupwin;
11329 if test "$enableval" = yes; then
11330 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11332 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11337 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11342 eval "$wx_cv_use_popupwin"
11344 if test x"$enablestring" = xdisable; then
11345 if test $wxUSE_POPUPWIN = no; then
11351 result=$wxUSE_POPUPWIN
11354 { echo "$as_me:$LINENO: result
: $result" >&5
11355 echo "${ECHO_T}$result" >&6; }
11359 defaultval=$wxUSE_ALL_FEATURES
11360 if test -z "$defaultval"; then
11361 if test x"$enablestring" = xdisable; then
11368 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11369 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11370 # Check whether --enable-radiobox was given.
11371 if test "${enable_radiobox+set}" = set; then
11372 enableval=$enable_radiobox;
11373 if test "$enableval" = yes; then
11374 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11376 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11381 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11386 eval "$wx_cv_use_radiobox"
11388 if test x
"$enablestring" = xdisable
; then
11389 if test $wxUSE_RADIOBOX = no
; then
11395 result
=$wxUSE_RADIOBOX
11398 { echo "$as_me:$LINENO: result: $result" >&5
11399 echo "${ECHO_T}$result" >&6; }
11403 defaultval
=$wxUSE_ALL_FEATURES
11404 if test -z "$defaultval"; then
11405 if test x
"$enablestring" = xdisable
; then
11412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11413 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11414 # Check whether --enable-radiobtn was given.
11415 if test "${enable_radiobtn+set}" = set; then
11416 enableval
=$enable_radiobtn;
11417 if test "$enableval" = yes; then
11418 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11420 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11425 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11430 eval "$wx_cv_use_radiobtn"
11432 if test x"$enablestring" = xdisable; then
11433 if test $wxUSE_RADIOBTN = no; then
11439 result=$wxUSE_RADIOBTN
11442 { echo "$as_me:$LINENO: result: $result" >&5
11443 echo "${ECHO_T}$result" >&6; }
11447 defaultval=$wxUSE_ALL_FEATURES
11448 if test -z "$defaultval"; then
11449 if test x"$enablestring" = xdisable; then
11456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11457 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11458 # Check whether --enable-rearrangectrl was given.
11459 if test "${enable_rearrangectrl+set}" = set; then
11460 enableval=$enable_rearrangectrl;
11461 if test "$enableval" = yes; then
11462 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11464 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11469 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11474 eval "$wx_cv_use_rearrangectrl"
11476 if test x"$enablestring" = xdisable; then
11477 if test $wxUSE_REARRANGECTRL = no; then
11483 result=$wxUSE_REARRANGECTRL
11486 { echo "$as_me:$LINENO: result
: $result" >&5
11487 echo "${ECHO_T}$result" >&6; }
11491 defaultval=$wxUSE_ALL_FEATURES
11492 if test -z "$defaultval"; then
11493 if test x"$enablestring" = xdisable; then
11500 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11501 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11502 # Check whether --enable-sash was given.
11503 if test "${enable_sash+set}" = set; then
11504 enableval=$enable_sash;
11505 if test "$enableval" = yes; then
11506 wx_cv_use_sash='wxUSE_SASH=yes'
11508 wx_cv_use_sash='wxUSE_SASH=no'
11513 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11518 eval "$wx_cv_use_sash"
11520 if test x
"$enablestring" = xdisable
; then
11521 if test $wxUSE_SASH = no
; then
11530 { echo "$as_me:$LINENO: result: $result" >&5
11531 echo "${ECHO_T}$result" >&6; }
11535 defaultval
=$wxUSE_ALL_FEATURES
11536 if test -z "$defaultval"; then
11537 if test x
"$enablestring" = xdisable
; then
11544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11545 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11546 # Check whether --enable-scrollbar was given.
11547 if test "${enable_scrollbar+set}" = set; then
11548 enableval
=$enable_scrollbar;
11549 if test "$enableval" = yes; then
11550 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11552 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11557 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11562 eval "$wx_cv_use_scrollbar"
11564 if test x"$enablestring" = xdisable; then
11565 if test $wxUSE_SCROLLBAR = no; then
11571 result=$wxUSE_SCROLLBAR
11574 { echo "$as_me:$LINENO: result: $result" >&5
11575 echo "${ECHO_T}$result" >&6; }
11579 defaultval=$wxUSE_ALL_FEATURES
11580 if test -z "$defaultval"; then
11581 if test x"$enablestring" = xdisable; then
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11590 # Check whether --enable-searchctrl was given.
11591 if test "${enable_searchctrl+set}" = set; then
11592 enableval=$enable_searchctrl;
11593 if test "$enableval" = yes; then
11594 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11596 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11601 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11606 eval "$wx_cv_use_searchctrl"
11608 if test x"$enablestring" = xdisable; then
11609 if test $wxUSE_SEARCHCTRL = no; then
11615 result=$wxUSE_SEARCHCTRL
11618 { echo "$as_me:$LINENO: result
: $result" >&5
11619 echo "${ECHO_T}$result" >&6; }
11623 defaultval=$wxUSE_ALL_FEATURES
11624 if test -z "$defaultval"; then
11625 if test x"$enablestring" = xdisable; then
11632 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11633 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11634 # Check whether --enable-slider was given.
11635 if test "${enable_slider+set}" = set; then
11636 enableval=$enable_slider;
11637 if test "$enableval" = yes; then
11638 wx_cv_use_slider='wxUSE_SLIDER=yes'
11640 wx_cv_use_slider='wxUSE_SLIDER=no'
11645 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11650 eval "$wx_cv_use_slider"
11652 if test x
"$enablestring" = xdisable
; then
11653 if test $wxUSE_SLIDER = no
; then
11659 result
=$wxUSE_SLIDER
11662 { echo "$as_me:$LINENO: result: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11667 defaultval
=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x
"$enablestring" = xdisable
; then
11676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11677 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11678 # Check whether --enable-spinbtn was given.
11679 if test "${enable_spinbtn+set}" = set; then
11680 enableval
=$enable_spinbtn;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11684 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11689 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11694 eval "$wx_cv_use_spinbtn"
11696 if test x"$enablestring" = xdisable; then
11697 if test $wxUSE_SPINBTN = no; then
11703 result=$wxUSE_SPINBTN
11706 { echo "$as_me:$LINENO: result: $result" >&5
11707 echo "${ECHO_T}$result" >&6; }
11711 defaultval=$wxUSE_ALL_FEATURES
11712 if test -z "$defaultval"; then
11713 if test x"$enablestring" = xdisable; then
11720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11721 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11722 # Check whether --enable-spinctrl was given.
11723 if test "${enable_spinctrl+set}" = set; then
11724 enableval=$enable_spinctrl;
11725 if test "$enableval" = yes; then
11726 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11728 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11733 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11738 eval "$wx_cv_use_spinctrl"
11740 if test x"$enablestring" = xdisable; then
11741 if test $wxUSE_SPINCTRL = no; then
11747 result=$wxUSE_SPINCTRL
11750 { echo "$as_me:$LINENO: result
: $result" >&5
11751 echo "${ECHO_T}$result" >&6; }
11755 defaultval=$wxUSE_ALL_FEATURES
11756 if test -z "$defaultval"; then
11757 if test x"$enablestring" = xdisable; then
11764 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11765 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11766 # Check whether --enable-splitter was given.
11767 if test "${enable_splitter+set}" = set; then
11768 enableval=$enable_splitter;
11769 if test "$enableval" = yes; then
11770 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11772 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11777 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11782 eval "$wx_cv_use_splitter"
11784 if test x
"$enablestring" = xdisable
; then
11785 if test $wxUSE_SPLITTER = no
; then
11791 result
=$wxUSE_SPLITTER
11794 { echo "$as_me:$LINENO: result: $result" >&5
11795 echo "${ECHO_T}$result" >&6; }
11799 defaultval
=$wxUSE_ALL_FEATURES
11800 if test -z "$defaultval"; then
11801 if test x
"$enablestring" = xdisable
; then
11808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11809 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11810 # Check whether --enable-statbmp was given.
11811 if test "${enable_statbmp+set}" = set; then
11812 enableval
=$enable_statbmp;
11813 if test "$enableval" = yes; then
11814 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11816 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11821 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11826 eval "$wx_cv_use_statbmp"
11828 if test x"$enablestring" = xdisable; then
11829 if test $wxUSE_STATBMP = no; then
11835 result=$wxUSE_STATBMP
11838 { echo "$as_me:$LINENO: result: $result" >&5
11839 echo "${ECHO_T}$result" >&6; }
11843 defaultval=$wxUSE_ALL_FEATURES
11844 if test -z "$defaultval"; then
11845 if test x"$enablestring" = xdisable; then
11852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11853 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11854 # Check whether --enable-statbox was given.
11855 if test "${enable_statbox+set}" = set; then
11856 enableval=$enable_statbox;
11857 if test "$enableval" = yes; then
11858 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11860 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11865 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11870 eval "$wx_cv_use_statbox"
11872 if test x"$enablestring" = xdisable; then
11873 if test $wxUSE_STATBOX = no; then
11879 result=$wxUSE_STATBOX
11882 { echo "$as_me:$LINENO: result
: $result" >&5
11883 echo "${ECHO_T}$result" >&6; }
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11896 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11897 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11898 # Check whether --enable-statline was given.
11899 if test "${enable_statline+set}" = set; then
11900 enableval=$enable_statline;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_statline='wxUSE_STATLINE=yes'
11904 wx_cv_use_statline='wxUSE_STATLINE=no'
11909 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11914 eval "$wx_cv_use_statline"
11916 if test x
"$enablestring" = xdisable
; then
11917 if test $wxUSE_STATLINE = no
; then
11923 result
=$wxUSE_STATLINE
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11931 defaultval
=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x
"$enablestring" = xdisable
; then
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11942 # Check whether --enable-stattext was given.
11943 if test "${enable_stattext+set}" = set; then
11944 enableval
=$enable_stattext;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11948 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11953 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11958 eval "$wx_cv_use_stattext"
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_STATTEXT = no; then
11967 result=$wxUSE_STATTEXT
11970 { echo "$as_me:$LINENO: result: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11986 # Check whether --enable-statusbar was given.
11987 if test "${enable_statusbar+set}" = set; then
11988 enableval=$enable_statusbar;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11992 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11997 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12002 eval "$wx_cv_use_statusbar"
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_STATUSBAR = no; then
12011 result=$wxUSE_STATUSBAR
12014 { echo "$as_me:$LINENO: result
: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12028 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12029 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12030 # Check whether --enable-taskbaricon was given.
12031 if test "${enable_taskbaricon+set}" = set; then
12032 enableval=$enable_taskbaricon;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12036 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12041 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12046 eval "$wx_cv_use_taskbaricon"
12048 if test x
"$enablestring" = xdisable
; then
12049 if test $wxUSE_TASKBARICON = no
; then
12055 result
=$wxUSE_TASKBARICON
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12063 defaultval
=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x
"$enablestring" = xdisable
; then
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12074 # Check whether --enable-tbarnative was given.
12075 if test "${enable_tbarnative+set}" = set; then
12076 enableval
=$enable_tbarnative;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12080 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12085 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12090 eval "$wx_cv_use_tbarnative"
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_TOOLBAR_NATIVE = no; then
12099 result=$wxUSE_TOOLBAR_NATIVE
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12118 # Check whether --enable-textctrl was given.
12119 if test "${enable_textctrl+set}" = set; then
12120 enableval=$enable_textctrl;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12124 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12129 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12134 eval "$wx_cv_use_textctrl"
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_TEXTCTRL = no; then
12143 result=$wxUSE_TEXTCTRL
12146 { echo "$as_me:$LINENO: result
: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12160 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12161 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12162 # Check whether --enable-tipwindow was given.
12163 if test "${enable_tipwindow+set}" = set; then
12164 enableval=$enable_tipwindow;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12168 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12173 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12178 eval "$wx_cv_use_tipwindow"
12180 if test x
"$enablestring" = xdisable
; then
12181 if test $wxUSE_TIPWINDOW = no
; then
12187 result
=$wxUSE_TIPWINDOW
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12195 defaultval
=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x
"$enablestring" = xdisable
; then
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12206 # Check whether --enable-togglebtn was given.
12207 if test "${enable_togglebtn+set}" = set; then
12208 enableval
=$enable_togglebtn;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12212 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12217 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12222 eval "$wx_cv_use_togglebtn"
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_TOGGLEBTN = no; then
12231 result=$wxUSE_TOGGLEBTN
12234 { echo "$as_me:$LINENO: result: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12250 # Check whether --enable-toolbar was given.
12251 if test "${enable_toolbar+set}" = set; then
12252 enableval=$enable_toolbar;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12256 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12261 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12266 eval "$wx_cv_use_toolbar"
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_TOOLBAR = no; then
12275 result=$wxUSE_TOOLBAR
12278 { echo "$as_me:$LINENO: result
: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12293 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12294 # Check whether --enable-toolbook was given.
12295 if test "${enable_toolbook+set}" = set; then
12296 enableval=$enable_toolbook;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12300 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12305 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12310 eval "$wx_cv_use_toolbook"
12312 if test x
"$enablestring" = xdisable
; then
12313 if test $wxUSE_TOOLBOOK = no
; then
12319 result
=$wxUSE_TOOLBOOK
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12327 defaultval
=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x
"$enablestring" = xdisable
; then
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12338 # Check whether --enable-treebook was given.
12339 if test "${enable_treebook+set}" = set; then
12340 enableval
=$enable_treebook;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12344 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12349 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12354 eval "$wx_cv_use_treebook"
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_TREEBOOK = no; then
12363 result=$wxUSE_TREEBOOK
12366 { echo "$as_me:$LINENO: result: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12382 # Check whether --enable-treectrl was given.
12383 if test "${enable_treectrl+set}" = set; then
12384 enableval=$enable_treectrl;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12388 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12393 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12398 eval "$wx_cv_use_treectrl"
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TREECTRL = no; then
12407 result=$wxUSE_TREECTRL
12410 { echo "$as_me:$LINENO: result
: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12417 defaultval=$wxUSE_ALL_FEATURES
12418 if test -z "$defaultval"; then
12419 if test x"$enablestring" = xdisable; then
12426 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12427 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12428 # Check whether --enable-commondlg was given.
12429 if test "${enable_commondlg+set}" = set; then
12430 enableval=$enable_commondlg;
12431 if test "$enableval" = yes; then
12432 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12434 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12439 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12444 eval "$wx_cv_use_commondlg"
12446 if test x
"$enablestring" = xdisable
; then
12447 if test $wxUSE_COMMONDLGS = no
; then
12453 result
=$wxUSE_COMMONDLGS
12456 { echo "$as_me:$LINENO: result: $result" >&5
12457 echo "${ECHO_T}$result" >&6; }
12461 defaultval
=$wxUSE_ALL_FEATURES
12462 if test -z "$defaultval"; then
12463 if test x
"$enablestring" = xdisable
; then
12470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12471 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12472 # Check whether --enable-aboutdlg was given.
12473 if test "${enable_aboutdlg+set}" = set; then
12474 enableval
=$enable_aboutdlg;
12475 if test "$enableval" = yes; then
12476 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12478 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12483 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12488 eval "$wx_cv_use_aboutdlg"
12490 if test x"$enablestring" = xdisable; then
12491 if test $wxUSE_ABOUTDLG = no; then
12497 result=$wxUSE_ABOUTDLG
12500 { echo "$as_me:$LINENO: result: $result" >&5
12501 echo "${ECHO_T}$result" >&6; }
12505 defaultval=$wxUSE_ALL_FEATURES
12506 if test -z "$defaultval"; then
12507 if test x"$enablestring" = xdisable; then
12514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12515 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12516 # Check whether --enable-choicedlg was given.
12517 if test "${enable_choicedlg+set}" = set; then
12518 enableval=$enable_choicedlg;
12519 if test "$enableval" = yes; then
12520 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12522 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12527 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12532 eval "$wx_cv_use_choicedlg"
12534 if test x"$enablestring" = xdisable; then
12535 if test $wxUSE_CHOICEDLG = no; then
12541 result=$wxUSE_CHOICEDLG
12544 { echo "$as_me:$LINENO: result
: $result" >&5
12545 echo "${ECHO_T}$result" >&6; }
12549 defaultval=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x"$enablestring" = xdisable; then
12558 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12559 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12560 # Check whether --enable-coldlg was given.
12561 if test "${enable_coldlg+set}" = set; then
12562 enableval=$enable_coldlg;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12566 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12571 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12576 eval "$wx_cv_use_coldlg"
12578 if test x
"$enablestring" = xdisable
; then
12579 if test $wxUSE_COLOURDLG = no
; then
12585 result
=$wxUSE_COLOURDLG
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12593 defaultval
=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x
"$enablestring" = xdisable
; then
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12604 # Check whether --enable-filedlg was given.
12605 if test "${enable_filedlg+set}" = set; then
12606 enableval
=$enable_filedlg;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12610 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12615 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12620 eval "$wx_cv_use_filedlg"
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_FILEDLG = no; then
12629 result=$wxUSE_FILEDLG
12632 { echo "$as_me:$LINENO: result: $result" >&5
12633 echo "${ECHO_T}$result" >&6; }
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12647 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12648 # Check whether --enable-finddlg was given.
12649 if test "${enable_finddlg+set}" = set; then
12650 enableval=$enable_finddlg;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12654 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12659 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12664 eval "$wx_cv_use_finddlg"
12666 if test x"$enablestring" = xdisable; then
12667 if test $wxUSE_FINDREPLDLG = no; then
12673 result=$wxUSE_FINDREPLDLG
12676 { echo "$as_me:$LINENO: result
: $result" >&5
12677 echo "${ECHO_T}$result" >&6; }
12681 defaultval=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x"$enablestring" = xdisable; then
12690 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12691 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12692 # Check whether --enable-fontdlg was given.
12693 if test "${enable_fontdlg+set}" = set; then
12694 enableval=$enable_fontdlg;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12698 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12703 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12708 eval "$wx_cv_use_fontdlg"
12710 if test x
"$enablestring" = xdisable
; then
12711 if test $wxUSE_FONTDLG = no
; then
12717 result
=$wxUSE_FONTDLG
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12725 defaultval
=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x
"$enablestring" = xdisable
; then
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12736 # Check whether --enable-dirdlg was given.
12737 if test "${enable_dirdlg+set}" = set; then
12738 enableval
=$enable_dirdlg;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12742 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12747 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12752 eval "$wx_cv_use_dirdlg"
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_DIRDLG = no; then
12761 result=$wxUSE_DIRDLG
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12780 # Check whether --enable-msgdlg was given.
12781 if test "${enable_msgdlg+set}" = set; then
12782 enableval=$enable_msgdlg;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12786 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12791 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12796 eval "$wx_cv_use_msgdlg"
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_MSGDLG = no; then
12805 result=$wxUSE_MSGDLG
12808 { echo "$as_me:$LINENO: result
: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12822 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12823 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12824 # Check whether --enable-numberdlg was given.
12825 if test "${enable_numberdlg+set}" = set; then
12826 enableval=$enable_numberdlg;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12830 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12835 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12840 eval "$wx_cv_use_numberdlg"
12842 if test x
"$enablestring" = xdisable
; then
12843 if test $wxUSE_NUMBERDLG = no
; then
12849 result
=$wxUSE_NUMBERDLG
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12857 defaultval
=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x
"$enablestring" = xdisable
; then
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12868 # Check whether --enable-splash was given.
12869 if test "${enable_splash+set}" = set; then
12870 enableval
=$enable_splash;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12874 wx_cv_use_splash
='wxUSE_SPLASH=no'
12879 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12884 eval "$wx_cv_use_splash"
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_SPLASH = no; then
12893 result=$wxUSE_SPLASH
12896 { echo "$as_me:$LINENO: result: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12912 # Check whether --enable-textdlg was given.
12913 if test "${enable_textdlg+set}" = set; then
12914 enableval=$enable_textdlg;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12918 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12923 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12928 eval "$wx_cv_use_textdlg"
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_TEXTDLG = no; then
12937 result=$wxUSE_TEXTDLG
12940 { echo "$as_me:$LINENO: result
: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12954 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12955 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12956 # Check whether --enable-tipdlg was given.
12957 if test "${enable_tipdlg+set}" = set; then
12958 enableval=$enable_tipdlg;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12962 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12967 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12972 eval "$wx_cv_use_tipdlg"
12974 if test x
"$enablestring" = xdisable
; then
12975 if test $wxUSE_STARTUP_TIPS = no
; then
12981 result
=$wxUSE_STARTUP_TIPS
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12989 defaultval
=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x
"$enablestring" = xdisable
; then
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13000 # Check whether --enable-progressdlg was given.
13001 if test "${enable_progressdlg+set}" = set; then
13002 enableval
=$enable_progressdlg;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13006 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13011 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13016 eval "$wx_cv_use_progressdlg"
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_PROGRESSDLG = no; then
13025 result=$wxUSE_PROGRESSDLG
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13044 # Check whether --enable-wizarddlg was given.
13045 if test "${enable_wizarddlg+set}" = set; then
13046 enableval=$enable_wizarddlg;
13047 if test "$enableval" = yes; then
13048 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13050 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13055 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13060 eval "$wx_cv_use_wizarddlg"
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_WIZARDDLG = no; then
13069 result=$wxUSE_WIZARDDLG
13072 { echo "$as_me:$LINENO: result
: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13079 defaultval=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x"$enablestring" = xdisable; then
13088 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13089 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13090 # Check whether --enable-menus was given.
13091 if test "${enable_menus+set}" = set; then
13092 enableval=$enable_menus;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_menus='wxUSE_MENUS=yes'
13096 wx_cv_use_menus='wxUSE_MENUS=no'
13101 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13106 eval "$wx_cv_use_menus"
13108 if test x
"$enablestring" = xdisable
; then
13109 if test $wxUSE_MENUS = no
; then
13115 result
=$wxUSE_MENUS
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13123 defaultval
=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x
"$enablestring" = xdisable
; then
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13134 # Check whether --enable-miniframe was given.
13135 if test "${enable_miniframe+set}" = set; then
13136 enableval
=$enable_miniframe;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13140 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13145 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13150 eval "$wx_cv_use_miniframe"
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_MINIFRAME = no; then
13159 result=$wxUSE_MINIFRAME
13162 { echo "$as_me:$LINENO: result: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13177 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13178 # Check whether --enable-tooltips was given.
13179 if test "${enable_tooltips+set}" = set; then
13180 enableval=$enable_tooltips;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13184 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13189 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13194 eval "$wx_cv_use_tooltips"
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_TOOLTIPS = no; then
13203 result=$wxUSE_TOOLTIPS
13206 { echo "$as_me:$LINENO: result
: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13220 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13221 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13222 # Check whether --enable-splines was given.
13223 if test "${enable_splines+set}" = set; then
13224 enableval=$enable_splines;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_splines='wxUSE_SPLINES=yes'
13228 wx_cv_use_splines='wxUSE_SPLINES=no'
13233 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13238 eval "$wx_cv_use_splines"
13240 if test x
"$enablestring" = xdisable
; then
13241 if test $wxUSE_SPLINES = no
; then
13247 result
=$wxUSE_SPLINES
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13255 defaultval
=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x
"$enablestring" = xdisable
; then
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13266 # Check whether --enable-mousewheel was given.
13267 if test "${enable_mousewheel+set}" = set; then
13268 enableval
=$enable_mousewheel;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13272 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13277 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13282 eval "$wx_cv_use_mousewheel"
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_MOUSEWHEEL = no; then
13291 result=$wxUSE_MOUSEWHEEL
13294 { echo "$as_me:$LINENO: result: $result" >&5
13295 echo "${ECHO_T}$result" >&6; }
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13309 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13310 # Check whether --enable-validators was given.
13311 if test "${enable_validators+set}" = set; then
13312 enableval=$enable_validators;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13316 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13321 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13326 eval "$wx_cv_use_validators"
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_VALIDATORS = no; then
13335 result=$wxUSE_VALIDATORS
13338 { echo "$as_me:$LINENO: result
: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13352 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13353 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13354 # Check whether --enable-busyinfo was given.
13355 if test "${enable_busyinfo+set}" = set; then
13356 enableval=$enable_busyinfo;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13360 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13365 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13370 eval "$wx_cv_use_busyinfo"
13372 if test x
"$enablestring" = xdisable
; then
13373 if test $wxUSE_BUSYINFO = no
; then
13379 result
=$wxUSE_BUSYINFO
13382 { echo "$as_me:$LINENO: result: $result" >&5
13383 echo "${ECHO_T}$result" >&6; }
13387 defaultval
=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x
"$enablestring" = xdisable
; then
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13398 # Check whether --enable-joystick was given.
13399 if test "${enable_joystick+set}" = set; then
13400 enableval
=$enable_joystick;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13404 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13409 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13414 eval "$wx_cv_use_joystick"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_JOYSTICK = no; then
13423 result=$wxUSE_JOYSTICK
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13441 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13442 # Check whether --enable-metafile was given.
13443 if test "${enable_metafile+set}" = set; then
13444 enableval=$enable_metafile;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13448 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13453 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13458 eval "$wx_cv_use_metafile"
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_METAFILE = no; then
13467 result=$wxUSE_METAFILE
13470 { echo "$as_me:$LINENO: result
: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13484 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13485 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13486 # Check whether --enable-dragimage was given.
13487 if test "${enable_dragimage+set}" = set; then
13488 enableval=$enable_dragimage;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13492 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13497 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13502 eval "$wx_cv_use_dragimage"
13504 if test x
"$enablestring" = xdisable
; then
13505 if test $wxUSE_DRAGIMAGE = no
; then
13511 result
=$wxUSE_DRAGIMAGE
13514 { echo "$as_me:$LINENO: result: $result" >&5
13515 echo "${ECHO_T}$result" >&6; }
13519 defaultval
=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x
"$enablestring" = xdisable
; then
13528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13529 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13530 # Check whether --enable-accessibility was given.
13531 if test "${enable_accessibility+set}" = set; then
13532 enableval
=$enable_accessibility;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13536 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13541 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13546 eval "$wx_cv_use_accessibility"
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_ACCESSIBILITY = no; then
13555 result=$wxUSE_ACCESSIBILITY
13558 { echo "$as_me:$LINENO: result: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13574 # Check whether --enable-uiactionsim was given.
13575 if test "${enable_uiactionsim+set}" = set; then
13576 enableval=$enable_uiactionsim;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
13580 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
13585 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13590 eval "$wx_cv_use_uiactionsim"
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_UIACTIONSIMULATOR = no; then
13599 result=$wxUSE_UIACTIONSIMULATOR
13602 { echo "$as_me:$LINENO: result
: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13609 defaultval=$wxUSE_ALL_FEATURES
13610 if test -z "$defaultval"; then
13611 if test x"$enablestring" = xdisable; then
13618 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13619 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13620 # Check whether --enable-palette was given.
13621 if test "${enable_palette+set}" = set; then
13622 enableval=$enable_palette;
13623 if test "$enableval" = yes; then
13624 wx_cv_use_palette='wxUSE_PALETTE=yes'
13626 wx_cv_use_palette='wxUSE_PALETTE=no'
13631 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13636 eval "$wx_cv_use_palette"
13638 if test x
"$enablestring" = xdisable
; then
13639 if test $wxUSE_PALETTE = no
; then
13645 result
=$wxUSE_PALETTE
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13653 defaultval
=$wxUSE_ALL_FEATURES
13654 if test -z "$defaultval"; then
13655 if test x
"$enablestring" = xdisable
; then
13662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13663 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13664 # Check whether --enable-image was given.
13665 if test "${enable_image+set}" = set; then
13666 enableval
=$enable_image;
13667 if test "$enableval" = yes; then
13668 wx_cv_use_image
='wxUSE_IMAGE=yes'
13670 wx_cv_use_image
='wxUSE_IMAGE=no'
13675 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13680 eval "$wx_cv_use_image"
13682 if test x"$enablestring" = xdisable; then
13683 if test $wxUSE_IMAGE = no; then
13689 result=$wxUSE_IMAGE
13692 { echo "$as_me:$LINENO: result: $result" >&5
13693 echo "${ECHO_T}$result" >&6; }
13697 defaultval=$wxUSE_ALL_FEATURES
13698 if test -z "$defaultval"; then
13699 if test x"$enablestring" = xdisable; then
13706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13707 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13708 # Check whether --enable-gif was given.
13709 if test "${enable_gif+set}" = set; then
13710 enableval=$enable_gif;
13711 if test "$enableval" = yes; then
13712 wx_cv_use_gif='wxUSE_GIF
=yes'
13714 wx_cv_use_gif='wxUSE_GIF
=no
'
13719 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13724 eval "$wx_cv_use_gif"
13726 if test x"$enablestring" = xdisable; then
13727 if test $wxUSE_GIF = no; then
13736 { echo "$as_me:$LINENO: result
: $result" >&5
13737 echo "${ECHO_T}$result" >&6; }
13741 defaultval=$wxUSE_ALL_FEATURES
13742 if test -z "$defaultval"; then
13743 if test x"$enablestring" = xdisable; then
13750 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13751 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13752 # Check whether --enable-pcx was given.
13753 if test "${enable_pcx+set}" = set; then
13754 enableval=$enable_pcx;
13755 if test "$enableval" = yes; then
13756 wx_cv_use_pcx='wxUSE_PCX=yes'
13758 wx_cv_use_pcx='wxUSE_PCX=no'
13763 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13768 eval "$wx_cv_use_pcx"
13770 if test x
"$enablestring" = xdisable
; then
13771 if test $wxUSE_PCX = no
; then
13780 { echo "$as_me:$LINENO: result: $result" >&5
13781 echo "${ECHO_T}$result" >&6; }
13785 defaultval
=$wxUSE_ALL_FEATURES
13786 if test -z "$defaultval"; then
13787 if test x
"$enablestring" = xdisable
; then
13794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13795 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13796 # Check whether --enable-tga was given.
13797 if test "${enable_tga+set}" = set; then
13798 enableval
=$enable_tga;
13799 if test "$enableval" = yes; then
13800 wx_cv_use_tga
='wxUSE_TGA=yes'
13802 wx_cv_use_tga
='wxUSE_TGA=no'
13807 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13812 eval "$wx_cv_use_tga"
13814 if test x"$enablestring" = xdisable; then
13815 if test $wxUSE_TGA = no; then
13824 { echo "$as_me:$LINENO: result: $result" >&5
13825 echo "${ECHO_T}$result" >&6; }
13829 defaultval=$wxUSE_ALL_FEATURES
13830 if test -z "$defaultval"; then
13831 if test x"$enablestring" = xdisable; then
13838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13839 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13840 # Check whether --enable-iff was given.
13841 if test "${enable_iff+set}" = set; then
13842 enableval=$enable_iff;
13843 if test "$enableval" = yes; then
13844 wx_cv_use_iff='wxUSE_IFF
=yes'
13846 wx_cv_use_iff='wxUSE_IFF
=no
'
13851 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13856 eval "$wx_cv_use_iff"
13858 if test x"$enablestring" = xdisable; then
13859 if test $wxUSE_IFF = no; then
13868 { echo "$as_me:$LINENO: result
: $result" >&5
13869 echo "${ECHO_T}$result" >&6; }
13873 defaultval=$wxUSE_ALL_FEATURES
13874 if test -z "$defaultval"; then
13875 if test x"$enablestring" = xdisable; then
13882 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13883 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13884 # Check whether --enable-pnm was given.
13885 if test "${enable_pnm+set}" = set; then
13886 enableval=$enable_pnm;
13887 if test "$enableval" = yes; then
13888 wx_cv_use_pnm='wxUSE_PNM=yes'
13890 wx_cv_use_pnm='wxUSE_PNM=no'
13895 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13900 eval "$wx_cv_use_pnm"
13902 if test x
"$enablestring" = xdisable
; then
13903 if test $wxUSE_PNM = no
; then
13912 { echo "$as_me:$LINENO: result: $result" >&5
13913 echo "${ECHO_T}$result" >&6; }
13917 defaultval
=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x
"$enablestring" = xdisable
; then
13926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13927 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13928 # Check whether --enable-xpm was given.
13929 if test "${enable_xpm+set}" = set; then
13930 enableval
=$enable_xpm;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_xpm
='wxUSE_XPM=yes'
13934 wx_cv_use_xpm
='wxUSE_XPM=no'
13939 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13944 eval "$wx_cv_use_xpm"
13946 if test x"$enablestring" = xdisable; then
13947 if test $wxUSE_XPM = no; then
13956 { echo "$as_me:$LINENO: result: $result" >&5
13957 echo "${ECHO_T}$result" >&6; }
13961 defaultval=$wxUSE_ALL_FEATURES
13962 if test -z "$defaultval"; then
13963 if test x"$enablestring" = xdisable; then
13970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13971 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13972 # Check whether --enable-ico_cur was given.
13973 if test "${enable_ico_cur+set}" = set; then
13974 enableval=$enable_ico_cur;
13975 if test "$enableval" = yes; then
13976 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13978 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13983 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13988 eval "$wx_cv_use_ico_cur"
13990 if test x"$enablestring" = xdisable; then
13991 if test $wxUSE_ICO_CUR = no; then
13997 result=$wxUSE_ICO_CUR
14000 { echo "$as_me:$LINENO: result
: $result" >&5
14001 echo "${ECHO_T}$result" >&6; }
14007 defaultval=$wxUSE_ALL_FEATURES
14008 if test -z "$defaultval"; then
14009 if test x"$enablestring" = xdisable; then
14016 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14017 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14018 # Check whether --enable-dccache was given.
14019 if test "${enable_dccache+set}" = set; then
14020 enableval=$enable_dccache;
14021 if test "$enableval" = yes; then
14022 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14024 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14029 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14034 eval "$wx_cv_use_dccache"
14036 if test x
"$enablestring" = xdisable
; then
14037 if test $wxUSE_DC_CACHEING = no
; then
14043 result
=$wxUSE_DC_CACHEING
14046 { echo "$as_me:$LINENO: result: $result" >&5
14047 echo "${ECHO_T}$result" >&6; }
14051 defaultval
=$wxUSE_ALL_FEATURES
14052 if test -z "$defaultval"; then
14053 if test x
"$enablestring" = xdisable
; then
14060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14061 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14062 # Check whether --enable-ps-in-msw was given.
14063 if test "${enable_ps_in_msw+set}" = set; then
14064 enableval
=$enable_ps_in_msw;
14065 if test "$enableval" = yes; then
14066 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14068 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14073 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14078 eval "$wx_cv_use_ps_in_msw"
14080 if test x"$enablestring" = xdisable; then
14081 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14087 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14090 { echo "$as_me:$LINENO: result: $result" >&5
14091 echo "${ECHO_T}$result" >&6; }
14095 defaultval=$wxUSE_ALL_FEATURES
14096 if test -z "$defaultval"; then
14097 if test x"$enablestring" = xdisable; then
14104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14105 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14106 # Check whether --enable-ownerdrawn was given.
14107 if test "${enable_ownerdrawn+set}" = set; then
14108 enableval=$enable_ownerdrawn;
14109 if test "$enableval" = yes; then
14110 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14112 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14117 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14122 eval "$wx_cv_use_ownerdrawn"
14124 if test x"$enablestring" = xdisable; then
14125 if test $wxUSE_OWNER_DRAWN = no; then
14131 result=$wxUSE_OWNER_DRAWN
14134 { echo "$as_me:$LINENO: result
: $result" >&5
14135 echo "${ECHO_T}$result" >&6; }
14139 defaultval=$wxUSE_ALL_FEATURES
14140 if test -z "$defaultval"; then
14141 if test x"$enablestring" = xdisable; then
14148 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14149 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14150 # Check whether --enable-uxtheme was given.
14151 if test "${enable_uxtheme+set}" = set; then
14152 enableval=$enable_uxtheme;
14153 if test "$enableval" = yes; then
14154 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14156 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14161 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14166 eval "$wx_cv_use_uxtheme"
14168 if test x
"$enablestring" = xdisable
; then
14169 if test $wxUSE_UXTHEME = no
; then
14175 result
=$wxUSE_UXTHEME
14178 { echo "$as_me:$LINENO: result: $result" >&5
14179 echo "${ECHO_T}$result" >&6; }
14183 defaultval
=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x
"$enablestring" = xdisable
; then
14192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14193 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14194 # Check whether --enable-wxdib was given.
14195 if test "${enable_wxdib+set}" = set; then
14196 enableval
=$enable_wxdib;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14200 wx_cv_use_wxdib
='wxUSE_DIB=no'
14205 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14210 eval "$wx_cv_use_wxdib"
14212 if test x"$enablestring" = xdisable; then
14213 if test $wxUSE_DIB = no; then
14222 { echo "$as_me:$LINENO: result: $result" >&5
14223 echo "${ECHO_T}$result" >&6; }
14226 if test "$wxUSE_MSW" != 1; then
14227 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14232 defaultval=$wxUSE_ALL_FEATURES
14233 if test -z "$defaultval"; then
14234 if test x"$enablestring" = xdisable; then
14241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14242 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14243 # Check whether --enable-autoidman was given.
14244 if test "${enable_autoidman+set}" = set; then
14245 enableval=$enable_autoidman;
14246 if test "$enableval" = yes; then
14247 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
14249 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
14254 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14259 eval "$wx_cv_use_autoidman"
14261 if test x"$enablestring" = xdisable; then
14262 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14268 result=$wxUSE_AUTOID_MANAGEMENT
14271 { echo "$as_me:$LINENO: result
: $result" >&5
14272 echo "${ECHO_T}$result" >&6; }
14278 cat >confcache <<\_ACEOF
14279 # This file is a shell script that caches the results of configure
14280 # tests run on this system so they can be shared between configure
14281 # scripts and configure runs, see configure's option --config-cache.
14282 # It is not useful on other systems. If it contains results you don't
14283 # want to keep, you may remove or edit it.
14285 # config.status only pays attention to the cache file if you give it
14286 # the --recheck option to rerun configure.
14288 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14289 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14290 # following values.
14294 # The following way of writing the cache mishandles newlines in values,
14295 # but we know of no workaround that is simple, portable, and efficient.
14296 # So, we kill variables containing newlines.
14297 # Ultrix sh set writes to stderr and can't be redirected directly,
14298 # and sets the high bit in the cache file unless we assign to the vars.
14300 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14301 eval ac_val=\$$ac_var
14305 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14306 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14309 _ | IFS | as_nl) ;; #(
14310 *) $as_unset $ac_var ;;
14316 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14317 *${as_nl}ac_space=\ *)
14318 # `set' does not quote correctly, so add quotes (double-quote
14319 # substitution turns \\\\ into \\, and sed turns \\ into \).
14322 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14325 # `set' quotes correctly as required by POSIX, so do not add quotes.
14326 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14337 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14339 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14340 if test -w "$cache_file"; then
14341 test "x
$cache_file" != "x
/dev
/null
" &&
14342 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14343 echo "$as_me: updating cache
$cache_file" >&6;}
14344 cat confcache >$cache_file
14346 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14347 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14357 ac_cpp='$CPP $CPPFLAGS'
14358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14361 if test -n "$ac_tool_prefix"; then
14362 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14363 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14364 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14365 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14366 if test "${ac_cv_prog_CC+set}" = set; then
14367 echo $ECHO_N "(cached
) $ECHO_C" >&6
14369 if test -n "$CC"; then
14370 ac_cv_prog_CC="$CC" # Let the user override the test.
14372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14373 for as_dir in $PATH
14376 test -z "$as_dir" && as_dir=.
14377 for ac_exec_ext in '' $ac_executable_extensions; do
14378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14379 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14380 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14390 if test -n "$CC"; then
14391 { echo "$as_me:$LINENO: result
: $CC" >&5
14392 echo "${ECHO_T}$CC" >&6; }
14394 { echo "$as_me:$LINENO: result
: no
" >&5
14395 echo "${ECHO_T}no
" >&6; }
14400 if test -z "$ac_cv_prog_CC"; then
14402 # Extract the first word of "gcc
", so it can be a program name with args.
14403 set dummy gcc; ac_word=$2
14404 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14405 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14406 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14407 echo $ECHO_N "(cached
) $ECHO_C" >&6
14409 if test -n "$ac_ct_CC"; then
14410 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14413 for as_dir in $PATH
14416 test -z "$as_dir" && as_dir=.
14417 for ac_exec_ext in '' $ac_executable_extensions; do
14418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14419 ac_cv_prog_ac_ct_CC="gcc
"
14420 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14429 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14430 if test -n "$ac_ct_CC"; then
14431 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14432 echo "${ECHO_T}$ac_ct_CC" >&6; }
14434 { echo "$as_me:$LINENO: result
: no
" >&5
14435 echo "${ECHO_T}no
" >&6; }
14438 if test "x
$ac_ct_CC" = x; then
14441 case $cross_compiling:$ac_tool_warned in
14443 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14444 whose name does not start with the
host triplet. If you think this
14445 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14446 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14447 whose name does not start with the
host triplet. If you think this
14448 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14449 ac_tool_warned=yes ;;
14454 CC="$ac_cv_prog_CC"
14457 if test -z "$CC"; then
14458 if test -n "$ac_tool_prefix"; then
14459 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14460 set dummy ${ac_tool_prefix}cc; ac_word=$2
14461 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14462 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14463 if test "${ac_cv_prog_CC+set}" = set; then
14464 echo $ECHO_N "(cached
) $ECHO_C" >&6
14466 if test -n "$CC"; then
14467 ac_cv_prog_CC="$CC" # Let the user override the test.
14469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470 for as_dir in $PATH
14473 test -z "$as_dir" && as_dir=.
14474 for ac_exec_ext in '' $ac_executable_extensions; do
14475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14476 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14487 if test -n "$CC"; then
14488 { echo "$as_me:$LINENO: result
: $CC" >&5
14489 echo "${ECHO_T}$CC" >&6; }
14491 { echo "$as_me:$LINENO: result
: no
" >&5
14492 echo "${ECHO_T}no
" >&6; }
14498 if test -z "$CC"; then
14499 # Extract the first word of "cc
", so it can be a program name with args.
14500 set dummy cc; ac_word=$2
14501 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14502 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14503 if test "${ac_cv_prog_CC+set}" = set; then
14504 echo $ECHO_N "(cached
) $ECHO_C" >&6
14506 if test -n "$CC"; then
14507 ac_cv_prog_CC="$CC" # Let the user override the test.
14509 ac_prog_rejected=no
14510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14511 for as_dir in $PATH
14514 test -z "$as_dir" && as_dir=.
14515 for ac_exec_ext in '' $ac_executable_extensions; do
14516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14517 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14518 ac_prog_rejected=yes
14522 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14529 if test $ac_prog_rejected = yes; then
14530 # We found a bogon in the path, so make sure we never use it.
14531 set dummy $ac_cv_prog_CC
14533 if test $# != 0; then
14534 # We chose a different compiler from the bogus one.
14535 # However, it has the same basename, so the bogon will be chosen
14536 # first if we set CC to just the basename; use the full file name.
14538 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14544 if test -n "$CC"; then
14545 { echo "$as_me:$LINENO: result
: $CC" >&5
14546 echo "${ECHO_T}$CC" >&6; }
14548 { echo "$as_me:$LINENO: result
: no
" >&5
14549 echo "${ECHO_T}no
" >&6; }
14554 if test -z "$CC"; then
14555 if test -n "$ac_tool_prefix"; then
14556 for ac_prog in cl.exe
14558 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14559 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14560 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14561 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14562 if test "${ac_cv_prog_CC+set}" = set; then
14563 echo $ECHO_N "(cached
) $ECHO_C" >&6
14565 if test -n "$CC"; then
14566 ac_cv_prog_CC="$CC" # Let the user override the test.
14568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14569 for as_dir in $PATH
14572 test -z "$as_dir" && as_dir=.
14573 for ac_exec_ext in '' $ac_executable_extensions; do
14574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14575 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14576 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14586 if test -n "$CC"; then
14587 { echo "$as_me:$LINENO: result
: $CC" >&5
14588 echo "${ECHO_T}$CC" >&6; }
14590 { echo "$as_me:$LINENO: result
: no
" >&5
14591 echo "${ECHO_T}no
" >&6; }
14595 test -n "$CC" && break
14598 if test -z "$CC"; then
14600 for ac_prog in cl.exe
14602 # Extract the first word of "$ac_prog", so it can be a program name with args.
14603 set dummy $ac_prog; ac_word=$2
14604 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14605 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14606 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14607 echo $ECHO_N "(cached
) $ECHO_C" >&6
14609 if test -n "$ac_ct_CC"; then
14610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14613 for as_dir in $PATH
14616 test -z "$as_dir" && as_dir=.
14617 for ac_exec_ext in '' $ac_executable_extensions; do
14618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14619 ac_cv_prog_ac_ct_CC="$ac_prog"
14620 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14630 if test -n "$ac_ct_CC"; then
14631 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14632 echo "${ECHO_T}$ac_ct_CC" >&6; }
14634 { echo "$as_me:$LINENO: result
: no
" >&5
14635 echo "${ECHO_T}no
" >&6; }
14639 test -n "$ac_ct_CC" && break
14642 if test "x
$ac_ct_CC" = x; then
14645 case $cross_compiling:$ac_tool_warned in
14647 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14648 whose name does not start with the
host triplet. If you think this
14649 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14650 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14651 whose name does not start with the
host triplet. If you think this
14652 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14653 ac_tool_warned=yes ;;
14662 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14663 See \
`config.log' for more details." >&5
14664 echo "$as_me: error: no acceptable C compiler found in \$PATH
14665 See \`config.log
' for more details." >&2;}
14666 { (exit 1); exit 1; }; }
14668 # Provide some information about the compiler.
14669 echo "$as_me:$LINENO: checking for C compiler version" >&5
14670 ac_compiler=`set X $ac_compile; echo $2`
14671 { (ac_try="$ac_compiler --version >&5"
14672 case "(($ac_try" in
14673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14674 *) ac_try_echo=$ac_try;;
14676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14677 (eval "$ac_compiler --version >&5") 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }
14681 { (ac_try="$ac_compiler -v >&5"
14682 case "(($ac_try" in
14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_compiler -v >&5") 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }
14691 { (ac_try="$ac_compiler -V >&5"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_compiler -V >&5") 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }
14702 cat >conftest.$ac_ext <<_ACEOF
14705 cat confdefs.h >>conftest.$ac_ext
14706 cat >>conftest.$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14717 ac_clean_files_save=$ac_clean_files
14718 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14719 # Try to create an executable without -o first, disregard a.out.
14720 # It will help us diagnose broken compilers, and finding out an intuition
14722 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14723 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14724 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14726 # List of possible output files, starting from the most likely.
14727 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14728 # only as a last resort. b.out is created by i960 compilers.
14729 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14731 # The IRIX 6 linker writes into existing files which may not be
14732 # executable, retaining their permissions. Remove them first so a
14733 # subsequent execution test works.
14735 for ac_file
in $ac_files
14738 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14739 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14744 if { (ac_try
="$ac_link_default"
14745 case "(($ac_try" in
14746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14747 *) ac_try_echo=$ac_try;;
14749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14750 (eval "$ac_link_default") 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; then
14754 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14755 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14756 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14757 # so that the user can short-circuit this test for compilers unknown to
14759 for ac_file in $ac_files ''
14761 test -f "$ac_file" || continue
14763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14766 # We found the default executable, but exeext='' is most
14770 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14772 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14774 # We set ac_cv_exeext here because the later test for it is not
14775 # safe: cross compilers may not add the suffix if given an `-o'
14776 # argument, so we may need to know it at that point already.
14777 # Even if this section looks crufty: it has the advantage of
14778 # actually working.
14784 test "$ac_cv_exeext" = no && ac_cv_exeext=
14790 { echo "$as_me:$LINENO: result: $ac_file" >&5
14791 echo "${ECHO_T}$ac_file" >&6; }
14792 if test -z "$ac_file"; then
14793 echo "$as_me: failed program was:" >&5
14794 sed 's
/^
/| /' conftest.$ac_ext >&5
14796 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14797 See \`config.log' for more details.
" >&5
14798 echo "$as_me: error
: C compiler cannot create executables
14799 See \
`config.log' for more details." >&2;}
14800 { (exit 77); exit 77; }; }
14803 ac_exeext=$ac_cv_exeext
14805 # Check that the compiler produces executables we can run. If not, either
14806 # the compiler is broken, or we cross compile.
14807 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14808 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14809 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14810 # If not cross compiling, check that we can run a simple program.
14811 if test "$cross_compiling" != yes; then
14812 if { ac_try='./$ac_file'
14813 { (case "(($ac_try" in
14814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14815 *) ac_try_echo
=$ac_try;;
14817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14818 (eval "$ac_try") 2>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14824 if test "$cross_compiling" = maybe
; then
14825 cross_compiling
=yes
14827 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14828 If you meant to cross compile, use \`--host'.
14829 See \`config.log' for more details." >&5
14830 echo "$as_me: error: cannot run C compiled programs.
14831 If you meant to cross compile, use \`--host'.
14832 See \`config.log' for more details." >&2;}
14833 { (exit 1); exit 1; }; }
14837 { echo "$as_me:$LINENO: result: yes" >&5
14838 echo "${ECHO_T}yes" >&6; }
14840 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14841 ac_clean_files
=$ac_clean_files_save
14842 # Check that the compiler produces executables we can run. If not, either
14843 # the compiler is broken, or we cross compile.
14844 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14845 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14846 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14847 echo "${ECHO_T}$cross_compiling" >&6; }
14849 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14850 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14851 if { (ac_try
="$ac_link"
14852 case "(($ac_try" in
14853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14854 *) ac_try_echo=$ac_try;;
14856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14857 (eval "$ac_link") 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; then
14861 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
14862 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
14863 # work properly (i.e., refer to `conftest.exe'), while it won't with
14865 for ac_file
in conftest.exe conftest conftest.
*; do
14866 test -f "$ac_file" || continue
14868 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14869 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14875 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14876 See \`config.log' for more details." >&5
14877 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14878 See \`config.log' for more details." >&2;}
14879 { (exit 1); exit 1; }; }
14882 rm -f conftest
$ac_cv_exeext
14883 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14884 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14886 rm -f conftest.
$ac_ext
14887 EXEEXT
=$ac_cv_exeext
14889 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14890 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14891 if test "${ac_cv_objext+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14894 cat >conftest.
$ac_ext <<_ACEOF
14897 cat confdefs.h
>>conftest.
$ac_ext
14898 cat >>conftest.
$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14909 rm -f conftest.o conftest.obj
14910 if { (ac_try
="$ac_compile"
14911 case "(($ac_try" in
14912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14913 *) ac_try_echo=$ac_try;;
14915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14916 (eval "$ac_compile") 2>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; then
14920 for ac_file in conftest.o conftest.obj conftest.*; do
14921 test -f "$ac_file" || continue;
14923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14924 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.$ac_ext >&5
14932 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14933 See \`config.log
' for more details." >&5
14934 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14935 See \`config.log' for more details.
" >&2;}
14936 { (exit 1); exit 1; }; }
14939 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14941 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14942 echo "${ECHO_T}$ac_cv_objext" >&6; }
14943 OBJEXT=$ac_cv_objext
14945 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14946 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14947 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14948 echo $ECHO_N "(cached
) $ECHO_C" >&6
14950 cat >conftest.$ac_ext <<_ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14968 rm -f conftest.$ac_objext
14969 if { (ac_try="$ac_compile"
14970 case "(($ac_try" in
14971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14972 *) ac_try_echo=$ac_try;;
14974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14975 (eval "$ac_compile") 2>conftest.er1
14977 grep -v '^ *+' conftest.er1 >conftest.err
14979 cat conftest.err >&5
14980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14981 (exit $ac_status); } && {
14982 test -z "$ac_c_werror_flag" ||
14983 test ! -s conftest.err
14984 } && test -s conftest.$ac_objext; then
14985 ac_compiler_gnu=yes
14987 echo "$as_me: failed program was
:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14997 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14998 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14999 GCC=`test $ac_compiler_gnu = yes && echo yes`
15000 ac_test_CFLAGS=${CFLAGS+set}
15001 ac_save_CFLAGS=$CFLAGS
15002 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15003 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15004 if test "${ac_cv_prog_cc_g+set}" = set; then
15005 echo $ECHO_N "(cached
) $ECHO_C" >&6
15007 ac_save_c_werror_flag=$ac_c_werror_flag
15008 ac_c_werror_flag=yes
15011 cat >conftest.$ac_ext <<_ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15026 rm -f conftest.$ac_objext
15027 if { (ac_try="$ac_compile"
15028 case "(($ac_try" in
15029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15033 (eval "$ac_compile") 2>conftest.er1
15035 grep -v '^ *+' conftest.er1 >conftest.err
15037 cat conftest.err >&5
15038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15039 (exit $ac_status); } && {
15040 test -z "$ac_c_werror_flag" ||
15041 test ! -s conftest.err
15042 } && test -s conftest.$ac_objext; then
15043 ac_cv_prog_cc_g=yes
15045 echo "$as_me: failed program was
:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15049 cat >conftest.$ac_ext <<_ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15064 rm -f conftest.$ac_objext
15065 if { (ac_try="$ac_compile"
15066 case "(($ac_try" in
15067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15068 *) ac_try_echo=$ac_try;;
15070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15071 (eval "$ac_compile") 2>conftest.er1
15073 grep -v '^ *+' conftest.er1 >conftest.err
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15077 (exit $ac_status); } && {
15078 test -z "$ac_c_werror_flag" ||
15079 test ! -s conftest.err
15080 } && test -s conftest.$ac_objext; then
15083 echo "$as_me: failed program was
:" >&5
15084 sed 's/^/| /' conftest.$ac_ext >&5
15086 ac_c_werror_flag=$ac_save_c_werror_flag
15088 cat >conftest.$ac_ext <<_ACEOF
15091 cat confdefs.h >>conftest.$ac_ext
15092 cat >>conftest.$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15103 rm -f conftest.$ac_objext
15104 if { (ac_try="$ac_compile"
15105 case "(($ac_try" in
15106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15107 *) ac_try_echo=$ac_try;;
15109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15110 (eval "$ac_compile") 2>conftest.er1
15112 grep -v '^ *+' conftest.er1 >conftest.err
15114 cat conftest.err >&5
15115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15116 (exit $ac_status); } && {
15117 test -z "$ac_c_werror_flag" ||
15118 test ! -s conftest.err
15119 } && test -s conftest.$ac_objext; then
15120 ac_cv_prog_cc_g=yes
15122 echo "$as_me: failed program was
:" >&5
15123 sed 's/^/| /' conftest.$ac_ext >&5
15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135 ac_c_werror_flag=$ac_save_c_werror_flag
15137 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15138 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15139 if test "$ac_test_CFLAGS" = set; then
15140 CFLAGS=$ac_save_CFLAGS
15141 elif test $ac_cv_prog_cc_g = yes; then
15142 if test "$GCC" = yes; then
15148 if test "$GCC" = yes; then
15154 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15155 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15156 if test "${ac_cv_prog_cc_c89+set}" = set; then
15157 echo $ECHO_N "(cached
) $ECHO_C" >&6
15159 ac_cv_prog_cc_c89=no
15161 cat >conftest.$ac_ext <<_ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 #include <stdarg.h>
15169 #include <sys/types.h>
15170 #include <sys/stat.h>
15171 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15172 struct buf { int x; };
15173 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15174 static char *e (p, i)
15180 static char *f (char * (*g) (char **, int), char **p, ...)
15185 s = g (p, va_arg (v,int));
15190 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15191 function prototypes and stuff, but not '\xHH' hex character constants.
15192 These don't provoke an error unfortunately, instead are silently treated
15193 as 'x'. The following induces an error, until -std is added to get
15194 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15195 array size at least. It's necessary to write '\x00'==0 to get something
15196 that's true only with -std. */
15197 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15199 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15200 inside strings and character constants. */
15202 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15204 int test (int i, double x);
15205 struct s1 {int (*f) (int a);};
15206 struct s2 {int (*f) (double a);};
15207 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15213 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15218 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15219 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15221 CC="$ac_save_CC $ac_arg"
15222 rm -f conftest.$ac_objext
15223 if { (ac_try="$ac_compile"
15224 case "(($ac_try" in
15225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15226 *) ac_try_echo=$ac_try;;
15228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15229 (eval "$ac_compile") 2>conftest.er1
15231 grep -v '^ *+' conftest.er1 >conftest.err
15233 cat conftest.err >&5
15234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15235 (exit $ac_status); } && {
15236 test -z "$ac_c_werror_flag" ||
15237 test ! -s conftest.err
15238 } && test -s conftest.$ac_objext; then
15239 ac_cv_prog_cc_c89=$ac_arg
15241 echo "$as_me: failed program was
:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15247 rm -f core conftest.err conftest.$ac_objext
15248 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15250 rm -f conftest.$ac_ext
15255 case "x
$ac_cv_prog_cc_c89" in
15257 { echo "$as_me:$LINENO: result
: none needed
" >&5
15258 echo "${ECHO_T}none needed
" >&6; } ;;
15260 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15261 echo "${ECHO_T}unsupported
" >&6; } ;;
15263 CC="$CC $ac_cv_prog_cc_c89"
15264 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15265 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15270 ac_cpp='$CPP $CPPFLAGS'
15271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15279 ac_cpp='$CPP $CPPFLAGS'
15280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15284 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15285 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15286 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15287 echo $ECHO_N "(cached
) $ECHO_C" >&6
15289 cat >conftest.$ac_ext <<_ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15300 #ifndef __INTEL_COMPILER
15308 rm -f conftest.$ac_objext
15309 if { (ac_try="$ac_compile"
15310 case "(($ac_try" in
15311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15312 *) ac_try_echo=$ac_try;;
15314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15315 (eval "$ac_compile") 2>conftest.er1
15317 grep -v '^ *+' conftest.er1 >conftest.err
15319 cat conftest.err >&5
15320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15321 (exit $ac_status); } && {
15322 test -z "$ac_c_werror_flag" ||
15323 test ! -s conftest.err
15324 } && test -s conftest.$ac_objext; then
15325 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15327 echo "$as_me: failed program was
:" >&5
15328 sed 's/^/| /' conftest.$ac_ext >&5
15330 bakefile_cv_c_compiler___INTEL_COMPILER=no
15334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15338 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15339 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15340 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15346 ac_cpp='$CPP $CPPFLAGS'
15347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15354 if test "$INTELCC" = "yes"; then
15358 ac_cpp='$CPP $CPPFLAGS'
15359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15363 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15364 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15365 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15366 echo $ECHO_N "(cached
) $ECHO_C" >&6
15368 cat >conftest.$ac_ext <<_ACEOF
15371 cat confdefs.h >>conftest.$ac_ext
15372 cat >>conftest.$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15379 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15387 rm -f conftest.$ac_objext
15388 if { (ac_try="$ac_compile"
15389 case "(($ac_try" in
15390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15391 *) ac_try_echo=$ac_try;;
15393 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15394 (eval "$ac_compile") 2>conftest.er1
15396 grep -v '^ *+' conftest.er1 >conftest.err
15398 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15400 (exit $ac_status); } && {
15401 test -z "$ac_c_werror_flag" ||
15402 test ! -s conftest.err
15403 } && test -s conftest.$ac_objext; then
15404 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15406 echo "$as_me: failed program was
:" >&5
15407 sed 's/^/| /' conftest.$ac_ext >&5
15409 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15417 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15418 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15419 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15425 ac_cpp='$CPP $CPPFLAGS'
15426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15435 ac_cpp='$CPP $CPPFLAGS'
15436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15440 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15441 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15442 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15443 echo $ECHO_N "(cached
) $ECHO_C" >&6
15445 cat >conftest.$ac_ext <<_ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15456 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15464 rm -f conftest.$ac_objext
15465 if { (ac_try="$ac_compile"
15466 case "(($ac_try" in
15467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15468 *) ac_try_echo=$ac_try;;
15470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15471 (eval "$ac_compile") 2>conftest.er1
15473 grep -v '^ *+' conftest.er1 >conftest.err
15475 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15477 (exit $ac_status); } && {
15478 test -z "$ac_c_werror_flag" ||
15479 test ! -s conftest.err
15480 } && test -s conftest.$ac_objext; then
15481 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15483 echo "$as_me: failed program was
:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15486 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15494 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15495 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15496 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15502 ac_cpp='$CPP $CPPFLAGS'
15503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15511 if test "x
$GCC" != "xyes
"; then
15512 if test "xCC
" = "xC
"; then
15513 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15514 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15515 if test "${bakefile_cv_c_exto+set}" = set; then
15516 echo $ECHO_N "(cached
) $ECHO_C" >&6
15518 cat >conftest.$ac_ext <<_ACEOF
15521 cat confdefs.h >>conftest.$ac_ext
15522 cat >>conftest.$ac_ext <<_ACEOF
15523 /* end confdefs.h. */
15533 rm -f conftest.$ac_objext conftest.$ac_ext.o
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535 (eval $ac_compile) 2>&5
15537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15538 (exit $ac_status); }; then
15539 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15541 conftest.$ac_ext.o)
15542 bakefile_cv_c_exto="-ext o
"
15549 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15550 See \
`config.log' for more details." >&5
15551 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15552 See \`config.log
' for more details." >&2;}
15553 { (exit 1); exit 1; }; }
15557 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15560 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15561 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15562 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15563 if test "c" = "c"; then
15564 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15566 if test "c" = "cxx"; then
15567 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15571 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15572 unset ac_cv_prog_cc_g
15573 ac_test_CFLAGS=${CFLAGS+set}
15574 ac_save_CFLAGS=$CFLAGS
15575 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15576 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15577 if test "${ac_cv_prog_cc_g+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 ac_save_c_werror_flag=$ac_c_werror_flag
15581 ac_c_werror_flag=yes
15584 cat >conftest.$ac_ext <<_ACEOF
15587 cat confdefs.h >>conftest.$ac_ext
15588 cat >>conftest.$ac_ext <<_ACEOF
15589 /* end confdefs.h. */
15599 rm -f conftest.$ac_objext
15600 if { (ac_try="$ac_compile"
15601 case "(($ac_try" in
15602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15603 *) ac_try_echo=$ac_try;;
15605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15606 (eval "$ac_compile") 2>conftest.er1
15608 grep -v '^
*+' conftest.er1 >conftest.err
15610 cat conftest.err >&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); } && {
15613 test -z "$ac_c_werror_flag" ||
15614 test ! -s conftest.err
15615 } && test -s conftest.$ac_objext; then
15616 ac_cv_prog_cc_g=yes
15618 echo "$as_me: failed program was:" >&5
15619 sed 's
/^
/| /' conftest.$ac_ext >&5
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15637 rm -f conftest.$ac_objext
15638 if { (ac_try="$ac_compile"
15639 case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_compile") 2>conftest.er1
15646 grep -v '^
*+' conftest.er1 >conftest.err
15648 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && {
15651 test -z "$ac_c_werror_flag" ||
15652 test ! -s conftest.err
15653 } && test -s conftest.$ac_objext; then
15656 echo "$as_me: failed program was:" >&5
15657 sed 's
/^
/| /' conftest.$ac_ext >&5
15659 ac_c_werror_flag=$ac_save_c_werror_flag
15661 cat >conftest.$ac_ext <<_ACEOF
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15676 rm -f conftest.$ac_objext
15677 if { (ac_try="$ac_compile"
15678 case "(($ac_try" in
15679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15680 *) ac_try_echo=$ac_try;;
15682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15683 (eval "$ac_compile") 2>conftest.er1
15685 grep -v '^
*+' conftest.er1 >conftest.err
15687 cat conftest.err >&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } && {
15690 test -z "$ac_c_werror_flag" ||
15691 test ! -s conftest.err
15692 } && test -s conftest.$ac_objext; then
15693 ac_cv_prog_cc_g=yes
15695 echo "$as_me: failed program was:" >&5
15696 sed 's
/^
/| /' conftest.$ac_ext >&5
15701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708 ac_c_werror_flag=$ac_save_c_werror_flag
15710 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15711 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15712 if test "$ac_test_CFLAGS" = set; then
15713 CFLAGS=$ac_save_CFLAGS
15714 elif test $ac_cv_prog_cc_g = yes; then
15715 if test "$GCC" = yes; then
15721 if test "$GCC" = yes; then
15735 ac_cpp='$CPP $CPPFLAGS'
15736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15737 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15740 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15741 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15742 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15743 echo $ECHO_N "(cached) $ECHO_C" >&6
15745 cat >conftest.$ac_ext <<_ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15764 rm -f conftest.$ac_objext
15765 if { (ac_try="$ac_compile"
15766 case "(($ac_try" in
15767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15768 *) ac_try_echo=$ac_try;;
15770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15771 (eval "$ac_compile") 2>conftest.er1
15773 grep -v '^
*+' conftest.er1 >conftest.err
15775 cat conftest.err >&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); } && {
15778 test -z "$ac_c_werror_flag" ||
15779 test ! -s conftest.err
15780 } && test -s conftest.$ac_objext; then
15781 bakefile_cv_c_compiler___xlC__=yes
15783 echo "$as_me: failed program was:" >&5
15784 sed 's
/^
/| /' conftest.$ac_ext >&5
15786 bakefile_cv_c_compiler___xlC__=no
15790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15794 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15795 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15796 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15802 ac_cpp='$CPP $CPPFLAGS'
15803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15804 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15815 ac_cpp='$CPP $CPPFLAGS'
15816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15817 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15821 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15822 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 cat >conftest.$ac_ext <<_ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15844 rm -f conftest.$ac_objext
15845 if { (ac_try="$ac_compile"
15846 case "(($ac_try" in
15847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15848 *) ac_try_echo=$ac_try;;
15850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15851 (eval "$ac_compile") 2>conftest.er1
15853 grep -v '^
*+' conftest.er1 >conftest.err
15855 cat conftest.err >&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } && {
15858 test -z "$ac_c_werror_flag" ||
15859 test ! -s conftest.err
15860 } && test -s conftest.$ac_objext; then
15861 bakefile_cv_c_compiler___MWERKS__=yes
15863 echo "$as_me: failed program was:" >&5
15864 sed 's
/^
/| /' conftest.$ac_ext >&5
15866 bakefile_cv_c_compiler___MWERKS__=no
15870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15874 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15875 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15876 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15884 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15889 if test "$MWCC" != "yes"; then
15893 ac_cpp='$CPP $CPPFLAGS'
15894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15895 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15898 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15899 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15900 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15901 echo $ECHO_N "(cached) $ECHO_C" >&6
15903 cat >conftest.$ac_ext <<_ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15922 rm -f conftest.$ac_objext
15923 if { (ac_try="$ac_compile"
15924 case "(($ac_try" in
15925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15926 *) ac_try_echo=$ac_try;;
15928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15929 (eval "$ac_compile") 2>conftest.er1
15931 grep -v '^
*+' conftest.er1 >conftest.err
15933 cat conftest.err >&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } && {
15936 test -z "$ac_c_werror_flag" ||
15937 test ! -s conftest.err
15938 } && test -s conftest.$ac_objext; then
15939 bakefile_cv_c_compiler___xlC__=yes
15941 echo "$as_me: failed program was:" >&5
15942 sed 's
/^
/| /' conftest.$ac_ext >&5
15944 bakefile_cv_c_compiler___xlC__=no
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15952 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15953 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15954 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15960 ac_cpp='$CPP $CPPFLAGS'
15961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15962 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15974 ac_cpp='$CPP $CPPFLAGS'
15975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15976 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15979 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15980 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15981 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 cat >conftest.$ac_ext <<_ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15995 #ifndef _SGI_COMPILER_VERSION
16003 rm -f conftest.$ac_objext
16004 if { (ac_try="$ac_compile"
16005 case "(($ac_try" in
16006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16007 *) ac_try_echo=$ac_try;;
16009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16010 (eval "$ac_compile") 2>conftest.er1
16012 grep -v '^
*+' conftest.er1 >conftest.err
16014 cat conftest.err >&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); } && {
16017 test -z "$ac_c_werror_flag" ||
16018 test ! -s conftest.err
16019 } && test -s conftest.$ac_objext; then
16020 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16022 echo "$as_me: failed program was:" >&5
16023 sed 's
/^
/| /' conftest.$ac_ext >&5
16025 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16033 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16034 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16035 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16041 ac_cpp='$CPP $CPPFLAGS'
16042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16043 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16051 if test "$INTELCC" != "yes"; then
16055 ac_cpp='$CPP $CPPFLAGS'
16056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16057 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16060 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16061 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16062 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16063 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 cat >conftest.$ac_ext <<_ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16084 rm -f conftest.$ac_objext
16085 if { (ac_try="$ac_compile"
16086 case "(($ac_try" in
16087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16088 *) ac_try_echo=$ac_try;;
16090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16091 (eval "$ac_compile") 2>conftest.er1
16093 grep -v '^
*+' conftest.er1 >conftest.err
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } && {
16098 test -z "$ac_c_werror_flag" ||
16099 test ! -s conftest.err
16100 } && test -s conftest.$ac_objext; then
16101 bakefile_cv_c_compiler___SUNPRO_C=yes
16103 echo "$as_me: failed program was:" >&5
16104 sed 's
/^
/| /' conftest.$ac_ext >&5
16106 bakefile_cv_c_compiler___SUNPRO_C=no
16110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16114 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16115 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16116 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16122 ac_cpp='$CPP $CPPFLAGS'
16123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16124 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16136 ac_cpp='$CPP $CPPFLAGS'
16137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16138 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16141 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16142 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16143 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16146 cat >conftest.$ac_ext <<_ACEOF
16149 cat confdefs.h >>conftest.$ac_ext
16150 cat >>conftest.$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16165 rm -f conftest.$ac_objext
16166 if { (ac_try="$ac_compile"
16167 case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_compile") 2>conftest.er1
16174 grep -v '^
*+' conftest.er1 >conftest.err
16176 cat conftest.err >&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && {
16179 test -z "$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 } && test -s conftest.$ac_objext; then
16182 bakefile_cv_c_compiler___HP_cc=yes
16184 echo "$as_me: failed program was:" >&5
16185 sed 's
/^
/| /' conftest.$ac_ext >&5
16187 bakefile_cv_c_compiler___HP_cc=no
16191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16196 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16197 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16203 ac_cpp='$CPP $CPPFLAGS'
16204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16205 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16216 ac_cpp='$CPP $CPPFLAGS'
16217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16218 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16221 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16222 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16223 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 cat >conftest.$ac_ext <<_ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16245 rm -f conftest.$ac_objext
16246 if { (ac_try="$ac_compile"
16247 case "(($ac_try" in
16248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16249 *) ac_try_echo=$ac_try;;
16251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16252 (eval "$ac_compile") 2>conftest.er1
16254 grep -v '^
*+' conftest.er1 >conftest.err
16256 cat conftest.err >&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); } && {
16259 test -z "$ac_c_werror_flag" ||
16260 test ! -s conftest.err
16261 } && test -s conftest.$ac_objext; then
16262 bakefile_cv_c_compiler___DECC=yes
16264 echo "$as_me: failed program was:" >&5
16265 sed 's
/^
/| /' conftest.$ac_ext >&5
16267 bakefile_cv_c_compiler___DECC=no
16271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16276 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16277 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16283 ac_cpp='$CPP $CPPFLAGS'
16284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16285 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16296 ac_cpp='$CPP $CPPFLAGS'
16297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16301 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16302 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16303 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 cat >conftest.$ac_ext <<_ACEOF
16309 cat confdefs.h >>conftest.$ac_ext
16310 cat >>conftest.$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16325 rm -f conftest.$ac_objext
16326 if { (ac_try="$ac_compile"
16327 case "(($ac_try" in
16328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16329 *) ac_try_echo=$ac_try;;
16331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16332 (eval "$ac_compile") 2>conftest.er1
16334 grep -v '^
*+' conftest.er1 >conftest.err
16336 cat conftest.err >&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); } && {
16339 test -z "$ac_c_werror_flag" ||
16340 test ! -s conftest.err
16341 } && test -s conftest.$ac_objext; then
16342 bakefile_cv_c_compiler___SUNPRO_C=yes
16344 echo "$as_me: failed program was:" >&5
16345 sed 's
/^
/| /' conftest.$ac_ext >&5
16347 bakefile_cv_c_compiler___SUNPRO_C=no
16351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16355 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16356 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16357 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16363 ac_cpp='$CPP $CPPFLAGS'
16364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16365 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16377 ac_cpp='$CPP $CPPFLAGS'
16378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16379 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16381 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16382 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16383 # On Suns, sometimes $CPP names a directory.
16384 if test -n "$CPP" && test -d "$CPP"; then
16387 if test -z "$CPP"; then
16388 if test "${ac_cv_prog_CPP+set}" = set; then
16389 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 # Double quotes because CPP needs to be expanded
16392 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16394 ac_preproc_ok=false
16395 for ac_c_preproc_warn_flag in '' yes
16397 # Use a header file that comes with gcc, so configuring glibc
16398 # with a fresh cross-compiler works.
16399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16400 # <limits.h> exists even on freestanding compilers.
16401 # On the NeXT, cc -E runs the code through the compiler's parser
,
16402 # not just through cpp. "Syntax error" is here to catch this case.
16403 cat >conftest.
$ac_ext <<_ACEOF
16406 cat confdefs.h
>>conftest.
$ac_ext
16407 cat >>conftest.
$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16410 # include <limits.h>
16412 # include <assert.h>
16416 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16417 case "(($ac_try" in
16418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16419 *) ac_try_echo=$ac_try;;
16421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16424 grep -v '^ *+' conftest.er1 >conftest.err
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } >/dev/null && {
16429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16430 test ! -s conftest.err
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16437 # Broken: fails on valid input.
16441 rm -f conftest.err conftest.$ac_ext
16443 # OK, works on sane cases. Now check whether nonexistent headers
16444 # can be detected and how.
16445 cat >conftest.$ac_ext <<_ACEOF
16448 cat confdefs.h >>conftest.$ac_ext
16449 cat >>conftest.$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 #include <ac_nonexistent.h>
16453 if { (ac_try="$ac_cpp conftest.$ac_ext"
16454 case "(($ac_try" in
16455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16456 *) ac_try_echo
=$ac_try;;
16458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16461 grep -v '^ *+' conftest.er1
>conftest.err
16463 cat conftest.err
>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } >/dev
/null
&& {
16466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16467 test ! -s conftest.err
16469 # Broken: success on invalid input.
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.
$ac_ext >&5
16475 # Passes both tests.
16480 rm -f conftest.err conftest.
$ac_ext
16483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16484 rm -f conftest.err conftest.
$ac_ext
16485 if $ac_preproc_ok; then
16490 ac_cv_prog_CPP
=$CPP
16493 CPP
=$ac_cv_prog_CPP
16495 ac_cv_prog_CPP
=$CPP
16497 { echo "$as_me:$LINENO: result: $CPP" >&5
16498 echo "${ECHO_T}$CPP" >&6; }
16499 ac_preproc_ok
=false
16500 for ac_c_preproc_warn_flag
in '' yes
16502 # Use a header file that comes with gcc, so configuring glibc
16503 # with a fresh cross-compiler works.
16504 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16505 # <limits.h> exists even on freestanding compilers.
16506 # On the NeXT, cc -E runs the code through the compiler's parser,
16507 # not just through cpp. "Syntax error" is here to catch this case.
16508 cat >conftest.
$ac_ext <<_ACEOF
16511 cat confdefs.h
>>conftest.
$ac_ext
16512 cat >>conftest.
$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16515 # include <limits.h>
16517 # include <assert.h>
16521 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16522 case "(($ac_try" in
16523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16524 *) ac_try_echo=$ac_try;;
16526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16529 grep -v '^ *+' conftest.er1 >conftest.err
16531 cat conftest.err >&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } >/dev/null && {
16534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16535 test ! -s conftest.err
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.$ac_ext >&5
16542 # Broken: fails on valid input.
16546 rm -f conftest.err conftest.$ac_ext
16548 # OK, works on sane cases. Now check whether nonexistent headers
16549 # can be detected and how.
16550 cat >conftest.$ac_ext <<_ACEOF
16553 cat confdefs.h >>conftest.$ac_ext
16554 cat >>conftest.$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16556 #include <ac_nonexistent.h>
16558 if { (ac_try="$ac_cpp conftest.$ac_ext"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16561 *) ac_try_echo
=$ac_try;;
16563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16566 grep -v '^ *+' conftest.er1
>conftest.err
16568 cat conftest.err
>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } >/dev
/null
&& {
16571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16572 test ! -s conftest.err
16574 # Broken: success on invalid input.
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16580 # Passes both tests.
16585 rm -f conftest.err conftest.
$ac_ext
16588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16589 rm -f conftest.err conftest.
$ac_ext
16590 if $ac_preproc_ok; then
16593 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16594 See \`config.log' for more details." >&5
16595 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16596 See \`config.log' for more details." >&2;}
16597 { (exit 1); exit 1; }; }
16601 ac_cpp
='$CPP $CPPFLAGS'
16602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16607 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16608 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16609 if test "${ac_cv_path_GREP+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 # Extract the first word of "grep ggrep" to use in msg output
16613 if test -z "$GREP"; then
16614 set dummy
grep ggrep
; ac_prog_name
=$2
16615 if test "${ac_cv_path_GREP+set}" = set; then
16616 echo $ECHO_N "(cached) $ECHO_C" >&6
16618 ac_path_GREP_found
=false
16619 # Loop through the user's path and test for each of PROGNAME-LIST
16620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16621 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16624 test -z "$as_dir" && as_dir
=.
16625 for ac_prog
in grep ggrep
; do
16626 for ac_exec_ext
in '' $ac_executable_extensions; do
16627 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16628 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16629 # Check for GNU ac_path_GREP and select it if it is found.
16630 # Check for GNU $ac_path_GREP
16631 case `"$ac_path_GREP" --version 2>&1` in
16633 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16636 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16639 cat "conftest.in" "conftest.in" >"conftest.tmp"
16640 mv "conftest.tmp" "conftest.in"
16641 cp "conftest.in" "conftest.nl"
16642 echo 'GREP' >> "conftest.nl"
16643 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16644 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16645 ac_count
=`expr $ac_count + 1`
16646 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16647 # Best one so far, save it but keep looking for a better one
16648 ac_cv_path_GREP
="$ac_path_GREP"
16649 ac_path_GREP_max
=$ac_count
16651 # 10*(2^10) chars as input seems more than enough
16652 test $ac_count -gt 10 && break
16654 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16658 $ac_path_GREP_found && break 3
16668 GREP
="$ac_cv_path_GREP"
16669 if test -z "$GREP"; then
16670 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16671 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16672 { (exit 1); exit 1; }; }
16676 ac_cv_path_GREP
=$GREP
16681 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16682 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16683 GREP
="$ac_cv_path_GREP"
16686 { echo "$as_me:$LINENO: checking for egrep" >&5
16687 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16688 if test "${ac_cv_path_EGREP+set}" = set; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16692 then ac_cv_path_EGREP
="$GREP -E"
16694 # Extract the first word of "egrep" to use in msg output
16695 if test -z "$EGREP"; then
16696 set dummy
egrep; ac_prog_name
=$2
16697 if test "${ac_cv_path_EGREP+set}" = set; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 ac_path_EGREP_found
=false
16701 # Loop through the user's path and test for each of PROGNAME-LIST
16702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16703 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16706 test -z "$as_dir" && as_dir
=.
16707 for ac_prog
in egrep; do
16708 for ac_exec_ext
in '' $ac_executable_extensions; do
16709 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16710 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16711 # Check for GNU ac_path_EGREP and select it if it is found.
16712 # Check for GNU $ac_path_EGREP
16713 case `"$ac_path_EGREP" --version 2>&1` in
16715 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16718 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16721 cat "conftest.in" "conftest.in" >"conftest.tmp"
16722 mv "conftest.tmp" "conftest.in"
16723 cp "conftest.in" "conftest.nl"
16724 echo 'EGREP' >> "conftest.nl"
16725 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16726 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16727 ac_count
=`expr $ac_count + 1`
16728 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16729 # Best one so far, save it but keep looking for a better one
16730 ac_cv_path_EGREP
="$ac_path_EGREP"
16731 ac_path_EGREP_max
=$ac_count
16733 # 10*(2^10) chars as input seems more than enough
16734 test $ac_count -gt 10 && break
16736 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16740 $ac_path_EGREP_found && break 3
16750 EGREP
="$ac_cv_path_EGREP"
16751 if test -z "$EGREP"; then
16752 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16753 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16754 { (exit 1); exit 1; }; }
16758 ac_cv_path_EGREP
=$EGREP
16764 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16765 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16766 EGREP
="$ac_cv_path_EGREP"
16769 if test $ac_cv_c_compiler_gnu = yes; then
16770 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16771 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16772 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16773 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 ac_pattern
="Autoconf.*'x'"
16776 cat >conftest.
$ac_ext <<_ACEOF
16779 cat confdefs.h
>>conftest.
$ac_ext
16780 cat >>conftest.
$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16786 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16787 ac_cv_prog_gcc_traditional
=yes
16789 ac_cv_prog_gcc_traditional
=no
16794 if test $ac_cv_prog_gcc_traditional = no
; then
16795 cat >conftest.
$ac_ext <<_ACEOF
16798 cat confdefs.h
>>conftest.
$ac_ext
16799 cat >>conftest.
$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801 #include <termio.h>
16804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16805 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16806 ac_cv_prog_gcc_traditional
=yes
16812 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16813 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16814 if test $ac_cv_prog_gcc_traditional = yes; then
16815 CC
="$CC -traditional"
16820 CXXFLAGS
=${CXXFLAGS:=}
16825 ac_cpp
='$CXXCPP $CPPFLAGS'
16826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16829 if test -z "$CXX"; then
16830 if test -n "$CCC"; then
16833 if test -n "$ac_tool_prefix"; then
16834 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16837 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16840 if test "${ac_cv_prog_CXX+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 if test -n "$CXX"; then
16844 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16847 for as_dir
in $PATH
16850 test -z "$as_dir" && as_dir
=.
16851 for ac_exec_ext
in '' $ac_executable_extensions; do
16852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16853 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16863 CXX
=$ac_cv_prog_CXX
16864 if test -n "$CXX"; then
16865 { echo "$as_me:$LINENO: result: $CXX" >&5
16866 echo "${ECHO_T}$CXX" >&6; }
16868 { echo "$as_me:$LINENO: result: no" >&5
16869 echo "${ECHO_T}no" >&6; }
16873 test -n "$CXX" && break
16876 if test -z "$CXX"; then
16878 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16880 # Extract the first word of "$ac_prog", so it can be a program name with args.
16881 set dummy
$ac_prog; ac_word
=$2
16882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16884 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 if test -n "$ac_ct_CXX"; then
16888 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16891 for as_dir
in $PATH
16894 test -z "$as_dir" && as_dir
=.
16895 for ac_exec_ext
in '' $ac_executable_extensions; do
16896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16897 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16907 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16908 if test -n "$ac_ct_CXX"; then
16909 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16910 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16912 { echo "$as_me:$LINENO: result: no" >&5
16913 echo "${ECHO_T}no" >&6; }
16917 test -n "$ac_ct_CXX" && break
16920 if test "x$ac_ct_CXX" = x
; then
16923 case $cross_compiling:$ac_tool_warned in
16925 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16926 whose name does not start with the host triplet. If you think this
16927 configuration is useful to you, please write to autoconf@gnu.org." >&5
16928 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16929 whose name does not start with the host triplet. If you think this
16930 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16931 ac_tool_warned
=yes ;;
16939 # Provide some information about the compiler.
16940 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16941 ac_compiler
=`set X $ac_compile; echo $2`
16942 { (ac_try
="$ac_compiler --version >&5"
16943 case "(($ac_try" in
16944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compiler --version >&5") 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }
16952 { (ac_try="$ac_compiler -v >&5"
16953 case "(($ac_try" in
16954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16955 *) ac_try_echo
=$ac_try;;
16957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16958 (eval "$ac_compiler -v >&5") 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }
16962 { (ac_try
="$ac_compiler -V >&5"
16963 case "(($ac_try" in
16964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_compiler -V >&5") 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }
16973 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16974 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16975 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 cat >conftest.$ac_ext <<_ACEOF
16981 cat confdefs.h >>conftest.$ac_ext
16982 cat >>conftest.$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16996 rm -f conftest.$ac_objext
16997 if { (ac_try="$ac_compile"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17000 *) ac_try_echo
=$ac_try;;
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_compile") 2>conftest.er1
17005 grep -v '^ *+' conftest.er1
>conftest.err
17007 cat conftest.err
>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } && {
17010 test -z "$ac_cxx_werror_flag" ||
17011 test ! -s conftest.err
17012 } && test -s conftest.
$ac_objext; then
17013 ac_compiler_gnu
=yes
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17022 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17025 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17026 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17027 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17028 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17029 ac_save_CXXFLAGS
=$CXXFLAGS
17030 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17031 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17032 if test "${ac_cv_prog_cxx_g+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17036 ac_cxx_werror_flag
=yes
17037 ac_cv_prog_cxx_g
=no
17039 cat >conftest.
$ac_ext <<_ACEOF
17042 cat confdefs.h
>>conftest.
$ac_ext
17043 cat >>conftest.
$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17054 rm -f conftest.
$ac_objext
17055 if { (ac_try
="$ac_compile"
17056 case "(($ac_try" in
17057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17058 *) ac_try_echo=$ac_try;;
17060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_compile") 2>conftest.er1
17063 grep -v '^ *+' conftest.er1 >conftest.err
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } && {
17068 test -z "$ac_cxx_werror_flag" ||
17069 test ! -s conftest.err
17070 } && test -s conftest.$ac_objext; then
17071 ac_cv_prog_cxx_g=yes
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.$ac_ext >&5
17077 cat >conftest.$ac_ext <<_ACEOF
17080 cat confdefs.h >>conftest.$ac_ext
17081 cat >>conftest.$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17092 rm -f conftest.$ac_objext
17093 if { (ac_try="$ac_compile"
17094 case "(($ac_try" in
17095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17096 *) ac_try_echo
=$ac_try;;
17098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17099 (eval "$ac_compile") 2>conftest.er1
17101 grep -v '^ *+' conftest.er1
>conftest.err
17103 cat conftest.err
>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } && {
17106 test -z "$ac_cxx_werror_flag" ||
17107 test ! -s conftest.err
17108 } && test -s conftest.
$ac_objext; then
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.
$ac_ext >&5
17114 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17116 cat >conftest.
$ac_ext <<_ACEOF
17119 cat confdefs.h
>>conftest.
$ac_ext
17120 cat >>conftest.
$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17131 rm -f conftest.
$ac_objext
17132 if { (ac_try
="$ac_compile"
17133 case "(($ac_try" in
17134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17135 *) ac_try_echo=$ac_try;;
17137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17138 (eval "$ac_compile") 2>conftest.er1
17140 grep -v '^ *+' conftest.er1 >conftest.err
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } && {
17145 test -z "$ac_cxx_werror_flag" ||
17146 test ! -s conftest.err
17147 } && test -s conftest.$ac_objext; then
17148 ac_cv_prog_cxx_g=yes
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17165 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17166 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17167 if test "$ac_test_CXXFLAGS" = set; then
17168 CXXFLAGS=$ac_save_CXXFLAGS
17169 elif test $ac_cv_prog_cxx_g = yes; then
17170 if test "$GXX" = yes; then
17176 if test "$GXX" = yes; then
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17192 ac_cpp='$CXXCPP $CPPFLAGS'
17193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17197 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17198 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17199 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 cat >conftest.$ac_ext <<_ACEOF
17205 cat confdefs.h >>conftest.$ac_ext
17206 cat >>conftest.$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17213 #ifndef __INTEL_COMPILER
17221 rm -f conftest.$ac_objext
17222 if { (ac_try="$ac_compile"
17223 case "(($ac_try" in
17224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17225 *) ac_try_echo
=$ac_try;;
17227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228 (eval "$ac_compile") 2>conftest.er1
17230 grep -v '^ *+' conftest.er1
>conftest.err
17232 cat conftest.err
>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } && {
17235 test -z "$ac_cxx_werror_flag" ||
17236 test ! -s conftest.err
17237 } && test -s conftest.
$ac_objext; then
17238 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.
$ac_ext >&5
17243 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17251 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17252 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17253 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17259 ac_cpp
='$CPP $CPPFLAGS'
17260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17267 if test "$INTELCXX" = "yes"; then
17271 ac_cpp
='$CXXCPP $CPPFLAGS'
17272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17276 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17277 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17278 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17279 echo $ECHO_N "(cached) $ECHO_C" >&6
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17292 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17300 rm -f conftest.
$ac_objext
17301 if { (ac_try
="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17309 grep -v '^ *+' conftest.er1 >conftest.err
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_cxx_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17322 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17331 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17332 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17338 ac_cpp='$CPP $CPPFLAGS'
17339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17348 ac_cpp='$CXXCPP $CPPFLAGS'
17349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17353 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17354 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17355 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17358 cat >conftest.$ac_ext <<_ACEOF
17361 cat confdefs.h >>conftest.$ac_ext
17362 cat >>conftest.$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17369 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17377 rm -f conftest.$ac_objext
17378 if { (ac_try="$ac_compile"
17379 case "(($ac_try" in
17380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17381 *) ac_try_echo
=$ac_try;;
17383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17384 (eval "$ac_compile") 2>conftest.er1
17386 grep -v '^ *+' conftest.er1
>conftest.err
17388 cat conftest.err
>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } && {
17391 test -z "$ac_cxx_werror_flag" ||
17392 test ! -s conftest.err
17393 } && test -s conftest.
$ac_objext; then
17394 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17396 echo "$as_me: failed program was:" >&5
17397 sed 's/^/| /' conftest.
$ac_ext >&5
17399 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17407 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17408 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17409 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17415 ac_cpp
='$CPP $CPPFLAGS'
17416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17424 if test "x$GCXX" != "xyes"; then
17425 if test "xCXX" = "xC"; then
17426 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17427 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17428 if test "${bakefile_cv_c_exto+set}" = set; then
17429 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 cat >conftest.
$ac_ext <<_ACEOF
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17446 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17448 (eval $ac_compile) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; then
17452 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17454 conftest.
$ac_ext.o
)
17455 bakefile_cv_c_exto
="-ext o"
17462 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17463 See \`config.log' for more details." >&5
17464 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17465 See \`config.log' for more details." >&2;}
17466 { (exit 1); exit 1; }; }
17470 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17473 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17474 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17475 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17476 if test "c" = "c"; then
17477 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17479 if test "c" = "cxx"; then
17480 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17484 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17485 unset ac_cv_prog_cc_g
17486 ac_test_CFLAGS
=${CFLAGS+set}
17487 ac_save_CFLAGS
=$CFLAGS
17488 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17489 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17490 if test "${ac_cv_prog_cc_g+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 ac_save_c_werror_flag
=$ac_c_werror_flag
17494 ac_c_werror_flag
=yes
17497 cat >conftest.
$ac_ext <<_ACEOF
17500 cat confdefs.h
>>conftest.
$ac_ext
17501 cat >>conftest.
$ac_ext <<_ACEOF
17502 /* end confdefs.h. */
17512 rm -f conftest.
$ac_objext
17513 if { (ac_try
="$ac_compile"
17514 case "(($ac_try" in
17515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17516 *) ac_try_echo=$ac_try;;
17518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17519 (eval "$ac_compile") 2>conftest.er1
17521 grep -v '^ *+' conftest.er1 >conftest.err
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && {
17526 test -z "$ac_c_werror_flag" ||
17527 test ! -s conftest.err
17528 } && test -s conftest.$ac_objext; then
17529 ac_cv_prog_cc_g=yes
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.$ac_ext >&5
17535 cat >conftest.$ac_ext <<_ACEOF
17538 cat confdefs.h >>conftest.$ac_ext
17539 cat >>conftest.$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17550 rm -f conftest.$ac_objext
17551 if { (ac_try="$ac_compile"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17554 *) ac_try_echo
=$ac_try;;
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_compile") 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } && {
17564 test -z "$ac_c_werror_flag" ||
17565 test ! -s conftest.err
17566 } && test -s conftest.
$ac_objext; then
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.
$ac_ext >&5
17572 ac_c_werror_flag
=$ac_save_c_werror_flag
17574 cat >conftest.
$ac_ext <<_ACEOF
17577 cat confdefs.h
>>conftest.
$ac_ext
17578 cat >>conftest.
$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17589 rm -f conftest.
$ac_objext
17590 if { (ac_try
="$ac_compile"
17591 case "(($ac_try" in
17592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17593 *) ac_try_echo=$ac_try;;
17595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17596 (eval "$ac_compile") 2>conftest.er1
17598 grep -v '^ *+' conftest.er1 >conftest.err
17600 cat conftest.err >&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } && {
17603 test -z "$ac_c_werror_flag" ||
17604 test ! -s conftest.err
17605 } && test -s conftest.$ac_objext; then
17606 ac_cv_prog_cc_g=yes
17608 echo "$as_me: failed program was:" >&5
17609 sed 's/^/| /' conftest.$ac_ext >&5
17614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 ac_c_werror_flag=$ac_save_c_werror_flag
17623 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17624 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17625 if test "$ac_test_CFLAGS" = set; then
17626 CFLAGS=$ac_save_CFLAGS
17627 elif test $ac_cv_prog_cc_g = yes; then
17628 if test "$GCC" = yes; then
17634 if test "$GCC" = yes; then
17648 ac_cpp='$CXXCPP $CPPFLAGS'
17649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17653 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17654 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17655 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 cat >conftest.$ac_ext <<_ACEOF
17661 cat confdefs.h >>conftest.$ac_ext
17662 cat >>conftest.$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17677 rm -f conftest.$ac_objext
17678 if { (ac_try="$ac_compile"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17681 *) ac_try_echo
=$ac_try;;
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_compile") 2>conftest.er1
17686 grep -v '^ *+' conftest.er1
>conftest.err
17688 cat conftest.err
>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && {
17691 test -z "$ac_cxx_werror_flag" ||
17692 test ! -s conftest.err
17693 } && test -s conftest.
$ac_objext; then
17694 bakefile_cv_cxx_compiler___xlC__
=yes
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 bakefile_cv_cxx_compiler___xlC__
=no
17703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17707 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17708 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17709 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17715 ac_cpp
='$CPP $CPPFLAGS'
17716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17728 ac_cpp
='$CXXCPP $CPPFLAGS'
17729 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17733 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17734 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17735 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17757 rm -f conftest.
$ac_objext
17758 if { (ac_try
="$ac_compile"
17759 case "(($ac_try" in
17760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17761 *) ac_try_echo=$ac_try;;
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_compile") 2>conftest.er1
17766 grep -v '^ *+' conftest.er1 >conftest.err
17768 cat conftest.err >&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } && {
17771 test -z "$ac_cxx_werror_flag" ||
17772 test ! -s conftest.err
17773 } && test -s conftest.$ac_objext; then
17774 bakefile_cv_cxx_compiler___MWERKS__=yes
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17779 bakefile_cv_cxx_compiler___MWERKS__=no
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17788 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17789 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17795 ac_cpp='$CPP $CPPFLAGS'
17796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17802 if test "$MWCXX" != "yes"; then
17806 ac_cpp='$CXXCPP $CPPFLAGS'
17807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17811 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17812 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17813 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 cat >conftest.$ac_ext <<_ACEOF
17819 cat confdefs.h >>conftest.$ac_ext
17820 cat >>conftest.$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17839 *) ac_try_echo
=$ac_try;;
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_cxx_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.
$ac_objext; then
17852 bakefile_cv_cxx_compiler___xlC__
=yes
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.
$ac_ext >&5
17857 bakefile_cv_cxx_compiler___xlC__
=no
17861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17865 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17866 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17867 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17873 ac_cpp
='$CPP $CPPFLAGS'
17874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17887 ac_cpp
='$CXXCPP $CPPFLAGS'
17888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17892 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17893 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17894 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 cat >conftest.
$ac_ext <<_ACEOF
17900 cat confdefs.h
>>conftest.
$ac_ext
17901 cat >>conftest.
$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17908 #ifndef _SGI_COMPILER_VERSION
17916 rm -f conftest.
$ac_objext
17917 if { (ac_try
="$ac_compile"
17918 case "(($ac_try" in
17919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17920 *) ac_try_echo=$ac_try;;
17922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17923 (eval "$ac_compile") 2>conftest.er1
17925 grep -v '^ *+' conftest.er1 >conftest.err
17927 cat conftest.err >&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); } && {
17930 test -z "$ac_cxx_werror_flag" ||
17931 test ! -s conftest.err
17932 } && test -s conftest.$ac_objext; then
17933 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17938 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17947 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17948 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17954 ac_cpp='$CPP $CPPFLAGS'
17955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964 if test "$INTELCXX" != "yes"; then
17968 ac_cpp='$CXXCPP $CPPFLAGS'
17969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17973 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17974 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17975 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 cat >conftest.$ac_ext <<_ACEOF
17981 cat confdefs.h >>conftest.$ac_ext
17982 cat >>conftest.$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17989 #ifndef __SUNPRO_CC
17997 rm -f conftest.$ac_objext
17998 if { (ac_try="$ac_compile"
17999 case "(($ac_try" in
18000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18001 *) ac_try_echo
=$ac_try;;
18003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18004 (eval "$ac_compile") 2>conftest.er1
18006 grep -v '^ *+' conftest.er1
>conftest.err
18008 cat conftest.err
>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } && {
18011 test -z "$ac_cxx_werror_flag" ||
18012 test ! -s conftest.err
18013 } && test -s conftest.
$ac_objext; then
18014 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.
$ac_ext >&5
18019 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18027 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18028 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18029 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18035 ac_cpp
='$CPP $CPPFLAGS'
18036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18049 ac_cpp
='$CXXCPP $CPPFLAGS'
18050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18054 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18055 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18056 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 cat >conftest.
$ac_ext <<_ACEOF
18062 cat confdefs.h
>>conftest.
$ac_ext
18063 cat >>conftest.
$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18078 rm -f conftest.
$ac_objext
18079 if { (ac_try
="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18087 grep -v '^ *+' conftest.er1 >conftest.err
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_cxx_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 bakefile_cv_cxx_compiler___HP_aCC=yes
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18100 bakefile_cv_cxx_compiler___HP_aCC=no
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18108 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18109 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18110 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18134 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18135 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18136 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18137 echo $ECHO_N "(cached) $ECHO_C" >&6
18139 cat >conftest.$ac_ext <<_ACEOF
18142 cat confdefs.h >>conftest.$ac_ext
18143 cat >>conftest.$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18158 rm -f conftest.$ac_objext
18159 if { (ac_try="$ac_compile"
18160 case "(($ac_try" in
18161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18162 *) ac_try_echo
=$ac_try;;
18164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18165 (eval "$ac_compile") 2>conftest.er1
18167 grep -v '^ *+' conftest.er1
>conftest.err
18169 cat conftest.err
>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } && {
18172 test -z "$ac_cxx_werror_flag" ||
18173 test ! -s conftest.err
18174 } && test -s conftest.
$ac_objext; then
18175 bakefile_cv_cxx_compiler___DECCXX
=yes
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.
$ac_ext >&5
18180 bakefile_cv_cxx_compiler___DECCXX
=no
18184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18188 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18189 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18190 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18196 ac_cpp
='$CPP $CPPFLAGS'
18197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18209 ac_cpp
='$CXXCPP $CPPFLAGS'
18210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18214 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18215 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18216 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18217 echo $ECHO_N "(cached) $ECHO_C" >&6
18219 cat >conftest.
$ac_ext <<_ACEOF
18222 cat confdefs.h
>>conftest.
$ac_ext
18223 cat >>conftest.
$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18230 #ifndef __SUNPRO_CC
18238 rm -f conftest.
$ac_objext
18239 if { (ac_try
="$ac_compile"
18240 case "(($ac_try" in
18241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18242 *) ac_try_echo=$ac_try;;
18244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18245 (eval "$ac_compile") 2>conftest.er1
18247 grep -v '^ *+' conftest.er1 >conftest.err
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } && {
18252 test -z "$ac_cxx_werror_flag" ||
18253 test ! -s conftest.err
18254 } && test -s conftest.$ac_objext; then
18255 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18257 echo "$as_me: failed program was:" >&5
18258 sed 's/^/| /' conftest.$ac_ext >&5
18260 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18269 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18270 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18289 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18290 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18291 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18292 { (exit 1); exit 1; }; }
18295 if test "x$SUNCXX" != xyes; then
18296 if test -n "$ac_tool_prefix"; then
18297 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18298 set dummy ${ac_tool_prefix}ar; ac_word=$2
18299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18301 if test "${ac_cv_prog_AR+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18304 if test -n "$AR"; then
18305 ac_cv_prog_AR="$AR" # Let the user override the test.
18307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18308 for as_dir in $PATH
18311 test -z "$as_dir" && as_dir=.
18312 for ac_exec_ext in '' $ac_executable_extensions; do
18313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18314 ac_cv_prog_AR="${ac_tool_prefix}ar"
18315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18325 if test -n "$AR"; then
18326 { echo "$as_me:$LINENO: result: $AR" >&5
18327 echo "${ECHO_T}$AR" >&6; }
18329 { echo "$as_me:$LINENO: result: no" >&5
18330 echo "${ECHO_T}no" >&6; }
18335 if test -z "$ac_cv_prog_AR"; then
18337 # Extract the first word of "ar", so it can be a program name with args.
18338 set dummy ar; ac_word=$2
18339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18344 if test -n "$ac_ct_AR"; then
18345 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18348 for as_dir in $PATH
18351 test -z "$as_dir" && as_dir=.
18352 for ac_exec_ext in '' $ac_executable_extensions; do
18353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18354 ac_cv_prog_ac_ct_AR="ar"
18355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18364 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18365 if test -n "$ac_ct_AR"; then
18366 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18367 echo "${ECHO_T}$ac_ct_AR" >&6; }
18369 { echo "$as_me:$LINENO: result: no" >&5
18370 echo "${ECHO_T}no" >&6; }
18373 if test "x$ac_ct_AR" = x; then
18376 case $cross_compiling:$ac_tool_warned in
18378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18379 whose name does not start with the host triplet. If you think this
18380 configuration is useful to you, please write to autoconf@gnu.org." >&5
18381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18382 whose name does not start with the host triplet. If you think this
18383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18384 ac_tool_warned=yes ;;
18389 AR="$ac_cv_prog_AR"
18392 if test "x$AR" = "x" ; then
18393 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18394 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18395 { (exit 1); exit 1; }; }
18400 if test "$wxUSE_MAC" = 1; then
18402 retest_macosx_linking=no
18404 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18405 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18406 # Implicitly turn on the new --with-macosx-sdk using the default
18407 # SDK which provides the behavior this option has always had.
18408 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18409 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18410 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18411 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18412 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18413 wxUSE_MACOSX_SDK=yes
18416 # Complain to user if he specified an argument to --enable-universal_binary
18417 # and also 1) specified --with-macosx-sdk using the default (yes) or
18418 # 2) specified --with-macosx-sdk using a path or 3) specified
18419 # --without-macosx-sdk (no).
18420 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18421 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18422 See \`config.log
' for more details." >&5
18423 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18424 See \`config.log' for more details.
" >&2;}
18425 { (exit 1); exit 1; }; }
18427 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18428 # special-case the empty string because the below test simply
18429 # converts "no
" to the empty string anyway.
18430 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18431 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18432 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18435 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18436 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18437 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18438 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18439 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18440 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18441 retest_macosx_linking=yes
18443 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18444 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18448 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18450 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18451 # TODO: Search for most recent SDK and use it.
18452 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18456 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18457 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18458 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18459 if ! test -d "$wxUSE_MACOSX_SDK"; then
18460 { { echo "$as_me:$LINENO: error
: not found
18461 See \
`config.log' for more details." >&5
18462 echo "$as_me: error: not found
18463 See \`config.log
' for more details." >&2;}
18464 { (exit 1); exit 1; }; }
18466 { echo "$as_me:$LINENO: result: exists" >&5
18467 echo "${ECHO_T}exists" >&6; }
18469 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18470 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18471 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18472 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18473 retest_macosx_linking=yes
18476 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18477 wxUSE_MACOSX_VERSION_MIN=
18478 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18479 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18480 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18481 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18483 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/'`
18485 # If that failed, try again with the new key
18486 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18488 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/'`
18492 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18493 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18494 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18495 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18497 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18498 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18499 wxUSE_MACOSX_VERSION_MIN=
18502 wxUSE_MACOSX_VERSION_MIN=
18504 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18505 for ac_prog in sw_vers
18507 # Extract the first word of "$ac_prog", so it can be a program name with args.
18508 set dummy $ac_prog; ac_word=$2
18509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18511 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 if test -n "$OSX_SW_VERS"; then
18515 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18518 for as_dir in $PATH
18521 test -z "$as_dir" && as_dir=.
18522 for ac_exec_ext in '' $ac_executable_extensions; do
18523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18524 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18534 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18535 if test -n "$OSX_SW_VERS"; then
18536 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18537 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18539 { echo "$as_me:$LINENO: result: no" >&5
18540 echo "${ECHO_T}no" >&6; }
18544 test -n "$OSX_SW_VERS" && break
18547 if test "$OSX_SW_VERS" != ""; then
18548 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18550 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18551 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18555 case "$OSX_VERSION" in
18557 wxUSE_MACOSX_VERSION_MIN=10.4
18561 if test "$wxUSE_OSX_CARBON" = 1; then
18562 # otherwise configure stops on leopard for universal_binary
18563 wxUSE_MACOSX_VERSION_MIN=10.4
18565 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18566 wxUSE_MACOSX_VERSION_MIN=10.5
18573 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18577 if test "$wxUSE_OSX_CARBON" = 1; then
18581 if test "x$NEEDS_GCC40" == "xyes"; then
18582 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18583 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18584 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18585 if test "x$CC" = "xgcc"; then
18586 CCVERSION=`$CC --version | grep 4.[2-9].`
18587 if test "x$CCVERSION" != "x"; then
18588 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18589 CC="/usr/bin/gcc-4.0"
18593 if test "x$CXX" = "xg++"; then
18594 CCVERSION=`$CXX --version | grep 4.[2-9].`
18595 if test "x$CCVERSION" != "x"; then
18596 CXX="/usr/bin/g++-4.0"
18601 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18602 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18603 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18604 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18605 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18606 retest_macosx_linking=yes
18609 if test "x$retest_macosx_linking" = "xyes"; then
18611 ac_cpp='$CPP $CPPFLAGS'
18612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18613 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18616 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18617 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18618 cat >conftest.$ac_ext <<_ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18633 rm -f conftest.$ac_objext conftest$ac_exeext
18634 if { (ac_try="$ac_link"
18635 case "(($ac_try" in
18636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18637 *) ac_try_echo=$ac_try;;
18639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18640 (eval "$ac_link") 2>conftest.er1
18642 grep -v '^
*+' conftest.er1 >conftest.err
18644 cat conftest.err >&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && {
18647 test -z "$ac_c_werror_flag" ||
18648 test ! -s conftest.err
18649 } && test -s conftest$ac_exeext &&
18650 $as_test_x conftest$ac_exeext; then
18651 { echo "$as_me:$LINENO: result: yes" >&5
18652 echo "${ECHO_T}yes" >&6; }
18654 echo "$as_me: failed program was:" >&5
18655 sed 's
/^
/| /' conftest.$ac_ext >&5
18657 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18658 See \`config.log' for more details.
" >&5
18659 echo "$as_me: error
: no. Try a different SDK
18660 See \
`config.log' for more details." >&2;}
18661 { (exit 1); exit 1; }; }; exit 1
18664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18665 conftest$ac_exeext conftest.$ac_ext
18667 ac_cpp='$CPP $CPPFLAGS'
18668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18674 ac_cpp='$CXXCPP $CPPFLAGS'
18675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18679 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18680 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18681 cat >conftest.$ac_ext <<_ACEOF
18684 cat confdefs.h >>conftest.$ac_ext
18685 cat >>conftest.$ac_ext <<_ACEOF
18686 /* end confdefs.h. */
18696 rm -f conftest.$ac_objext conftest$ac_exeext
18697 if { (ac_try="$ac_link"
18698 case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18700 *) ac_try_echo
=$ac_try;;
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_link") 2>conftest.er1
18705 grep -v '^ *+' conftest.er1
>conftest.err
18707 cat conftest.err
>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } && {
18710 test -z "$ac_cxx_werror_flag" ||
18711 test ! -s conftest.err
18712 } && test -s conftest
$ac_exeext &&
18713 $as_test_x conftest
$ac_exeext; then
18714 { echo "$as_me:$LINENO: result: yes" >&5
18715 echo "${ECHO_T}yes" >&6; }
18717 echo "$as_me: failed program was:" >&5
18718 sed 's/^/| /' conftest.
$ac_ext >&5
18720 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18721 See \`config.log' for more details." >&5
18722 echo "$as_me: error: no. Try a different SDK
18723 See \`config.log' for more details." >&2;}
18724 { (exit 1); exit 1; }; }; exit 1
18727 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18728 conftest
$ac_exeext conftest.
$ac_ext
18730 ac_cpp
='$CPP $CPPFLAGS'
18731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18741 INSTALL_PROGRAM
="cp -fp"
18742 INSTALL_DATA
="cp -fp"
18749 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18750 CXXFLAGS
="-qunique $CXXFLAGS"
18754 powerpc
-*-darwin* )
18755 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18756 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18757 cat >conftest.
$ac_ext <<_ACEOF
18760 cat confdefs.h
>>conftest.
$ac_ext
18761 cat >>conftest.
$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18767 #ifndef __POWERPC__
18768 choke me for lack of PowerPC
18775 rm -f conftest.
$ac_objext
18776 if { (ac_try
="$ac_compile"
18777 case "(($ac_try" in
18778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18779 *) ac_try_echo=$ac_try;;
18781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18782 (eval "$ac_compile") 2>conftest.er1
18784 grep -v '^ *+' conftest.er1 >conftest.err
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } && {
18789 test -z "$ac_c_werror_flag" ||
18790 test ! -s conftest.err
18791 } && test -s conftest.$ac_objext; then
18792 { echo "$as_me:$LINENO: result: yes" >&5
18793 echo "${ECHO_T}yes" >&6; }
18795 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.$ac_ext >&5
18798 { echo "$as_me:$LINENO: result: no" >&5
18799 echo "${ECHO_T}no" >&6; }
18800 cat >>confdefs.h <<\_ACEOF
18801 #define __POWERPC__ 1
18807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18813 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18814 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18815 cat >conftest.$ac_ext <<_ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <CoreFoundation/CFBase.h>
18831 rm -f conftest.$ac_objext
18832 if { (ac_try="$ac_compile"
18833 case "(($ac_try" in
18834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18835 *) ac_try_echo
=$ac_try;;
18837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18838 (eval "$ac_compile") 2>conftest.er1
18840 grep -v '^ *+' conftest.er1
>conftest.err
18842 cat conftest.err
>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } && {
18845 test -z "$ac_c_werror_flag" ||
18846 test ! -s conftest.err
18847 } && test -s conftest.
$ac_objext; then
18848 { echo "$as_me:$LINENO: result: yes" >&5
18849 echo "${ECHO_T}yes" >&6; }
18851 echo "$as_me: failed program was:" >&5
18852 sed 's/^/| /' conftest.
$ac_ext >&5
18854 { echo "$as_me:$LINENO: result: no" >&5
18855 echo "${ECHO_T}no" >&6; }
18856 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18857 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18858 cat >conftest.
$ac_ext <<_ACEOF
18861 cat confdefs.h
>>conftest.
$ac_ext
18862 cat >>conftest.
$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #define __CF_USE_FRAMEWORK_INCLUDES__
18865 #include <CoreFoundation/CFBase.h>
18875 rm -f conftest.
$ac_objext
18876 if { (ac_try
="$ac_compile"
18877 case "(($ac_try" in
18878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18879 *) ac_try_echo=$ac_try;;
18881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18882 (eval "$ac_compile") 2>conftest.er1
18884 grep -v '^ *+' conftest.er1 >conftest.err
18886 cat conftest.err >&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); } && {
18889 test -z "$ac_c_werror_flag" ||
18890 test ! -s conftest.err
18891 } && test -s conftest.$ac_objext; then
18892 { echo "$as_me:$LINENO: result: yes" >&5
18893 echo "${ECHO_T}yes" >&6; }
18894 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18899 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18900 See \`config.log
' for more details." >&5
18901 echo "$as_me: error: no. CoreFoundation not available.
18902 See \`config.log' for more details.
" >&2;}
18903 { (exit 1); exit 1; }; }
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 doesnt_want_win32=0
18920 if test "$wxUSE_MSW" = 1 ; then
18923 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18924 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18925 if test "${wx_cv_nocygwin+set}" = set; then
18926 echo $ECHO_N "(cached
) $ECHO_C" >&6
18929 cat >conftest.$ac_ext <<_ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18948 rm -f conftest.$ac_objext
18949 if { (ac_try="$ac_compile"
18950 case "(($ac_try" in
18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952 *) ac_try_echo=$ac_try;;
18954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18955 (eval "$ac_compile") 2>conftest.er1
18957 grep -v '^ *+' conftest.er1 >conftest.err
18959 cat conftest.err >&5
18960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18961 (exit $ac_status); } && {
18962 test -z "$ac_c_werror_flag" ||
18963 test ! -s conftest.err
18964 } && test -s conftest.$ac_objext; then
18967 echo "$as_me: failed program was
:" >&5
18968 sed 's/^/| /' conftest.$ac_ext >&5
18974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18978 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18979 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18981 if test "$wx_cv_nocygwin" = "yes"; then
18984 doesnt_want_win32=1
18987 if test "$wants_win32" = 1 ; then
18988 BAKEFILE_FORCE_PLATFORM=win32
18996 if test "$wxUSE_WINE" = "yes"; then
18998 LDFLAGS_GUI="-mwindows"
19001 if test "$wants_win32" = 1 ; then
19004 cat >>confdefs.h <<\_ACEOF
19005 #define __WIN32__ 1
19008 cat >>confdefs.h <<\_ACEOF
19009 #define __WIN95__ 1
19012 cat >>confdefs.h <<\_ACEOF
19013 #define __WINDOWS__ 1
19016 cat >>confdefs.h <<\_ACEOF
19017 #define __GNUWIN32__ 1
19020 cat >>confdefs.h <<\_ACEOF
19025 if test "$doesnt_want_win32" = 1 ; then
19030 if test "$USE_UNIX" = 1 ; then
19032 cat >>confdefs.h <<\_ACEOF
19039 *-pc-os2_emx | *-pc-os2-emx )
19040 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19041 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19042 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19043 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19044 echo $ECHO_N "(cached
) $ECHO_C" >&6
19046 ac_check_lib_save_LIBS=$LIBS
19047 LIBS="-lcExt $LIBS"
19048 cat >conftest.$ac_ext <<_ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19055 /* Override any GCC internal prototype to avoid an error.
19056 Use char because int might match the return type of a GCC
19057 builtin and then its argument prototype would still apply. */
19070 rm -f conftest.$ac_objext conftest$ac_exeext
19071 if { (ac_try="$ac_link"
19072 case "(($ac_try" in
19073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19074 *) ac_try_echo=$ac_try;;
19076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19077 (eval "$ac_link") 2>conftest.er1
19079 grep -v '^ *+' conftest.er1 >conftest.err
19081 cat conftest.err >&5
19082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19083 (exit $ac_status); } && {
19084 test -z "$ac_c_werror_flag" ||
19085 test ! -s conftest.err
19086 } && test -s conftest$ac_exeext &&
19087 $as_test_x conftest$ac_exeext; then
19088 ac_cv_lib_cExt_drand48=yes
19090 echo "$as_me: failed program was
:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19093 ac_cv_lib_cExt_drand48=no
19096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19097 conftest$ac_exeext conftest.$ac_ext
19098 LIBS=$ac_check_lib_save_LIBS
19100 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19101 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19102 if test $ac_cv_lib_cExt_drand48 = yes; then
19103 LIBS="$LIBS -lcExt"
19107 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19109 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19110 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19111 if test "${wx_cv_gccversion+set}" = set; then
19112 echo $ECHO_N "(cached
) $ECHO_C" >&6
19115 if test "$cross_compiling" = yes; then
19116 wx_cv_gccversion="EMX2
"
19119 cat >conftest.$ac_ext <<_ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19130 FILE *f=fopen("conftestval
", "w
");
19135 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19137 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19147 rm -f conftest$ac_exeext
19148 if { (ac_try="$ac_link"
19149 case "(($ac_try" in
19150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19151 *) ac_try_echo=$ac_try;;
19153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19154 (eval "$ac_link") 2>&5
19156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19158 { (case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_try") 2>&5
19165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19166 (exit $ac_status); }; }; then
19167 wx_cv_gccversion=`cat conftestval`
19169 echo "$as_me: program exited with status
$ac_status" >&5
19170 echo "$as_me: failed program was
:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19173 ( exit $ac_status )
19174 wx_cv_gccversion="EMX2
"
19176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19182 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19183 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19184 if test "$wx_cv_gccversion" = "EMX2
"; then
19185 LIBS="$LIBS -lstdcpp"
19186 LDFLAGS="$LDFLAGS -Zsysv-signals"
19188 if test "$wx_cv_gccversion" = "EMX3
"; then
19189 LIBS="$LIBS -lstdcxx -lgcc"
19190 LDFLAGS="$LDFLAGS -Zsysv-signals"
19192 LIBS="$LIBS -lstdc++"
19195 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19196 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19197 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19204 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19205 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19206 if test "${ac_cv_string_strcasecmp+set}" = set; then
19207 echo $ECHO_N "(cached
) $ECHO_C" >&6
19210 cat >conftest.$ac_ext <<_ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19217 #include <string.h>
19223 strcasecmp("foo
", "bar
");
19229 rm -f conftest.$ac_objext conftest$ac_exeext
19230 if { (ac_try="$ac_link"
19231 case "(($ac_try" in
19232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19233 *) ac_try_echo=$ac_try;;
19235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19236 (eval "$ac_link") 2>conftest.er1
19238 grep -v '^ *+' conftest.er1 >conftest.err
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_c_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest$ac_exeext &&
19246 $as_test_x conftest$ac_exeext; then
19247 ac_cv_string_strcasecmp=yes
19249 echo "$as_me: failed program was
:" >&5
19250 sed 's/^/| /' conftest.$ac_ext >&5
19252 ac_cv_string_strcasecmp=no
19256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19257 conftest$ac_exeext conftest.$ac_ext
19260 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19261 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19263 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19264 cat >>confdefs.h <<\_ACEOF
19265 #define HAVE_STRCASECMP_IN_STRING_H 1
19269 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19270 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19271 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19272 echo $ECHO_N "(cached
) $ECHO_C" >&6
19275 cat >conftest.$ac_ext <<_ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19282 #include <strings.h>
19288 strcasecmp("foo
", "bar
");
19294 rm -f conftest.$ac_objext conftest$ac_exeext
19295 if { (ac_try="$ac_link"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_link") 2>conftest.er1
19303 grep -v '^ *+' conftest.er1 >conftest.err
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_c_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest$ac_exeext &&
19311 $as_test_x conftest$ac_exeext; then
19312 ac_cv_strings_strcasecmp=yes
19314 echo "$as_me: failed program was
:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19317 ac_cv_strings_strcasecmp=no
19321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19322 conftest$ac_exeext conftest.$ac_ext
19325 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19326 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19328 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19329 cat >>confdefs.h <<\_ACEOF
19330 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19334 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19335 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19336 { (exit 1); exit 1; }; }
19344 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19345 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19346 if test "${ac_cv_header_stdc+set}" = set; then
19347 echo $ECHO_N "(cached
) $ECHO_C" >&6
19349 cat >conftest.$ac_ext <<_ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 #include <stdlib.h>
19356 #include <stdarg.h>
19357 #include <string.h>
19368 rm -f conftest.$ac_objext
19369 if { (ac_try="$ac_compile"
19370 case "(($ac_try" in
19371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19372 *) ac_try_echo=$ac_try;;
19374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19375 (eval "$ac_compile") 2>conftest.er1
19377 grep -v '^ *+' conftest.er1 >conftest.err
19379 cat conftest.err >&5
19380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19381 (exit $ac_status); } && {
19382 test -z "$ac_c_werror_flag" ||
19383 test ! -s conftest.err
19384 } && test -s conftest.$ac_objext; then
19385 ac_cv_header_stdc=yes
19387 echo "$as_me: failed program was
:" >&5
19388 sed 's/^/| /' conftest.$ac_ext >&5
19390 ac_cv_header_stdc=no
19393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19395 if test $ac_cv_header_stdc = yes; then
19396 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19397 cat >conftest.$ac_ext <<_ACEOF
19400 cat confdefs.h >>conftest.$ac_ext
19401 cat >>conftest.$ac_ext <<_ACEOF
19402 /* end confdefs.h. */
19403 #include <string.h>
19406 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19407 $EGREP "memchr
" >/dev/null 2>&1; then
19410 ac_cv_header_stdc=no
19416 if test $ac_cv_header_stdc = yes; then
19417 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19418 cat >conftest.$ac_ext <<_ACEOF
19421 cat confdefs.h >>conftest.$ac_ext
19422 cat >>conftest.$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19424 #include <stdlib.h>
19427 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19428 $EGREP "free
" >/dev/null 2>&1; then
19431 ac_cv_header_stdc=no
19437 if test $ac_cv_header_stdc = yes; then
19438 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19439 if test "$cross_compiling" = yes; then
19442 cat >conftest.$ac_ext <<_ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19449 #include <stdlib.h>
19450 #if ((' ' & 0x0FF) == 0x020)
19451 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19452 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19454 # define ISLOWER(c) \
19455 (('a' <= (c) && (c) <= 'i') \
19456 || ('j' <= (c) && (c) <= 'r') \
19457 || ('s' <= (c) && (c) <= 'z'))
19458 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19466 for (i = 0; i < 256; i++)
19467 if (XOR (islower (i), ISLOWER (i))
19468 || toupper (i) != TOUPPER (i))
19473 rm -f conftest$ac_exeext
19474 if { (ac_try="$ac_link"
19475 case "(($ac_try" in
19476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19477 *) ac_try_echo=$ac_try;;
19479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19480 (eval "$ac_link") 2>&5
19482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19483 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19484 { (case "(($ac_try" in
19485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19486 *) ac_try_echo=$ac_try;;
19488 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19489 (eval "$ac_try") 2>&5
19491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19492 (exit $ac_status); }; }; then
19495 echo "$as_me: program exited with status
$ac_status" >&5
19496 echo "$as_me: failed program was
:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19499 ( exit $ac_status )
19500 ac_cv_header_stdc=no
19502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19508 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19509 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19510 if test $ac_cv_header_stdc = yes; then
19512 cat >>confdefs.h <<\_ACEOF
19513 #define STDC_HEADERS 1
19518 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19528 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19529 inttypes.h stdint.h unistd.h
19531 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19532 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19533 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19534 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19535 echo $ECHO_N "(cached
) $ECHO_C" >&6
19537 cat >conftest.$ac_ext <<_ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19545 #include <$ac_header>
19547 rm -f conftest.$ac_objext
19548 if { (ac_try="$ac_compile"
19549 case "(($ac_try" in
19550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19553 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_compile") 2>conftest.er1
19556 grep -v '^ *+' conftest.er1 >conftest.err
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19560 (exit $ac_status); } && {
19561 test -z "$ac_c_werror_flag" ||
19562 test ! -s conftest.err
19563 } && test -s conftest.$ac_objext; then
19564 eval "$as_ac_Header=yes"
19566 echo "$as_me: failed program was
:" >&5
19567 sed 's/^/| /' conftest.$ac_ext >&5
19569 eval "$as_ac_Header=no
"
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574 ac_res=`eval echo '${'$as_ac_Header'}'`
19575 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19576 echo "${ECHO_T}$ac_res" >&6; }
19577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19578 cat >>confdefs.h <<_ACEOF
19579 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19589 for ac_header in langinfo.h wchar.h
19591 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19592 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19593 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19594 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19595 echo $ECHO_N "(cached
) $ECHO_C" >&6
19597 cat >conftest.$ac_ext <<_ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19605 #include <$ac_header>
19607 rm -f conftest.$ac_objext
19608 if { (ac_try="$ac_compile"
19609 case "(($ac_try" in
19610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19611 *) ac_try_echo=$ac_try;;
19613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19614 (eval "$ac_compile") 2>conftest.er1
19616 grep -v '^ *+' conftest.er1 >conftest.err
19618 cat conftest.err >&5
19619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19620 (exit $ac_status); } && {
19621 test -z "$ac_c_werror_flag" ||
19622 test ! -s conftest.err
19623 } && test -s conftest.$ac_objext; then
19624 eval "$as_ac_Header=yes"
19626 echo "$as_me: failed program was
:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19629 eval "$as_ac_Header=no
"
19632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 ac_res=`eval echo '${'$as_ac_Header'}'`
19635 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19636 echo "${ECHO_T}$ac_res" >&6; }
19637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19638 cat >>confdefs.h <<_ACEOF
19639 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19647 if test "$ac_cv_header_wchar_h" != "yes"; then
19649 for ac_header in wcstr.h
19651 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19652 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19653 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19654 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19655 echo $ECHO_N "(cached
) $ECHO_C" >&6
19657 cat >conftest.$ac_ext <<_ACEOF
19660 cat confdefs.h >>conftest.$ac_ext
19661 cat >>conftest.$ac_ext <<_ACEOF
19662 /* end confdefs.h. */
19663 $ac_includes_default
19665 #include <$ac_header>
19667 rm -f conftest.$ac_objext
19668 if { (ac_try="$ac_compile"
19669 case "(($ac_try" in
19670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19671 *) ac_try_echo=$ac_try;;
19673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19674 (eval "$ac_compile") 2>conftest.er1
19676 grep -v '^ *+' conftest.er1 >conftest.err
19678 cat conftest.err >&5
19679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19680 (exit $ac_status); } && {
19681 test -z "$ac_c_werror_flag" ||
19682 test ! -s conftest.err
19683 } && test -s conftest.$ac_objext; then
19684 eval "$as_ac_Header=yes"
19686 echo "$as_me: failed program was
:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 eval "$as_ac_Header=no
"
19692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19694 ac_res=`eval echo '${'$as_ac_Header'}'`
19695 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19696 echo "${ECHO_T}$ac_res" >&6; }
19697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19698 cat >>confdefs.h <<_ACEOF
19699 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19709 *-pc-os2_emx | *-pc-os2-emx )
19710 if test $ac_cv_header_langinfo_h = "yes" \
19711 -a \( "$wx_cv_gccversion" = "EMX2
" \
19712 -o "$wx_cv_gccversion" = "EMX3
" \
19713 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19714 LIBS="$LIBS -lintl"
19719 if test "$USE_UNIX" = 1 ; then
19721 for ac_header in sys/select.h
19723 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19724 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19725 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19726 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19727 echo $ECHO_N "(cached
) $ECHO_C" >&6
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19737 #include <$ac_header>
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19745 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19748 grep -v '^ *+' conftest.er1 >conftest.err
19750 cat conftest.err >&5
19751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 eval "$as_ac_Header=yes"
19758 echo "$as_me: failed program was
:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 eval "$as_ac_Header=no
"
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19766 ac_res=`eval echo '${'$as_ac_Header'}'`
19767 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19768 echo "${ECHO_T}$ac_res" >&6; }
19769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19770 cat >>confdefs.h <<_ACEOF
19771 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19781 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19782 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19783 if test "${ac_cv_c_const+set}" = set; then
19784 echo $ECHO_N "(cached
) $ECHO_C" >&6
19786 cat >conftest.$ac_ext <<_ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19796 /* FIXME: Include the comments suggested by Paul. */
19797 #ifndef __cplusplus
19798 /* Ultrix mips cc rejects this. */
19799 typedef int charset[2];
19801 /* SunOS 4.1.1 cc rejects this. */
19802 char const *const *pcpcc;
19804 /* NEC SVR4.0.2 mips cc rejects this. */
19805 struct point {int x, y;};
19806 static struct point const zero = {0,0};
19807 /* AIX XL C 1.02.0.0 rejects this.
19808 It does not let you subtract one const X* pointer from another in
19809 an arm of an if-expression whose if-part is not a constant
19811 const char *g = "string
";
19812 pcpcc = &g + (g ? g-g : 0);
19813 /* HPUX 7.0 cc rejects these. */
19815 ppc = (char**) pcpcc;
19816 pcpcc = (char const *const *) ppc;
19817 { /* SCO 3.2v4 cc rejects this. */
19819 char const *s = 0 ? (char *) 0 : (char const *) 0;
19824 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19825 int x[] = {25, 17};
19826 const int *foo = &x[0];
19829 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19830 typedef const int *iptr;
19834 { /* AIX XL C 1.02.0.0 rejects this saying
19835 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19836 struct s { int j; const int *ap[3]; };
19837 struct s *b; b->j = 5;
19839 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19840 const int foo = 10;
19841 if (!foo) return 0;
19843 return !cs[0] && !zero.x;
19850 rm -f conftest.$ac_objext
19851 if { (ac_try="$ac_compile"
19852 case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_compile") 2>conftest.er1
19859 grep -v '^ *+' conftest.er1 >conftest.err
19861 cat conftest.err >&5
19862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19863 (exit $ac_status); } && {
19864 test -z "$ac_c_werror_flag" ||
19865 test ! -s conftest.err
19866 } && test -s conftest.$ac_objext; then
19869 echo "$as_me: failed program was
:" >&5
19870 sed 's/^/| /' conftest.$ac_ext >&5
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19877 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19878 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19879 if test $ac_cv_c_const = no; then
19881 cat >>confdefs.h <<\_ACEOF
19887 { echo "$as_me:$LINENO: checking
for inline
" >&5
19888 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19889 if test "${ac_cv_c_inline+set}" = set; then
19890 echo $ECHO_N "(cached
) $ECHO_C" >&6
19893 for ac_kw in inline __inline__ __inline; do
19894 cat >conftest.$ac_ext <<_ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 #ifndef __cplusplus
19902 static $ac_kw foo_t static_foo () {return 0; }
19903 $ac_kw foo_t foo () {return 0; }
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19916 grep -v '^ *+' conftest.er1 >conftest.err
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19924 ac_cv_c_inline=$ac_kw
19926 echo "$as_me: failed program was
:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19933 test "$ac_cv_c_inline" != no && break
19937 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19938 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19941 case $ac_cv_c_inline in
19944 case $ac_cv_c_inline in
19946 *) ac_val=$ac_cv_c_inline;;
19948 cat >>confdefs.h <<_ACEOF
19949 #ifndef __cplusplus
19950 #define inline $ac_val
19957 { echo "$as_me:$LINENO: checking
for short
" >&5
19958 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19959 if test "${ac_cv_type_short+set}" = set; then
19960 echo $ECHO_N "(cached
) $ECHO_C" >&6
19962 cat >conftest.$ac_ext <<_ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19969 typedef short ac__type_new_;
19973 if ((ac__type_new_ *) 0)
19975 if (sizeof (ac__type_new_))
19981 rm -f conftest.$ac_objext
19982 if { (ac_try="$ac_compile"
19983 case "(($ac_try" in
19984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19985 *) ac_try_echo=$ac_try;;
19987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19988 (eval "$ac_compile") 2>conftest.er1
19990 grep -v '^ *+' conftest.er1 >conftest.err
19992 cat conftest.err >&5
19993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19994 (exit $ac_status); } && {
19995 test -z "$ac_c_werror_flag" ||
19996 test ! -s conftest.err
19997 } && test -s conftest.$ac_objext; then
19998 ac_cv_type_short=yes
20000 echo "$as_me: failed program was
:" >&5
20001 sed 's/^/| /' conftest.$ac_ext >&5
20003 ac_cv_type_short=no
20006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20008 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20009 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20011 # The cast to long int works around a bug in the HP C Compiler
20012 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20013 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20014 # This bug is HP SR number 8606223364.
20015 { echo "$as_me:$LINENO: checking size of short
" >&5
20016 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20017 if test "${ac_cv_sizeof_short+set}" = set; then
20018 echo $ECHO_N "(cached
) $ECHO_C" >&6
20020 if test "$cross_compiling" = yes; then
20021 # Depending upon the size, compute the lo and hi bounds.
20022 cat >conftest.$ac_ext <<_ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20029 typedef short ac__type_sizeof_;
20033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20040 rm -f conftest.$ac_objext
20041 if { (ac_try="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;;
20046 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20049 grep -v '^ *+' conftest.er1 >conftest.err
20051 cat conftest.err >&5
20052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20053 (exit $ac_status); } && {
20054 test -z "$ac_c_werror_flag" ||
20055 test ! -s conftest.err
20056 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
20094 ac_hi=$ac_mid; break
20096 echo "$as_me: failed program was
:" >&5
20097 sed 's/^/| /' conftest.$ac_ext >&5
20099 ac_lo=`expr $ac_mid + 1`
20100 if test $ac_lo -le $ac_mid; then
20104 ac_mid=`expr 2 '*' $ac_mid + 1`
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20110 echo "$as_me: failed program was
:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20113 cat >conftest.$ac_ext <<_ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20120 typedef short ac__type_sizeof_;
20124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20131 rm -f conftest.$ac_objext
20132 if { (ac_try="$ac_compile"
20133 case "(($ac_try" in
20134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20138 (eval "$ac_compile") 2>conftest.er1
20140 grep -v '^ *+' conftest.er1 >conftest.err
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_c_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest.$ac_objext; then
20150 cat >conftest.$ac_ext <<_ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 $ac_includes_default
20157 typedef short ac__type_sizeof_;
20161 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20168 rm -f conftest.$ac_objext
20169 if { (ac_try="$ac_compile"
20170 case "(($ac_try" in
20171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20172 *) ac_try_echo=$ac_try;;
20174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20175 (eval "$ac_compile") 2>conftest.er1
20177 grep -v '^ *+' conftest.er1 >conftest.err
20179 cat conftest.err >&5
20180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20181 (exit $ac_status); } && {
20182 test -z "$ac_c_werror_flag" ||
20183 test ! -s conftest.err
20184 } && test -s conftest.$ac_objext; then
20185 ac_lo=$ac_mid; break
20187 echo "$as_me: failed program was
:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20190 ac_hi=`expr '(' $ac_mid ')' - 1`
20191 if test $ac_mid -le $ac_hi; then
20195 ac_mid=`expr 2 '*' $ac_mid`
20198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 echo "$as_me: failed program was
:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211 # Binary search between lo and hi bounds.
20212 while test "x
$ac_lo" != "x
$ac_hi"; do
20213 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20214 cat >conftest.$ac_ext <<_ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 $ac_includes_default
20221 typedef short ac__type_sizeof_;
20225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20232 rm -f conftest.$ac_objext
20233 if { (ac_try="$ac_compile"
20234 case "(($ac_try" in
20235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20236 *) ac_try_echo=$ac_try;;
20238 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20239 (eval "$ac_compile") 2>conftest.er1
20241 grep -v '^ *+' conftest.er1 >conftest.err
20243 cat conftest.err >&5
20244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20245 (exit $ac_status); } && {
20246 test -z "$ac_c_werror_flag" ||
20247 test ! -s conftest.err
20248 } && test -s conftest.$ac_objext; then
20251 echo "$as_me: failed program was
:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 ac_lo=`expr '(' $ac_mid ')' + 1`
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 ?*) ac_cv_sizeof_short=$ac_lo;;
20261 '') if test "$ac_cv_type_short" = yes; then
20262 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20263 See \
`config.log' for more details." >&5
20264 echo "$as_me: error: cannot compute sizeof (short)
20265 See \`config.log
' for more details." >&2;}
20266 { (exit 77); exit 77; }; }
20268 ac_cv_sizeof_short=0
20272 cat >conftest.$ac_ext <<_ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278 $ac_includes_default
20279 typedef short ac__type_sizeof_;
20280 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20281 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20283 #include <stdlib.h>
20288 FILE *f = fopen ("conftest.val", "w");
20291 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20293 long int i = longval ();
20294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20296 fprintf (f, "%ld\n", i);
20300 unsigned long int i = ulongval ();
20301 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20303 fprintf (f, "%lu\n", i);
20305 return ferror (f) || fclose (f) != 0;
20311 rm -f conftest$ac_exeext
20312 if { (ac_try="$ac_link"
20313 case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_link") 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20322 { (case "(($ac_try" in
20323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20324 *) ac_try_echo=$ac_try;;
20326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20327 (eval "$ac_try") 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 ac_cv_sizeof_short=`cat conftest.val`
20333 echo "$as_me: program exited with status $ac_status" >&5
20334 echo "$as_me: failed program was:" >&5
20335 sed 's
/^
/| /' conftest.$ac_ext >&5
20337 ( exit $ac_status )
20338 if test "$ac_cv_type_short" = yes; then
20339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20340 See \`config.log' for more details.
" >&5
20341 echo "$as_me: error
: cannot compute sizeof
(short
)
20342 See \
`config.log' for more details." >&2;}
20343 { (exit 77); exit 77; }; }
20345 ac_cv_sizeof_short=0
20348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20352 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20353 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20357 cat >>confdefs.h <<_ACEOF
20358 #define SIZEOF_SHORT $ac_cv_sizeof_short
20362 { echo "$as_me:$LINENO: checking for void *" >&5
20363 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20364 if test "${ac_cv_type_void_p+set}" = set; then
20365 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 cat >conftest.$ac_ext <<_ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 $ac_includes_default
20374 typedef void * ac__type_new_;
20378 if ((ac__type_new_ *) 0)
20380 if (sizeof (ac__type_new_))
20386 rm -f conftest.$ac_objext
20387 if { (ac_try="$ac_compile"
20388 case "(($ac_try" in
20389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20390 *) ac_try_echo
=$ac_try;;
20392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20393 (eval "$ac_compile") 2>conftest.er1
20395 grep -v '^ *+' conftest.er1
>conftest.err
20397 cat conftest.err
>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); } && {
20400 test -z "$ac_c_werror_flag" ||
20401 test ! -s conftest.err
20402 } && test -s conftest.
$ac_objext; then
20403 ac_cv_type_void_p
=yes
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.
$ac_ext >&5
20408 ac_cv_type_void_p
=no
20411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20413 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20414 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20416 # The cast to long int works around a bug in the HP C Compiler
20417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20419 # This bug is HP SR number 8606223364.
20420 { echo "$as_me:$LINENO: checking size of void *" >&5
20421 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20422 if test "${ac_cv_sizeof_void_p+set}" = set; then
20423 echo $ECHO_N "(cached) $ECHO_C" >&6
20425 if test "$cross_compiling" = yes; then
20426 # Depending upon the size, compute the lo and hi bounds.
20427 cat >conftest.
$ac_ext <<_ACEOF
20430 cat confdefs.h
>>conftest.
$ac_ext
20431 cat >>conftest.
$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 $ac_includes_default
20434 typedef void * ac__type_sizeof_;
20438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20445 rm -f conftest.
$ac_objext
20446 if { (ac_try
="$ac_compile"
20447 case "(($ac_try" in
20448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_compile") 2>conftest.er1
20454 grep -v '^ *+' conftest.er1 >conftest.err
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } && {
20459 test -z "$ac_c_werror_flag" ||
20460 test ! -s conftest.err
20461 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
20499 ac_hi
=$ac_mid; break
20501 echo "$as_me: failed program was:" >&5
20502 sed 's/^/| /' conftest.
$ac_ext >&5
20504 ac_lo
=`expr $ac_mid + 1`
20505 if test $ac_lo -le $ac_mid; then
20509 ac_mid
=`expr 2 '*' $ac_mid + 1`
20512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.
$ac_ext >&5
20518 cat >conftest.
$ac_ext <<_ACEOF
20521 cat confdefs.h
>>conftest.
$ac_ext
20522 cat >>conftest.
$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20525 typedef void * ac__type_sizeof_;
20529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20536 rm -f conftest.
$ac_objext
20537 if { (ac_try
="$ac_compile"
20538 case "(($ac_try" in
20539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20540 *) ac_try_echo=$ac_try;;
20542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20543 (eval "$ac_compile") 2>conftest.er1
20545 grep -v '^ *+' conftest.er1 >conftest.err
20547 cat conftest.err >&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); } && {
20550 test -z "$ac_c_werror_flag" ||
20551 test ! -s conftest.err
20552 } && test -s conftest.$ac_objext; then
20555 cat >conftest.$ac_ext <<_ACEOF
20558 cat confdefs.h >>conftest.$ac_ext
20559 cat >>conftest.$ac_ext <<_ACEOF
20560 /* end confdefs.h. */
20561 $ac_includes_default
20562 typedef void * ac__type_sizeof_;
20566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20573 rm -f conftest.$ac_objext
20574 if { (ac_try="$ac_compile"
20575 case "(($ac_try" in
20576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20577 *) ac_try_echo
=$ac_try;;
20579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20580 (eval "$ac_compile") 2>conftest.er1
20582 grep -v '^ *+' conftest.er1
>conftest.err
20584 cat conftest.err
>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } && {
20587 test -z "$ac_c_werror_flag" ||
20588 test ! -s conftest.err
20589 } && test -s conftest.
$ac_objext; then
20590 ac_lo
=$ac_mid; break
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.
$ac_ext >&5
20595 ac_hi
=`expr '(' $ac_mid ')' - 1`
20596 if test $ac_mid -le $ac_hi; then
20600 ac_mid
=`expr 2 '*' $ac_mid`
20603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.
$ac_ext >&5
20612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20616 # Binary search between lo and hi bounds.
20617 while test "x$ac_lo" != "x$ac_hi"; do
20618 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20619 cat >conftest.
$ac_ext <<_ACEOF
20622 cat confdefs.h
>>conftest.
$ac_ext
20623 cat >>conftest.
$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 $ac_includes_default
20626 typedef void * ac__type_sizeof_;
20630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20637 rm -f conftest.
$ac_objext
20638 if { (ac_try
="$ac_compile"
20639 case "(($ac_try" in
20640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20641 *) ac_try_echo=$ac_try;;
20643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20644 (eval "$ac_compile") 2>conftest.er1
20646 grep -v '^ *+' conftest.er1 >conftest.err
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } && {
20651 test -z "$ac_c_werror_flag" ||
20652 test ! -s conftest.err
20653 } && test -s conftest.$ac_objext; then
20656 echo "$as_me: failed program was:" >&5
20657 sed 's/^/| /' conftest.$ac_ext >&5
20659 ac_lo=`expr '(' $ac_mid ')' + 1`
20662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20665 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20666 '') if test "$ac_cv_type_void_p" = yes; then
20667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20668 See \`config.log
' for more details." >&5
20669 echo "$as_me: error: cannot compute sizeof (void *)
20670 See \`config.log' for more details.
" >&2;}
20671 { (exit 77); exit 77; }; }
20673 ac_cv_sizeof_void_p=0
20677 cat >conftest.$ac_ext <<_ACEOF
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683 $ac_includes_default
20684 typedef void * ac__type_sizeof_;
20685 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20686 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20688 #include <stdlib.h>
20693 FILE *f = fopen ("conftest.val
", "w
");
20696 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20698 long int i = longval ();
20699 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20701 fprintf (f, "%ld
\n", i);
20705 unsigned long int i = ulongval ();
20706 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20708 fprintf (f, "%lu
\n", i);
20710 return ferror (f) || fclose (f) != 0;
20716 rm -f conftest$ac_exeext
20717 if { (ac_try="$ac_link"
20718 case "(($ac_try" in
20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20720 *) ac_try_echo=$ac_try;;
20722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20723 (eval "$ac_link") 2>&5
20725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20727 { (case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20731 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_try") 2>&5
20734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 ac_cv_sizeof_void_p=`cat conftest.val`
20738 echo "$as_me: program exited with status
$ac_status" >&5
20739 echo "$as_me: failed program was
:" >&5
20740 sed 's/^/| /' conftest.$ac_ext >&5
20742 ( exit $ac_status )
20743 if test "$ac_cv_type_void_p" = yes; then
20744 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20745 See \
`config.log' for more details." >&5
20746 echo "$as_me: error: cannot compute sizeof (void *)
20747 See \`config.log
' for more details." >&2;}
20748 { (exit 77); exit 77; }; }
20750 ac_cv_sizeof_void_p=0
20753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20757 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20758 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20762 cat >>confdefs.h <<_ACEOF
20763 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20767 { echo "$as_me:$LINENO: checking for int" >&5
20768 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20769 if test "${ac_cv_type_int+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20772 cat >conftest.$ac_ext <<_ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 $ac_includes_default
20779 typedef int ac__type_new_;
20783 if ((ac__type_new_ *) 0)
20785 if (sizeof (ac__type_new_))
20791 rm -f conftest.$ac_objext
20792 if { (ac_try="$ac_compile"
20793 case "(($ac_try" in
20794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20795 *) ac_try_echo=$ac_try;;
20797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20798 (eval "$ac_compile") 2>conftest.er1
20800 grep -v '^
*+' conftest.er1 >conftest.err
20802 cat conftest.err >&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } && {
20805 test -z "$ac_c_werror_flag" ||
20806 test ! -s conftest.err
20807 } && test -s conftest.$ac_objext; then
20810 echo "$as_me: failed program was:" >&5
20811 sed 's
/^
/| /' conftest.$ac_ext >&5
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20819 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20821 # The cast to long int works around a bug in the HP C Compiler
20822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20824 # This bug is HP SR number 8606223364.
20825 { echo "$as_me:$LINENO: checking size of int" >&5
20826 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20827 if test "${ac_cv_sizeof_int+set}" = set; then
20828 echo $ECHO_N "(cached) $ECHO_C" >&6
20830 if test "$cross_compiling" = yes; then
20831 # Depending upon the size, compute the lo and hi bounds.
20832 cat >conftest.
$ac_ext <<_ACEOF
20835 cat confdefs.h
>>conftest.
$ac_ext
20836 cat >>conftest.
$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 $ac_includes_default
20839 typedef int ac__type_sizeof_;
20843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20850 rm -f conftest.
$ac_objext
20851 if { (ac_try
="$ac_compile"
20852 case "(($ac_try" in
20853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_compile") 2>conftest.er1
20859 grep -v '^ *+' conftest.er1 >conftest.err
20861 cat conftest.err >&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } && {
20864 test -z "$ac_c_werror_flag" ||
20865 test ! -s conftest.err
20866 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
20904 ac_hi
=$ac_mid; break
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.
$ac_ext >&5
20909 ac_lo
=`expr $ac_mid + 1`
20910 if test $ac_lo -le $ac_mid; then
20914 ac_mid
=`expr 2 '*' $ac_mid + 1`
20917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.
$ac_ext >&5
20923 cat >conftest.
$ac_ext <<_ACEOF
20926 cat confdefs.h
>>conftest.
$ac_ext
20927 cat >>conftest.
$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 $ac_includes_default
20930 typedef int ac__type_sizeof_;
20934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20941 rm -f conftest.
$ac_objext
20942 if { (ac_try
="$ac_compile"
20943 case "(($ac_try" in
20944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20948 (eval "$ac_compile") 2>conftest.er1
20950 grep -v '^ *+' conftest.er1 >conftest.err
20952 cat conftest.err >&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } && {
20955 test -z "$ac_c_werror_flag" ||
20956 test ! -s conftest.err
20957 } && test -s conftest.$ac_objext; then
20960 cat >conftest.$ac_ext <<_ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 $ac_includes_default
20967 typedef int ac__type_sizeof_;
20971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20978 rm -f conftest.$ac_objext
20979 if { (ac_try="$ac_compile"
20980 case "(($ac_try" in
20981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20982 *) ac_try_echo
=$ac_try;;
20984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20985 (eval "$ac_compile") 2>conftest.er1
20987 grep -v '^ *+' conftest.er1
>conftest.err
20989 cat conftest.err
>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); } && {
20992 test -z "$ac_c_werror_flag" ||
20993 test ! -s conftest.err
20994 } && test -s conftest.
$ac_objext; then
20995 ac_lo
=$ac_mid; break
20997 echo "$as_me: failed program was:" >&5
20998 sed 's/^/| /' conftest.
$ac_ext >&5
21000 ac_hi
=`expr '(' $ac_mid ')' - 1`
21001 if test $ac_mid -le $ac_hi; then
21005 ac_mid
=`expr 2 '*' $ac_mid`
21008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.
$ac_ext >&5
21017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21021 # Binary search between lo and hi bounds.
21022 while test "x$ac_lo" != "x$ac_hi"; do
21023 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21024 cat >conftest.
$ac_ext <<_ACEOF
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21031 typedef int ac__type_sizeof_;
21035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21042 rm -f conftest.
$ac_objext
21043 if { (ac_try
="$ac_compile"
21044 case "(($ac_try" in
21045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21046 *) ac_try_echo=$ac_try;;
21048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21049 (eval "$ac_compile") 2>conftest.er1
21051 grep -v '^ *+' conftest.er1 >conftest.err
21053 cat conftest.err >&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); } && {
21056 test -z "$ac_c_werror_flag" ||
21057 test ! -s conftest.err
21058 } && test -s conftest.$ac_objext; then
21061 echo "$as_me: failed program was:" >&5
21062 sed 's/^/| /' conftest.$ac_ext >&5
21064 ac_lo=`expr '(' $ac_mid ')' + 1`
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 ?*) ac_cv_sizeof_int=$ac_lo;;
21071 '') if test "$ac_cv_type_int" = yes; then
21072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21073 See \`config.log
' for more details." >&5
21074 echo "$as_me: error: cannot compute sizeof (int)
21075 See \`config.log' for more details.
" >&2;}
21076 { (exit 77); exit 77; }; }
21082 cat >conftest.$ac_ext <<_ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 $ac_includes_default
21089 typedef int ac__type_sizeof_;
21090 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21091 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21093 #include <stdlib.h>
21098 FILE *f = fopen ("conftest.val
", "w
");
21101 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21103 long int i = longval ();
21104 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21106 fprintf (f, "%ld
\n", i);
21110 unsigned long int i = ulongval ();
21111 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21113 fprintf (f, "%lu
\n", i);
21115 return ferror (f) || fclose (f) != 0;
21121 rm -f conftest$ac_exeext
21122 if { (ac_try="$ac_link"
21123 case "(($ac_try" in
21124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21125 *) ac_try_echo=$ac_try;;
21127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_link") 2>&5
21130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21132 { (case "(($ac_try" in
21133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21134 *) ac_try_echo=$ac_try;;
21136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_try") 2>&5
21139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21140 (exit $ac_status); }; }; then
21141 ac_cv_sizeof_int=`cat conftest.val`
21143 echo "$as_me: program exited with status
$ac_status" >&5
21144 echo "$as_me: failed program was
:" >&5
21145 sed 's/^/| /' conftest.$ac_ext >&5
21147 ( exit $ac_status )
21148 if test "$ac_cv_type_int" = yes; then
21149 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21150 See \
`config.log' for more details." >&5
21151 echo "$as_me: error: cannot compute sizeof (int)
21152 See \`config.log
' for more details." >&2;}
21153 { (exit 77); exit 77; }; }
21158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21162 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21163 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21167 cat >>confdefs.h <<_ACEOF
21168 #define SIZEOF_INT $ac_cv_sizeof_int
21172 { echo "$as_me:$LINENO: checking for long" >&5
21173 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21174 if test "${ac_cv_type_long+set}" = set; then
21175 echo $ECHO_N "(cached) $ECHO_C" >&6
21177 cat >conftest.$ac_ext <<_ACEOF
21180 cat confdefs.h >>conftest.$ac_ext
21181 cat >>conftest.$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183 $ac_includes_default
21184 typedef long ac__type_new_;
21188 if ((ac__type_new_ *) 0)
21190 if (sizeof (ac__type_new_))
21196 rm -f conftest.$ac_objext
21197 if { (ac_try="$ac_compile"
21198 case "(($ac_try" in
21199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21200 *) ac_try_echo=$ac_try;;
21202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21203 (eval "$ac_compile") 2>conftest.er1
21205 grep -v '^
*+' conftest.er1 >conftest.err
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } && {
21210 test -z "$ac_c_werror_flag" ||
21211 test ! -s conftest.err
21212 } && test -s conftest.$ac_objext; then
21213 ac_cv_type_long=yes
21215 echo "$as_me: failed program was:" >&5
21216 sed 's
/^
/| /' conftest.$ac_ext >&5
21221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21223 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21224 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21226 # The cast to long int works around a bug in the HP C Compiler
21227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21229 # This bug is HP SR number 8606223364.
21230 { echo "$as_me:$LINENO: checking size of long" >&5
21231 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21232 if test "${ac_cv_sizeof_long+set}" = set; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21235 if test "$cross_compiling" = yes; then
21236 # Depending upon the size, compute the lo and hi bounds.
21237 cat >conftest.
$ac_ext <<_ACEOF
21240 cat confdefs.h
>>conftest.
$ac_ext
21241 cat >>conftest.
$ac_ext <<_ACEOF
21242 /* end confdefs.h. */
21243 $ac_includes_default
21244 typedef long ac__type_sizeof_;
21248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21255 rm -f conftest.
$ac_objext
21256 if { (ac_try
="$ac_compile"
21257 case "(($ac_try" in
21258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_compile") 2>conftest.er1
21264 grep -v '^ *+' conftest.er1 >conftest.err
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } && {
21269 test -z "$ac_c_werror_flag" ||
21270 test ! -s conftest.err
21271 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
21309 ac_hi
=$ac_mid; break
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.
$ac_ext >&5
21314 ac_lo
=`expr $ac_mid + 1`
21315 if test $ac_lo -le $ac_mid; then
21319 ac_mid
=`expr 2 '*' $ac_mid + 1`
21322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.
$ac_ext >&5
21328 cat >conftest.
$ac_ext <<_ACEOF
21331 cat confdefs.h
>>conftest.
$ac_ext
21332 cat >>conftest.
$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 $ac_includes_default
21335 typedef long ac__type_sizeof_;
21339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21346 rm -f conftest.
$ac_objext
21347 if { (ac_try
="$ac_compile"
21348 case "(($ac_try" in
21349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21350 *) ac_try_echo=$ac_try;;
21352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21353 (eval "$ac_compile") 2>conftest.er1
21355 grep -v '^ *+' conftest.er1 >conftest.err
21357 cat conftest.err >&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); } && {
21360 test -z "$ac_c_werror_flag" ||
21361 test ! -s conftest.err
21362 } && test -s conftest.$ac_objext; then
21365 cat >conftest.$ac_ext <<_ACEOF
21368 cat confdefs.h >>conftest.$ac_ext
21369 cat >>conftest.$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371 $ac_includes_default
21372 typedef long ac__type_sizeof_;
21376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21383 rm -f conftest.$ac_objext
21384 if { (ac_try="$ac_compile"
21385 case "(($ac_try" in
21386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21387 *) ac_try_echo
=$ac_try;;
21389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21390 (eval "$ac_compile") 2>conftest.er1
21392 grep -v '^ *+' conftest.er1
>conftest.err
21394 cat conftest.err
>&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } && {
21397 test -z "$ac_c_werror_flag" ||
21398 test ! -s conftest.err
21399 } && test -s conftest.
$ac_objext; then
21400 ac_lo
=$ac_mid; break
21402 echo "$as_me: failed program was:" >&5
21403 sed 's/^/| /' conftest.
$ac_ext >&5
21405 ac_hi
=`expr '(' $ac_mid ')' - 1`
21406 if test $ac_mid -le $ac_hi; then
21410 ac_mid
=`expr 2 '*' $ac_mid`
21413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.
$ac_ext >&5
21422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21426 # Binary search between lo and hi bounds.
21427 while test "x$ac_lo" != "x$ac_hi"; do
21428 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21429 cat >conftest.
$ac_ext <<_ACEOF
21432 cat confdefs.h
>>conftest.
$ac_ext
21433 cat >>conftest.
$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 $ac_includes_default
21436 typedef long ac__type_sizeof_;
21440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21447 rm -f conftest.
$ac_objext
21448 if { (ac_try
="$ac_compile"
21449 case "(($ac_try" in
21450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_compile") 2>conftest.er1
21456 grep -v '^ *+' conftest.er1 >conftest.err
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } && {
21461 test -z "$ac_c_werror_flag" ||
21462 test ! -s conftest.err
21463 } && test -s conftest.$ac_objext; then
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21469 ac_lo=`expr '(' $ac_mid ')' + 1`
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475 ?*) ac_cv_sizeof_long=$ac_lo;;
21476 '') if test "$ac_cv_type_long" = yes; then
21477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21478 See \`config.log
' for more details." >&5
21479 echo "$as_me: error: cannot compute sizeof (long)
21480 See \`config.log' for more details.
" >&2;}
21481 { (exit 77); exit 77; }; }
21483 ac_cv_sizeof_long=0
21487 cat >conftest.$ac_ext <<_ACEOF
21490 cat confdefs.h >>conftest.$ac_ext
21491 cat >>conftest.$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493 $ac_includes_default
21494 typedef long ac__type_sizeof_;
21495 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21496 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21498 #include <stdlib.h>
21503 FILE *f = fopen ("conftest.val
", "w
");
21506 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21508 long int i = longval ();
21509 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21511 fprintf (f, "%ld
\n", i);
21515 unsigned long int i = ulongval ();
21516 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21518 fprintf (f, "%lu
\n", i);
21520 return ferror (f) || fclose (f) != 0;
21526 rm -f conftest$ac_exeext
21527 if { (ac_try="$ac_link"
21528 case "(($ac_try" in
21529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21530 *) ac_try_echo=$ac_try;;
21532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21533 (eval "$ac_link") 2>&5
21535 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21537 { (case "(($ac_try" in
21538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21539 *) ac_try_echo=$ac_try;;
21541 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_try") 2>&5
21544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 ac_cv_sizeof_long=`cat conftest.val`
21548 echo "$as_me: program exited with status
$ac_status" >&5
21549 echo "$as_me: failed program was
:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21552 ( exit $ac_status )
21553 if test "$ac_cv_type_long" = yes; then
21554 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21555 See \
`config.log' for more details." >&5
21556 echo "$as_me: error: cannot compute sizeof (long)
21557 See \`config.log
' for more details." >&2;}
21558 { (exit 77); exit 77; }; }
21560 ac_cv_sizeof_long=0
21563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21567 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21568 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21572 cat >>confdefs.h <<_ACEOF
21573 #define SIZEOF_LONG $ac_cv_sizeof_long
21577 { echo "$as_me:$LINENO: checking for size_t" >&5
21578 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21579 if test "${ac_cv_type_size_t+set}" = set; then
21580 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 cat >conftest.$ac_ext <<_ACEOF
21585 cat confdefs.h >>conftest.$ac_ext
21586 cat >>conftest.$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21588 $ac_includes_default
21589 typedef size_t ac__type_new_;
21593 if ((ac__type_new_ *) 0)
21595 if (sizeof (ac__type_new_))
21601 rm -f conftest.$ac_objext
21602 if { (ac_try="$ac_compile"
21603 case "(($ac_try" in
21604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21605 *) ac_try_echo=$ac_try;;
21607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21608 (eval "$ac_compile") 2>conftest.er1
21610 grep -v '^
*+' conftest.er1 >conftest.err
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } && {
21615 test -z "$ac_c_werror_flag" ||
21616 test ! -s conftest.err
21617 } && test -s conftest.$ac_objext; then
21618 ac_cv_type_size_t=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's
/^
/| /' conftest.$ac_ext >&5
21623 ac_cv_type_size_t=no
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21629 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21631 # The cast to long int works around a bug in the HP C Compiler
21632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21634 # This bug is HP SR number 8606223364.
21635 { echo "$as_me:$LINENO: checking size of size_t" >&5
21636 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21637 if test "${ac_cv_sizeof_size_t+set}" = set; then
21638 echo $ECHO_N "(cached) $ECHO_C" >&6
21640 if test "$cross_compiling" = yes; then
21641 # Depending upon the size, compute the lo and hi bounds.
21642 cat >conftest.
$ac_ext <<_ACEOF
21645 cat confdefs.h
>>conftest.
$ac_ext
21646 cat >>conftest.
$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 $ac_includes_default
21649 typedef size_t ac__type_sizeof_;
21653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21660 rm -f conftest.
$ac_objext
21661 if { (ac_try
="$ac_compile"
21662 case "(($ac_try" in
21663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21664 *) ac_try_echo=$ac_try;;
21666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21667 (eval "$ac_compile") 2>conftest.er1
21669 grep -v '^ *+' conftest.er1 >conftest.err
21671 cat conftest.err >&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } && {
21674 test -z "$ac_c_werror_flag" ||
21675 test ! -s conftest.err
21676 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
21714 ac_hi
=$ac_mid; break
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.
$ac_ext >&5
21719 ac_lo
=`expr $ac_mid + 1`
21720 if test $ac_lo -le $ac_mid; then
21724 ac_mid
=`expr 2 '*' $ac_mid + 1`
21727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.
$ac_ext >&5
21733 cat >conftest.
$ac_ext <<_ACEOF
21736 cat confdefs.h
>>conftest.
$ac_ext
21737 cat >>conftest.
$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21739 $ac_includes_default
21740 typedef size_t ac__type_sizeof_;
21744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21751 rm -f conftest.
$ac_objext
21752 if { (ac_try
="$ac_compile"
21753 case "(($ac_try" in
21754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21755 *) ac_try_echo=$ac_try;;
21757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21758 (eval "$ac_compile") 2>conftest.er1
21760 grep -v '^ *+' conftest.er1 >conftest.err
21762 cat conftest.err >&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); } && {
21765 test -z "$ac_c_werror_flag" ||
21766 test ! -s conftest.err
21767 } && test -s conftest.$ac_objext; then
21770 cat >conftest.$ac_ext <<_ACEOF
21773 cat confdefs.h >>conftest.$ac_ext
21774 cat >>conftest.$ac_ext <<_ACEOF
21775 /* end confdefs.h. */
21776 $ac_includes_default
21777 typedef size_t ac__type_sizeof_;
21781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21788 rm -f conftest.$ac_objext
21789 if { (ac_try="$ac_compile"
21790 case "(($ac_try" in
21791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21792 *) ac_try_echo
=$ac_try;;
21794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795 (eval "$ac_compile") 2>conftest.er1
21797 grep -v '^ *+' conftest.er1
>conftest.err
21799 cat conftest.err
>&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } && {
21802 test -z "$ac_c_werror_flag" ||
21803 test ! -s conftest.err
21804 } && test -s conftest.
$ac_objext; then
21805 ac_lo
=$ac_mid; break
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21810 ac_hi
=`expr '(' $ac_mid ')' - 1`
21811 if test $ac_mid -le $ac_hi; then
21815 ac_mid
=`expr 2 '*' $ac_mid`
21818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.
$ac_ext >&5
21827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21831 # Binary search between lo and hi bounds.
21832 while test "x$ac_lo" != "x$ac_hi"; do
21833 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21834 cat >conftest.
$ac_ext <<_ACEOF
21837 cat confdefs.h
>>conftest.
$ac_ext
21838 cat >>conftest.
$ac_ext <<_ACEOF
21839 /* end confdefs.h. */
21840 $ac_includes_default
21841 typedef size_t ac__type_sizeof_;
21845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21852 rm -f conftest.
$ac_objext
21853 if { (ac_try
="$ac_compile"
21854 case "(($ac_try" in
21855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_compile") 2>conftest.er1
21861 grep -v '^ *+' conftest.er1 >conftest.err
21863 cat conftest.err >&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } && {
21866 test -z "$ac_c_werror_flag" ||
21867 test ! -s conftest.err
21868 } && test -s conftest.$ac_objext; then
21871 echo "$as_me: failed program was:" >&5
21872 sed 's/^/| /' conftest.$ac_ext >&5
21874 ac_lo=`expr '(' $ac_mid ')' + 1`
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21881 '') if test "$ac_cv_type_size_t" = yes; then
21882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21883 See \`config.log
' for more details." >&5
21884 echo "$as_me: error: cannot compute sizeof (size_t)
21885 See \`config.log' for more details.
" >&2;}
21886 { (exit 77); exit 77; }; }
21888 ac_cv_sizeof_size_t=0
21892 cat >conftest.$ac_ext <<_ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 $ac_includes_default
21899 typedef size_t ac__type_sizeof_;
21900 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21901 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21903 #include <stdlib.h>
21908 FILE *f = fopen ("conftest.val
", "w
");
21911 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21913 long int i = longval ();
21914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21916 fprintf (f, "%ld
\n", i);
21920 unsigned long int i = ulongval ();
21921 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21923 fprintf (f, "%lu
\n", i);
21925 return ferror (f) || fclose (f) != 0;
21931 rm -f conftest$ac_exeext
21932 if { (ac_try="$ac_link"
21933 case "(($ac_try" in
21934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21935 *) ac_try_echo=$ac_try;;
21937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21938 (eval "$ac_link") 2>&5
21940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21942 { (case "(($ac_try" in
21943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21944 *) ac_try_echo=$ac_try;;
21946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_try") 2>&5
21949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21950 (exit $ac_status); }; }; then
21951 ac_cv_sizeof_size_t=`cat conftest.val`
21953 echo "$as_me: program exited with status
$ac_status" >&5
21954 echo "$as_me: failed program was
:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21957 ( exit $ac_status )
21958 if test "$ac_cv_type_size_t" = yes; then
21959 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21960 See \
`config.log' for more details." >&5
21961 echo "$as_me: error: cannot compute sizeof (size_t)
21962 See \`config.log
' for more details." >&2;}
21963 { (exit 77); exit 77; }; }
21965 ac_cv_sizeof_size_t=0
21968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21972 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21973 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21977 cat >>confdefs.h <<_ACEOF
21978 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21985 { echo "$as_me:$LINENO: checking for long long" >&5
21986 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21987 if test "${ac_cv_type_long_long+set}" = set; then
21988 echo $ECHO_N "(cached) $ECHO_C" >&6
21990 cat >conftest.$ac_ext <<_ACEOF
21993 cat confdefs.h >>conftest.$ac_ext
21994 cat >>conftest.$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21996 $ac_includes_default
21997 typedef long long ac__type_new_;
22001 if ((ac__type_new_ *) 0)
22003 if (sizeof (ac__type_new_))
22009 rm -f conftest.$ac_objext
22010 if { (ac_try="$ac_compile"
22011 case "(($ac_try" in
22012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22013 *) ac_try_echo=$ac_try;;
22015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22016 (eval "$ac_compile") 2>conftest.er1
22018 grep -v '^
*+' conftest.er1 >conftest.err
22020 cat conftest.err >&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); } && {
22023 test -z "$ac_c_werror_flag" ||
22024 test ! -s conftest.err
22025 } && test -s conftest.$ac_objext; then
22026 ac_cv_type_long_long=yes
22028 echo "$as_me: failed program was:" >&5
22029 sed 's
/^
/| /' conftest.$ac_ext >&5
22031 ac_cv_type_long_long=no
22034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22037 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22039 # The cast to long int works around a bug in the HP C Compiler
22040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22041 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22042 # This bug is HP SR number 8606223364.
22043 { echo "$as_me:$LINENO: checking size of long long" >&5
22044 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22045 if test "${ac_cv_sizeof_long_long+set}" = set; then
22046 echo $ECHO_N "(cached) $ECHO_C" >&6
22048 if test "$cross_compiling" = yes; then
22049 # Depending upon the size, compute the lo and hi bounds.
22050 cat >conftest.
$ac_ext <<_ACEOF
22053 cat confdefs.h
>>conftest.
$ac_ext
22054 cat >>conftest.
$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 $ac_includes_default
22057 typedef long long ac__type_sizeof_;
22061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22068 rm -f conftest.
$ac_objext
22069 if { (ac_try
="$ac_compile"
22070 case "(($ac_try" in
22071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22072 *) ac_try_echo=$ac_try;;
22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075 (eval "$ac_compile") 2>conftest.er1
22077 grep -v '^ *+' conftest.er1 >conftest.err
22079 cat conftest.err >&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); } && {
22082 test -z "$ac_c_werror_flag" ||
22083 test ! -s conftest.err
22084 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
22122 ac_hi
=$ac_mid; break
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.
$ac_ext >&5
22127 ac_lo
=`expr $ac_mid + 1`
22128 if test $ac_lo -le $ac_mid; then
22132 ac_mid
=`expr 2 '*' $ac_mid + 1`
22135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22138 echo "$as_me: failed program was:" >&5
22139 sed 's/^/| /' conftest.
$ac_ext >&5
22141 cat >conftest.
$ac_ext <<_ACEOF
22144 cat confdefs.h
>>conftest.
$ac_ext
22145 cat >>conftest.
$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_sizeof_;
22152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22159 rm -f conftest.
$ac_objext
22160 if { (ac_try
="$ac_compile"
22161 case "(($ac_try" in
22162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_compile") 2>conftest.er1
22168 grep -v '^ *+' conftest.er1 >conftest.err
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest.$ac_objext; then
22178 cat >conftest.$ac_ext <<_ACEOF
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 $ac_includes_default
22185 typedef long long ac__type_sizeof_;
22189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22196 rm -f conftest.$ac_objext
22197 if { (ac_try="$ac_compile"
22198 case "(($ac_try" in
22199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22200 *) ac_try_echo
=$ac_try;;
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_compile") 2>conftest.er1
22205 grep -v '^ *+' conftest.er1
>conftest.err
22207 cat conftest.err
>&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } && {
22210 test -z "$ac_c_werror_flag" ||
22211 test ! -s conftest.err
22212 } && test -s conftest.
$ac_objext; then
22213 ac_lo
=$ac_mid; break
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.
$ac_ext >&5
22218 ac_hi
=`expr '(' $ac_mid ')' - 1`
22219 if test $ac_mid -le $ac_hi; then
22223 ac_mid
=`expr 2 '*' $ac_mid`
22226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.
$ac_ext >&5
22235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22239 # Binary search between lo and hi bounds.
22240 while test "x$ac_lo" != "x$ac_hi"; do
22241 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22242 cat >conftest.
$ac_ext <<_ACEOF
22245 cat confdefs.h
>>conftest.
$ac_ext
22246 cat >>conftest.
$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 typedef long long ac__type_sizeof_;
22253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22260 rm -f conftest.
$ac_objext
22261 if { (ac_try
="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22269 grep -v '^ *+' conftest.er1 >conftest.err
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && {
22274 test -z "$ac_c_werror_flag" ||
22275 test ! -s conftest.err
22276 } && test -s conftest.$ac_objext; then
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.$ac_ext >&5
22282 ac_lo=`expr '(' $ac_mid ')' + 1`
22285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22288 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22289 '') if test "$ac_cv_type_long_long" = yes; then
22290 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22291 See \`config.log
' for more details." >&5
22292 echo "$as_me: error: cannot compute sizeof (long long)
22293 See \`config.log' for more details.
" >&2;}
22294 { (exit 77); exit 77; }; }
22296 ac_cv_sizeof_long_long=0
22300 cat >conftest.$ac_ext <<_ACEOF
22303 cat confdefs.h >>conftest.$ac_ext
22304 cat >>conftest.$ac_ext <<_ACEOF
22305 /* end confdefs.h. */
22306 $ac_includes_default
22307 typedef long long ac__type_sizeof_;
22308 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22309 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22311 #include <stdlib.h>
22316 FILE *f = fopen ("conftest.val
", "w
");
22319 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22321 long int i = longval ();
22322 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22324 fprintf (f, "%ld
\n", i);
22328 unsigned long int i = ulongval ();
22329 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22331 fprintf (f, "%lu
\n", i);
22333 return ferror (f) || fclose (f) != 0;
22339 rm -f conftest$ac_exeext
22340 if { (ac_try="$ac_link"
22341 case "(($ac_try" in
22342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22343 *) ac_try_echo=$ac_try;;
22345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22346 (eval "$ac_link") 2>&5
22348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22350 { (case "(($ac_try" in
22351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22352 *) ac_try_echo=$ac_try;;
22354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22355 (eval "$ac_try") 2>&5
22357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22358 (exit $ac_status); }; }; then
22359 ac_cv_sizeof_long_long=`cat conftest.val`
22361 echo "$as_me: program exited with status
$ac_status" >&5
22362 echo "$as_me: failed program was
:" >&5
22363 sed 's/^/| /' conftest.$ac_ext >&5
22365 ( exit $ac_status )
22366 if test "$ac_cv_type_long_long" = yes; then
22367 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22368 See \
`config.log' for more details." >&5
22369 echo "$as_me: error: cannot compute sizeof (long long)
22370 See \`config.log
' for more details." >&2;}
22371 { (exit 77); exit 77; }; }
22373 ac_cv_sizeof_long_long=0
22376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22380 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22381 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22385 cat >>confdefs.h <<_ACEOF
22386 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22392 { echo "$as_me:$LINENO: checking for long long" >&5
22393 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22394 if test "${ac_cv_type_long_long+set}" = set; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22397 cat >conftest.$ac_ext <<_ACEOF
22400 cat confdefs.h >>conftest.$ac_ext
22401 cat >>conftest.$ac_ext <<_ACEOF
22402 /* end confdefs.h. */
22403 $ac_includes_default
22404 typedef long long ac__type_new_;
22408 if ((ac__type_new_ *) 0)
22410 if (sizeof (ac__type_new_))
22416 rm -f conftest.$ac_objext
22417 if { (ac_try="$ac_compile"
22418 case "(($ac_try" in
22419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22420 *) ac_try_echo=$ac_try;;
22422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22423 (eval "$ac_compile") 2>conftest.er1
22425 grep -v '^
*+' conftest.er1 >conftest.err
22427 cat conftest.err >&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); } && {
22430 test -z "$ac_c_werror_flag" ||
22431 test ! -s conftest.err
22432 } && test -s conftest.$ac_objext; then
22433 ac_cv_type_long_long=yes
22435 echo "$as_me: failed program was:" >&5
22436 sed 's
/^
/| /' conftest.$ac_ext >&5
22438 ac_cv_type_long_long=no
22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22443 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22444 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22446 # The cast to long int works around a bug in the HP C Compiler
22447 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22448 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22449 # This bug is HP SR number 8606223364.
22450 { echo "$as_me:$LINENO: checking size of long long" >&5
22451 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22452 if test "${ac_cv_sizeof_long_long+set}" = set; then
22453 echo $ECHO_N "(cached) $ECHO_C" >&6
22455 if test "$cross_compiling" = yes; then
22456 # Depending upon the size, compute the lo and hi bounds.
22457 cat >conftest.
$ac_ext <<_ACEOF
22460 cat confdefs.h
>>conftest.
$ac_ext
22461 cat >>conftest.
$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22464 typedef long long ac__type_sizeof_;
22468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22475 rm -f conftest.
$ac_objext
22476 if { (ac_try
="$ac_compile"
22477 case "(($ac_try" in
22478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22479 *) ac_try_echo=$ac_try;;
22481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482 (eval "$ac_compile") 2>conftest.er1
22484 grep -v '^ *+' conftest.er1 >conftest.err
22486 cat conftest.err >&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); } && {
22489 test -z "$ac_c_werror_flag" ||
22490 test ! -s conftest.err
22491 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
22529 ac_hi
=$ac_mid; break
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 ac_lo
=`expr $ac_mid + 1`
22535 if test $ac_lo -le $ac_mid; then
22539 ac_mid
=`expr 2 '*' $ac_mid + 1`
22542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.
$ac_ext >&5
22548 cat >conftest.
$ac_ext <<_ACEOF
22551 cat confdefs.h
>>conftest.
$ac_ext
22552 cat >>conftest.
$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 $ac_includes_default
22555 typedef long long ac__type_sizeof_;
22559 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22566 rm -f conftest.
$ac_objext
22567 if { (ac_try
="$ac_compile"
22568 case "(($ac_try" in
22569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22570 *) ac_try_echo=$ac_try;;
22572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22573 (eval "$ac_compile") 2>conftest.er1
22575 grep -v '^ *+' conftest.er1 >conftest.err
22577 cat conftest.err >&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); } && {
22580 test -z "$ac_c_werror_flag" ||
22581 test ! -s conftest.err
22582 } && test -s conftest.$ac_objext; then
22585 cat >conftest.$ac_ext <<_ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 $ac_includes_default
22592 typedef long long ac__type_sizeof_;
22596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22603 rm -f conftest.$ac_objext
22604 if { (ac_try="$ac_compile"
22605 case "(($ac_try" in
22606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22607 *) ac_try_echo
=$ac_try;;
22609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22610 (eval "$ac_compile") 2>conftest.er1
22612 grep -v '^ *+' conftest.er1
>conftest.err
22614 cat conftest.err
>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } && {
22617 test -z "$ac_c_werror_flag" ||
22618 test ! -s conftest.err
22619 } && test -s conftest.
$ac_objext; then
22620 ac_lo
=$ac_mid; break
22622 echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.
$ac_ext >&5
22625 ac_hi
=`expr '(' $ac_mid ')' - 1`
22626 if test $ac_mid -le $ac_hi; then
22630 ac_mid
=`expr 2 '*' $ac_mid`
22633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.
$ac_ext >&5
22642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22646 # Binary search between lo and hi bounds.
22647 while test "x$ac_lo" != "x$ac_hi"; do
22648 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22649 cat >conftest.
$ac_ext <<_ACEOF
22652 cat confdefs.h
>>conftest.
$ac_ext
22653 cat >>conftest.
$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655 $ac_includes_default
22656 typedef long long ac__type_sizeof_;
22660 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22667 rm -f conftest.
$ac_objext
22668 if { (ac_try
="$ac_compile"
22669 case "(($ac_try" in
22670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_compile") 2>conftest.er1
22676 grep -v '^ *+' conftest.er1 >conftest.err
22678 cat conftest.err >&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } && {
22681 test -z "$ac_c_werror_flag" ||
22682 test ! -s conftest.err
22683 } && test -s conftest.$ac_objext; then
22686 echo "$as_me: failed program was:" >&5
22687 sed 's/^/| /' conftest.$ac_ext >&5
22689 ac_lo=`expr '(' $ac_mid ')' + 1`
22692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22695 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22696 '') if test "$ac_cv_type_long_long" = yes; then
22697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22698 See \`config.log
' for more details." >&5
22699 echo "$as_me: error: cannot compute sizeof (long long)
22700 See \`config.log' for more details.
" >&2;}
22701 { (exit 77); exit 77; }; }
22703 ac_cv_sizeof_long_long=0
22707 cat >conftest.$ac_ext <<_ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 $ac_includes_default
22714 typedef long long ac__type_sizeof_;
22715 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22716 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22718 #include <stdlib.h>
22723 FILE *f = fopen ("conftest.val
", "w
");
22726 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22728 long int i = longval ();
22729 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22731 fprintf (f, "%ld
\n", i);
22735 unsigned long int i = ulongval ();
22736 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22738 fprintf (f, "%lu
\n", i);
22740 return ferror (f) || fclose (f) != 0;
22746 rm -f conftest$ac_exeext
22747 if { (ac_try="$ac_link"
22748 case "(($ac_try" in
22749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22750 *) ac_try_echo=$ac_try;;
22752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22753 (eval "$ac_link") 2>&5
22755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22757 { (case "(($ac_try" in
22758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_try") 2>&5
22764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22765 (exit $ac_status); }; }; then
22766 ac_cv_sizeof_long_long=`cat conftest.val`
22768 echo "$as_me: program exited with status
$ac_status" >&5
22769 echo "$as_me: failed program was
:" >&5
22770 sed 's/^/| /' conftest.$ac_ext >&5
22772 ( exit $ac_status )
22773 if test "$ac_cv_type_long_long" = yes; then
22774 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22775 See \
`config.log' for more details." >&5
22776 echo "$as_me: error: cannot compute sizeof (long long)
22777 See \`config.log
' for more details." >&2;}
22778 { (exit 77); exit 77; }; }
22780 ac_cv_sizeof_long_long=0
22783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22787 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22788 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22792 cat >>confdefs.h <<_ACEOF
22793 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22797 if test "$ac_cv_sizeof_long_long" != 0; then
22798 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22802 { echo "$as_me:$LINENO: checking for long long" >&5
22803 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22804 if test "${ac_cv_type_long_long+set}" = set; then
22805 echo $ECHO_N "(cached) $ECHO_C" >&6
22807 cat >conftest.$ac_ext <<_ACEOF
22810 cat confdefs.h >>conftest.$ac_ext
22811 cat >>conftest.$ac_ext <<_ACEOF
22812 /* end confdefs.h. */
22813 $ac_includes_default
22814 typedef long long ac__type_new_;
22818 if ((ac__type_new_ *) 0)
22820 if (sizeof (ac__type_new_))
22826 rm -f conftest.$ac_objext
22827 if { (ac_try="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22830 *) ac_try_echo=$ac_try;;
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22835 grep -v '^
*+' conftest.er1 >conftest.err
22837 cat conftest.err >&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } && {
22840 test -z "$ac_c_werror_flag" ||
22841 test ! -s conftest.err
22842 } && test -s conftest.$ac_objext; then
22843 ac_cv_type_long_long=yes
22845 echo "$as_me: failed program was:" >&5
22846 sed 's
/^
/| /' conftest.$ac_ext >&5
22848 ac_cv_type_long_long=no
22851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22854 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22856 # The cast to long int works around a bug in the HP C Compiler
22857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22859 # This bug is HP SR number 8606223364.
22860 { echo "$as_me:$LINENO: checking size of long long" >&5
22861 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22862 if test "${ac_cv_sizeof_long_long+set}" = set; then
22863 echo $ECHO_N "(cached) $ECHO_C" >&6
22865 if test "$cross_compiling" = yes; then
22866 # Depending upon the size, compute the lo and hi bounds.
22867 cat >conftest.
$ac_ext <<_ACEOF
22870 cat confdefs.h
>>conftest.
$ac_ext
22871 cat >>conftest.
$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873 $ac_includes_default
22874 typedef long long ac__type_sizeof_;
22878 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22885 rm -f conftest.
$ac_objext
22886 if { (ac_try
="$ac_compile"
22887 case "(($ac_try" in
22888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22889 *) ac_try_echo=$ac_try;;
22891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22892 (eval "$ac_compile") 2>conftest.er1
22894 grep -v '^ *+' conftest.er1 >conftest.err
22896 cat conftest.err >&5
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); } && {
22899 test -z "$ac_c_werror_flag" ||
22900 test ! -s conftest.err
22901 } && test -s conftest.$ac_objext; then
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_))) <= $ac_mid)];
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
22939 ac_hi
=$ac_mid; break
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.
$ac_ext >&5
22944 ac_lo
=`expr $ac_mid + 1`
22945 if test $ac_lo -le $ac_mid; then
22949 ac_mid
=`expr 2 '*' $ac_mid + 1`
22952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22955 echo "$as_me: failed program was:" >&5
22956 sed 's/^/| /' conftest.
$ac_ext >&5
22958 cat >conftest.
$ac_ext <<_ACEOF
22961 cat confdefs.h
>>conftest.
$ac_ext
22962 cat >>conftest.
$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 $ac_includes_default
22965 typedef long long ac__type_sizeof_;
22969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22976 rm -f conftest.
$ac_objext
22977 if { (ac_try
="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22985 grep -v '^ *+' conftest.er1 >conftest.err
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_c_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22995 cat >conftest.$ac_ext <<_ACEOF
22998 cat confdefs.h >>conftest.$ac_ext
22999 cat >>conftest.$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23001 $ac_includes_default
23002 typedef long long ac__type_sizeof_;
23006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23013 rm -f conftest.$ac_objext
23014 if { (ac_try="$ac_compile"
23015 case "(($ac_try" in
23016 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23017 *) ac_try_echo
=$ac_try;;
23019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23020 (eval "$ac_compile") 2>conftest.er1
23022 grep -v '^ *+' conftest.er1
>conftest.err
23024 cat conftest.err
>&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } && {
23027 test -z "$ac_c_werror_flag" ||
23028 test ! -s conftest.err
23029 } && test -s conftest.
$ac_objext; then
23030 ac_lo
=$ac_mid; break
23032 echo "$as_me: failed program was:" >&5
23033 sed 's/^/| /' conftest.
$ac_ext >&5
23035 ac_hi
=`expr '(' $ac_mid ')' - 1`
23036 if test $ac_mid -le $ac_hi; then
23040 ac_mid
=`expr 2 '*' $ac_mid`
23043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.
$ac_ext >&5
23052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23056 # Binary search between lo and hi bounds.
23057 while test "x$ac_lo" != "x$ac_hi"; do
23058 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23059 cat >conftest.
$ac_ext <<_ACEOF
23062 cat confdefs.h
>>conftest.
$ac_ext
23063 cat >>conftest.
$ac_ext <<_ACEOF
23064 /* end confdefs.h. */
23065 $ac_includes_default
23066 typedef long long ac__type_sizeof_;
23070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23077 rm -f conftest.
$ac_objext
23078 if { (ac_try
="$ac_compile"
23079 case "(($ac_try" in
23080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23081 *) ac_try_echo=$ac_try;;
23083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23084 (eval "$ac_compile") 2>conftest.er1
23086 grep -v '^ *+' conftest.er1 >conftest.err
23088 cat conftest.err >&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } && {
23091 test -z "$ac_c_werror_flag" ||
23092 test ! -s conftest.err
23093 } && test -s conftest.$ac_objext; then
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23099 ac_lo=`expr '(' $ac_mid ')' + 1`
23102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23105 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23106 '') if test "$ac_cv_type_long_long" = yes; then
23107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23108 See \`config.log
' for more details." >&5
23109 echo "$as_me: error: cannot compute sizeof (long long)
23110 See \`config.log' for more details.
" >&2;}
23111 { (exit 77); exit 77; }; }
23113 ac_cv_sizeof_long_long=0
23117 cat >conftest.$ac_ext <<_ACEOF
23120 cat confdefs.h >>conftest.$ac_ext
23121 cat >>conftest.$ac_ext <<_ACEOF
23122 /* end confdefs.h. */
23123 $ac_includes_default
23124 typedef long long ac__type_sizeof_;
23125 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23126 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23128 #include <stdlib.h>
23133 FILE *f = fopen ("conftest.val
", "w
");
23136 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23138 long int i = longval ();
23139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23141 fprintf (f, "%ld
\n", i);
23145 unsigned long int i = ulongval ();
23146 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23148 fprintf (f, "%lu
\n", i);
23150 return ferror (f) || fclose (f) != 0;
23156 rm -f conftest$ac_exeext
23157 if { (ac_try="$ac_link"
23158 case "(($ac_try" in
23159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23160 *) ac_try_echo=$ac_try;;
23162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23163 (eval "$ac_link") 2>&5
23165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23167 { (case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23171 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_try") 2>&5
23174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23175 (exit $ac_status); }; }; then
23176 ac_cv_sizeof_long_long=`cat conftest.val`
23178 echo "$as_me: program exited with status
$ac_status" >&5
23179 echo "$as_me: failed program was
:" >&5
23180 sed 's/^/| /' conftest.$ac_ext >&5
23182 ( exit $ac_status )
23183 if test "$ac_cv_type_long_long" = yes; then
23184 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23185 See \
`config.log' for more details." >&5
23186 echo "$as_me: error: cannot compute sizeof (long long)
23187 See \`config.log
' for more details." >&2;}
23188 { (exit 77); exit 77; }; }
23190 ac_cv_sizeof_long_long=0
23193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23197 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23198 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23202 cat >>confdefs.h <<_ACEOF
23203 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23209 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23210 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23211 if test "${ac_cv_type_wchar_t+set}" = set; then
23212 echo $ECHO_N "(cached) $ECHO_C" >&6
23214 cat >conftest.$ac_ext <<_ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23221 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23222 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23223 # error "fake wchar_t"
23225 #ifdef HAVE_WCHAR_H
23227 # include <stddef.h>
23229 # include <wchar.h>
23231 #ifdef HAVE_STDLIB_H
23232 # include <stdlib.h>
23238 typedef wchar_t ac__type_new_
;
23242 if ((ac__type_new_
*) 0)
23244 if (sizeof
(ac__type_new_
))
23250 rm -f conftest.
$ac_objext
23251 if { (ac_try
="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23259 grep -v '^ *+' conftest.er1 >conftest.err
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.$ac_objext; then
23267 ac_cv_type_wchar_t=yes
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.$ac_ext >&5
23272 ac_cv_type_wchar_t=no
23275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23277 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23278 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23280 # The cast to long int works around a bug in the HP C Compiler
23281 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23282 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23283 # This bug is HP SR number 8606223364.
23284 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23285 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23286 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23287 echo $ECHO_N "(cached) $ECHO_C" >&6
23289 if test "$cross_compiling" = yes; then
23290 # Depending upon the size, compute the lo and hi bounds.
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_
))) >= 0)];
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
23345 cat >conftest.$ac_ext <<_ACEOF
23348 cat confdefs.h >>conftest.$ac_ext
23349 cat >>conftest.$ac_ext <<_ACEOF
23350 /* end confdefs.h. */
23352 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23353 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23354 # error "fake wchar_t"
23356 #ifdef HAVE_WCHAR_H
23358 # include <stddef.h>
23360 # include <wchar.h>
23362 #ifdef HAVE_STDLIB_H
23363 # include <stdlib.h>
23369 typedef wchar_t ac__type_sizeof_;
23373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23380 rm -f conftest.$ac_objext
23381 if { (ac_try="$ac_compile"
23382 case "(($ac_try" in
23383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23384 *) ac_try_echo
=$ac_try;;
23386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23387 (eval "$ac_compile") 2>conftest.er1
23389 grep -v '^ *+' conftest.er1
>conftest.err
23391 cat conftest.err
>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); } && {
23394 test -z "$ac_c_werror_flag" ||
23395 test ! -s conftest.err
23396 } && test -s conftest.
$ac_objext; then
23397 ac_hi
=$ac_mid; break
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.
$ac_ext >&5
23402 ac_lo
=`expr $ac_mid + 1`
23403 if test $ac_lo -le $ac_mid; then
23407 ac_mid
=`expr 2 '*' $ac_mid + 1`
23410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.
$ac_ext >&5
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_))) < 0)];
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
23470 cat >conftest.$ac_ext <<_ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23477 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23478 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23479 # error "fake wchar_t"
23481 #ifdef HAVE_WCHAR_H
23483 # include <stddef.h>
23485 # include <wchar.h>
23487 #ifdef HAVE_STDLIB_H
23488 # include <stdlib.h>
23494 typedef wchar_t ac__type_sizeof_;
23498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23505 rm -f conftest.$ac_objext
23506 if { (ac_try="$ac_compile"
23507 case "(($ac_try" in
23508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23509 *) ac_try_echo
=$ac_try;;
23511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23512 (eval "$ac_compile") 2>conftest.er1
23514 grep -v '^ *+' conftest.er1
>conftest.err
23516 cat conftest.err
>&5
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); } && {
23519 test -z "$ac_c_werror_flag" ||
23520 test ! -s conftest.err
23521 } && test -s conftest.
$ac_objext; then
23522 ac_lo
=$ac_mid; break
23524 echo "$as_me: failed program was:" >&5
23525 sed 's/^/| /' conftest.
$ac_ext >&5
23527 ac_hi
=`expr '(' $ac_mid ')' - 1`
23528 if test $ac_mid -le $ac_hi; then
23532 ac_mid
=`expr 2 '*' $ac_mid`
23535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.
$ac_ext >&5
23544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23548 # Binary search between lo and hi bounds.
23549 while test "x$ac_lo" != "x$ac_hi"; do
23550 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23551 cat >conftest.
$ac_ext <<_ACEOF
23554 cat confdefs.h
>>conftest.
$ac_ext
23555 cat >>conftest.
$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23558 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23559 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23560 # error "fake wchar_t"
23562 #ifdef HAVE_WCHAR_H
23564 # include <stddef.h>
23566 # include <wchar.h>
23568 #ifdef HAVE_STDLIB_H
23569 # include <stdlib.h>
23575 typedef wchar_t ac__type_sizeof_;
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23586 rm -f conftest.
$ac_objext
23587 if { (ac_try
="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23595 grep -v '^ *+' conftest.er1 >conftest.err
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23608 ac_lo=`expr '(' $ac_mid ')' + 1`
23611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23614 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23615 '') if test "$ac_cv_type_wchar_t" = yes; then
23616 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23617 See \`config.log
' for more details." >&5
23618 echo "$as_me: error: cannot compute sizeof (wchar_t)
23619 See \`config.log' for more details.
" >&2;}
23620 { (exit 77); exit 77; }; }
23622 ac_cv_sizeof_wchar_t=0
23626 cat >conftest.$ac_ext <<_ACEOF
23629 cat confdefs.h >>conftest.$ac_ext
23630 cat >>conftest.$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23633 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23634 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23635 # error "fake wchar_t
"
23637 #ifdef HAVE_WCHAR_H
23639 # include <stddef.h>
23641 # include <wchar.h>
23643 #ifdef HAVE_STDLIB_H
23644 # include <stdlib.h>
23650 typedef wchar_t ac__type_sizeof_;
23651 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23652 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23654 #include <stdlib.h>
23659 FILE *f = fopen ("conftest.val
", "w
");
23662 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23664 long int i = longval ();
23665 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23667 fprintf (f, "%ld
\n", i);
23671 unsigned long int i = ulongval ();
23672 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23674 fprintf (f, "%lu
\n", i);
23676 return ferror (f) || fclose (f) != 0;
23682 rm -f conftest$ac_exeext
23683 if { (ac_try="$ac_link"
23684 case "(($ac_try" in
23685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23686 *) ac_try_echo=$ac_try;;
23688 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23689 (eval "$ac_link") 2>&5
23691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23692 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23693 { (case "(($ac_try" in
23694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23695 *) ac_try_echo=$ac_try;;
23697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23698 (eval "$ac_try") 2>&5
23700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23701 (exit $ac_status); }; }; then
23702 ac_cv_sizeof_wchar_t=`cat conftest.val`
23704 echo "$as_me: program exited with status
$ac_status" >&5
23705 echo "$as_me: failed program was
:" >&5
23706 sed 's/^/| /' conftest.$ac_ext >&5
23708 ( exit $ac_status )
23709 if test "$ac_cv_type_wchar_t" = yes; then
23710 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23711 See \
`config.log' for more details." >&5
23712 echo "$as_me: error: cannot compute sizeof (wchar_t)
23713 See \`config.log
' for more details." >&2;}
23714 { (exit 77); exit 77; }; }
23716 ac_cv_sizeof_wchar_t=0
23719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23723 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23724 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23728 cat >>confdefs.h <<_ACEOF
23729 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23733 if test "$ac_cv_sizeof_wchar_t" != 0; then
23739 { echo "$as_me:$LINENO: checking for va_copy" >&5
23740 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23741 if test "${wx_cv_func_va_copy+set}" = set; then
23742 echo $ECHO_N "(cached) $ECHO_C" >&6
23746 ac_cpp='$CXXCPP $CPPFLAGS'
23747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23748 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23751 cat >conftest.$ac_ext <<_ACEOF
23753 #include <stdarg.h>
23754 void foo(char *f, ...)
23768 rm -f conftest.$ac_objext conftest$ac_exeext
23769 if { (ac_try="$ac_link"
23770 case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_link") 2>conftest.er1
23777 grep -v '^
*+' conftest.er1 >conftest.err
23779 cat conftest.err >&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } && {
23782 test -z "$ac_cxx_werror_flag" ||
23783 test ! -s conftest.err
23784 } && test -s conftest$ac_exeext &&
23785 $as_test_x conftest$ac_exeext; then
23786 wx_cv_func_va_copy=yes
23788 echo "$as_me: failed program was:" >&5
23789 sed 's
/^
/| /' conftest.$ac_ext >&5
23791 wx_cv_func_va_copy=no
23795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23796 conftest$ac_exeext conftest.$ac_ext
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23800 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23806 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23807 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23809 if test $wx_cv_func_va_copy = "yes"; then
23810 cat >>confdefs.h <<\_ACEOF
23811 #define HAVE_VA_COPY 1
23815 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23816 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23817 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23821 if test "$cross_compiling" = yes; then
23822 wx_cv_type_va_list_lvalue=yes
23825 cat >conftest.$ac_ext <<_ACEOF
23827 #include <stdarg.h>
23828 int foo(char *f, ...)
23833 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23841 return foo("hi", 17);
23844 rm -f conftest$ac_exeext
23845 if { (ac_try="$ac_link"
23846 case "(($ac_try" in
23847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23848 *) ac_try_echo=$ac_try;;
23850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23851 (eval "$ac_link") 2>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23855 { (case "(($ac_try" in
23856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23857 *) ac_try_echo=$ac_try;;
23859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860 (eval "$ac_try") 2>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; }; then
23864 wx_cv_type_va_list_lvalue=yes
23866 echo "$as_me: program exited with status $ac_status" >&5
23867 echo "$as_me: failed program was:" >&5
23868 sed 's
/^
/| /' conftest.$ac_ext >&5
23870 ( exit $ac_status )
23871 wx_cv_type_va_list_lvalue=no
23873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23880 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23881 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23883 if test $wx_cv_type_va_list_lvalue != "yes"; then
23884 cat >>confdefs.h <<\_ACEOF
23885 #define VA_LIST_IS_ARRAY 1
23891 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23893 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23894 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23895 if test "${wx_cv_have_variadic_macros+set}" = set; then
23896 echo $ECHO_N "(cached) $ECHO_C" >&6
23900 ac_cpp='$CXXCPP $CPPFLAGS'
23901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23902 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23905 cat >conftest.$ac_ext <<_ACEOF
23908 cat confdefs.h >>conftest.$ac_ext
23909 cat >>conftest.$ac_ext <<_ACEOF
23910 /* end confdefs.h. */
23913 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23919 test("%s %d %p", "test", 1, 0);
23926 rm -f conftest.$ac_objext
23927 if { (ac_try="$ac_compile"
23928 case "(($ac_try" in
23929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23930 *) ac_try_echo=$ac_try;;
23932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23933 (eval "$ac_compile") 2>conftest.er1
23935 grep -v '^
*+' conftest.er1 >conftest.err
23937 cat conftest.err >&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); } && {
23940 test -z "$ac_cxx_werror_flag" ||
23941 test ! -s conftest.err
23942 } && test -s conftest.$ac_objext; then
23943 wx_cv_have_variadic_macros=yes
23945 echo "$as_me: failed program was:" >&5
23946 sed 's
/^
/| /' conftest.$ac_ext >&5
23948 wx_cv_have_variadic_macros=no
23952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23954 ac_cpp='$CPP $CPPFLAGS'
23955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23956 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23962 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23963 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23965 if test $wx_cv_have_variadic_macros = "yes"; then
23966 cat >>confdefs.h <<\_ACEOF
23967 #define HAVE_VARIADIC_MACROS 1
23974 LARGEFILE_CPPFLAGS=
23975 # Check whether --enable-largefile was given.
23976 if test "${enable_largefile+set}" = set; then
23977 enableval=$enable_largefile;
23980 if test "$enable_largefile" != no; then
23983 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23984 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23985 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23986 echo $ECHO_N "(cached) $ECHO_C" >&6
23989 cat >conftest.$ac_ext <<_ACEOF
23992 cat confdefs.h >>conftest.$ac_ext
23993 cat >>conftest.$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 #define _FILE_OFFSET_BITS 64
23996 #include <sys/types.h>
24001 unsigned int field: sizeof(off_t) == 8;
24008 rm -f conftest.$ac_objext
24009 if { (ac_try="$ac_compile"
24010 case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_compile") 2>conftest.er1
24017 grep -v '^
*+' conftest.er1 >conftest.err
24019 cat conftest.err >&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); } && {
24022 test -z "$ac_c_werror_flag" ||
24023 test ! -s conftest.err
24024 } && test -s conftest.$ac_objext; then
24025 ac_cv_sys_file_offset_bits=64
24027 echo "$as_me: failed program was:" >&5
24028 sed 's
/^
/| /' conftest.$ac_ext >&5
24030 ac_cv_sys_file_offset_bits=no
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24037 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24038 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24040 if test "$ac_cv_sys_file_offset_bits" != no; then
24042 cat >>confdefs.h <<_ACEOF
24043 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24048 if test "x$wx_largefile" != "xyes"; then
24050 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24051 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24052 if test "${ac_cv_sys_large_files+set}" = set; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24056 cat >conftest.$ac_ext <<_ACEOF
24059 cat confdefs.h >>conftest.$ac_ext
24060 cat >>conftest.$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24062 #define _LARGE_FILES 1
24063 #include <sys/types.h>
24068 unsigned int field: sizeof(off_t) == 8;
24075 rm -f conftest.$ac_objext
24076 if { (ac_try="$ac_compile"
24077 case "(($ac_try" in
24078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24079 *) ac_try_echo=$ac_try;;
24081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24082 (eval "$ac_compile") 2>conftest.er1
24084 grep -v '^
*+' conftest.er1 >conftest.err
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } && {
24089 test -z "$ac_c_werror_flag" ||
24090 test ! -s conftest.err
24091 } && test -s conftest.$ac_objext; then
24092 ac_cv_sys_large_files=1
24094 echo "$as_me: failed program was:" >&5
24095 sed 's
/^
/| /' conftest.$ac_ext >&5
24097 ac_cv_sys_large_files=no
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24104 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24105 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24107 if test "$ac_cv_sys_large_files" != no; then
24109 cat >>confdefs.h <<_ACEOF
24110 #define _LARGE_FILES $ac_cv_sys_large_files
24117 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24118 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24119 if test "x$wx_largefile" = "xyes"; then
24120 cat >>confdefs.h <<\_ACEOF
24121 #define HAVE_LARGEFILE_SUPPORT 1
24125 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24126 echo "${ECHO_T}$wx_largefile" >&6; }
24129 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24130 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24131 elif test "$ac_cv_sys_large_files" = 1; then
24132 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24135 if test -n "$LARGEFILE_CPPFLAGS"; then
24136 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24138 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24139 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24140 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24141 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24142 echo $ECHO_N "(cached) $ECHO_C" >&6
24146 ac_cpp='$CXXCPP $CPPFLAGS'
24147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24148 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24151 cat >conftest.$ac_ext <<_ACEOF
24154 cat confdefs.h >>conftest.$ac_ext
24155 cat >>conftest.$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24162 #ifndef __STDC_EXT__
24170 rm -f conftest.$ac_objext
24171 if { (ac_try="$ac_compile"
24172 case "(($ac_try" in
24173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24174 *) ac_try_echo=$ac_try;;
24176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24177 (eval "$ac_compile") 2>conftest.er1
24179 grep -v '^
*+' conftest.er1 >conftest.err
24181 cat conftest.err >&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } && {
24184 test -z "$ac_cxx_werror_flag" ||
24185 test ! -s conftest.err
24186 } && test -s conftest.$ac_objext; then
24187 wx_cv_STDC_EXT_required=no
24189 echo "$as_me: failed program was:" >&5
24190 sed 's
/^
/| /' conftest.$ac_ext >&5
24192 wx_cv_STDC_EXT_required=yes
24196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198 ac_cpp='$CPP $CPPFLAGS'
24199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24200 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24206 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24207 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24208 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24209 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24215 ac_cpp='$CXXCPP $CPPFLAGS'
24216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24217 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24220 old_CPPFLAGS="$CPPFLAGS"
24221 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24222 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24223 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24224 if test "${ac_cv_sys_largefile_source+set}" = set; then
24225 echo $ECHO_N "(cached) $ECHO_C" >&6
24228 cat >conftest.$ac_ext <<_ACEOF
24231 cat confdefs.h >>conftest.$ac_ext
24232 cat >>conftest.$ac_ext <<_ACEOF
24233 /* end confdefs.h. */
24234 #include <sys/types.h> /* for off_t */
24239 int (*fp) (FILE *, off_t, int) = fseeko;
24240 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24245 rm -f conftest.$ac_objext conftest$ac_exeext
24246 if { (ac_try="$ac_link"
24247 case "(($ac_try" in
24248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24249 *) ac_try_echo=$ac_try;;
24251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24252 (eval "$ac_link") 2>conftest.er1
24254 grep -v '^
*+' conftest.er1 >conftest.err
24256 cat conftest.err >&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && {
24259 test -z "$ac_cxx_werror_flag" ||
24260 test ! -s conftest.err
24261 } && test -s conftest$ac_exeext &&
24262 $as_test_x conftest$ac_exeext; then
24263 ac_cv_sys_largefile_source=no; break
24265 echo "$as_me: failed program was:" >&5
24266 sed 's
/^
/| /' conftest.$ac_ext >&5
24271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24272 conftest$ac_exeext conftest.$ac_ext
24273 cat >conftest.$ac_ext <<_ACEOF
24276 cat confdefs.h >>conftest.$ac_ext
24277 cat >>conftest.$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24279 #define _LARGEFILE_SOURCE 1
24280 #include <sys/types.h> /* for off_t */
24285 int (*fp) (FILE *, off_t, int) = fseeko;
24286 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24291 rm -f conftest.$ac_objext conftest$ac_exeext
24292 if { (ac_try="$ac_link"
24293 case "(($ac_try" in
24294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24295 *) ac_try_echo=$ac_try;;
24297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24298 (eval "$ac_link") 2>conftest.er1
24300 grep -v '^
*+' conftest.er1 >conftest.err
24302 cat conftest.err >&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } && {
24305 test -z "$ac_cxx_werror_flag" ||
24306 test ! -s conftest.err
24307 } && test -s conftest$ac_exeext &&
24308 $as_test_x conftest$ac_exeext; then
24309 ac_cv_sys_largefile_source=1; break
24311 echo "$as_me: failed program was:" >&5
24312 sed 's
/^
/| /' conftest.$ac_ext >&5
24317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24318 conftest$ac_exeext conftest.$ac_ext
24319 ac_cv_sys_largefile_source=unknown
24323 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24324 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24325 case $ac_cv_sys_largefile_source in #(
24328 cat >>confdefs.h <<_ACEOF
24329 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24335 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24336 # in glibc 2.1.3, but that breaks too many other things.
24337 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24338 if test $ac_cv_sys_largefile_source != unknown; then
24340 cat >>confdefs.h <<\_ACEOF
24341 #define HAVE_FSEEKO 1
24346 CPPFLAGS="$old_CPPFLAGS"
24348 ac_cpp='$CPP $CPPFLAGS'
24349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24350 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24353 if test "$ac_cv_sys_largefile_source" != no; then
24354 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24357 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24358 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24359 if test "${ac_cv_c_bigendian+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24362 ac_cv_c_bigendian=unknown
24363 # See if sys/param.h defines the BYTE_ORDER macro.
24364 cat >conftest.$ac_ext <<_ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 #include <sys/types.h>
24371 #include <sys/param.h>
24376 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24377 bogus endian macros
24383 rm -f conftest.$ac_objext
24384 if { (ac_try="$ac_compile"
24385 case "(($ac_try" in
24386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24387 *) ac_try_echo=$ac_try;;
24389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24390 (eval "$ac_compile") 2>conftest.er1
24392 grep -v '^
*+' conftest.er1 >conftest.err
24394 cat conftest.err >&5
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); } && {
24397 test -z "$ac_c_werror_flag" ||
24398 test ! -s conftest.err
24399 } && test -s conftest.$ac_objext; then
24400 # It does; now see whether it defined to BIG_ENDIAN or not.
24401 cat >conftest.$ac_ext <<_ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407 #include <sys/types.h>
24408 #include <sys/param.h>
24413 #if BYTE_ORDER != BIG_ENDIAN
24420 rm -f conftest.$ac_objext
24421 if { (ac_try="$ac_compile"
24422 case "(($ac_try" in
24423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24424 *) ac_try_echo=$ac_try;;
24426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24427 (eval "$ac_compile") 2>conftest.er1
24429 grep -v '^
*+' conftest.er1 >conftest.err
24431 cat conftest.err >&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } && {
24434 test -z "$ac_c_werror_flag" ||
24435 test ! -s conftest.err
24436 } && test -s conftest.$ac_objext; then
24437 ac_cv_c_bigendian=yes
24439 echo "$as_me: failed program was:" >&5
24440 sed 's
/^
/| /' conftest.$ac_ext >&5
24442 ac_cv_c_bigendian=no
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24447 echo "$as_me: failed program was:" >&5
24448 sed 's
/^
/| /' conftest.$ac_ext >&5
24453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24454 if test $ac_cv_c_bigendian = unknown; then
24455 if test "$cross_compiling" = yes; then
24456 ac_cv_c_bigendian=unknown
24458 cat >conftest.$ac_ext <<_ACEOF
24461 cat confdefs.h >>conftest.$ac_ext
24462 cat >>conftest.$ac_ext <<_ACEOF
24463 /* end confdefs.h. */
24465 /* Are we little or big endian? From Harbison&Steele. */
24469 char c[sizeof (long)];
24472 exit (u.c[sizeof (long) - 1] == 1);
24475 rm -f conftest$ac_exeext
24476 if { (ac_try="$ac_link"
24477 case "(($ac_try" in
24478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24479 *) ac_try_echo=$ac_try;;
24481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24482 (eval "$ac_link") 2>&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24486 { (case "(($ac_try" in
24487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24488 *) ac_try_echo=$ac_try;;
24490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24491 (eval "$ac_try") 2>&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); }; }; then
24495 ac_cv_c_bigendian=no
24497 echo "$as_me: program exited with status $ac_status" >&5
24498 echo "$as_me: failed program was:" >&5
24499 sed 's
/^
/| /' conftest.$ac_ext >&5
24501 ( exit $ac_status )
24502 ac_cv_c_bigendian=yes
24504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24510 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24511 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24512 if test $ac_cv_c_bigendian = unknown; then
24513 { 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
24514 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;}
24516 if test $ac_cv_c_bigendian = yes; then
24517 cat >>confdefs.h <<\_ACEOF
24518 #define WORDS_BIGENDIAN 1
24527 ac_cpp='$CXXCPP $CPPFLAGS'
24528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24529 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24534 for ac_header in iostream
24536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24540 echo $ECHO_N "(cached) $ECHO_C" >&6
24542 cat >conftest.$ac_ext <<_ACEOF
24545 cat confdefs.h >>conftest.$ac_ext
24546 cat >>conftest.$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24550 #include <$ac_header>
24552 rm -f conftest.$ac_objext
24553 if { (ac_try="$ac_compile"
24554 case "(($ac_try" in
24555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24556 *) ac_try_echo=$ac_try;;
24558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24559 (eval "$ac_compile") 2>conftest.er1
24561 grep -v '^
*+' conftest.er1 >conftest.err
24563 cat conftest.err >&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); } && {
24566 test -z "$ac_cxx_werror_flag" ||
24567 test ! -s conftest.err
24568 } && test -s conftest.$ac_objext; then
24569 eval "$as_ac_Header=yes"
24571 echo "$as_me: failed program was:" >&5
24572 sed 's
/^
/| /' conftest.$ac_ext >&5
24574 eval "$as_ac_Header=no"
24577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24579 ac_res=`eval echo '${'$as_ac_Header'}'`
24580 { echo "$as_me:$LINENO: result: $ac_res" >&5
24581 echo "${ECHO_T}$ac_res" >&6; }
24582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24583 cat >>confdefs.h <<_ACEOF
24584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24592 if test "$ac_cv_header_iostream" = "yes" ; then
24595 cat >>confdefs.h <<\_ACEOF
24596 #define wxUSE_IOSTREAMH 1
24602 ac_cpp='$CPP $CPPFLAGS'
24603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24604 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24610 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24611 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24612 if test "${wx_cv_explicit+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 ac_cpp='$CXXCPP $CPPFLAGS'
24619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24620 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24624 cat >conftest.$ac_ext <<_ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24631 class Foo { public: explicit Foo(int) {} };
24643 rm -f conftest.$ac_objext
24644 if { (ac_try="$ac_compile"
24645 case "(($ac_try" in
24646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24647 *) ac_try_echo=$ac_try;;
24649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24650 (eval "$ac_compile") 2>conftest.er1
24652 grep -v '^
*+' conftest.er1 >conftest.err
24654 cat conftest.err >&5
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); } && {
24657 test -z "$ac_cxx_werror_flag" ||
24658 test ! -s conftest.err
24659 } && test -s conftest.$ac_objext; then
24661 cat >conftest.$ac_ext <<_ACEOF
24664 cat confdefs.h >>conftest.$ac_ext
24665 cat >>conftest.$ac_ext <<_ACEOF
24666 /* end confdefs.h. */
24668 class Foo { public: explicit Foo(int) {} };
24669 static void TakeFoo(const Foo& foo) { }
24682 rm -f conftest.$ac_objext
24683 if { (ac_try="$ac_compile"
24684 case "(($ac_try" in
24685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24686 *) ac_try_echo=$ac_try;;
24688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24689 (eval "$ac_compile") 2>conftest.er1
24691 grep -v '^
*+' conftest.er1 >conftest.err
24693 cat conftest.err >&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); } && {
24696 test -z "$ac_cxx_werror_flag" ||
24697 test ! -s conftest.err
24698 } && test -s conftest.$ac_objext; then
24701 echo "$as_me: failed program was:" >&5
24702 sed 's
/^
/| /' conftest.$ac_ext >&5
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711 echo "$as_me: failed program was:" >&5
24712 sed 's
/^
/| /' conftest.$ac_ext >&5
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_cpp='$CPP $CPPFLAGS'
24722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24723 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24728 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24729 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24731 if test "$wx_cv_explicit" = "yes"; then
24732 cat >>confdefs.h <<\_ACEOF
24733 #define HAVE_EXPLICIT 1
24739 if test "x$SUNCXX" = xyes; then
24740 CXXFLAGS="-features=tmplife $CXXFLAGS"
24743 if test "x$SUNCC" = xyes; then
24744 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24747 if test "x$SGICC" = "xyes"; then
24748 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24749 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24750 if test "${wx_cv_prog_sgicc744+set}" = set; then
24751 echo $ECHO_N "(cached) $ECHO_C" >&6
24754 cat >conftest.$ac_ext <<_ACEOF
24757 cat confdefs.h >>conftest.$ac_ext
24758 cat >>conftest.$ac_ext <<_ACEOF
24759 /* end confdefs.h. */
24765 #if _SGI_COMPILER_VERSION >= 744
24766 chock me: mipsPro is 7.4.4 or later
24773 rm -f conftest.$ac_objext
24774 if { (ac_try="$ac_compile"
24775 case "(($ac_try" in
24776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24777 *) ac_try_echo=$ac_try;;
24779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24780 (eval "$ac_compile") 2>conftest.er1
24782 grep -v '^
*+' conftest.er1 >conftest.err
24784 cat conftest.err >&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } && {
24787 test -z "$ac_c_werror_flag" ||
24788 test ! -s conftest.err
24789 } && test -s conftest.$ac_objext; then
24790 wx_cv_prog_sgicc744=no
24792 echo "$as_me: failed program was:" >&5
24793 sed 's
/^
/| /' conftest.$ac_ext >&5
24795 wx_cv_prog_sgicc744=yes
24799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24804 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24806 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24807 CFLAGS="-woff 3970 $CFLAGS"
24810 if test "x$SGICXX" = "xyes"; then
24811 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24812 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24813 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24818 ac_cpp='$CXXCPP $CPPFLAGS'
24819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24820 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24823 cat >conftest.$ac_ext <<_ACEOF
24826 cat confdefs.h >>conftest.$ac_ext
24827 cat >>conftest.$ac_ext <<_ACEOF
24828 /* end confdefs.h. */
24834 #if _SGI_COMPILER_VERSION >= 744
24835 chock me: mipsPro is 7.4.4 or later
24842 rm -f conftest.$ac_objext
24843 if { (ac_try="$ac_compile"
24844 case "(($ac_try" in
24845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24846 *) ac_try_echo=$ac_try;;
24848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24849 (eval "$ac_compile") 2>conftest.er1
24851 grep -v '^
*+' conftest.er1 >conftest.err
24853 cat conftest.err >&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } && {
24856 test -z "$ac_cxx_werror_flag" ||
24857 test ! -s conftest.err
24858 } && test -s conftest.$ac_objext; then
24859 wx_cv_prog_sgicxx744=no
24861 echo "$as_me: failed program was:" >&5
24862 sed 's
/^
/| /' conftest.$ac_ext >&5
24864 wx_cv_prog_sgicxx744=yes
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24870 ac_cpp='$CPP $CPPFLAGS'
24871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24872 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24878 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24879 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24881 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24882 CXXFLAGS="-woff 3970 $CXXFLAGS"
24886 if test "x$HPCC" = "xyes"; then
24887 CFLAGS="+W 2011,2450 $CFLAGS"
24889 if test "x$HPCXX" = "xyes"; then
24890 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24893 if test "x$COMPAQCXX" = "xyes"; then
24894 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24900 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24904 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24905 if test "$wxUSE_UNICODE" = "yes"; then
24906 std_string="std::wstring"
24907 char_type="wchar_t"
24909 std_string="std::string"
24913 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24914 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24915 if test "${wx_cv_class_stdstring+set}" = set; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24919 cat >conftest.$ac_ext <<_ACEOF
24922 cat confdefs.h >>conftest.$ac_ext
24923 cat >>conftest.$ac_ext <<_ACEOF
24924 /* end confdefs.h. */
24934 rm -f conftest.$ac_objext
24935 if { (ac_try="$ac_compile"
24936 case "(($ac_try" in
24937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24938 *) ac_try_echo=$ac_try;;
24940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24941 (eval "$ac_compile") 2>conftest.er1
24943 grep -v '^
*+' conftest.er1 >conftest.err
24945 cat conftest.err >&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); } && {
24948 test -z "$ac_cxx_werror_flag" ||
24949 test ! -s conftest.err
24950 } && test -s conftest.$ac_objext; then
24951 wx_cv_class_stdstring=yes
24953 echo "$as_me: failed program was:" >&5
24954 sed 's
/^
/| /' conftest.$ac_ext >&5
24956 wx_cv_class_stdstring=no
24960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24965 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24967 if test "$wx_cv_class_stdstring" = yes; then
24968 if test "$wxUSE_UNICODE" = "yes"; then
24969 cat >>confdefs.h <<\_ACEOF
24970 #define HAVE_STD_WSTRING 1
24975 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24976 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24977 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24981 cat >conftest.$ac_ext <<_ACEOF
24984 cat confdefs.h >>conftest.$ac_ext
24985 cat >>conftest.$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24988 #ifdef HAVE_WCHAR_H
24990 # include <stddef.h>
24992 # include <wchar.h>
24994 #ifdef HAVE_STDLIB_H
24995 # include <stdlib.h>
25003 std::basic_string<$char_type> foo;
25004 const $char_type* dummy = foo.c_str();
25009 rm -f conftest.$ac_objext
25010 if { (ac_try="$ac_compile"
25011 case "(($ac_try" in
25012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25013 *) ac_try_echo=$ac_try;;
25015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25016 (eval "$ac_compile") 2>conftest.er1
25018 grep -v '^
*+' conftest.er1 >conftest.err
25020 cat conftest.err >&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } && {
25023 test -z "$ac_cxx_werror_flag" ||
25024 test ! -s conftest.err
25025 } && test -s conftest.$ac_objext; then
25026 wx_cv_class_stdbasicstring=yes
25028 echo "$as_me: failed program was:" >&5
25029 sed 's
/^
/| /' conftest.$ac_ext >&5
25031 wx_cv_class_stdbasicstring=no
25035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25040 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25042 if test "$wx_cv_class_stdbasicstring" != yes; then
25043 if test "$wxUSE_STL" = "yes"; then
25044 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25045 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25046 { (exit 1); exit 1; }; }
25047 elif test "$wxUSE_STD_STRING" = "yes"; then
25048 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25049 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25050 { (exit 1); exit 1; }; }
25052 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25053 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25054 wxUSE_STD_STRING=no
25060 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25061 { echo "$as_me:$LINENO: checking for std::istream" >&5
25062 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25063 if test "${ac_cv_type_std__istream+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 cat >conftest.$ac_ext <<_ACEOF
25069 cat confdefs.h >>conftest.$ac_ext
25070 cat >>conftest.$ac_ext <<_ACEOF
25071 /* end confdefs.h. */
25072 #include <iostream>
25074 typedef std::istream ac__type_new_;
25078 if ((ac__type_new_ *) 0)
25080 if (sizeof (ac__type_new_))
25086 rm -f conftest.$ac_objext
25087 if { (ac_try="$ac_compile"
25088 case "(($ac_try" in
25089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25090 *) ac_try_echo=$ac_try;;
25092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25093 (eval "$ac_compile") 2>conftest.er1
25095 grep -v '^
*+' conftest.er1 >conftest.err
25097 cat conftest.err >&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && {
25100 test -z "$ac_cxx_werror_flag" ||
25101 test ! -s conftest.err
25102 } && test -s conftest.$ac_objext; then
25103 ac_cv_type_std__istream=yes
25105 echo "$as_me: failed program was:" >&5
25106 sed 's
/^
/| /' conftest.$ac_ext >&5
25108 ac_cv_type_std__istream=no
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25114 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25115 if test $ac_cv_type_std__istream = yes; then
25117 cat >>confdefs.h <<_ACEOF
25118 #define HAVE_STD__ISTREAM 1
25123 wxUSE_STD_IOSTREAM=no
25125 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25126 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25127 if test "${ac_cv_type_std__ostream+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25130 cat >conftest.$ac_ext <<_ACEOF
25133 cat confdefs.h >>conftest.$ac_ext
25134 cat >>conftest.$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136 #include <iostream>
25138 typedef std::ostream ac__type_new_;
25142 if ((ac__type_new_ *) 0)
25144 if (sizeof (ac__type_new_))
25150 rm -f conftest.$ac_objext
25151 if { (ac_try="$ac_compile"
25152 case "(($ac_try" in
25153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25154 *) ac_try_echo=$ac_try;;
25156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25157 (eval "$ac_compile") 2>conftest.er1
25159 grep -v '^
*+' conftest.er1 >conftest.err
25161 cat conftest.err >&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } && {
25164 test -z "$ac_cxx_werror_flag" ||
25165 test ! -s conftest.err
25166 } && test -s conftest.$ac_objext; then
25167 ac_cv_type_std__ostream=yes
25169 echo "$as_me: failed program was:" >&5
25170 sed 's
/^
/| /' conftest.$ac_ext >&5
25172 ac_cv_type_std__ostream=no
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25177 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25178 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25179 if test $ac_cv_type_std__ostream = yes; then
25181 cat >>confdefs.h <<_ACEOF
25182 #define HAVE_STD__OSTREAM 1
25187 wxUSE_STD_IOSTREAM=no
25191 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25192 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25193 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25194 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25195 { (exit 1); exit 1; }; }
25197 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25198 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25203 if test "$wxUSE_STL" = "yes"; then
25204 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25205 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25206 if test "${wx_cv_lib_stl+set}" = set; then
25207 echo $ECHO_N "(cached) $ECHO_C" >&6
25209 cat >conftest.$ac_ext <<_ACEOF
25212 cat confdefs.h >>conftest.$ac_ext
25213 cat >>conftest.$ac_ext <<_ACEOF
25214 /* end confdefs.h. */
25216 #include <functional>
25217 #include <algorithm>
25223 std::vector<int> moo;
25224 std::list<int> foo;
25225 std::vector<int>::iterator it =
25226 std::find_if(moo.begin(), moo.end(),
25227 std::bind2nd(std::less<int>(), 3));
25232 rm -f conftest.$ac_objext
25233 if { (ac_try="$ac_compile"
25234 case "(($ac_try" in
25235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25236 *) ac_try_echo=$ac_try;;
25238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25239 (eval "$ac_compile") 2>conftest.er1
25241 grep -v '^
*+' conftest.er1 >conftest.err
25243 cat conftest.err >&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && {
25246 test -z "$ac_cxx_werror_flag" ||
25247 test ! -s conftest.err
25248 } && test -s conftest.$ac_objext; then
25251 echo "$as_me: failed program was:" >&5
25252 sed 's
/^
/| /' conftest.$ac_ext >&5
25258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25261 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25262 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25264 if test "$wx_cv_lib_stl" != yes; then
25265 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25266 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25267 { (exit 1); exit 1; }; }
25270 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25271 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25272 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25273 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 cat >conftest.$ac_ext <<_ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25285 std::string foo, bar;
25287 foo.compare(1, 1, bar);
25288 foo.compare(1, 1, bar, 1, 1);
25290 foo.compare(1, 1, "");
25291 foo.compare(1, 1, "", 2);
25296 rm -f conftest.$ac_objext
25297 if { (ac_try="$ac_compile"
25298 case "(($ac_try" in
25299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25300 *) ac_try_echo=$ac_try;;
25302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25303 (eval "$ac_compile") 2>conftest.er1
25305 grep -v '^
*+' conftest.er1 >conftest.err
25307 cat conftest.err >&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); } && {
25310 test -z "$ac_cxx_werror_flag" ||
25311 test ! -s conftest.err
25312 } && test -s conftest.$ac_objext; then
25313 wx_cv_func_stdstring_compare=yes
25315 echo "$as_me: failed program was:" >&5
25316 sed 's
/^
/| /' conftest.$ac_ext >&5
25318 wx_cv_func_stdstring_compare=no
25322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25325 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25326 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25328 if test "$wx_cv_func_stdstring_compare" = yes; then
25329 cat >>confdefs.h <<\_ACEOF
25330 #define HAVE_STD_STRING_COMPARE 1
25335 if test "$wx_cv_class_gnuhashmapset" = yes; then
25336 cat >>confdefs.h <<\_ACEOF
25337 #define HAVE_EXT_HASH_MAP 1
25340 cat >>confdefs.h <<\_ACEOF
25341 #define HAVE_GNU_CXX_HASH_MAP 1
25346 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25347 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25348 if test "${ac_cv_header_unordered_map+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 cat >conftest.$ac_ext <<_ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25360 #include <unordered_map>
25362 rm -f conftest.$ac_objext
25363 if { (ac_try="$ac_compile"
25364 case "(($ac_try" in
25365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25366 *) ac_try_echo=$ac_try;;
25368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25369 (eval "$ac_compile") 2>conftest.er1
25371 grep -v '^
*+' conftest.er1 >conftest.err
25373 cat conftest.err >&5
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); } && {
25376 test -z "$ac_cxx_werror_flag" ||
25377 test ! -s conftest.err
25378 } && test -s conftest.$ac_objext; then
25379 ac_cv_header_unordered_map=yes
25381 echo "$as_me: failed program was:" >&5
25382 sed 's
/^
/| /' conftest.$ac_ext >&5
25384 ac_cv_header_unordered_map=no
25387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25389 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25390 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25391 if test $ac_cv_header_unordered_map = yes; then
25392 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25393 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25394 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 cat >conftest.$ac_ext <<_ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25403 #include <unordered_map>
25404 #include <unordered_set>
25408 std::unordered_map<double*, char*> test1;
25409 std::unordered_set<char*> test2;
25414 rm -f conftest.$ac_objext
25415 if { (ac_try="$ac_compile"
25416 case "(($ac_try" in
25417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25418 *) ac_try_echo=$ac_try;;
25420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25421 (eval "$ac_compile") 2>conftest.er1
25423 grep -v '^
*+' conftest.er1 >conftest.err
25425 cat conftest.err >&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } && {
25428 test -z "$ac_cxx_werror_flag" ||
25429 test ! -s conftest.err
25430 } && test -s conftest.$ac_objext; then
25431 wx_cv_class_stdunorderedmapset=yes
25433 echo "$as_me: failed program was:" >&5
25434 sed 's
/^
/| /' conftest.$ac_ext >&5
25436 wx_cv_class_stdunorderedmapset=no
25439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25443 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25444 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25449 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25450 cat >>confdefs.h <<\_ACEOF
25451 #define HAVE_STD_UNORDERED_MAP 1
25454 cat >>confdefs.h <<\_ACEOF
25455 #define HAVE_STD_UNORDERED_SET 1
25459 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25460 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25461 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 cat >conftest.$ac_ext <<_ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25473 #include <tr1/unordered_map>
25475 rm -f conftest.$ac_objext
25476 if { (ac_try="$ac_compile"
25477 case "(($ac_try" in
25478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25479 *) ac_try_echo=$ac_try;;
25481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25482 (eval "$ac_compile") 2>conftest.er1
25484 grep -v '^
*+' conftest.er1 >conftest.err
25486 cat conftest.err >&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); } && {
25489 test -z "$ac_cxx_werror_flag" ||
25490 test ! -s conftest.err
25491 } && test -s conftest.$ac_objext; then
25492 ac_cv_header_tr1_unordered_map=yes
25494 echo "$as_me: failed program was:" >&5
25495 sed 's
/^
/| /' conftest.$ac_ext >&5
25497 ac_cv_header_tr1_unordered_map=no
25500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25502 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25503 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25504 if test $ac_cv_header_tr1_unordered_map = yes; then
25505 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25506 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25507 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25508 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 cat >conftest.$ac_ext <<_ACEOF
25513 cat confdefs.h >>conftest.$ac_ext
25514 cat >>conftest.$ac_ext <<_ACEOF
25515 /* end confdefs.h. */
25516 #include <tr1/unordered_map>
25517 #include <tr1/unordered_set>
25521 std::tr1::unordered_map<double*, char*> test1;
25522 std::tr1::unordered_set<char*> test2;
25523 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25524 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25530 rm -f conftest.
$ac_objext
25531 if { (ac_try
="$ac_compile"
25532 case "(($ac_try" in
25533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25534 *) ac_try_echo=$ac_try;;
25536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25537 (eval "$ac_compile") 2>conftest.er1
25539 grep -v '^ *+' conftest.er1 >conftest.err
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && {
25544 test -z "$ac_cxx_werror_flag" ||
25545 test ! -s conftest.err
25546 } && test -s conftest.$ac_objext; then
25547 wx_cv_class_tr1unorderedmapset=yes
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.$ac_ext >&5
25552 wx_cv_class_tr1unorderedmapset=no
25555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25559 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25560 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25565 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25566 cat >>confdefs.h <<\_ACEOF
25567 #define HAVE_TR1_UNORDERED_MAP 1
25570 cat >>confdefs.h <<\_ACEOF
25571 #define HAVE_TR1_UNORDERED_SET 1
25575 { echo "$as_me:$LINENO: checking for hash_map" >&5
25576 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25577 if test "${ac_cv_header_hash_map+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 cat >conftest.$ac_ext <<_ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25589 #include <hash_map>
25591 rm -f conftest.$ac_objext
25592 if { (ac_try="$ac_compile"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25595 *) ac_try_echo
=$ac_try;;
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_compile") 2>conftest.er1
25600 grep -v '^ *+' conftest.er1
>conftest.err
25602 cat conftest.err
>&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_cxx_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest.
$ac_objext; then
25608 ac_cv_header_hash_map
=yes
25610 echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.
$ac_ext >&5
25613 ac_cv_header_hash_map
=no
25616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25618 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25619 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25620 if test $ac_cv_header_hash_map = yes; then
25621 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25622 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25623 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 cat >conftest.
$ac_ext <<_ACEOF
25629 cat confdefs.h
>>conftest.
$ac_ext
25630 cat >>conftest.
$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25632 #include <hash_map>
25633 #include <hash_set>
25637 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25638 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25643 rm -f conftest.
$ac_objext
25644 if { (ac_try
="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25652 grep -v '^ *+' conftest.er1 >conftest.err
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_cxx_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25660 wx_cv_class_stdhashmapset=yes
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.$ac_ext >&5
25665 wx_cv_class_stdhashmapset=no
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25673 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25678 if test "$wx_cv_class_stdhashmapset" = yes; then
25679 cat >>confdefs.h <<\_ACEOF
25680 #define HAVE_HASH_MAP 1
25683 cat >>confdefs.h <<\_ACEOF
25684 #define HAVE_STD_HASH_MAP 1
25689 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25690 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25691 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25692 echo $ECHO_N "(cached) $ECHO_C" >&6
25694 cat >conftest.$ac_ext <<_ACEOF
25697 cat confdefs.h >>conftest.$ac_ext
25698 cat >>conftest.$ac_ext <<_ACEOF
25699 /* end confdefs.h. */
25703 #include <ext/hash_map>
25705 rm -f conftest.$ac_objext
25706 if { (ac_try="$ac_compile"
25707 case "(($ac_try" in
25708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25709 *) ac_try_echo
=$ac_try;;
25711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25712 (eval "$ac_compile") 2>conftest.er1
25714 grep -v '^ *+' conftest.er1
>conftest.err
25716 cat conftest.err
>&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); } && {
25719 test -z "$ac_cxx_werror_flag" ||
25720 test ! -s conftest.err
25721 } && test -s conftest.
$ac_objext; then
25722 ac_cv_header_ext_hash_map
=yes
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.
$ac_ext >&5
25727 ac_cv_header_ext_hash_map
=no
25730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25732 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25733 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25734 if test $ac_cv_header_ext_hash_map = yes; then
25735 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25736 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25737 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25738 echo $ECHO_N "(cached) $ECHO_C" >&6
25740 cat >conftest.
$ac_ext <<_ACEOF
25743 cat confdefs.h
>>conftest.
$ac_ext
25744 cat >>conftest.
$ac_ext <<_ACEOF
25745 /* end confdefs.h. */
25746 #include <ext/hash_map>
25747 #include <ext/hash_set>
25751 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25752 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25757 rm -f conftest.
$ac_objext
25758 if { (ac_try
="$ac_compile"
25759 case "(($ac_try" in
25760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25761 *) ac_try_echo=$ac_try;;
25763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25764 (eval "$ac_compile") 2>conftest.er1
25766 grep -v '^ *+' conftest.er1 >conftest.err
25768 cat conftest.err >&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } && {
25771 test -z "$ac_cxx_werror_flag" ||
25772 test ! -s conftest.err
25773 } && test -s conftest.$ac_objext; then
25774 wx_cv_class_gnuhashmapset=yes
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25779 wx_cv_class_gnuhashmapset=no
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25786 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25787 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25798 if test -n "$GCC"; then
25799 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25800 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25801 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25802 echo $ECHO_N "(cached) $ECHO_C" >&6
25805 cat >conftest.$ac_ext <<_ACEOF
25808 cat confdefs.h >>conftest.$ac_ext
25809 cat >>conftest.$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25816 unsigned int value=0;
25817 /* wxAtomicInc doesn't use return value here */
25818 __sync_fetch_and_add(&value, 2);
25819 __sync_sub_and_fetch(&value, 1);
25820 /* but wxAtomicDec does, so mimic that: */
25821 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25827 rm -f conftest.$ac_objext conftest$ac_exeext
25828 if { (ac_try="$ac_link"
25829 case "(($ac_try" in
25830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25831 *) ac_try_echo
=$ac_try;;
25833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25834 (eval "$ac_link") 2>conftest.er1
25836 grep -v '^ *+' conftest.er1
>conftest.err
25838 cat conftest.err
>&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); } && {
25841 test -z "$ac_cxx_werror_flag" ||
25842 test ! -s conftest.err
25843 } && test -s conftest
$ac_exeext &&
25844 $as_test_x conftest
$ac_exeext; then
25845 wx_cv_cc_gcc_atomic_builtins
=yes
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.
$ac_ext >&5
25850 wx_cv_cc_gcc_atomic_builtins
=no
25853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25854 conftest
$ac_exeext conftest.
$ac_ext
25858 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25859 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25860 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25861 cat >>confdefs.h
<<\_ACEOF
25862 #define HAVE_GCC_ATOMIC_BUILTINS 1
25870 ac_cpp
='$CPP $CPPFLAGS'
25871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25878 /usr/local/include \
25879 /usr/local/X11/include \
25880 /usr/local/include/X11 \
25881 /usr/local/X11R7/include \
25882 /usr/local/X11R6/include \
25883 /usr/local/include/X11R7 \
25884 /usr/local/include/X11R6 \
25886 /usr/Motif-2.1/include \
25887 /usr/Motif-1.2/include \
25888 /usr/include/Motif1.2 \
25891 /usr/openwin/include \
25895 /usr/X11R7/include \
25896 /usr/X11R6/include \
25897 /usr/X11R6.4/include \
25899 /usr/include/X11R7 \
25900 /usr/include/X11R6 \
25905 /usr/XFree86/include/X11 \
25908 /usr/local/X1R5/include \
25909 /usr/local/include/X11R5 \
25910 /usr/X11R5/include \
25911 /usr/include/X11R5 \
25913 /usr/local/X11R4/include \
25914 /usr/local/include/X11R4 \
25915 /usr/X11R4/include \
25916 /usr/include/X11R4 \
25918 /usr/openwin/share/include"
25920 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25921 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25925 if test "${wx_cv_std_libpath+set}" = set; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25929 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25930 for e
in a so sl dylib dll.a
; do
25932 if test -f $libc; then
25935 cat >conftest.
$ac_ext <<_ACEOF
25936 int main() { return 0; }
25938 rm -f conftest.
$ac_objext conftest
$ac_exeext
25939 if { (ac_try
="$ac_link"
25940 case "(($ac_try" in
25941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25942 *) ac_try_echo=$ac_try;;
25944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25945 (eval "$ac_link") 2>conftest.er1
25947 grep -v '^ *+' conftest.er1 >conftest.err
25949 cat conftest.err >&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); } && {
25952 test -z "$ac_c_werror_flag" ||
25953 test ! -s conftest.err
25954 } && test -s conftest$ac_exeext &&
25955 $as_test_x conftest$ac_exeext; then
25956 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25965 conftest$ac_exeext conftest.$ac_ext
25967 if test "x$wx_cv_std_libpath" != "x"; then
25973 if test "x$wx_cv_std_libpath" = "x"; then
25974 wx_cv_std_libpath="lib"
25983 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25984 wx_cv_std_libpath="lib/64"
25986 wx_cv_std_libpath="lib"
25991 if test "$ac_cv_sizeof_void_p" = 8 -a \
25992 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25993 wx_cv_std_libpath="lib64"
25995 wx_cv_std_libpath="lib"
26000 wx_cv_std_libpath="lib";
26004 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26005 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26007 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
26009 if test "$build" != "$host" -a "$GCC" = yes; then
26010 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
26011 cross_root=`dirname $cross_root`
26012 cross_root=`dirname $cross_root`
26014 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26015 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26016 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26018 if test -z "$PKG_CONFIG_PATH"; then
26019 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26020 export PKG_CONFIG_PATH
26023 if test -z "$x_includes" -o "$x_includes" = NONE; then
26026 for ac_dir in $SEARCH_INCLUDE /usr/include;
26028 if test -f "$ac_dir/X11/Intrinsic.h"; then
26029 ac_find_includes=$ac_dir
26034 x_includes=$ac_find_includes
26036 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26039 for ac_dir in $SEARCH_LIB;
26041 for ac_extension in a so sl dylib dll.a; do
26042 if test -f "$ac_dir/libXt.$ac_extension"; then
26043 ac_find_libraries=$ac_dir
26049 x_libraries=$ac_find_libraries
26055 cat >confcache <<\_ACEOF
26056 # This file is a shell script that caches the results of configure
26057 # tests run on this system so they can be shared between configure
26058 # scripts and configure runs, see configure's option --config-cache.
26059 # It is not useful on other systems. If it contains results you don't
26060 # want to keep, you may remove or edit it.
26062 # config.status only pays attention to the cache file if you give it
26063 # the --recheck option to rerun configure.
26065 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
26066 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26067 # following values.
26071 # The following way of writing the cache mishandles newlines in values,
26072 # but we know of no workaround that is simple, portable, and efficient.
26073 # So, we kill variables containing newlines.
26074 # Ultrix sh set writes to stderr and can't be redirected directly,
26075 # and sets the high bit in the cache file unless we assign to the vars.
26077 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26078 eval ac_val
=\$
$ac_var
26082 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26083 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26086 _
| IFS
| as_nl
) ;; #(
26087 *) $as_unset $ac_var ;;
26093 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26094 *${as_nl}ac_space
=\
*)
26095 # `set' does not quote correctly, so add quotes (double-quote
26096 # substitution turns \\\\ into \\, and sed turns \\ into \).
26099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26102 # `set' quotes correctly as required by POSIX, so do not add quotes.
26103 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26112 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26114 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26116 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26117 if test -w "$cache_file"; then
26118 test "x$cache_file" != "x/dev/null" &&
26119 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26120 echo "$as_me: updating cache $cache_file" >&6;}
26121 cat confcache
>$cache_file
26123 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26124 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26129 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26130 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26131 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26132 if test "${wx_cv_lib_glibc21+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26136 cat >conftest.
$ac_ext <<_ACEOF
26139 cat confdefs.h
>>conftest.
$ac_ext
26140 cat >>conftest.
$ac_ext <<_ACEOF
26141 /* end confdefs.h. */
26142 #include <features.h>
26147 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26155 rm -f conftest.
$ac_objext
26156 if { (ac_try
="$ac_compile"
26157 case "(($ac_try" in
26158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26159 *) ac_try_echo=$ac_try;;
26161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26162 (eval "$ac_compile") 2>conftest.er1
26164 grep -v '^ *+' conftest.er1 >conftest.err
26166 cat conftest.err >&5
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); } && {
26169 test -z "$ac_c_werror_flag" ||
26170 test ! -s conftest.err
26171 } && test -s conftest.$ac_objext; then
26173 wx_cv_lib_glibc21=yes
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26180 wx_cv_lib_glibc21=no
26185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26188 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26189 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26190 if test "$wx_cv_lib_glibc21" = "yes"; then
26191 cat >>confdefs.h <<\_ACEOF
26192 #define wxHAVE_GLIBC2 1
26198 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26199 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26200 cat >>confdefs.h <<\_ACEOF
26201 #define _GNU_SOURCE 1
26212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 cat >conftest.$ac_ext <<_ACEOF
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26226 #define $ac_func innocuous_$ac_func
26228 /* System header to define __stub macros and hopefully few prototypes,
26229 which can conflict with char $ac_func (); below.
26230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26231 <limits.h> exists even on freestanding compilers. */
26234 # include <limits.h>
26236 # include <assert.h>
26241 /* Override any GCC internal prototype to avoid an error.
26242 Use char because int might match the return type of a GCC
26243 builtin and then its argument prototype would still apply. */
26248 /* The GNU C library defines this for functions which it implements
26249 to always fail with ENOSYS. Some functions are actually named
26250 something starting with __ and the normal name is an alias. */
26251 #if defined __stub_$ac_func || defined __stub___$ac_func
26258 return $ac_func ();
26263 rm -f conftest.$ac_objext conftest$ac_exeext
26264 if { (ac_try="$ac_link"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26267 *) ac_try_echo
=$ac_try;;
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_link") 2>conftest.er1
26272 grep -v '^ *+' conftest.er1
>conftest.err
26274 cat conftest.err
>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_c_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest
$ac_exeext &&
26280 $as_test_x conftest
$ac_exeext; then
26281 eval "$as_ac_var=yes"
26283 echo "$as_me: failed program was:" >&5
26284 sed 's/^/| /' conftest.
$ac_ext >&5
26286 eval "$as_ac_var=no"
26289 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26290 conftest
$ac_exeext conftest.
$ac_ext
26292 ac_res
=`eval echo '${'$as_ac_var'}'`
26293 { echo "$as_me:$LINENO: result: $ac_res" >&5
26294 echo "${ECHO_T}$ac_res" >&6; }
26295 if test `eval echo '${'$as_ac_var'}'` = yes; then
26296 cat >>confdefs.h
<<_ACEOF
26297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26304 for ac_func
in floor
26306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26309 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26310 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 cat >conftest.
$ac_ext <<_ACEOF
26315 cat confdefs.h
>>conftest.
$ac_ext
26316 cat >>conftest.
$ac_ext <<_ACEOF
26317 /* end confdefs.h. */
26318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26320 #define $ac_func innocuous_$ac_func
26322 /* System header to define __stub macros and hopefully few prototypes,
26323 which can conflict with char $ac_func (); below.
26324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26325 <limits.h> exists even on freestanding compilers. */
26328 # include <limits.h>
26330 # include <assert.h>
26335 /* Override any GCC internal prototype to avoid an error.
26336 Use char because int might match the return type of a GCC
26337 builtin and then its argument prototype would still apply. */
26342 /* The GNU C library defines this for functions which it implements
26343 to always fail with ENOSYS. Some functions are actually named
26344 something starting with __ and the normal name is an alias. */
26345 #if defined __stub_$ac_func || defined __stub___$ac_func
26352 return $ac_func ();
26357 rm -f conftest.
$ac_objext conftest
$ac_exeext
26358 if { (ac_try
="$ac_link"
26359 case "(($ac_try" in
26360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26361 *) ac_try_echo=$ac_try;;
26363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26364 (eval "$ac_link") 2>conftest.er1
26366 grep -v '^ *+' conftest.er1 >conftest.err
26368 cat conftest.err >&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } && {
26371 test -z "$ac_c_werror_flag" ||
26372 test ! -s conftest.err
26373 } && test -s conftest$ac_exeext &&
26374 $as_test_x conftest$ac_exeext; then
26375 eval "$as_ac_var=yes"
26377 echo "$as_me: failed program was:" >&5
26378 sed 's/^/| /' conftest.$ac_ext >&5
26380 eval "$as_ac_var=no"
26383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26384 conftest$ac_exeext conftest.$ac_ext
26386 ac_res=`eval echo '${'$as_ac_var'}'`
26387 { echo "$as_me:$LINENO: result: $ac_res" >&5
26388 echo "${ECHO_T}$ac_res" >&6; }
26389 if test `eval echo '${'$as_ac_var'}'` = yes; then
26390 cat >>confdefs.h <<_ACEOF
26391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26397 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26398 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26399 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26400 { echo "$as_me:$LINENO: result: yes" >&5
26401 echo "${ECHO_T}yes" >&6; }
26403 { echo "$as_me:$LINENO: result: no" >&5
26404 echo "${ECHO_T}no" >&6; }
26406 # use different functions to avoid configure caching
26412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26416 echo $ECHO_N "(cached) $ECHO_C" >&6
26418 cat >conftest.$ac_ext <<_ACEOF
26421 cat confdefs.h >>conftest.$ac_ext
26422 cat >>conftest.$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26426 #define $ac_func innocuous_$ac_func
26428 /* System header to define __stub macros and hopefully few prototypes,
26429 which can conflict with char $ac_func (); below.
26430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26431 <limits.h> exists even on freestanding compilers. */
26434 # include <limits.h>
26436 # include <assert.h>
26441 /* Override any GCC internal prototype to avoid an error.
26442 Use char because int might match the return type of a GCC
26443 builtin and then its argument prototype would still apply. */
26448 /* The GNU C library defines this for functions which it implements
26449 to always fail with ENOSYS. Some functions are actually named
26450 something starting with __ and the normal name is an alias. */
26451 #if defined __stub_$ac_func || defined __stub___$ac_func
26458 return $ac_func ();
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (ac_try="$ac_link"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26467 *) ac_try_echo
=$ac_try;;
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_link") 2>conftest.er1
26472 grep -v '^ *+' conftest.er1
>conftest.err
26474 cat conftest.err
>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_c_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest
$ac_exeext &&
26480 $as_test_x conftest
$ac_exeext; then
26481 eval "$as_ac_var=yes"
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.
$ac_ext >&5
26486 eval "$as_ac_var=no"
26489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26490 conftest
$ac_exeext conftest.
$ac_ext
26492 ac_res
=`eval echo '${'$as_ac_var'}'`
26493 { echo "$as_me:$LINENO: result: $ac_res" >&5
26494 echo "${ECHO_T}$ac_res" >&6; }
26495 if test `eval echo '${'$as_ac_var'}'` = yes; then
26496 cat >>confdefs.h
<<_ACEOF
26497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26504 for ac_func
in ceil
26506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26509 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26510 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 cat >conftest.
$ac_ext <<_ACEOF
26515 cat confdefs.h
>>conftest.
$ac_ext
26516 cat >>conftest.
$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26520 #define $ac_func innocuous_$ac_func
26522 /* System header to define __stub macros and hopefully few prototypes,
26523 which can conflict with char $ac_func (); below.
26524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26525 <limits.h> exists even on freestanding compilers. */
26528 # include <limits.h>
26530 # include <assert.h>
26535 /* Override any GCC internal prototype to avoid an error.
26536 Use char because int might match the return type of a GCC
26537 builtin and then its argument prototype would still apply. */
26542 /* The GNU C library defines this for functions which it implements
26543 to always fail with ENOSYS. Some functions are actually named
26544 something starting with __ and the normal name is an alias. */
26545 #if defined __stub_$ac_func || defined __stub___$ac_func
26552 return $ac_func ();
26557 rm -f conftest.
$ac_objext conftest
$ac_exeext
26558 if { (ac_try
="$ac_link"
26559 case "(($ac_try" in
26560 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26561 *) ac_try_echo=$ac_try;;
26563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26564 (eval "$ac_link") 2>conftest.er1
26566 grep -v '^ *+' conftest.er1 >conftest.err
26568 cat conftest.err >&5
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); } && {
26571 test -z "$ac_c_werror_flag" ||
26572 test ! -s conftest.err
26573 } && test -s conftest$ac_exeext &&
26574 $as_test_x conftest$ac_exeext; then
26575 eval "$as_ac_var=yes"
26577 echo "$as_me: failed program was:" >&5
26578 sed 's/^/| /' conftest.$ac_ext >&5
26580 eval "$as_ac_var=no"
26583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26584 conftest$ac_exeext conftest.$ac_ext
26586 ac_res=`eval echo '${'$as_ac_var'}'`
26587 { echo "$as_me:$LINENO: result: $ac_res" >&5
26588 echo "${ECHO_T}$ac_res" >&6; }
26589 if test `eval echo '${'$as_ac_var'}'` = yes; then
26590 cat >>confdefs.h <<_ACEOF
26591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26597 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26598 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26599 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26600 { echo "$as_me:$LINENO: result: yes" >&5
26601 echo "${ECHO_T}yes" >&6; }
26603 { echo "$as_me:$LINENO: result: no" >&5
26604 echo "${ECHO_T}no" >&6; }
26605 # not sure we should warn the user, crash, etc.
26610 ac_cpp='$CXXCPP $CPPFLAGS'
26611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615 if test "wxUSE_UNICODE" = "yes"; then
26617 for wx_func in wcstoull
26619 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26620 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26621 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26622 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 cat >conftest.$ac_ext <<_ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26634 $ac_includes_default
26650 rm -f conftest.$ac_objext conftest$ac_exeext
26651 if { (ac_try="$ac_link"
26652 case "(($ac_try" in
26653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26654 *) ac_try_echo
=$ac_try;;
26656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26657 (eval "$ac_link") 2>conftest.er1
26659 grep -v '^ *+' conftest.er1
>conftest.err
26661 cat conftest.err
>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); } && {
26664 test -z "$ac_cxx_werror_flag" ||
26665 test ! -s conftest.err
26666 } && test -s conftest
$ac_exeext &&
26667 $as_test_x conftest
$ac_exeext; then
26668 eval wx_cv_func_
$wx_func=yes
26670 echo "$as_me: failed program was:" >&5
26671 sed 's/^/| /' conftest.
$ac_ext >&5
26673 eval wx_cv_func_
$wx_func=no
26676 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26677 conftest
$ac_exeext conftest.
$ac_ext
26680 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26681 { echo "$as_me:$LINENO: result: $ac_res" >&5
26682 echo "${ECHO_T}$ac_res" >&6; }
26684 if eval test \
$wx_cv_func_$wx_func = yes
26686 cat >>confdefs.h
<<_ACEOF
26687 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26699 for wx_func
in strtoull
26701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26703 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 cat >conftest.
$ac_ext <<_ACEOF
26711 cat confdefs.h
>>conftest.
$ac_ext
26712 cat >>conftest.
$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26716 $ac_includes_default
26732 rm -f conftest.
$ac_objext conftest
$ac_exeext
26733 if { (ac_try
="$ac_link"
26734 case "(($ac_try" in
26735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_link") 2>conftest.er1
26741 grep -v '^ *+' conftest.er1 >conftest.err
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } && {
26746 test -z "$ac_cxx_werror_flag" ||
26747 test ! -s conftest.err
26748 } && test -s conftest$ac_exeext &&
26749 $as_test_x conftest$ac_exeext; then
26750 eval wx_cv_func_$wx_func=yes
26752 echo "$as_me: failed program was:" >&5
26753 sed 's/^/| /' conftest.$ac_ext >&5
26755 eval wx_cv_func_$wx_func=no
26758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26759 conftest$ac_exeext conftest.$ac_ext
26762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26763 { echo "$as_me:$LINENO: result: $ac_res" >&5
26764 echo "${ECHO_T}$ac_res" >&6; }
26766 if eval test \$wx_cv_func_$wx_func = yes
26768 cat >>confdefs.h <<_ACEOF
26769 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26781 ac_cpp='$CPP $CPPFLAGS'
26782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26789 if test "$wxUSE_REGEX" != "no"; then
26790 cat >>confdefs.h <<\_ACEOF
26791 #define wxUSE_REGEX 1
26795 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26796 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26797 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26798 wxUSE_REGEX=builtin
26801 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26802 { echo "$as_me:$LINENO: checking for regex.h" >&5
26803 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26804 if test "${ac_cv_header_regex_h+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 cat >conftest.$ac_ext <<_ACEOF
26810 cat confdefs.h >>conftest.$ac_ext
26811 cat >>conftest.$ac_ext <<_ACEOF
26812 /* end confdefs.h. */
26817 rm -f conftest.$ac_objext
26818 if { (ac_try="$ac_compile"
26819 case "(($ac_try" in
26820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26821 *) ac_try_echo
=$ac_try;;
26823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26824 (eval "$ac_compile") 2>conftest.er1
26826 grep -v '^ *+' conftest.er1
>conftest.err
26828 cat conftest.err
>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); } && {
26831 test -z "$ac_c_werror_flag" ||
26832 test ! -s conftest.err
26833 } && test -s conftest.
$ac_objext; then
26834 ac_cv_header_regex_h
=yes
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.
$ac_ext >&5
26839 ac_cv_header_regex_h
=no
26842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26844 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26845 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26846 if test $ac_cv_header_regex_h = yes; then
26849 for ac_func
in regcomp re_search
26851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26854 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 cat >conftest.
$ac_ext <<_ACEOF
26860 cat confdefs.h
>>conftest.
$ac_ext
26861 cat >>conftest.
$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26865 #define $ac_func innocuous_$ac_func
26867 /* System header to define __stub macros and hopefully few prototypes,
26868 which can conflict with char $ac_func (); below.
26869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26870 <limits.h> exists even on freestanding compilers. */
26873 # include <limits.h>
26875 # include <assert.h>
26880 /* Override any GCC internal prototype to avoid an error.
26881 Use char because int might match the return type of a GCC
26882 builtin and then its argument prototype would still apply. */
26887 /* The GNU C library defines this for functions which it implements
26888 to always fail with ENOSYS. Some functions are actually named
26889 something starting with __ and the normal name is an alias. */
26890 #if defined __stub_$ac_func || defined __stub___$ac_func
26897 return $ac_func ();
26902 rm -f conftest.
$ac_objext conftest
$ac_exeext
26903 if { (ac_try
="$ac_link"
26904 case "(($ac_try" in
26905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26906 *) ac_try_echo=$ac_try;;
26908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26909 (eval "$ac_link") 2>conftest.er1
26911 grep -v '^ *+' conftest.er1 >conftest.err
26913 cat conftest.err >&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } && {
26916 test -z "$ac_c_werror_flag" ||
26917 test ! -s conftest.err
26918 } && test -s conftest$ac_exeext &&
26919 $as_test_x conftest$ac_exeext; then
26920 eval "$as_ac_var=yes"
26922 echo "$as_me: failed program was:" >&5
26923 sed 's/^/| /' conftest.$ac_ext >&5
26925 eval "$as_ac_var=no"
26928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26929 conftest$ac_exeext conftest.$ac_ext
26931 ac_res=`eval echo '${'$as_ac_var'}'`
26932 { echo "$as_me:$LINENO: result: $ac_res" >&5
26933 echo "${ECHO_T}$ac_res" >&6; }
26934 if test `eval echo '${'$as_ac_var'}'` = yes; then
26935 cat >>confdefs.h <<_ACEOF
26936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26946 if test "x$ac_cv_func_regcomp" != "xyes"; then
26947 if test "$wxUSE_REGEX" = "sys" ; then
26948 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26949 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26950 { (exit 1); exit 1; }; }
26952 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26953 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26954 wxUSE_REGEX=builtin
26958 cat >>confdefs.h <<\_ACEOF
26959 #define WX_NO_REGEX_ADVANCED 1
26968 if test "$wxUSE_ZLIB" != "no" ; then
26969 cat >>confdefs.h <<\_ACEOF
26970 #define wxUSE_ZLIB 1
26974 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26975 if test "$USE_DARWIN" = 1; then
26976 system_zlib_h_ok="yes"
26978 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26979 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26980 if test "${ac_cv_header_zlib_h+set}" = set; then
26981 echo $ECHO_N "(cached) $ECHO_C" >&6
26983 if test "$cross_compiling" = yes; then
26984 unset ac_cv_header_zlib_h
26987 cat >conftest.$ac_ext <<_ACEOF
26990 cat confdefs.h >>conftest.$ac_ext
26991 cat >>conftest.$ac_ext <<_ACEOF
26992 /* end confdefs.h. */
26999 FILE *f=fopen("conftestval", "w");
27002 ZLIB_VERSION[0] == '1' &&
27003 (ZLIB_VERSION[2] > '1' ||
27004 (ZLIB_VERSION[2] == '1' &&
27005 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27010 rm -f conftest$ac_exeext
27011 if { (ac_try="$ac_link"
27012 case "(($ac_try" in
27013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27014 *) ac_try_echo
=$ac_try;;
27016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27017 (eval "$ac_link") 2>&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27021 { (case "(($ac_try" in
27022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27023 *) ac_try_echo=$ac_try;;
27025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27026 (eval "$ac_try") 2>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; }; then
27030 ac_cv_header_zlib_h=`cat conftestval
`
27032 echo "$as_me: program exited with status $ac_status" >&5
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.$ac_ext >&5
27036 ( exit $ac_status )
27037 ac_cv_header_zlib_h=no
27039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27045 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27046 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27047 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27048 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27049 if test "${ac_cv_header_zlib_h+set}" = set; then
27050 echo $ECHO_N "(cached) $ECHO_C" >&6
27052 cat >conftest.$ac_ext <<_ACEOF
27055 cat confdefs.h >>conftest.$ac_ext
27056 cat >>conftest.$ac_ext <<_ACEOF
27057 /* end confdefs.h. */
27062 rm -f conftest.$ac_objext
27063 if { (ac_try="$ac_compile"
27064 case "(($ac_try" in
27065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27066 *) ac_try_echo
=$ac_try;;
27068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27069 (eval "$ac_compile") 2>conftest.er1
27071 grep -v '^ *+' conftest.er1
>conftest.err
27073 cat conftest.err
>&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); } && {
27076 test -z "$ac_c_werror_flag" ||
27077 test ! -s conftest.err
27078 } && test -s conftest.
$ac_objext; then
27079 ac_cv_header_zlib_h
=yes
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.
$ac_ext >&5
27084 ac_cv_header_zlib_h
=no
27087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27089 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27090 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27094 system_zlib_h_ok
=$ac_cv_header_zlib_h
27097 if test "$system_zlib_h_ok" = "yes"; then
27098 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27099 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27100 if test "${ac_cv_lib_z_deflate+set}" = set; then
27101 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 ac_check_lib_save_LIBS
=$LIBS
27105 cat >conftest.
$ac_ext <<_ACEOF
27108 cat confdefs.h
>>conftest.
$ac_ext
27109 cat >>conftest.
$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27112 /* Override any GCC internal prototype to avoid an error.
27113 Use char because int might match the return type of a GCC
27114 builtin and then its argument prototype would still apply. */
27127 rm -f conftest.
$ac_objext conftest
$ac_exeext
27128 if { (ac_try
="$ac_link"
27129 case "(($ac_try" in
27130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27131 *) ac_try_echo=$ac_try;;
27133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27134 (eval "$ac_link") 2>conftest.er1
27136 grep -v '^ *+' conftest.er1 >conftest.err
27138 cat conftest.err >&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); } && {
27141 test -z "$ac_c_werror_flag" ||
27142 test ! -s conftest.err
27143 } && test -s conftest$ac_exeext &&
27144 $as_test_x conftest$ac_exeext; then
27145 ac_cv_lib_z_deflate=yes
27147 echo "$as_me: failed program was:" >&5
27148 sed 's/^/| /' conftest.$ac_ext >&5
27150 ac_cv_lib_z_deflate=no
27153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27154 conftest$ac_exeext conftest.$ac_ext
27155 LIBS=$ac_check_lib_save_LIBS
27157 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27158 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27159 if test $ac_cv_lib_z_deflate = yes; then
27165 if test "x$ZLIB_LINK" = "x" ; then
27166 if test "$wxUSE_ZLIB" = "sys" ; then
27167 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27168 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27169 { (exit 1); exit 1; }; }
27171 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27172 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27183 if test "$wxUSE_LIBPNG" != "no" ; then
27184 cat >>confdefs.h <<\_ACEOF
27185 #define wxUSE_LIBPNG 1
27189 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27190 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27191 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27195 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27196 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27197 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27198 wxUSE_LIBPNG=builtin
27201 if test "$wxUSE_MGL" != 1 ; then
27202 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27203 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27204 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27205 if test "${ac_cv_header_png_h+set}" = set; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 if test "$cross_compiling" = yes; then
27209 unset ac_cv_header_png_h
27212 cat >conftest.$ac_ext <<_ACEOF
27215 cat confdefs.h >>conftest.$ac_ext
27216 cat >>conftest.$ac_ext <<_ACEOF
27217 /* end confdefs.h. */
27224 FILE *f=fopen("conftestval", "w");
27227 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27232 rm -f conftest$ac_exeext
27233 if { (ac_try="$ac_link"
27234 case "(($ac_try" in
27235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27236 *) ac_try_echo
=$ac_try;;
27238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27239 (eval "$ac_link") 2>&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27243 { (case "(($ac_try" in
27244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_try") 2>&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); }; }; then
27252 ac_cv_header_png_h=`cat conftestval
`
27254 echo "$as_me: program exited with status $ac_status" >&5
27255 echo "$as_me: failed program was:" >&5
27256 sed 's/^/| /' conftest.$ac_ext >&5
27258 ( exit $ac_status )
27259 ac_cv_header_png_h=no
27261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27267 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27269 { echo "$as_me:$LINENO: checking for png.h" >&5
27270 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27271 if test "${ac_cv_header_png_h+set}" = set; then
27272 echo $ECHO_N "(cached) $ECHO_C" >&6
27274 cat >conftest.$ac_ext <<_ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27284 rm -f conftest.$ac_objext
27285 if { (ac_try="$ac_compile"
27286 case "(($ac_try" in
27287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27288 *) ac_try_echo
=$ac_try;;
27290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27291 (eval "$ac_compile") 2>conftest.er1
27293 grep -v '^ *+' conftest.er1
>conftest.err
27295 cat conftest.err
>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); } && {
27298 test -z "$ac_c_werror_flag" ||
27299 test ! -s conftest.err
27300 } && test -s conftest.
$ac_objext; then
27301 ac_cv_header_png_h
=yes
27303 echo "$as_me: failed program was:" >&5
27304 sed 's/^/| /' conftest.
$ac_ext >&5
27306 ac_cv_header_png_h
=no
27309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27311 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27312 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27316 if test "$ac_cv_header_png_h" = "yes"; then
27317 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27318 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27319 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27320 echo $ECHO_N "(cached) $ECHO_C" >&6
27322 ac_check_lib_save_LIBS
=$LIBS
27323 LIBS
="-lpng -lz -lm $LIBS"
27324 cat >conftest.
$ac_ext <<_ACEOF
27327 cat confdefs.h
>>conftest.
$ac_ext
27328 cat >>conftest.
$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27331 /* Override any GCC internal prototype to avoid an error.
27332 Use char because int might match the return type of a GCC
27333 builtin and then its argument prototype would still apply. */
27337 char png_sig_cmp ();
27341 return png_sig_cmp ();
27346 rm -f conftest.
$ac_objext conftest
$ac_exeext
27347 if { (ac_try
="$ac_link"
27348 case "(($ac_try" in
27349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27350 *) ac_try_echo=$ac_try;;
27352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27353 (eval "$ac_link") 2>conftest.er1
27355 grep -v '^ *+' conftest.er1 >conftest.err
27357 cat conftest.err >&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } && {
27360 test -z "$ac_c_werror_flag" ||
27361 test ! -s conftest.err
27362 } && test -s conftest$ac_exeext &&
27363 $as_test_x conftest$ac_exeext; then
27364 ac_cv_lib_png_png_sig_cmp=yes
27366 echo "$as_me: failed program was:" >&5
27367 sed 's/^/| /' conftest.$ac_ext >&5
27369 ac_cv_lib_png_png_sig_cmp=no
27372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27373 conftest$ac_exeext conftest.$ac_ext
27374 LIBS=$ac_check_lib_save_LIBS
27376 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27377 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27378 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27379 PNG_LINK=" -lpng -lz"
27384 if test "x$PNG_LINK" = "x" ; then
27385 if test "$wxUSE_LIBPNG" = "sys" ; then
27386 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27387 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27388 { (exit 1); exit 1; }; }
27390 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27391 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27392 wxUSE_LIBPNG=builtin
27403 if test "$wxUSE_LIBJPEG" != "no" ; then
27404 cat >>confdefs.h <<\_ACEOF
27405 #define wxUSE_LIBJPEG 1
27409 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27410 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27411 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27415 if test "$wxUSE_MGL" != 1 ; then
27416 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27417 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27418 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27419 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27422 cat >conftest.$ac_ext <<_ACEOF
27425 cat confdefs.h >>conftest.$ac_ext
27426 cat >>conftest.$ac_ext <<_ACEOF
27427 /* end confdefs.h. */
27429 #undef HAVE_STDLIB_H
27431 #include <jpeglib.h>
27442 rm -f conftest.$ac_objext
27443 if { (ac_try="$ac_compile"
27444 case "(($ac_try" in
27445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27446 *) ac_try_echo
=$ac_try;;
27448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27449 (eval "$ac_compile") 2>conftest.er1
27451 grep -v '^ *+' conftest.er1
>conftest.err
27453 cat conftest.err
>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); } && {
27456 test -z "$ac_c_werror_flag" ||
27457 test ! -s conftest.err
27458 } && test -s conftest.
$ac_objext; then
27459 ac_cv_header_jpeglib_h
=yes
27461 echo "$as_me: failed program was:" >&5
27462 sed 's/^/| /' conftest.
$ac_ext >&5
27464 ac_cv_header_jpeglib_h
=no
27468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27472 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27473 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27475 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27476 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27477 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27478 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 ac_check_lib_save_LIBS
=$LIBS
27482 LIBS
="-ljpeg $LIBS"
27483 cat >conftest.
$ac_ext <<_ACEOF
27486 cat confdefs.h
>>conftest.
$ac_ext
27487 cat >>conftest.
$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27490 /* Override any GCC internal prototype to avoid an error.
27491 Use char because int might match the return type of a GCC
27492 builtin and then its argument prototype would still apply. */
27496 char jpeg_read_header ();
27500 return jpeg_read_header ();
27505 rm -f conftest.
$ac_objext conftest
$ac_exeext
27506 if { (ac_try
="$ac_link"
27507 case "(($ac_try" in
27508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27509 *) ac_try_echo=$ac_try;;
27511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27512 (eval "$ac_link") 2>conftest.er1
27514 grep -v '^ *+' conftest.er1 >conftest.err
27516 cat conftest.err >&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } && {
27519 test -z "$ac_c_werror_flag" ||
27520 test ! -s conftest.err
27521 } && test -s conftest$ac_exeext &&
27522 $as_test_x conftest$ac_exeext; then
27523 ac_cv_lib_jpeg_jpeg_read_header=yes
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27528 ac_cv_lib_jpeg_jpeg_read_header=no
27531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27535 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27536 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27537 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27538 JPEG_LINK=" -ljpeg"
27543 if test "x$JPEG_LINK" = "x" ; then
27544 if test "$wxUSE_LIBJPEG" = "sys" ; then
27545 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27546 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27547 { (exit 1); exit 1; }; }
27549 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27550 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27551 wxUSE_LIBJPEG=builtin
27556 if test "$wxUSE_MSW" = 1; then
27557 { echo "$as_me:$LINENO: checking for boolean" >&5
27558 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27559 if test "${ac_cv_type_boolean+set}" = set; then
27560 echo $ECHO_N "(cached) $ECHO_C" >&6
27562 cat >conftest.$ac_ext <<_ACEOF
27565 cat confdefs.h >>conftest.$ac_ext
27566 cat >>conftest.$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27568 #include <windows.h>
27570 typedef boolean ac__type_new_;
27574 if ((ac__type_new_ *) 0)
27576 if (sizeof (ac__type_new_))
27582 rm -f conftest.$ac_objext
27583 if { (ac_try="$ac_compile"
27584 case "(($ac_try" in
27585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27586 *) ac_try_echo
=$ac_try;;
27588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27589 (eval "$ac_compile") 2>conftest.er1
27591 grep -v '^ *+' conftest.er1
>conftest.err
27593 cat conftest.err
>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); } && {
27596 test -z "$ac_c_werror_flag" ||
27597 test ! -s conftest.err
27598 } && test -s conftest.
$ac_objext; then
27599 ac_cv_type_boolean
=yes
27601 echo "$as_me: failed program was:" >&5
27602 sed 's/^/| /' conftest.
$ac_ext >&5
27604 ac_cv_type_boolean
=no
27607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27609 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27610 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27611 if test $ac_cv_type_boolean = yes; then
27613 cat >>confdefs.h
<<_ACEOF
27614 #define HAVE_BOOLEAN 1
27618 { echo "$as_me:$LINENO: checking for boolean" >&5
27619 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27620 if test "${ac_cv_type_boolean+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27623 cat >conftest.
$ac_ext <<_ACEOF
27626 cat confdefs.h
>>conftest.
$ac_ext
27627 cat >>conftest.
$ac_ext <<_ACEOF
27628 /* end confdefs.h. */
27630 #undef HAVE_BOOLEAN
27632 #include <jpeglib.h>
27635 typedef boolean ac__type_new_;
27639 if ((ac__type_new_ *) 0)
27641 if (sizeof (ac__type_new_))
27647 rm -f conftest.
$ac_objext
27648 if { (ac_try
="$ac_compile"
27649 case "(($ac_try" in
27650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27651 *) ac_try_echo=$ac_try;;
27653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27654 (eval "$ac_compile") 2>conftest.er1
27656 grep -v '^ *+' conftest.er1 >conftest.err
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); } && {
27661 test -z "$ac_c_werror_flag" ||
27662 test ! -s conftest.err
27663 } && test -s conftest.$ac_objext; then
27664 ac_cv_type_boolean=yes
27666 echo "$as_me: failed program was:" >&5
27667 sed 's/^/| /' conftest.$ac_ext >&5
27669 ac_cv_type_boolean=no
27672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27674 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27675 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27677 # The cast to long int works around a bug in the HP C Compiler
27678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27679 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27680 # This bug is HP SR number 8606223364.
27681 { echo "$as_me:$LINENO: checking size of boolean" >&5
27682 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27683 if test "${ac_cv_sizeof_boolean+set}" = set; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 if test "$cross_compiling" = yes; then
27687 # Depending upon the size, compute the lo and hi bounds.
27688 cat >conftest.$ac_ext <<_ACEOF
27691 cat confdefs.h >>conftest.$ac_ext
27692 cat >>conftest.$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27695 #undef HAVE_BOOLEAN
27697 #include <jpeglib.h>
27700 typedef boolean ac__type_sizeof_;
27704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27711 rm -f conftest.$ac_objext
27712 if { (ac_try="$ac_compile"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_compile") 2>conftest.er1
27720 grep -v '^
*+' conftest.er1 >conftest.err
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest.$ac_objext; then
27730 cat >conftest.$ac_ext <<_ACEOF
27733 cat confdefs.h >>conftest.$ac_ext
27734 cat >>conftest.$ac_ext <<_ACEOF
27735 /* end confdefs.h. */
27737 #undef HAVE_BOOLEAN
27739 #include <jpeglib.h>
27742 typedef boolean ac__type_sizeof_;
27746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27753 rm -f conftest.$ac_objext
27754 if { (ac_try="$ac_compile"
27755 case "(($ac_try" in
27756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27757 *) ac_try_echo=$ac_try;;
27759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27760 (eval "$ac_compile") 2>conftest.er1
27762 grep -v '^
*+' conftest.er1 >conftest.err
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } && {
27767 test -z "$ac_c_werror_flag" ||
27768 test ! -s conftest.err
27769 } && test -s conftest.$ac_objext; then
27770 ac_hi=$ac_mid; break
27772 echo "$as_me: failed program was:" >&5
27773 sed 's
/^
/| /' conftest.$ac_ext >&5
27775 ac_lo=`expr $ac_mid + 1`
27776 if test $ac_lo -le $ac_mid; then
27780 ac_mid=`expr 2 '*' $ac_mid + 1`
27783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27786 echo "$as_me: failed program was:" >&5
27787 sed 's
/^
/| /' conftest.$ac_ext >&5
27789 cat >conftest.$ac_ext <<_ACEOF
27792 cat confdefs.h >>conftest.$ac_ext
27793 cat >>conftest.$ac_ext <<_ACEOF
27794 /* end confdefs.h. */
27796 #undef HAVE_BOOLEAN
27798 #include <jpeglib.h>
27801 typedef boolean ac__type_sizeof_;
27805 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27812 rm -f conftest.$ac_objext
27813 if { (ac_try="$ac_compile"
27814 case "(($ac_try" in
27815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27816 *) ac_try_echo=$ac_try;;
27818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27819 (eval "$ac_compile") 2>conftest.er1
27821 grep -v '^
*+' conftest.er1 >conftest.err
27823 cat conftest.err >&5
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); } && {
27826 test -z "$ac_c_werror_flag" ||
27827 test ! -s conftest.err
27828 } && test -s conftest.$ac_objext; then
27831 cat >conftest.$ac_ext <<_ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27838 #undef HAVE_BOOLEAN
27840 #include <jpeglib.h>
27843 typedef boolean ac__type_sizeof_;
27847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27854 rm -f conftest.$ac_objext
27855 if { (ac_try="$ac_compile"
27856 case "(($ac_try" in
27857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27858 *) ac_try_echo=$ac_try;;
27860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27861 (eval "$ac_compile") 2>conftest.er1
27863 grep -v '^
*+' conftest.er1 >conftest.err
27865 cat conftest.err >&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); } && {
27868 test -z "$ac_c_werror_flag" ||
27869 test ! -s conftest.err
27870 } && test -s conftest.$ac_objext; then
27871 ac_lo=$ac_mid; break
27873 echo "$as_me: failed program was:" >&5
27874 sed 's
/^
/| /' conftest.$ac_ext >&5
27876 ac_hi=`expr '(' $ac_mid ')' - 1`
27877 if test $ac_mid -le $ac_hi; then
27881 ac_mid=`expr 2 '*' $ac_mid`
27884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27887 echo "$as_me: failed program was:" >&5
27888 sed 's
/^
/| /' conftest.$ac_ext >&5
27893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27897 # Binary search between lo and hi bounds.
27898 while test "x$ac_lo" != "x$ac_hi"; do
27899 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27900 cat >conftest.$ac_ext <<_ACEOF
27903 cat confdefs.h >>conftest.$ac_ext
27904 cat >>conftest.$ac_ext <<_ACEOF
27905 /* end confdefs.h. */
27907 #undef HAVE_BOOLEAN
27909 #include <jpeglib.h>
27912 typedef boolean ac__type_sizeof_;
27916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27923 rm -f conftest.$ac_objext
27924 if { (ac_try="$ac_compile"
27925 case "(($ac_try" in
27926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27927 *) ac_try_echo=$ac_try;;
27929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27930 (eval "$ac_compile") 2>conftest.er1
27932 grep -v '^
*+' conftest.er1 >conftest.err
27934 cat conftest.err >&5
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); } && {
27937 test -z "$ac_c_werror_flag" ||
27938 test ! -s conftest.err
27939 } && test -s conftest.$ac_objext; then
27942 echo "$as_me: failed program was:" >&5
27943 sed 's
/^
/| /' conftest.$ac_ext >&5
27945 ac_lo=`expr '(' $ac_mid ')' + 1`
27948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27951 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27952 '') if test "$ac_cv_type_boolean" = yes; then
27953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27954 See \`config.log' for more details.
" >&5
27955 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27956 See \
`config.log' for more details." >&2;}
27957 { (exit 77); exit 77; }; }
27959 ac_cv_sizeof_boolean=0
27963 cat >conftest.$ac_ext <<_ACEOF
27966 cat confdefs.h >>conftest.$ac_ext
27967 cat >>conftest.$ac_ext <<_ACEOF
27968 /* end confdefs.h. */
27970 #undef HAVE_BOOLEAN
27972 #include <jpeglib.h>
27975 typedef boolean ac__type_sizeof_;
27976 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27977 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27979 #include <stdlib.h>
27984 FILE *f = fopen ("conftest.val", "w");
27987 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27989 long int i = longval ();
27990 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27992 fprintf (f, "%ld\n", i);
27996 unsigned long int i = ulongval ();
27997 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27999 fprintf (f, "%lu\n", i);
28001 return ferror (f) || fclose (f) != 0;
28007 rm -f conftest$ac_exeext
28008 if { (ac_try="$ac_link"
28009 case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28011 *) ac_try_echo
=$ac_try;;
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_link") 2>&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28018 { (case "(($ac_try" in
28019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28020 *) ac_try_echo=$ac_try;;
28022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28023 (eval "$ac_try") 2>&5
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; }; then
28027 ac_cv_sizeof_boolean=`cat conftest.val
`
28029 echo "$as_me: program exited with status $ac_status" >&5
28030 echo "$as_me: failed program was:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28033 ( exit $ac_status )
28034 if test "$ac_cv_type_boolean" = yes; then
28035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28036 See \`config.log
' for more details." >&5
28037 echo "$as_me: error: cannot compute sizeof (boolean)
28038 See \`config.log' for more details.
" >&2;}
28039 { (exit 77); exit 77; }; }
28041 ac_cv_sizeof_boolean=0
28044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28048 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28049 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28053 cat >>confdefs.h <<_ACEOF
28054 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28058 cat >>confdefs.h <<_ACEOF
28059 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28073 TIFF_PREREQ_LINKS=-lm
28074 if test "$wxUSE_LIBTIFF" != "no
" ; then
28075 cat >>confdefs.h <<\_ACEOF
28076 #define wxUSE_LIBTIFF 1
28080 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28081 if test "$wxUSE_LIBJPEG" = "sys
"; then
28082 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28084 if test "$wxUSE_ZLIB" = "sys
"; then
28085 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28087 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28088 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28089 if test "${ac_cv_header_tiffio_h+set}" = set; then
28090 echo $ECHO_N "(cached
) $ECHO_C" >&6
28092 cat >conftest.$ac_ext <<_ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h. */
28101 #include <tiffio.h>
28103 rm -f conftest.$ac_objext
28104 if { (ac_try="$ac_compile"
28105 case "(($ac_try" in
28106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28107 *) ac_try_echo=$ac_try;;
28109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28110 (eval "$ac_compile") 2>conftest.er1
28112 grep -v '^ *+' conftest.er1 >conftest.err
28114 cat conftest.err >&5
28115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28116 (exit $ac_status); } && {
28117 test -z "$ac_c_werror_flag" ||
28118 test ! -s conftest.err
28119 } && test -s conftest.$ac_objext; then
28120 ac_cv_header_tiffio_h=yes
28122 echo "$as_me: failed program was
:" >&5
28123 sed 's/^/| /' conftest.$ac_ext >&5
28125 ac_cv_header_tiffio_h=no
28128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28131 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28132 if test $ac_cv_header_tiffio_h = yes; then
28134 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28135 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28136 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28137 echo $ECHO_N "(cached
) $ECHO_C" >&6
28139 ac_check_lib_save_LIBS=$LIBS
28140 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28141 cat >conftest.$ac_ext <<_ACEOF
28144 cat confdefs.h >>conftest.$ac_ext
28145 cat >>conftest.$ac_ext <<_ACEOF
28146 /* end confdefs.h. */
28148 /* Override any GCC internal prototype to avoid an error.
28149 Use char because int might match the return type of a GCC
28150 builtin and then its argument prototype would still apply. */
28158 return TIFFError ();
28163 rm -f conftest.$ac_objext conftest$ac_exeext
28164 if { (ac_try="$ac_link"
28165 case "(($ac_try" in
28166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28167 *) ac_try_echo=$ac_try;;
28169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28170 (eval "$ac_link") 2>conftest.er1
28172 grep -v '^ *+' conftest.er1 >conftest.err
28174 cat conftest.err >&5
28175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28176 (exit $ac_status); } && {
28177 test -z "$ac_c_werror_flag" ||
28178 test ! -s conftest.err
28179 } && test -s conftest$ac_exeext &&
28180 $as_test_x conftest$ac_exeext; then
28181 ac_cv_lib_tiff_TIFFError=yes
28183 echo "$as_me: failed program was
:" >&5
28184 sed 's/^/| /' conftest.$ac_ext >&5
28186 ac_cv_lib_tiff_TIFFError=no
28189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28190 conftest$ac_exeext conftest.$ac_ext
28191 LIBS=$ac_check_lib_save_LIBS
28193 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28194 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28195 if test $ac_cv_lib_tiff_TIFFError = yes; then
28196 TIFF_LINK=" -ltiff"
28204 if test "x
$TIFF_LINK" = "x
" ; then
28205 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28206 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28207 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28208 { (exit 1); exit 1; }; }
28210 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28211 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28212 wxUSE_LIBTIFF=builtin
28218 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28219 if test "$wxUSE_LIBJPEG" = "no
"; then
28220 ac_configure_args="$ac_configure_args --disable-jpeg"
28222 subdirs="$subdirs src
/tiff
"
28228 if test "$wxUSE_WCHAR_T" != "yes"; then
28229 if test "$wxUSE_EXPAT" != "no
"; then
28230 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28231 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28234 if test "$wxUSE_XML" != "no
"; then
28235 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28236 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28241 if test "$wxUSE_EXPAT" != "no
"; then
28243 cat >>confdefs.h <<\_ACEOF
28244 #define wxUSE_EXPAT 1
28247 cat >>confdefs.h <<\_ACEOF
28248 #define wxUSE_XML 1
28252 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28253 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28254 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28255 if test "${ac_cv_header_expat_h+set}" = set; then
28256 echo $ECHO_N "(cached
) $ECHO_C" >&6
28258 cat >conftest.$ac_ext <<_ACEOF
28261 cat confdefs.h >>conftest.$ac_ext
28262 cat >>conftest.$ac_ext <<_ACEOF
28263 /* end confdefs.h. */
28268 rm -f conftest.$ac_objext
28269 if { (ac_try="$ac_compile"
28270 case "(($ac_try" in
28271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28272 *) ac_try_echo=$ac_try;;
28274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28275 (eval "$ac_compile") 2>conftest.er1
28277 grep -v '^ *+' conftest.er1 >conftest.err
28279 cat conftest.err >&5
28280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28281 (exit $ac_status); } && {
28282 test -z "$ac_c_werror_flag" ||
28283 test ! -s conftest.err
28284 } && test -s conftest.$ac_objext; then
28285 ac_cv_header_expat_h=yes
28287 echo "$as_me: failed program was
:" >&5
28288 sed 's/^/| /' conftest.$ac_ext >&5
28290 ac_cv_header_expat_h=no
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28295 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28296 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28297 if test $ac_cv_header_expat_h = yes; then
28302 if test "x
$found_expat_h" = "x1
"; then
28303 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28304 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28305 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28306 echo $ECHO_N "(cached
) $ECHO_C" >&6
28310 ac_cpp='$CXXCPP $CPPFLAGS'
28311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28315 cat >conftest.$ac_ext <<_ACEOF
28318 cat confdefs.h >>conftest.$ac_ext
28319 cat >>conftest.$ac_ext <<_ACEOF
28320 /* end confdefs.h. */
28330 rm -f conftest.$ac_objext
28331 if { (ac_try="$ac_compile"
28332 case "(($ac_try" in
28333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28334 *) ac_try_echo=$ac_try;;
28336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28337 (eval "$ac_compile") 2>conftest.er1
28339 grep -v '^ *+' conftest.er1 >conftest.err
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28343 (exit $ac_status); } && {
28344 test -z "$ac_cxx_werror_flag" ||
28345 test ! -s conftest.err
28346 } && test -s conftest.$ac_objext; then
28347 wx_cv_expat_is_not_broken=yes
28349 echo "$as_me: failed program was
:" >&5
28350 sed 's/^/| /' conftest.$ac_ext >&5
28352 wx_cv_expat_is_not_broken=no
28356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28358 ac_cpp='$CPP $CPPFLAGS'
28359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28366 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28367 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28368 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28369 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28370 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28371 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28372 echo $ECHO_N "(cached
) $ECHO_C" >&6
28374 ac_check_lib_save_LIBS=$LIBS
28375 LIBS="-lexpat $LIBS"
28376 cat >conftest.$ac_ext <<_ACEOF
28379 cat confdefs.h >>conftest.$ac_ext
28380 cat >>conftest.$ac_ext <<_ACEOF
28381 /* end confdefs.h. */
28383 /* Override any GCC internal prototype to avoid an error.
28384 Use char because int might match the return type of a GCC
28385 builtin and then its argument prototype would still apply. */
28389 char XML_ParserCreate ();
28393 return XML_ParserCreate ();
28398 rm -f conftest.$ac_objext conftest$ac_exeext
28399 if { (ac_try="$ac_link"
28400 case "(($ac_try" in
28401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28402 *) ac_try_echo=$ac_try;;
28404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_link") 2>conftest.er1
28407 grep -v '^ *+' conftest.er1 >conftest.err
28409 cat conftest.err >&5
28410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28411 (exit $ac_status); } && {
28412 test -z "$ac_c_werror_flag" ||
28413 test ! -s conftest.err
28414 } && test -s conftest$ac_exeext &&
28415 $as_test_x conftest$ac_exeext; then
28416 ac_cv_lib_expat_XML_ParserCreate=yes
28418 echo "$as_me: failed program was
:" >&5
28419 sed 's/^/| /' conftest.$ac_ext >&5
28421 ac_cv_lib_expat_XML_ParserCreate=no
28424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28425 conftest$ac_exeext conftest.$ac_ext
28426 LIBS=$ac_check_lib_save_LIBS
28428 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28429 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28430 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28431 EXPAT_LINK=" -lexpat"
28436 if test "x
$EXPAT_LINK" = "x
" ; then
28437 if test "$wxUSE_EXPAT" = "sys
" ; then
28438 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28439 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28440 { (exit 1); exit 1; }; }
28442 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28443 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28444 wxUSE_EXPAT=builtin
28450 if test "$wxUSE_EXPAT" = "builtin" ; then
28451 subdirs="$subdirs src
/expat
"
28458 if test "$wxUSE_LIBMSPACK" != "no
"; then
28459 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28460 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28461 if test "${ac_cv_header_mspack_h+set}" = set; then
28462 echo $ECHO_N "(cached
) $ECHO_C" >&6
28464 cat >conftest.$ac_ext <<_ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28472 #include <mspack.h>
28474 rm -f conftest.$ac_objext
28475 if { (ac_try="$ac_compile"
28476 case "(($ac_try" in
28477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28478 *) ac_try_echo=$ac_try;;
28480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28481 (eval "$ac_compile") 2>conftest.er1
28483 grep -v '^ *+' conftest.er1 >conftest.err
28485 cat conftest.err >&5
28486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28487 (exit $ac_status); } && {
28488 test -z "$ac_c_werror_flag" ||
28489 test ! -s conftest.err
28490 } && test -s conftest.$ac_objext; then
28491 ac_cv_header_mspack_h=yes
28493 echo "$as_me: failed program was
:" >&5
28494 sed 's/^/| /' conftest.$ac_ext >&5
28496 ac_cv_header_mspack_h=no
28499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28501 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28502 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28503 if test $ac_cv_header_mspack_h = yes; then
28508 if test "x
$found_mspack_h" = "x1
"; then
28509 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28510 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28511 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28512 echo $ECHO_N "(cached
) $ECHO_C" >&6
28514 ac_check_lib_save_LIBS=$LIBS
28515 LIBS="-lmspack $LIBS"
28516 cat >conftest.$ac_ext <<_ACEOF
28519 cat confdefs.h >>conftest.$ac_ext
28520 cat >>conftest.$ac_ext <<_ACEOF
28521 /* end confdefs.h. */
28523 /* Override any GCC internal prototype to avoid an error.
28524 Use char because int might match the return type of a GCC
28525 builtin and then its argument prototype would still apply. */
28529 char mspack_create_chm_decompressor ();
28533 return mspack_create_chm_decompressor ();
28538 rm -f conftest.$ac_objext conftest$ac_exeext
28539 if { (ac_try="$ac_link"
28540 case "(($ac_try" in
28541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28542 *) ac_try_echo=$ac_try;;
28544 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28545 (eval "$ac_link") 2>conftest.er1
28547 grep -v '^ *+' conftest.er1 >conftest.err
28549 cat conftest.err >&5
28550 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28551 (exit $ac_status); } && {
28552 test -z "$ac_c_werror_flag" ||
28553 test ! -s conftest.err
28554 } && test -s conftest$ac_exeext &&
28555 $as_test_x conftest$ac_exeext; then
28556 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28558 echo "$as_me: failed program was
:" >&5
28559 sed 's/^/| /' conftest.$ac_ext >&5
28561 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28565 conftest$ac_exeext conftest.$ac_ext
28566 LIBS=$ac_check_lib_save_LIBS
28568 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28569 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28570 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28571 MSPACK_LINK=" -lmspack"
28575 if test "x
$MSPACK_LINK" = "x
" ; then
28580 if test "$wxUSE_LIBMSPACK" != "no
"; then
28581 cat >>confdefs.h <<\_ACEOF
28582 #define wxUSE_LIBMSPACK 1
28596 if test "$USE_WIN32" = 1 ; then
28598 for ac_header in w32api.h
28600 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28601 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28602 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28603 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28604 echo $ECHO_N "(cached
) $ECHO_C" >&6
28606 cat >conftest.$ac_ext <<_ACEOF
28609 cat confdefs.h >>conftest.$ac_ext
28610 cat >>conftest.$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28614 #include <$ac_header>
28616 rm -f conftest.$ac_objext
28617 if { (ac_try="$ac_compile"
28618 case "(($ac_try" in
28619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28620 *) ac_try_echo=$ac_try;;
28622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28623 (eval "$ac_compile") 2>conftest.er1
28625 grep -v '^ *+' conftest.er1 >conftest.err
28627 cat conftest.err >&5
28628 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28629 (exit $ac_status); } && {
28630 test -z "$ac_c_werror_flag" ||
28631 test ! -s conftest.err
28632 } && test -s conftest.$ac_objext; then
28633 eval "$as_ac_Header=yes"
28635 echo "$as_me: failed program was
:" >&5
28636 sed 's/^/| /' conftest.$ac_ext >&5
28638 eval "$as_ac_Header=no
"
28641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28643 ac_res=`eval echo '${'$as_ac_Header'}'`
28644 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28645 echo "${ECHO_T}$ac_res" >&6; }
28646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28647 cat >>confdefs.h <<_ACEOF
28648 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28655 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28656 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28657 if test "${ac_cv_header_windows_h+set}" = set; then
28658 echo $ECHO_N "(cached
) $ECHO_C" >&6
28660 cat >conftest.$ac_ext <<_ACEOF
28663 cat confdefs.h >>conftest.$ac_ext
28664 cat >>conftest.$ac_ext <<_ACEOF
28665 /* end confdefs.h. */
28668 #include <windows.h>
28670 rm -f conftest.$ac_objext
28671 if { (ac_try="$ac_compile"
28672 case "(($ac_try" in
28673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28676 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_compile") 2>conftest.er1
28679 grep -v '^ *+' conftest.er1 >conftest.err
28681 cat conftest.err >&5
28682 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28683 (exit $ac_status); } && {
28684 test -z "$ac_c_werror_flag" ||
28685 test ! -s conftest.err
28686 } && test -s conftest.$ac_objext; then
28687 ac_cv_header_windows_h=yes
28689 echo "$as_me: failed program was
:" >&5
28690 sed 's/^/| /' conftest.$ac_ext >&5
28692 ac_cv_header_windows_h=no
28695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28697 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28698 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28699 if test $ac_cv_header_windows_h = yes; then
28703 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28704 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28705 { (exit 1); exit 1; }; }
28712 x86_64-*-mingw32* )
28713 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28715 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28718 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28721 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28722 LIBS="$LIBS -loleacc"
28727 LIBS="$LIBS -lkernel32 -luser32"
28730 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28731 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28733 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28735 WIN32INSTALL=win32install
28737 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28738 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28739 if test "${ac_cv_header_pbt_h+set}" = set; then
28740 echo $ECHO_N "(cached
) $ECHO_C" >&6
28742 cat >conftest.$ac_ext <<_ACEOF
28745 cat confdefs.h >>conftest.$ac_ext
28746 cat >>conftest.$ac_ext <<_ACEOF
28747 /* end confdefs.h. */
28752 rm -f conftest.$ac_objext
28753 if { (ac_try="$ac_compile"
28754 case "(($ac_try" in
28755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28756 *) ac_try_echo=$ac_try;;
28758 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28759 (eval "$ac_compile") 2>conftest.er1
28761 grep -v '^ *+' conftest.er1 >conftest.err
28763 cat conftest.err >&5
28764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28765 (exit $ac_status); } && {
28766 test -z "$ac_c_werror_flag" ||
28767 test ! -s conftest.err
28768 } && test -s conftest.$ac_objext; then
28769 ac_cv_header_pbt_h=yes
28771 echo "$as_me: failed program was
:" >&5
28772 sed 's/^/| /' conftest.$ac_ext >&5
28774 ac_cv_header_pbt_h=no
28777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28779 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28780 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28781 if test $ac_cv_header_pbt_h = yes; then
28784 cat >>confdefs.h <<\_ACEOF
28785 #define NEED_PBT_H 1
28793 if test "$wxUSE_GUI" = "yes"; then
28803 if test "$wxUSE_OLD_COCOA" = 1 ; then
28804 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28805 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28806 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28807 wxUSE_PRINTING_ARCHITECTURE=no
28809 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28810 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28811 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28812 wxUSE_DRAG_AND_DROP=no
28814 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28815 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28816 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28821 if test "$wxUSE_MSW" = 1 ; then
28827 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28831 if test "$wxUSE_GTK" = 1; then
28832 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28833 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28835 gtk_version_cached=1
28836 if test "${wx_cv_lib_gtk+set}" = set; then
28837 echo $ECHO_N "(cached
) $ECHO_C" >&6
28840 gtk_version_cached=0
28841 { echo "$as_me:$LINENO: result
: " >&5
28842 echo "${ECHO_T}" >&6; }
28845 if test "$wxUSE_THREADS" = "yes"; then
28846 GTK_MODULES=gthread
28850 if test "x
$wxGTK_VERSION" != "x1
"
28854 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28859 # Check whether --enable-gtktest was given.
28860 if test "${enable_gtktest+set}" = set; then
28861 enableval=$enable_gtktest;
28867 pkg_config_args=gtk+-2.0
28868 for module in . $GTK_MODULES
28872 pkg_config_args="$pkg_config_args gthread
-2.0
"
28879 # Extract the first word of "pkg
-config", so it can be a program name with args.
28880 set dummy pkg-config; ac_word=$2
28881 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28882 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28883 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28884 echo $ECHO_N "(cached
) $ECHO_C" >&6
28886 case $PKG_CONFIG in
28888 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28892 for as_dir in $PATH
28895 test -z "$as_dir" && as_dir=.
28896 for ac_exec_ext in '' $ac_executable_extensions; do
28897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28898 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28899 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28906 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28910 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28911 if test -n "$PKG_CONFIG"; then
28912 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28913 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28915 { echo "$as_me:$LINENO: result
: no
" >&5
28916 echo "${ECHO_T}no
" >&6; }
28921 if test x$PKG_CONFIG != xno ; then
28922 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28925 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28933 min_gtk_version=2.4.0
28934 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28935 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28937 if test x$PKG_CONFIG != xno ; then
28938 ## don't try to run the test against uninstalled libtool libs
28939 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28940 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28944 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28951 if test x"$no_gtk" = x ; then
28952 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28953 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28954 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28956 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28958 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28960 if test "x
$enable_gtktest" = "xyes
" ; then
28961 ac_save_CFLAGS="$CFLAGS"
28962 ac_save_LIBS="$LIBS"
28963 CFLAGS="$CFLAGS $GTK_CFLAGS"
28964 LIBS="$GTK_LIBS $LIBS"
28966 if test "$cross_compiling" = yes; then
28967 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28969 cat >conftest.$ac_ext <<_ACEOF
28972 cat confdefs.h >>conftest.$ac_ext
28973 cat >>conftest.$ac_ext <<_ACEOF
28974 /* end confdefs.h. */
28976 #include <gtk/gtk.h>
28978 #include <stdlib.h>
28983 int major, minor, micro;
28986 system ("touch conf.gtktest
");
28988 /* HP/UX 9 (%@#!) writes to sscanf strings */
28989 tmp_version = g_strdup("$min_gtk_version");
28990 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28991 printf("%s
, bad version string
\n", "$min_gtk_version");
28995 if ((gtk_major_version != $gtk_config_major_version) ||
28996 (gtk_minor_version != $gtk_config_minor_version) ||
28997 (gtk_micro_version != $gtk_config_micro_version))
28999 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29000 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29001 gtk_major_version, gtk_minor_version, gtk_micro_version);
29002 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29003 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29004 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29005 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29006 printf("*** required on your system.
\n");
29007 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29008 printf("*** to point to the correct configuration files
\n");
29010 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29011 (gtk_minor_version != GTK_MINOR_VERSION) ||
29012 (gtk_micro_version != GTK_MICRO_VERSION))
29014 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29015 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29016 printf("*** library
(version
%d.
%d.
%d
)\n",
29017 gtk_major_version, gtk_minor_version, gtk_micro_version);
29021 if ((gtk_major_version > major) ||
29022 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29023 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29029 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29030 gtk_major_version, gtk_minor_version, gtk_micro_version);
29031 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29032 major, minor, micro);
29033 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29035 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29036 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29037 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29038 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29039 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29040 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29041 printf("*** so that the correct libraries are found
at run
-time))\n");
29048 rm -f conftest$ac_exeext
29049 if { (ac_try="$ac_link"
29050 case "(($ac_try" in
29051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29052 *) ac_try_echo=$ac_try;;
29054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29055 (eval "$ac_link") 2>&5
29057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29059 { (case "(($ac_try" in
29060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29061 *) ac_try_echo=$ac_try;;
29063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29064 (eval "$ac_try") 2>&5
29066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29067 (exit $ac_status); }; }; then
29070 echo "$as_me: program exited with status
$ac_status" >&5
29071 echo "$as_me: failed program was
:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29074 ( exit $ac_status )
29077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29081 CFLAGS="$ac_save_CFLAGS"
29082 LIBS="$ac_save_LIBS"
29085 if test "x
$no_gtk" = x ; then
29086 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29087 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29090 { echo "$as_me:$LINENO: result
: no
" >&5
29091 echo "${ECHO_T}no
" >&6; }
29092 if test "$PKG_CONFIG" = "no
" ; then
29093 echo "*** A new enough version of pkg
-config was not found.
"
29094 echo "*** See http
://pkgconfig.sourceforge.net
"
29096 if test -f conf.gtktest ; then
29099 echo "*** Could not run GTK
+ test program
, checking why...
"
29100 ac_save_CFLAGS="$CFLAGS"
29101 ac_save_LIBS="$LIBS"
29102 CFLAGS="$CFLAGS $GTK_CFLAGS"
29103 LIBS="$LIBS $GTK_LIBS"
29104 cat >conftest.$ac_ext <<_ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29111 #include <gtk/gtk.h>
29117 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29122 rm -f conftest.$ac_objext conftest$ac_exeext
29123 if { (ac_try="$ac_link"
29124 case "(($ac_try" in
29125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29126 *) ac_try_echo=$ac_try;;
29128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29129 (eval "$ac_link") 2>conftest.er1
29131 grep -v '^ *+' conftest.er1 >conftest.err
29133 cat conftest.err >&5
29134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29135 (exit $ac_status); } && {
29136 test -z "$ac_c_werror_flag" ||
29137 test ! -s conftest.err
29138 } && test -s conftest$ac_exeext &&
29139 $as_test_x conftest$ac_exeext; then
29140 echo "*** The
test program compiled
, but did not run. This usually means
"
29141 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29142 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29143 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29144 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29145 echo "*** is required on your system"
29147 echo "*** If you have an old version installed, it is best to remove it, although"
29148 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29150 echo "$as_me: failed program was:" >&5
29151 sed 's
/^
/| /' conftest.$ac_ext >&5
29153 echo "*** The test program failed to compile or link. See the file config.log for the"
29154 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29158 conftest$ac_exeext conftest.$ac_ext
29159 CFLAGS="$ac_save_CFLAGS"
29160 LIBS="$ac_save_LIBS"
29174 if test "$wxUSE_SHARED" != "yes"; then
29175 GTK_LIBS="$GTK_LIBS -lX11"
29180 if test -z "$wx_cv_lib_gtk"; then
29181 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29183 # Check whether --with-gtk-prefix was given.
29184 if test "${with_gtk_prefix+set}" = set; then
29185 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29187 gtk_config_prefix=""
29191 # Check whether --with-gtk-exec-prefix was given.
29192 if test "${with_gtk_exec_prefix+set}" = set; then
29193 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29195 gtk_config_exec_prefix=""
29198 # Check whether --enable-gtktest was given.
29199 if test "${enable_gtktest+set}" = set; then
29200 enableval=$enable_gtktest;
29206 for module in . $GTK_MODULES
29210 gtk_config_args="$gtk_config_args gthread"
29215 if test x$gtk_config_exec_prefix != x ; then
29216 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29217 if test x${GTK_CONFIG+set} != xset ; then
29218 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29221 if test x$gtk_config_prefix != x ; then
29222 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29223 if test x${GTK_CONFIG+set} != xset ; then
29224 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29228 # Extract the first word of "gtk-config", so it can be a program name with args.
29229 set dummy gtk-config; ac_word=$2
29230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29232 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29233 echo $ECHO_N "(cached) $ECHO_C" >&6
29235 case $GTK_CONFIG in
29237 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29241 for as_dir in $PATH
29244 test -z "$as_dir" && as_dir=.
29245 for ac_exec_ext in '' $ac_executable_extensions; do
29246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29247 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29255 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29259 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29260 if test -n "$GTK_CONFIG"; then
29261 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29262 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29264 { echo "$as_me:$LINENO: result: no" >&5
29265 echo "${ECHO_T}no" >&6; }
29269 min_gtk_version=1.2.7
29270 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29271 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29273 if test "$GTK_CONFIG" = "no" ; then
29276 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29277 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29278 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29279 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29280 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29281 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29282 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29283 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29284 if test "x$enable_gtktest" = "xyes" ; then
29285 ac_save_CFLAGS="$CFLAGS"
29286 ac_save_LIBS="$LIBS"
29287 CFLAGS="$CFLAGS $GTK_CFLAGS"
29288 LIBS="$GTK_LIBS $LIBS"
29290 if test "$cross_compiling" = yes; then
29291 echo $ac_n "cross compiling; assumed OK... $ac_c"
29293 cat >conftest.$ac_ext <<_ACEOF
29296 cat confdefs.h >>conftest.$ac_ext
29297 cat >>conftest.$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29300 #include <gtk/gtk.h>
29302 #include <stdlib.h>
29307 int major, minor, micro;
29310 system ("touch conf.gtktest");
29312 /* HP/UX 9 (%@#!) writes to sscanf strings */
29313 tmp_version = g_strdup("$min_gtk_version");
29314 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29315 printf("%s, bad version string\n", "$min_gtk_version");
29319 if ((gtk_major_version != $gtk_config_major_version) ||
29320 (gtk_minor_version != $gtk_config_minor_version) ||
29321 (gtk_micro_version != $gtk_config_micro_version))
29323 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29324 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29325 gtk_major_version, gtk_minor_version, gtk_micro_version);
29326 printf ("*** was found! If gtk-config was correct, then it is best\n");
29327 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29328 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29329 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29330 printf("*** required on your system.\n");
29331 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29332 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29333 printf("*** before re-running configure\n");
29335 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29336 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29337 (gtk_minor_version != GTK_MINOR_VERSION) ||
29338 (gtk_micro_version != GTK_MICRO_VERSION))
29340 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29341 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29342 printf("*** library (version %d.%d.%d)\n",
29343 gtk_major_version, gtk_minor_version, gtk_micro_version);
29345 #endif /* defined (GTK_MAJOR_VERSION) ... */
29348 if ((gtk_major_version > major) ||
29349 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29350 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29356 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29357 gtk_major_version, gtk_minor_version, gtk_micro_version);
29358 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29359 major, minor, micro);
29360 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29362 printf("*** If you have already installed a sufficiently new version, this error\n");
29363 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29364 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29365 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29366 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29367 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29368 printf("*** so that the correct libraries are found at run-time))\n");
29375 rm -f conftest$ac_exeext
29376 if { (ac_try="$ac_link"
29377 case "(($ac_try" in
29378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29379 *) ac_try_echo=$ac_try;;
29381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29382 (eval "$ac_link") 2>&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29386 { (case "(($ac_try" in
29387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29388 *) ac_try_echo=$ac_try;;
29390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29391 (eval "$ac_try") 2>&5
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); }; }; then
29397 echo "$as_me: program exited with status $ac_status" >&5
29398 echo "$as_me: failed program was:" >&5
29399 sed 's
/^
/| /' conftest.$ac_ext >&5
29401 ( exit $ac_status )
29404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29408 CFLAGS="$ac_save_CFLAGS"
29409 LIBS="$ac_save_LIBS"
29412 if test "x$no_gtk" = x ; then
29413 { echo "$as_me:$LINENO: result: yes" >&5
29414 echo "${ECHO_T}yes" >&6; }
29415 wx_cv_lib_gtk=1.2.7
29417 { echo "$as_me:$LINENO: result: no" >&5
29418 echo "${ECHO_T}no" >&6; }
29419 if test "$GTK_CONFIG" = "no" ; then
29420 echo "*** The gtk-config script installed by GTK could not be found"
29421 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29422 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29423 echo "*** full path to gtk-config."
29425 if test -f conf.gtktest ; then
29428 echo "*** Could not run GTK test program, checking why..."
29429 CFLAGS="$CFLAGS $GTK_CFLAGS"
29430 LIBS="$LIBS $GTK_LIBS"
29431 cat >conftest.$ac_ext <<_ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29438 #include <gtk/gtk.h>
29444 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29449 rm -f conftest.$ac_objext conftest$ac_exeext
29450 if { (ac_try="$ac_link"
29451 case "(($ac_try" in
29452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29453 *) ac_try_echo=$ac_try;;
29455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29456 (eval "$ac_link") 2>conftest.er1
29458 grep -v '^
*+' conftest.er1 >conftest.err
29460 cat conftest.err >&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } && {
29463 test -z "$ac_c_werror_flag" ||
29464 test ! -s conftest.err
29465 } && test -s conftest$ac_exeext &&
29466 $as_test_x conftest$ac_exeext; then
29467 echo "*** The test program compiled, but did not run. This usually means"
29468 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29469 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29470 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29471 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29472 echo "*** is required on your system
"
29474 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29475 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29477 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29478 echo "*** came with the system with the
command"
29480 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29482 echo "$as_me: failed program was
:" >&5
29483 sed 's/^/| /' conftest.$ac_ext >&5
29485 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29486 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29487 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29488 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29492 conftest$ac_exeext conftest.$ac_ext
29493 CFLAGS="$ac_save_CFLAGS"
29494 LIBS="$ac_save_LIBS"
29506 if test -z "$wx_cv_lib_gtk"; then
29508 # Check whether --with-gtk-prefix was given.
29509 if test "${with_gtk_prefix+set}" = set; then
29510 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29512 gtk_config_prefix=""
29516 # Check whether --with-gtk-exec-prefix was given.
29517 if test "${with_gtk_exec_prefix+set}" = set; then
29518 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29520 gtk_config_exec_prefix=""
29523 # Check whether --enable-gtktest was given.
29524 if test "${enable_gtktest+set}" = set; then
29525 enableval=$enable_gtktest;
29531 for module in . $GTK_MODULES
29535 gtk_config_args="$gtk_config_args gthread
"
29540 if test x$gtk_config_exec_prefix != x ; then
29541 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29542 if test x${GTK_CONFIG+set} != xset ; then
29543 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29546 if test x$gtk_config_prefix != x ; then
29547 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29548 if test x${GTK_CONFIG+set} != xset ; then
29549 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29553 # Extract the first word of "gtk
-config", so it can be a program name with args.
29554 set dummy gtk-config; ac_word=$2
29555 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29556 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29557 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29558 echo $ECHO_N "(cached
) $ECHO_C" >&6
29560 case $GTK_CONFIG in
29562 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29566 for as_dir in $PATH
29569 test -z "$as_dir" && as_dir=.
29570 for ac_exec_ext in '' $ac_executable_extensions; do
29571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29572 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29573 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29580 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29584 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29585 if test -n "$GTK_CONFIG"; then
29586 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29587 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29589 { echo "$as_me:$LINENO: result
: no
" >&5
29590 echo "${ECHO_T}no
" >&6; }
29594 min_gtk_version=1.2.3
29595 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29596 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29598 if test "$GTK_CONFIG" = "no
" ; then
29601 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29602 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29603 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29605 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29607 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29609 if test "x
$enable_gtktest" = "xyes
" ; then
29610 ac_save_CFLAGS="$CFLAGS"
29611 ac_save_LIBS="$LIBS"
29612 CFLAGS="$CFLAGS $GTK_CFLAGS"
29613 LIBS="$GTK_LIBS $LIBS"
29615 if test "$cross_compiling" = yes; then
29616 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29618 cat >conftest.$ac_ext <<_ACEOF
29621 cat confdefs.h >>conftest.$ac_ext
29622 cat >>conftest.$ac_ext <<_ACEOF
29623 /* end confdefs.h. */
29625 #include <gtk/gtk.h>
29627 #include <stdlib.h>
29632 int major, minor, micro;
29635 system ("touch conf.gtktest
");
29637 /* HP/UX 9 (%@#!) writes to sscanf strings */
29638 tmp_version = g_strdup("$min_gtk_version");
29639 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29640 printf("%s
, bad version string
\n", "$min_gtk_version");
29644 if ((gtk_major_version != $gtk_config_major_version) ||
29645 (gtk_minor_version != $gtk_config_minor_version) ||
29646 (gtk_micro_version != $gtk_config_micro_version))
29648 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29649 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29650 gtk_major_version, gtk_minor_version, gtk_micro_version);
29651 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29652 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29653 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29654 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29655 printf("*** required on your system.
\n");
29656 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29657 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29658 printf("*** before re
-running configure
\n");
29660 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29661 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29662 (gtk_minor_version != GTK_MINOR_VERSION) ||
29663 (gtk_micro_version != GTK_MICRO_VERSION))
29665 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29666 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29667 printf("*** library
(version
%d.
%d.
%d
)\n",
29668 gtk_major_version, gtk_minor_version, gtk_micro_version);
29670 #endif /* defined (GTK_MAJOR_VERSION) ... */
29673 if ((gtk_major_version > major) ||
29674 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29675 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29681 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29682 gtk_major_version, gtk_minor_version, gtk_micro_version);
29683 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29684 major, minor, micro);
29685 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29687 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29688 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29689 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29690 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29691 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29692 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29693 printf("*** so that the correct libraries are found
at run
-time))\n");
29700 rm -f conftest$ac_exeext
29701 if { (ac_try="$ac_link"
29702 case "(($ac_try" in
29703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29704 *) ac_try_echo=$ac_try;;
29706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29707 (eval "$ac_link") 2>&5
29709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29711 { (case "(($ac_try" in
29712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29713 *) ac_try_echo=$ac_try;;
29715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29716 (eval "$ac_try") 2>&5
29718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29719 (exit $ac_status); }; }; then
29722 echo "$as_me: program exited with status
$ac_status" >&5
29723 echo "$as_me: failed program was
:" >&5
29724 sed 's/^/| /' conftest.$ac_ext >&5
29726 ( exit $ac_status )
29729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29733 CFLAGS="$ac_save_CFLAGS"
29734 LIBS="$ac_save_LIBS"
29737 if test "x
$no_gtk" = x ; then
29738 { echo "$as_me:$LINENO: result
: yes" >&5
29739 echo "${ECHO_T}yes" >&6; }
29740 wx_cv_lib_gtk=1.2.3
29742 { echo "$as_me:$LINENO: result
: no
" >&5
29743 echo "${ECHO_T}no
" >&6; }
29744 if test "$GTK_CONFIG" = "no
" ; then
29745 echo "*** The gtk
-config script installed by GTK could not be found
"
29746 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29747 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29748 echo "*** full path to gtk
-config.
"
29750 if test -f conf.gtktest ; then
29753 echo "*** Could not run GTK
test program
, checking why...
"
29754 CFLAGS="$CFLAGS $GTK_CFLAGS"
29755 LIBS="$LIBS $GTK_LIBS"
29756 cat >conftest.$ac_ext <<_ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29763 #include <gtk/gtk.h>
29769 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29774 rm -f conftest.$ac_objext conftest$ac_exeext
29775 if { (ac_try="$ac_link"
29776 case "(($ac_try" in
29777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29778 *) ac_try_echo=$ac_try;;
29780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29781 (eval "$ac_link") 2>conftest.er1
29783 grep -v '^ *+' conftest.er1 >conftest.err
29785 cat conftest.err >&5
29786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29787 (exit $ac_status); } && {
29788 test -z "$ac_c_werror_flag" ||
29789 test ! -s conftest.err
29790 } && test -s conftest$ac_exeext &&
29791 $as_test_x conftest$ac_exeext; then
29792 echo "*** The
test program compiled
, but did not run. This usually means
"
29793 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29794 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29795 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29796 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29797 echo "*** is required on your system"
29799 echo "*** If you have an old version installed, it is best to remove it, although"
29800 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29802 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29803 echo "*** came with the system with the command"
29805 echo "*** rpm --erase --nodeps gtk gtk-devel"
29807 echo "$as_me: failed program was:" >&5
29808 sed 's
/^
/| /' conftest.$ac_ext >&5
29810 echo "*** The test program failed to compile or link. See the file config.log for the"
29811 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29812 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29813 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29817 conftest$ac_exeext conftest.$ac_ext
29818 CFLAGS="$ac_save_CFLAGS"
29819 LIBS="$ac_save_LIBS"
29834 if test -z "$wx_cv_lib_gtk"; then
29837 wx_cv_cflags_gtk=$GTK_CFLAGS
29838 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29845 if test "$gtk_version_cached" = 1; then
29846 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29847 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29850 case "$wx_cv_lib_gtk" in
29859 *) { { echo "$as_me:$LINENO: error:
29860 The development files for GTK+ were not found. For GTK+ 2, please
29861 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29862 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29863 and that the version is 1.2.3 or above. Also check that the
29864 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29865 --libs' are in the LD_LIBRARY_PATH or equivalent.
29867 echo "$as_me: error:
29868 The development files for GTK+ were not found. For GTK+ 2, please
29869 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29870 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29871 and that the version is 1.2.3 or above. Also check that the
29872 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29873 --libs' are in the LD_LIBRARY_PATH or equivalent.
29875 { (exit 1); exit 1; }; }
29879 if test "$WXGTK2" = 1; then
29880 save_CFLAGS="$CFLAGS"
29882 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29883 LIBS="$LIBS $wx_cv_libs_gtk"
29885 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29886 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29887 cat >conftest.$ac_ext <<_ACEOF
29890 cat confdefs.h >>conftest.$ac_ext
29891 cat >>conftest.$ac_ext <<_ACEOF
29892 /* end confdefs.h. */
29894 #include <gtk/gtk.h>
29900 #if !GTK_CHECK_VERSION(2,18,0)
29908 rm -f conftest.$ac_objext
29909 if { (ac_try="$ac_compile"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29912 *) ac_try_echo=$ac_try;;
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_compile") 2>conftest.er1
29917 grep -v '^
*+' conftest.er1 >conftest.err
29919 cat conftest.err >&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest.$ac_objext; then
29926 cat >>confdefs.h <<\_ACEOF
29927 #define __WXGTK218__ 1
29930 cat >>confdefs.h <<\_ACEOF
29931 #define __WXGTK210__ 1
29934 cat >>confdefs.h <<\_ACEOF
29935 #define __WXGTK26__ 1
29938 { echo "$as_me:$LINENO: result: yes" >&5
29939 echo "${ECHO_T}yes" >&6; }
29943 echo "$as_me: failed program was:" >&5
29944 sed 's
/^
/| /' conftest.$ac_ext >&5
29947 { echo "$as_me:$LINENO: result: no" >&5
29948 echo "${ECHO_T}no" >&6; }
29953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29955 if test "$ac_wxgtk218" = 0; then
29956 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29957 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29958 cat >conftest.$ac_ext <<_ACEOF
29961 cat confdefs.h >>conftest.$ac_ext
29962 cat >>conftest.$ac_ext <<_ACEOF
29963 /* end confdefs.h. */
29965 #include <gtk/gtk.h>
29971 #if !GTK_CHECK_VERSION(2,10,0)
29979 rm -f conftest.$ac_objext
29980 if { (ac_try="$ac_compile"
29981 case "(($ac_try" in
29982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29983 *) ac_try_echo=$ac_try;;
29985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29986 (eval "$ac_compile") 2>conftest.er1
29988 grep -v '^
*+' conftest.er1 >conftest.err
29990 cat conftest.err >&5
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); } && {
29993 test -z "$ac_c_werror_flag" ||
29994 test ! -s conftest.err
29995 } && test -s conftest.$ac_objext; then
29997 cat >>confdefs.h <<\_ACEOF
29998 #define __WXGTK210__ 1
30001 cat >>confdefs.h <<\_ACEOF
30002 #define __WXGTK26__ 1
30005 { echo "$as_me:$LINENO: result: yes" >&5
30006 echo "${ECHO_T}yes" >&6; }
30010 echo "$as_me: failed program was:" >&5
30011 sed 's
/^
/| /' conftest.$ac_ext >&5
30014 { echo "$as_me:$LINENO: result: no" >&5
30015 echo "${ECHO_T}no" >&6; }
30020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30022 if test "$ac_wxgtk210" = 0; then
30023 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30024 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30025 cat >conftest.$ac_ext <<_ACEOF
30028 cat confdefs.h >>conftest.$ac_ext
30029 cat >>conftest.$ac_ext <<_ACEOF
30030 /* end confdefs.h. */
30032 #include <gtk/gtk.h>
30038 #if !GTK_CHECK_VERSION(2,6,0)
30046 rm -f conftest.$ac_objext
30047 if { (ac_try="$ac_compile"
30048 case "(($ac_try" in
30049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30050 *) ac_try_echo=$ac_try;;
30052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30053 (eval "$ac_compile") 2>conftest.er1
30055 grep -v '^
*+' conftest.er1 >conftest.err
30057 cat conftest.err >&5
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); } && {
30060 test -z "$ac_c_werror_flag" ||
30061 test ! -s conftest.err
30062 } && test -s conftest.$ac_objext; then
30064 cat >>confdefs.h <<\_ACEOF
30065 #define __WXGTK26__ 1
30068 { echo "$as_me:$LINENO: result: yes" >&5
30069 echo "${ECHO_T}yes" >&6; }
30073 echo "$as_me: failed program was:" >&5
30074 sed 's
/^
/| /' conftest.$ac_ext >&5
30077 { echo "$as_me:$LINENO: result: no" >&5
30078 echo "${ECHO_T}no" >&6; }
30083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30087 CFLAGS="$save_CFLAGS"
30090 if test "$wxUSE_UNICODE" = "yes"; then
30091 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30092 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30096 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30097 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30098 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30099 echo $ECHO_N "(cached) $ECHO_C" >&6
30101 ac_check_lib_save_LIBS=$LIBS
30103 cat >conftest.$ac_ext <<_ACEOF
30106 cat confdefs.h >>conftest.$ac_ext
30107 cat >>conftest.$ac_ext <<_ACEOF
30108 /* end confdefs.h. */
30110 /* Override any GCC internal prototype to avoid an error.
30111 Use char because int might match the return type of a GCC
30112 builtin and then its argument prototype would still apply. */
30116 char gdk_im_open ();
30120 return gdk_im_open ();
30125 rm -f conftest.$ac_objext conftest$ac_exeext
30126 if { (ac_try="$ac_link"
30127 case "(($ac_try" in
30128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30129 *) ac_try_echo=$ac_try;;
30131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30132 (eval "$ac_link") 2>conftest.er1
30134 grep -v '^
*+' conftest.er1 >conftest.err
30136 cat conftest.err >&5
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); } && {
30139 test -z "$ac_c_werror_flag" ||
30140 test ! -s conftest.err
30141 } && test -s conftest$ac_exeext &&
30142 $as_test_x conftest$ac_exeext; then
30143 ac_cv_lib_gdk_gdk_im_open=yes
30145 echo "$as_me: failed program was:" >&5
30146 sed 's
/^
/| /' conftest.$ac_ext >&5
30148 ac_cv_lib_gdk_gdk_im_open=no
30151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30152 conftest$ac_exeext conftest.$ac_ext
30153 LIBS=$ac_check_lib_save_LIBS
30155 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30156 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30157 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30158 cat >>confdefs.h <<\_ACEOF
30165 if test "$USE_DARWIN" != 1; then
30167 for ac_func in poll
30169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30173 echo $ECHO_N "(cached) $ECHO_C" >&6
30175 cat >conftest.$ac_ext <<_ACEOF
30178 cat confdefs.h >>conftest.$ac_ext
30179 cat >>conftest.$ac_ext <<_ACEOF
30180 /* end confdefs.h. */
30181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30183 #define $ac_func innocuous_$ac_func
30185 /* System header to define __stub macros and hopefully few prototypes,
30186 which can conflict with char $ac_func (); below.
30187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30188 <limits.h> exists even on freestanding compilers. */
30191 # include <limits.h>
30193 # include <assert.h>
30198 /* Override any GCC internal prototype to avoid an error.
30199 Use char because int might match the return type of a GCC
30200 builtin and then its argument prototype would still apply. */
30205 /* The GNU C library defines this for functions which it implements
30206 to always fail with ENOSYS. Some functions are actually named
30207 something starting with __ and the normal name is an alias. */
30208 #if defined __stub_$ac_func || defined __stub___$ac_func
30215 return $ac_func ();
30220 rm -f conftest.$ac_objext conftest$ac_exeext
30221 if { (ac_try="$ac_link"
30222 case "(($ac_try" in
30223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30224 *) ac_try_echo=$ac_try;;
30226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30227 (eval "$ac_link") 2>conftest.er1
30229 grep -v '^
*+' conftest.er1 >conftest.err
30231 cat conftest.err >&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); } && {
30234 test -z "$ac_c_werror_flag" ||
30235 test ! -s conftest.err
30236 } && test -s conftest$ac_exeext &&
30237 $as_test_x conftest$ac_exeext; then
30238 eval "$as_ac_var=yes"
30240 echo "$as_me: failed program was:" >&5
30241 sed 's
/^
/| /' conftest.$ac_ext >&5
30243 eval "$as_ac_var=no"
30246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30247 conftest$ac_exeext conftest.$ac_ext
30249 ac_res=`eval echo '${'$as_ac_var'}'`
30250 { echo "$as_me:$LINENO: result: $ac_res" >&5
30251 echo "${ECHO_T}$ac_res" >&6; }
30252 if test `eval echo '${'$as_ac_var'}'` = yes; then
30253 cat >>confdefs.h <<_ACEOF
30254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30263 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30264 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30266 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30268 AFMINSTALL=afminstall
30272 if test "$wxUSE_GPE" = "yes"; then
30273 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30274 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30277 for ac_dir in $SEARCH_LIB;
30279 for ac_extension in a so sl dylib dll.a; do
30280 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30281 ac_find_libraries=$ac_dir
30287 if test "$ac_find_libraries" != "" ; then
30289 if test "$ac_find_libraries" = "default location"; then
30292 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30294 if test $result = 0; then
30297 ac_path_to_link=" -L$ac_find_libraries"
30301 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30303 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30304 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30306 { echo "$as_me:$LINENO: result: not found" >&5
30307 echo "${ECHO_T}not found" >&6; }
30313 if test "$wxUSE_MGL" = 1; then
30314 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30315 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30316 if test "x$MGL_ROOT" = x ; then
30317 { echo "$as_me:$LINENO: result: not found" >&5
30318 echo "${ECHO_T}not found" >&6; }
30319 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30320 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30321 { (exit 1); exit 1; }; }
30323 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30324 echo "${ECHO_T}$MGL_ROOT" >&6; }
30327 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30328 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30331 if test "x$wxUSE_SHARED" = xyes ; then
30332 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30334 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30338 mgl_os_candidates="dos32/dj2"
30341 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30342 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30343 { (exit 1); exit 1; }; }
30349 for mgl_os_i in $mgl_os_candidates ; do
30350 if test "x$mgl_os" = x ; then
30351 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30352 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30353 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30358 if test "x$mgl_lib_type" = x ; then
30359 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30360 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30361 mgl_lib_type=release
30368 if test "x$mgl_os" = x ; then
30369 { echo "$as_me:$LINENO: result: not found" >&5
30370 echo "${ECHO_T}not found" >&6; }
30371 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30372 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30373 { (exit 1); exit 1; }; }
30375 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30376 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30378 wxUSE_UNIVERSAL="yes"
30380 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30381 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30383 AFMINSTALL=afminstall
30388 if test "$wxUSE_DFB" = 1; then
30391 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30392 if test -n "$ac_tool_prefix"; then
30393 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30394 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30397 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30400 case $PKG_CONFIG in
30402 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30406 for as_dir in $PATH
30409 test -z "$as_dir" && as_dir=.
30410 for ac_exec_ext in '' $ac_executable_extensions; do
30411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30412 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30423 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30424 if test -n "$PKG_CONFIG"; then
30425 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30426 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30428 { echo "$as_me:$LINENO: result: no" >&5
30429 echo "${ECHO_T}no" >&6; }
30434 if test -z "$ac_cv_path_PKG_CONFIG"; then
30435 ac_pt_PKG_CONFIG=$PKG_CONFIG
30436 # Extract the first word of "pkg-config", so it can be a program name with args.
30437 set dummy pkg-config; ac_word=$2
30438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30440 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30441 echo $ECHO_N "(cached) $ECHO_C" >&6
30443 case $ac_pt_PKG_CONFIG in
30445 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30449 for as_dir in $PATH
30452 test -z "$as_dir" && as_dir=.
30453 for ac_exec_ext in '' $ac_executable_extensions; do
30454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30455 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30466 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30467 if test -n "$ac_pt_PKG_CONFIG"; then
30468 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30469 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30471 { echo "$as_me:$LINENO: result: no" >&5
30472 echo "${ECHO_T}no" >&6; }
30475 if test "x$ac_pt_PKG_CONFIG" = x; then
30478 case $cross_compiling:$ac_tool_warned in
30480 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30481 whose name does not start with the host triplet. If you think this
30482 configuration is useful to you, please write to autoconf@gnu.org." >&5
30483 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30484 whose name does not start with the host triplet. If you think this
30485 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30486 ac_tool_warned=yes ;;
30488 PKG_CONFIG=$ac_pt_PKG_CONFIG
30491 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30495 if test -n "$PKG_CONFIG"; then
30496 _pkg_min_version=0.9.0
30497 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30498 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30499 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30500 { echo "$as_me:$LINENO: result: yes" >&5
30501 echo "${ECHO_T}yes" >&6; }
30503 { echo "$as_me:$LINENO: result: no" >&5
30504 echo "${ECHO_T}no" >&6; }
30512 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30513 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30515 if test -n "$PKG_CONFIG"; then
30516 if test -n "$DIRECTFB_CFLAGS"; then
30517 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30519 if test -n "$PKG_CONFIG" && \
30520 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30521 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; then
30525 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30533 if test -n "$PKG_CONFIG"; then
30534 if test -n "$DIRECTFB_LIBS"; then
30535 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30537 if test -n "$PKG_CONFIG" && \
30538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30539 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); }; then
30543 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30554 if test $pkg_failed = yes; then
30556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30557 _pkg_short_errors_supported=yes
30559 _pkg_short_errors_supported=no
30561 if test $_pkg_short_errors_supported = yes; then
30562 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30564 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30566 # Put the nasty error message in config.log where it belongs
30567 echo "$DIRECTFB_PKG_ERRORS" >&5
30570 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30571 echo "$as_me: error: DirectFB not found." >&2;}
30572 { (exit 1); exit 1; }; }
30575 elif test $pkg_failed = untried; then
30577 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30578 echo "$as_me: error: DirectFB not found." >&2;}
30579 { (exit 1); exit 1; }; }
30583 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30584 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30585 { echo "$as_me:$LINENO: result: yes" >&5
30586 echo "${ECHO_T}yes" >&6; }
30588 wxUSE_UNIVERSAL="yes"
30589 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30590 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30597 if test "$wxUSE_MICROWIN" = 1; then
30598 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30599 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30600 if test "x$MICROWINDOWS" = x ; then
30601 { echo "$as_me:$LINENO: result: not found" >&5
30602 echo "${ECHO_T}not found" >&6; }
30603 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30604 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30605 { (exit 1); exit 1; }; }
30607 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30608 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30611 if test -f $MICROWINDOWS/lib/libmwin.a; then
30612 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30613 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30615 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30616 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30617 { (exit 1); exit 1; }; }
30620 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30621 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30623 wxUSE_UNIVERSAL="yes"
30625 AFMINSTALL=afminstall
30627 GUIDIST=MICROWIN_DIST
30629 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30632 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30633 { echo "$as_me:$LINENO: checking for X" >&5
30634 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30637 # Check whether --with-x was given.
30638 if test "${with_x+set}" = set; then
30642 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30643 if test "x$with_x" = xno; then
30644 # The user explicitly disabled X.
30647 case $x_includes,$x_libraries in #(
30648 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30649 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30650 { (exit 1); exit 1; }; };; #(
30651 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30652 echo $ECHO_N "(cached) $ECHO_C" >&6
30654 # One or both of the vars are not set, and there is no cached value.
30655 ac_x_includes=no ac_x_libraries=no
30656 rm -f -r conftest.dir
30657 if mkdir conftest.dir; then
30659 cat >Imakefile <<'_ACEOF'
30661 @echo incroot='${INCROOT}'
30663 @echo usrlibdir='${USRLIBDIR}'
30665 @echo libdir='${LIBDIR}'
30667 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30668 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30669 for ac_var in incroot usrlibdir libdir; do
30670 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30672 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30673 for ac_extension in a so sl; do
30674 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30675 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30676 ac_im_usrlibdir=$ac_im_libdir; break
30679 # Screen out bogus values from the imake configuration. They are
30680 # bogus both because they are the default anyway, and because
30681 # using them would break gcc on systems where it needs fixed includes.
30682 case $ac_im_incroot in
30683 /usr/include) ac_x_includes= ;;
30684 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30686 case $ac_im_usrlibdir in
30687 /usr/lib | /lib) ;;
30688 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30692 rm -f -r conftest.dir
30695 # Standard set of common directories for X headers.
30696 # Check X11 before X11Rn because it is often a symlink to the current release.
30708 /usr
/local
/X
11/include
30709 /usr
/local
/X
11R
6/include
30710 /usr
/local
/X
11R
5/include
30711 /usr
/local
/X
11R
4/include
30713 /usr
/local
/include
/X11
30714 /usr
/local
/include
/X11R6
30715 /usr
/local
/include
/X11R5
30716 /usr
/local
/include
/X11R4
30720 /usr
/XFree
86/include
/X11
30724 /usr
/unsupported
/include
30725 /usr
/athena
/include
30726 /usr
/local
/x
11r
5/include
30727 /usr
/lpp
/Xamples
/include
30729 /usr
/openwin
/include
30730 /usr
/openwin
/share
/include
'
30732 if test "$ac_x_includes" = no; then
30733 # Guess where to find include files, by looking for Xlib.h.
30734 # First, try using that file with no special directory specified.
30735 cat >conftest.$ac_ext <<_ACEOF
30738 cat confdefs.h >>conftest.$ac_ext
30739 cat >>conftest.$ac_ext <<_ACEOF
30740 /* end confdefs.h. */
30741 #include <X11/Xlib.h>
30743 if { (ac_try="$ac_cpp conftest.$ac_ext"
30744 case "(($ac_try" in
30745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30746 *) ac_try_echo=$ac_try;;
30748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30751 grep -v '^
*+' conftest.er1 >conftest.err
30753 cat conftest.err >&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); } >/dev/null && {
30756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30757 test ! -s conftest.err
30759 # We can compile using X headers with no special include directory.
30762 echo "$as_me: failed program was:" >&5
30763 sed 's
/^
/| /' conftest.$ac_ext >&5
30765 for ac_dir in $ac_x_header_dirs; do
30766 if test -r "$ac_dir/X11/Xlib.h"; then
30767 ac_x_includes=$ac_dir
30773 rm -f conftest.err conftest.$ac_ext
30774 fi # $ac_x_includes = no
30776 if test "$ac_x_libraries" = no; then
30777 # Check for the libraries.
30778 # See if we find them without any special options.
30779 # Don't add to
$LIBS permanently.
30782 cat >conftest.
$ac_ext <<_ACEOF
30785 cat confdefs.h
>>conftest.
$ac_ext
30786 cat >>conftest.
$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788 #include <X11/Xlib.h>
30797 rm -f conftest.
$ac_objext conftest
$ac_exeext
30798 if { (ac_try
="$ac_link"
30799 case "(($ac_try" in
30800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30801 *) ac_try_echo=$ac_try;;
30803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30804 (eval "$ac_link") 2>conftest.er1
30806 grep -v '^ *+' conftest.er1 >conftest.err
30808 cat conftest.err >&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } && {
30811 test -z "$ac_c_werror_flag" ||
30812 test ! -s conftest.err
30813 } && test -s conftest$ac_exeext &&
30814 $as_test_x conftest$ac_exeext; then
30816 # We can link X programs with no special library path.
30819 echo "$as_me: failed program was:" >&5
30820 sed 's/^/| /' conftest.$ac_ext >&5
30823 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30825 # Don't even attempt the hair of trying to link an X program!
30826 for ac_extension in a so sl; do
30827 if test -r "$ac_dir/libX11.$ac_extension"; then
30828 ac_x_libraries=$ac_dir
30835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30836 conftest$ac_exeext conftest.$ac_ext
30837 fi # $ac_x_libraries = no
30839 case $ac_x_includes,$ac_x_libraries in #(
30840 no,* | *,no | *\'*)
30841 # Didn't find X, or a directory has "'" in its name.
30842 ac_cv_have_x="have_x=no";; #(
30844 # Record where we found X for the cache.
30845 ac_cv_have_x="have_x=yes\
30846 ac_x_includes='$ac_x_includes'\
30847 ac_x_libraries='$ac_x_libraries'"
30853 eval "$ac_cv_have_x"
30856 if test "$have_x" != yes; then
30857 { echo "$as_me:$LINENO: result: $have_x" >&5
30858 echo "${ECHO_T}$have_x" >&6; }
30861 # If each of the values was on the command line, it overrides each guess.
30862 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30863 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30864 # Update the cache value to reflect the command line values.
30865 ac_cv_have_x="have_x=yes\
30866 ac_x_includes='$x_includes'\
30867 ac_x_libraries='$x_libraries'"
30868 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30869 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30872 if test "$no_x" = yes; then
30873 # Not all programs may use this symbol, but it does not hurt to define it.
30875 cat >>confdefs.h <<\_ACEOF
30876 #define X_DISPLAY_MISSING 1
30879 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30881 if test -n "$x_includes"; then
30882 X_CFLAGS="$X_CFLAGS -I$x_includes"
30885 # It would also be nice to do this for all -L options, not just this one.
30886 if test -n "$x_libraries"; then
30887 X_LIBS="$X_LIBS -L$x_libraries"
30888 # For Solaris; some versions of Sun CC require a space after -R and
30889 # others require no space. Words are not sufficient . . . .
30890 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30891 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30892 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30893 ac_xsave_c_werror_flag=$ac_c_werror_flag
30894 ac_c_werror_flag=yes
30895 cat >conftest.$ac_ext <<_ACEOF
30898 cat confdefs.h >>conftest.$ac_ext
30899 cat >>conftest.$ac_ext <<_ACEOF
30900 /* end confdefs.h. */
30910 rm -f conftest.$ac_objext conftest$ac_exeext
30911 if { (ac_try="$ac_link"
30912 case "(($ac_try" in
30913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30914 *) ac_try_echo
=$ac_try;;
30916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30917 (eval "$ac_link") 2>conftest.er1
30919 grep -v '^ *+' conftest.er1
>conftest.err
30921 cat conftest.err
>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } && {
30924 test -z "$ac_c_werror_flag" ||
30925 test ! -s conftest.err
30926 } && test -s conftest
$ac_exeext &&
30927 $as_test_x conftest
$ac_exeext; then
30928 { echo "$as_me:$LINENO: result: no" >&5
30929 echo "${ECHO_T}no" >&6; }
30930 X_LIBS
="$X_LIBS -R$x_libraries"
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.
$ac_ext >&5
30935 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30936 cat >conftest.
$ac_ext <<_ACEOF
30939 cat confdefs.h
>>conftest.
$ac_ext
30940 cat >>conftest.
$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30951 rm -f conftest.
$ac_objext conftest
$ac_exeext
30952 if { (ac_try
="$ac_link"
30953 case "(($ac_try" in
30954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30955 *) ac_try_echo=$ac_try;;
30957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30958 (eval "$ac_link") 2>conftest.er1
30960 grep -v '^ *+' conftest.er1 >conftest.err
30962 cat conftest.err >&5
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); } && {
30965 test -z "$ac_c_werror_flag" ||
30966 test ! -s conftest.err
30967 } && test -s conftest$ac_exeext &&
30968 $as_test_x conftest$ac_exeext; then
30969 { echo "$as_me:$LINENO: result: yes" >&5
30970 echo "${ECHO_T}yes" >&6; }
30971 X_LIBS="$X_LIBS -R $x_libraries"
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.$ac_ext >&5
30976 { echo "$as_me:$LINENO: result: neither works" >&5
30977 echo "${ECHO_T}neither works" >&6; }
30980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30981 conftest$ac_exeext conftest.$ac_ext
30984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30985 conftest$ac_exeext conftest.$ac_ext
30986 ac_c_werror_flag=$ac_xsave_c_werror_flag
30987 LIBS=$ac_xsave_LIBS
30990 # Check for system-dependent libraries X programs must link with.
30991 # Do this before checking for the system-independent R6 libraries
30992 # (-lICE), since we may need -lsocket or whatever for X linking.
30994 if test "$ISC" = yes; then
30995 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30997 # Martyn Johnson says this is needed for Ultrix, if the X
30998 # libraries were built with DECnet support. And Karl Berry says
30999 # the Alpha needs dnet_stub (dnet does not exist).
31000 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31001 cat >conftest.$ac_ext <<_ACEOF
31004 cat confdefs.h >>conftest.$ac_ext
31005 cat >>conftest.$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31008 /* Override any GCC internal prototype to avoid an error.
31009 Use char because int might match the return type of a GCC
31010 builtin and then its argument prototype would still apply. */
31014 char XOpenDisplay ();
31018 return XOpenDisplay ();
31023 rm -f conftest.$ac_objext conftest$ac_exeext
31024 if { (ac_try="$ac_link"
31025 case "(($ac_try" in
31026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31027 *) ac_try_echo
=$ac_try;;
31029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31030 (eval "$ac_link") 2>conftest.er1
31032 grep -v '^ *+' conftest.er1
>conftest.err
31034 cat conftest.err
>&5
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); } && {
31037 test -z "$ac_c_werror_flag" ||
31038 test ! -s conftest.err
31039 } && test -s conftest
$ac_exeext &&
31040 $as_test_x conftest
$ac_exeext; then
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.
$ac_ext >&5
31046 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31047 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31048 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31049 echo $ECHO_N "(cached) $ECHO_C" >&6
31051 ac_check_lib_save_LIBS
=$LIBS
31052 LIBS
="-ldnet $LIBS"
31053 cat >conftest.
$ac_ext <<_ACEOF
31056 cat confdefs.h
>>conftest.
$ac_ext
31057 cat >>conftest.
$ac_ext <<_ACEOF
31058 /* end confdefs.h. */
31060 /* Override any GCC internal prototype to avoid an error.
31061 Use char because int might match the return type of a GCC
31062 builtin and then its argument prototype would still apply. */
31070 return dnet_ntoa ();
31075 rm -f conftest.
$ac_objext conftest
$ac_exeext
31076 if { (ac_try
="$ac_link"
31077 case "(($ac_try" in
31078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31079 *) ac_try_echo=$ac_try;;
31081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31082 (eval "$ac_link") 2>conftest.er1
31084 grep -v '^ *+' conftest.er1 >conftest.err
31086 cat conftest.err >&5
31087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088 (exit $ac_status); } && {
31089 test -z "$ac_c_werror_flag" ||
31090 test ! -s conftest.err
31091 } && test -s conftest$ac_exeext &&
31092 $as_test_x conftest$ac_exeext; then
31093 ac_cv_lib_dnet_dnet_ntoa=yes
31095 echo "$as_me: failed program was:" >&5
31096 sed 's/^/| /' conftest.$ac_ext >&5
31098 ac_cv_lib_dnet_dnet_ntoa=no
31101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31102 conftest$ac_exeext conftest.$ac_ext
31103 LIBS=$ac_check_lib_save_LIBS
31105 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31106 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31107 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31108 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31111 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31112 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31113 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31114 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31117 ac_check_lib_save_LIBS=$LIBS
31118 LIBS="-ldnet_stub $LIBS"
31119 cat >conftest.$ac_ext <<_ACEOF
31122 cat confdefs.h >>conftest.$ac_ext
31123 cat >>conftest.$ac_ext <<_ACEOF
31124 /* end confdefs.h. */
31126 /* Override any GCC internal prototype to avoid an error.
31127 Use char because int might match the return type of a GCC
31128 builtin and then its argument prototype would still apply. */
31136 return dnet_ntoa ();
31141 rm -f conftest.$ac_objext conftest$ac_exeext
31142 if { (ac_try="$ac_link"
31143 case "(($ac_try" in
31144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31145 *) ac_try_echo
=$ac_try;;
31147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31148 (eval "$ac_link") 2>conftest.er1
31150 grep -v '^ *+' conftest.er1
>conftest.err
31152 cat conftest.err
>&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); } && {
31155 test -z "$ac_c_werror_flag" ||
31156 test ! -s conftest.err
31157 } && test -s conftest
$ac_exeext &&
31158 $as_test_x conftest
$ac_exeext; then
31159 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31161 echo "$as_me: failed program was:" >&5
31162 sed 's/^/| /' conftest.
$ac_ext >&5
31164 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31168 conftest
$ac_exeext conftest.
$ac_ext
31169 LIBS
=$ac_check_lib_save_LIBS
31171 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31172 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31173 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31174 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31180 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31181 conftest
$ac_exeext conftest.
$ac_ext
31182 LIBS
="$ac_xsave_LIBS"
31184 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31185 # to get the SysV transport functions.
31186 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31188 # The nsl library prevents programs from opening the X display
31189 # on Irix 5.2, according to T.E. Dickey.
31190 # The functions gethostbyname, getservbyname, and inet_addr are
31191 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31192 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31193 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31194 if test "${ac_cv_func_gethostbyname+set}" = set; then
31195 echo $ECHO_N "(cached) $ECHO_C" >&6
31197 cat >conftest.
$ac_ext <<_ACEOF
31200 cat confdefs.h
>>conftest.
$ac_ext
31201 cat >>conftest.
$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31205 #define gethostbyname innocuous_gethostbyname
31207 /* System header to define __stub macros and hopefully few prototypes,
31208 which can conflict with char gethostbyname (); below.
31209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31210 <limits.h> exists even on freestanding compilers. */
31213 # include <limits.h>
31215 # include <assert.h>
31218 #undef gethostbyname
31220 /* Override any GCC internal prototype to avoid an error.
31221 Use char because int might match the return type of a GCC
31222 builtin and then its argument prototype would still apply. */
31226 char gethostbyname ();
31227 /* The GNU C library defines this for functions which it implements
31228 to always fail with ENOSYS. Some functions are actually named
31229 something starting with __ and the normal name is an alias. */
31230 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31237 return gethostbyname ();
31242 rm -f conftest.
$ac_objext conftest
$ac_exeext
31243 if { (ac_try
="$ac_link"
31244 case "(($ac_try" in
31245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31246 *) ac_try_echo=$ac_try;;
31248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31249 (eval "$ac_link") 2>conftest.er1
31251 grep -v '^ *+' conftest.er1 >conftest.err
31253 cat conftest.err >&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } && {
31256 test -z "$ac_c_werror_flag" ||
31257 test ! -s conftest.err
31258 } && test -s conftest$ac_exeext &&
31259 $as_test_x conftest$ac_exeext; then
31260 ac_cv_func_gethostbyname=yes
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31265 ac_cv_func_gethostbyname=no
31268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31269 conftest$ac_exeext conftest.$ac_ext
31271 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31272 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31274 if test $ac_cv_func_gethostbyname = no; then
31275 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31276 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31277 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31278 echo $ECHO_N "(cached) $ECHO_C" >&6
31280 ac_check_lib_save_LIBS=$LIBS
31282 cat >conftest.$ac_ext <<_ACEOF
31285 cat confdefs.h >>conftest.$ac_ext
31286 cat >>conftest.$ac_ext <<_ACEOF
31287 /* end confdefs.h. */
31289 /* Override any GCC internal prototype to avoid an error.
31290 Use char because int might match the return type of a GCC
31291 builtin and then its argument prototype would still apply. */
31295 char gethostbyname ();
31299 return gethostbyname ();
31304 rm -f conftest.$ac_objext conftest$ac_exeext
31305 if { (ac_try="$ac_link"
31306 case "(($ac_try" in
31307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31308 *) ac_try_echo
=$ac_try;;
31310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31311 (eval "$ac_link") 2>conftest.er1
31313 grep -v '^ *+' conftest.er1
>conftest.err
31315 cat conftest.err
>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); } && {
31318 test -z "$ac_c_werror_flag" ||
31319 test ! -s conftest.err
31320 } && test -s conftest
$ac_exeext &&
31321 $as_test_x conftest
$ac_exeext; then
31322 ac_cv_lib_nsl_gethostbyname
=yes
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.
$ac_ext >&5
31327 ac_cv_lib_nsl_gethostbyname
=no
31330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31331 conftest
$ac_exeext conftest.
$ac_ext
31332 LIBS
=$ac_check_lib_save_LIBS
31334 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31335 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31336 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31337 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31340 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31341 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31342 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31343 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31344 echo $ECHO_N "(cached) $ECHO_C" >&6
31346 ac_check_lib_save_LIBS
=$LIBS
31348 cat >conftest.
$ac_ext <<_ACEOF
31351 cat confdefs.h
>>conftest.
$ac_ext
31352 cat >>conftest.
$ac_ext <<_ACEOF
31353 /* end confdefs.h. */
31355 /* Override any GCC internal prototype to avoid an error.
31356 Use char because int might match the return type of a GCC
31357 builtin and then its argument prototype would still apply. */
31361 char gethostbyname ();
31365 return gethostbyname ();
31370 rm -f conftest.
$ac_objext conftest
$ac_exeext
31371 if { (ac_try
="$ac_link"
31372 case "(($ac_try" in
31373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31374 *) ac_try_echo=$ac_try;;
31376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31377 (eval "$ac_link") 2>conftest.er1
31379 grep -v '^ *+' conftest.er1 >conftest.err
31381 cat conftest.err >&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); } && {
31384 test -z "$ac_c_werror_flag" ||
31385 test ! -s conftest.err
31386 } && test -s conftest$ac_exeext &&
31387 $as_test_x conftest$ac_exeext; then
31388 ac_cv_lib_bsd_gethostbyname=yes
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.$ac_ext >&5
31393 ac_cv_lib_bsd_gethostbyname=no
31396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31397 conftest$ac_exeext conftest.$ac_ext
31398 LIBS=$ac_check_lib_save_LIBS
31400 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31401 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31402 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31409 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31410 # socket/setsockopt and other routines are undefined under SCO ODT
31411 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31412 # on later versions), says Simon Leinen: it contains gethostby*
31413 # variants that don't use the name server (or something). -lsocket
31414 # must be given before -lnsl if both are needed. We assume that
31415 # if connect needs -lnsl, so does gethostbyname.
31416 { echo "$as_me:$LINENO: checking for connect" >&5
31417 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31418 if test "${ac_cv_func_connect+set}" = set; then
31419 echo $ECHO_N "(cached) $ECHO_C" >&6
31421 cat >conftest.$ac_ext <<_ACEOF
31424 cat confdefs.h >>conftest.$ac_ext
31425 cat >>conftest.$ac_ext <<_ACEOF
31426 /* end confdefs.h. */
31427 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31429 #define connect innocuous_connect
31431 /* System header to define __stub macros and hopefully few prototypes,
31432 which can conflict with char connect (); below.
31433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31434 <limits.h> exists even on freestanding compilers. */
31437 # include <limits.h>
31439 # include <assert.h>
31444 /* Override any GCC internal prototype to avoid an error.
31445 Use char because int might match the return type of a GCC
31446 builtin and then its argument prototype would still apply. */
31451 /* The GNU C library defines this for functions which it implements
31452 to always fail with ENOSYS. Some functions are actually named
31453 something starting with __ and the normal name is an alias. */
31454 #if defined __stub_connect || defined __stub___connect
31466 rm -f conftest.$ac_objext conftest$ac_exeext
31467 if { (ac_try="$ac_link"
31468 case "(($ac_try" in
31469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31470 *) ac_try_echo
=$ac_try;;
31472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31473 (eval "$ac_link") 2>conftest.er1
31475 grep -v '^ *+' conftest.er1
>conftest.err
31477 cat conftest.err
>&5
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); } && {
31480 test -z "$ac_c_werror_flag" ||
31481 test ! -s conftest.err
31482 } && test -s conftest
$ac_exeext &&
31483 $as_test_x conftest
$ac_exeext; then
31484 ac_cv_func_connect
=yes
31486 echo "$as_me: failed program was:" >&5
31487 sed 's/^/| /' conftest.
$ac_ext >&5
31489 ac_cv_func_connect
=no
31492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31493 conftest
$ac_exeext conftest.
$ac_ext
31495 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31496 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31498 if test $ac_cv_func_connect = no
; then
31499 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31500 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31501 if test "${ac_cv_lib_socket_connect+set}" = set; then
31502 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 ac_check_lib_save_LIBS
=$LIBS
31505 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31506 cat >conftest.
$ac_ext <<_ACEOF
31509 cat confdefs.h
>>conftest.
$ac_ext
31510 cat >>conftest.
$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31513 /* Override any GCC internal prototype to avoid an error.
31514 Use char because int might match the return type of a GCC
31515 builtin and then its argument prototype would still apply. */
31528 rm -f conftest.
$ac_objext conftest
$ac_exeext
31529 if { (ac_try
="$ac_link"
31530 case "(($ac_try" in
31531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31532 *) ac_try_echo=$ac_try;;
31534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31535 (eval "$ac_link") 2>conftest.er1
31537 grep -v '^ *+' conftest.er1 >conftest.err
31539 cat conftest.err >&5
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); } && {
31542 test -z "$ac_c_werror_flag" ||
31543 test ! -s conftest.err
31544 } && test -s conftest$ac_exeext &&
31545 $as_test_x conftest$ac_exeext; then
31546 ac_cv_lib_socket_connect=yes
31548 echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.$ac_ext >&5
31551 ac_cv_lib_socket_connect=no
31554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31555 conftest$ac_exeext conftest.$ac_ext
31556 LIBS=$ac_check_lib_save_LIBS
31558 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31559 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31560 if test $ac_cv_lib_socket_connect = yes; then
31561 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31566 # Guillermo Gomez says -lposix is necessary on A/UX.
31567 { echo "$as_me:$LINENO: checking for remove" >&5
31568 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31569 if test "${ac_cv_func_remove+set}" = set; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31572 cat >conftest.$ac_ext <<_ACEOF
31575 cat confdefs.h >>conftest.$ac_ext
31576 cat >>conftest.$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31580 #define remove innocuous_remove
31582 /* System header to define __stub macros and hopefully few prototypes,
31583 which can conflict with char remove (); below.
31584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31585 <limits.h> exists even on freestanding compilers. */
31588 # include <limits.h>
31590 # include <assert.h>
31595 /* Override any GCC internal prototype to avoid an error.
31596 Use char because int might match the return type of a GCC
31597 builtin and then its argument prototype would still apply. */
31602 /* The GNU C library defines this for functions which it implements
31603 to always fail with ENOSYS. Some functions are actually named
31604 something starting with __ and the normal name is an alias. */
31605 #if defined __stub_remove || defined __stub___remove
31617 rm -f conftest.$ac_objext conftest$ac_exeext
31618 if { (ac_try="$ac_link"
31619 case "(($ac_try" in
31620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31621 *) ac_try_echo
=$ac_try;;
31623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31624 (eval "$ac_link") 2>conftest.er1
31626 grep -v '^ *+' conftest.er1
>conftest.err
31628 cat conftest.err
>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } && {
31631 test -z "$ac_c_werror_flag" ||
31632 test ! -s conftest.err
31633 } && test -s conftest
$ac_exeext &&
31634 $as_test_x conftest
$ac_exeext; then
31635 ac_cv_func_remove
=yes
31637 echo "$as_me: failed program was:" >&5
31638 sed 's/^/| /' conftest.
$ac_ext >&5
31640 ac_cv_func_remove
=no
31643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31644 conftest
$ac_exeext conftest.
$ac_ext
31646 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31647 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31649 if test $ac_cv_func_remove = no
; then
31650 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31651 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31652 if test "${ac_cv_lib_posix_remove+set}" = set; then
31653 echo $ECHO_N "(cached) $ECHO_C" >&6
31655 ac_check_lib_save_LIBS
=$LIBS
31656 LIBS
="-lposix $LIBS"
31657 cat >conftest.
$ac_ext <<_ACEOF
31660 cat confdefs.h
>>conftest.
$ac_ext
31661 cat >>conftest.
$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31664 /* Override any GCC internal prototype to avoid an error.
31665 Use char because int might match the return type of a GCC
31666 builtin and then its argument prototype would still apply. */
31679 rm -f conftest.
$ac_objext conftest
$ac_exeext
31680 if { (ac_try
="$ac_link"
31681 case "(($ac_try" in
31682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31683 *) ac_try_echo=$ac_try;;
31685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31686 (eval "$ac_link") 2>conftest.er1
31688 grep -v '^ *+' conftest.er1 >conftest.err
31690 cat conftest.err >&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } && {
31693 test -z "$ac_c_werror_flag" ||
31694 test ! -s conftest.err
31695 } && test -s conftest$ac_exeext &&
31696 $as_test_x conftest$ac_exeext; then
31697 ac_cv_lib_posix_remove=yes
31699 echo "$as_me: failed program was:" >&5
31700 sed 's/^/| /' conftest.$ac_ext >&5
31702 ac_cv_lib_posix_remove=no
31705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31706 conftest$ac_exeext conftest.$ac_ext
31707 LIBS=$ac_check_lib_save_LIBS
31709 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31710 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31711 if test $ac_cv_lib_posix_remove = yes; then
31712 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31717 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31718 { echo "$as_me:$LINENO: checking for shmat" >&5
31719 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31720 if test "${ac_cv_func_shmat+set}" = set; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 cat >conftest.$ac_ext <<_ACEOF
31726 cat confdefs.h >>conftest.$ac_ext
31727 cat >>conftest.$ac_ext <<_ACEOF
31728 /* end confdefs.h. */
31729 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31731 #define shmat innocuous_shmat
31733 /* System header to define __stub macros and hopefully few prototypes,
31734 which can conflict with char shmat (); below.
31735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31736 <limits.h> exists even on freestanding compilers. */
31739 # include <limits.h>
31741 # include <assert.h>
31746 /* Override any GCC internal prototype to avoid an error.
31747 Use char because int might match the return type of a GCC
31748 builtin and then its argument prototype would still apply. */
31753 /* The GNU C library defines this for functions which it implements
31754 to always fail with ENOSYS. Some functions are actually named
31755 something starting with __ and the normal name is an alias. */
31756 #if defined __stub_shmat || defined __stub___shmat
31768 rm -f conftest.$ac_objext conftest$ac_exeext
31769 if { (ac_try="$ac_link"
31770 case "(($ac_try" in
31771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31772 *) ac_try_echo
=$ac_try;;
31774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31775 (eval "$ac_link") 2>conftest.er1
31777 grep -v '^ *+' conftest.er1
>conftest.err
31779 cat conftest.err
>&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); } && {
31782 test -z "$ac_c_werror_flag" ||
31783 test ! -s conftest.err
31784 } && test -s conftest
$ac_exeext &&
31785 $as_test_x conftest
$ac_exeext; then
31786 ac_cv_func_shmat
=yes
31788 echo "$as_me: failed program was:" >&5
31789 sed 's/^/| /' conftest.
$ac_ext >&5
31791 ac_cv_func_shmat
=no
31794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31795 conftest
$ac_exeext conftest.
$ac_ext
31797 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31798 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31800 if test $ac_cv_func_shmat = no
; then
31801 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31802 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31803 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 ac_check_lib_save_LIBS
=$LIBS
31808 cat >conftest.
$ac_ext <<_ACEOF
31811 cat confdefs.h
>>conftest.
$ac_ext
31812 cat >>conftest.
$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31815 /* Override any GCC internal prototype to avoid an error.
31816 Use char because int might match the return type of a GCC
31817 builtin and then its argument prototype would still apply. */
31830 rm -f conftest.
$ac_objext conftest
$ac_exeext
31831 if { (ac_try
="$ac_link"
31832 case "(($ac_try" in
31833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31834 *) ac_try_echo=$ac_try;;
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_link") 2>conftest.er1
31839 grep -v '^ *+' conftest.er1 >conftest.err
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest$ac_exeext &&
31847 $as_test_x conftest$ac_exeext; then
31848 ac_cv_lib_ipc_shmat=yes
31850 echo "$as_me: failed program was:" >&5
31851 sed 's/^/| /' conftest.$ac_ext >&5
31853 ac_cv_lib_ipc_shmat=no
31856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31857 conftest$ac_exeext conftest.$ac_ext
31858 LIBS=$ac_check_lib_save_LIBS
31860 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31861 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31862 if test $ac_cv_lib_ipc_shmat = yes; then
31863 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31869 # Check for libraries that X11R6 Xt/Xaw programs need.
31870 ac_save_LDFLAGS=$LDFLAGS
31871 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31872 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31873 # check for ICE first), but we must link in the order -lSM -lICE or
31874 # we get undefined symbols. So assume we have SM if we have ICE.
31875 # These have to be linked with before -lX11, unlike the other
31876 # libraries we check for below, so use a different variable.
31877 # John Interrante, Karl Berry
31878 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31879 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31880 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31881 echo $ECHO_N "(cached) $ECHO_C" >&6
31883 ac_check_lib_save_LIBS=$LIBS
31884 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31885 cat >conftest.$ac_ext <<_ACEOF
31888 cat confdefs.h >>conftest.$ac_ext
31889 cat >>conftest.$ac_ext <<_ACEOF
31890 /* end confdefs.h. */
31892 /* Override any GCC internal prototype to avoid an error.
31893 Use char because int might match the return type of a GCC
31894 builtin and then its argument prototype would still apply. */
31898 char IceConnectionNumber ();
31902 return IceConnectionNumber ();
31907 rm -f conftest.$ac_objext conftest$ac_exeext
31908 if { (ac_try="$ac_link"
31909 case "(($ac_try" in
31910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31911 *) ac_try_echo
=$ac_try;;
31913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31914 (eval "$ac_link") 2>conftest.er1
31916 grep -v '^ *+' conftest.er1
>conftest.err
31918 cat conftest.err
>&5
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); } && {
31921 test -z "$ac_c_werror_flag" ||
31922 test ! -s conftest.err
31923 } && test -s conftest
$ac_exeext &&
31924 $as_test_x conftest
$ac_exeext; then
31925 ac_cv_lib_ICE_IceConnectionNumber
=yes
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.
$ac_ext >&5
31930 ac_cv_lib_ICE_IceConnectionNumber
=no
31933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31934 conftest
$ac_exeext conftest.
$ac_ext
31935 LIBS
=$ac_check_lib_save_LIBS
31937 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31938 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31939 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31940 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31943 LDFLAGS
=$ac_save_LDFLAGS
31948 if test "$no_x" = "yes"; then
31949 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31950 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31951 { (exit 1); exit 1; }; }
31954 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31955 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31956 AFMINSTALL
=afminstall
31957 COMPILED_X_PROGRAM
=0
31961 if test "$wxUSE_X11" = 1; then
31962 if test "$wxUSE_NANOX" = "yes"; then
31963 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31964 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31965 if test "x$MICROWIN" = x
; then
31966 { echo "$as_me:$LINENO: result: not found" >&5
31967 echo "${ECHO_T}not found" >&6; }
31968 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31969 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31970 { (exit 1); exit 1; }; }
31972 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31973 echo "${ECHO_T}$MICROWIN" >&6; }
31974 cat >>confdefs.h
<<\_ACEOF
31975 #define wxUSE_NANOX 1
31981 if test "$wxUSE_UNICODE" = "yes"; then
31984 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31985 if test -n "$ac_tool_prefix"; then
31986 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31987 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31990 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31991 echo $ECHO_N "(cached) $ECHO_C" >&6
31993 case $PKG_CONFIG in
31995 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31999 for as_dir
in $PATH
32002 test -z "$as_dir" && as_dir
=.
32003 for ac_exec_ext
in '' $ac_executable_extensions; do
32004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32005 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32016 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32017 if test -n "$PKG_CONFIG"; then
32018 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32019 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32021 { echo "$as_me:$LINENO: result: no" >&5
32022 echo "${ECHO_T}no" >&6; }
32027 if test -z "$ac_cv_path_PKG_CONFIG"; then
32028 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32029 # Extract the first word of "pkg-config", so it can be a program name with args.
32030 set dummy pkg
-config; ac_word
=$2
32031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32033 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32034 echo $ECHO_N "(cached) $ECHO_C" >&6
32036 case $ac_pt_PKG_CONFIG in
32038 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32042 for as_dir
in $PATH
32045 test -z "$as_dir" && as_dir
=.
32046 for ac_exec_ext
in '' $ac_executable_extensions; do
32047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32048 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32059 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32060 if test -n "$ac_pt_PKG_CONFIG"; then
32061 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32062 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32064 { echo "$as_me:$LINENO: result: no" >&5
32065 echo "${ECHO_T}no" >&6; }
32068 if test "x$ac_pt_PKG_CONFIG" = x
; then
32071 case $cross_compiling:$ac_tool_warned in
32073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32074 whose name does not start with the host triplet. If you think this
32075 configuration is useful to you, please write to autoconf@gnu.org." >&5
32076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32077 whose name does not start with the host triplet. If you think this
32078 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32079 ac_tool_warned
=yes ;;
32081 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32084 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32088 if test -n "$PKG_CONFIG"; then
32089 _pkg_min_version
=0.9.0
32090 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32091 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32092 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32093 { echo "$as_me:$LINENO: result: yes" >&5
32094 echo "${ECHO_T}yes" >&6; }
32096 { echo "$as_me:$LINENO: result: no" >&5
32097 echo "${ECHO_T}no" >&6; }
32105 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32106 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32108 if test -n "$PKG_CONFIG"; then
32109 if test -n "$PANGOX_CFLAGS"; then
32110 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32112 if test -n "$PKG_CONFIG" && \
32113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32114 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; then
32118 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32126 if test -n "$PKG_CONFIG"; then
32127 if test -n "$PANGOX_LIBS"; then
32128 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32130 if test -n "$PKG_CONFIG" && \
32131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32132 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); }; then
32136 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32147 if test $pkg_failed = yes; then
32149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32150 _pkg_short_errors_supported
=yes
32152 _pkg_short_errors_supported
=no
32154 if test $_pkg_short_errors_supported = yes; then
32155 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32157 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32159 # Put the nasty error message in config.log where it belongs
32160 echo "$PANGOX_PKG_ERRORS" >&5
32163 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32164 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32165 { (exit 1); exit 1; }; }
32168 elif test $pkg_failed = untried
; then
32170 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32171 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32172 { (exit 1); exit 1; }; }
32176 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32177 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32178 { echo "$as_me:$LINENO: result: yes" >&5
32179 echo "${ECHO_T}yes" >&6; }
32181 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32182 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32183 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32188 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32189 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32191 if test -n "$PKG_CONFIG"; then
32192 if test -n "$PANGOFT2_CFLAGS"; then
32193 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32195 if test -n "$PKG_CONFIG" && \
32196 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32197 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; then
32201 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32209 if test -n "$PKG_CONFIG"; then
32210 if test -n "$PANGOFT2_LIBS"; then
32211 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32213 if test -n "$PKG_CONFIG" && \
32214 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32215 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; then
32219 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32230 if test $pkg_failed = yes; then
32232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32233 _pkg_short_errors_supported
=yes
32235 _pkg_short_errors_supported
=no
32237 if test $_pkg_short_errors_supported = yes; then
32238 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32240 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32242 # Put the nasty error message in config.log where it belongs
32243 echo "$PANGOFT2_PKG_ERRORS" >&5
32246 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32247 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32248 wxUSE_PRINTING_ARCHITECTURE
="no"
32251 elif test $pkg_failed = untried
; then
32253 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32254 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32255 wxUSE_PRINTING_ARCHITECTURE
="no"
32259 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32260 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32261 { echo "$as_me:$LINENO: result: yes" >&5
32262 echo "${ECHO_T}yes" >&6; }
32264 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32265 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32266 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32271 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32272 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32274 if test -n "$PKG_CONFIG"; then
32275 if test -n "$PANGOXFT_CFLAGS"; then
32276 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32278 if test -n "$PKG_CONFIG" && \
32279 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32280 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); }; then
32284 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32292 if test -n "$PKG_CONFIG"; then
32293 if test -n "$PANGOXFT_LIBS"; then
32294 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32296 if test -n "$PKG_CONFIG" && \
32297 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32298 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); }; then
32302 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32313 if test $pkg_failed = yes; then
32315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32316 _pkg_short_errors_supported
=yes
32318 _pkg_short_errors_supported
=no
32320 if test $_pkg_short_errors_supported = yes; then
32321 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32323 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32325 # Put the nasty error message in config.log where it belongs
32326 echo "$PANGOXFT_PKG_ERRORS" >&5
32329 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32330 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32333 elif test $pkg_failed = untried
; then
32335 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32336 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32340 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32341 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32342 { echo "$as_me:$LINENO: result: yes" >&5
32343 echo "${ECHO_T}yes" >&6; }
32345 cat >>confdefs.h
<<\_ACEOF
32346 #define HAVE_PANGO_XFT 1
32349 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32350 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32351 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32355 LIBS
="$LIBS $PANGOX_LIBS"
32357 for ac_func
in pango_font_family_is_monospace
32359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32362 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 cat >conftest.
$ac_ext <<_ACEOF
32368 cat confdefs.h
>>conftest.
$ac_ext
32369 cat >>conftest.
$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32373 #define $ac_func innocuous_$ac_func
32375 /* System header to define __stub macros and hopefully few prototypes,
32376 which can conflict with char $ac_func (); below.
32377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378 <limits.h> exists even on freestanding compilers. */
32381 # include <limits.h>
32383 # include <assert.h>
32388 /* Override any GCC internal prototype to avoid an error.
32389 Use char because int might match the return type of a GCC
32390 builtin and then its argument prototype would still apply. */
32395 /* The GNU C library defines this for functions which it implements
32396 to always fail with ENOSYS. Some functions are actually named
32397 something starting with __ and the normal name is an alias. */
32398 #if defined __stub_$ac_func || defined __stub___$ac_func
32405 return $ac_func ();
32410 rm -f conftest.
$ac_objext conftest
$ac_exeext
32411 if { (ac_try
="$ac_link"
32412 case "(($ac_try" in
32413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32414 *) ac_try_echo=$ac_try;;
32416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32417 (eval "$ac_link") 2>conftest.er1
32419 grep -v '^ *+' conftest.er1 >conftest.err
32421 cat conftest.err >&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); } && {
32424 test -z "$ac_c_werror_flag" ||
32425 test ! -s conftest.err
32426 } && test -s conftest$ac_exeext &&
32427 $as_test_x conftest$ac_exeext; then
32428 eval "$as_ac_var=yes"
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.$ac_ext >&5
32433 eval "$as_ac_var=no"
32436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32437 conftest$ac_exeext conftest.$ac_ext
32439 ac_res=`eval echo '${'$as_ac_var'}'`
32440 { echo "$as_me:$LINENO: result: $ac_res" >&5
32441 echo "${ECHO_T}$ac_res" >&6; }
32442 if test `eval echo '${'$as_ac_var'}'` = yes; then
32443 cat >>confdefs.h <<_ACEOF
32444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32453 wxUSE_UNIVERSAL="yes"
32455 if test "$wxUSE_NANOX" = "yes"; then
32456 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32457 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"
32458 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32460 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32467 if test "$wxUSE_MOTIF" = 1; then
32468 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32469 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32472 for ac_dir in $SEARCH_INCLUDE /usr/include;
32474 if test -f "$ac_dir/Xm/Xm.h"; then
32475 ac_find_includes=$ac_dir
32480 if test "$ac_find_includes" != "" ; then
32481 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32482 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32484 if test "x$ac_find_includes" = "x/usr/include"; then
32485 ac_path_to_include=""
32487 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32489 if test $result = 0; then
32490 ac_path_to_include=""
32492 ac_path_to_include=" -I$ac_find_includes"
32496 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32498 save_CFLAGS=$CFLAGS
32499 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32501 cat >conftest.$ac_ext <<_ACEOF
32504 cat confdefs.h >>conftest.$ac_ext
32505 cat >>conftest.$ac_ext <<_ACEOF
32506 /* end confdefs.h. */
32515 version = xmUseVersion;
32521 rm -f conftest.$ac_objext
32522 if { (ac_try="$ac_compile"
32523 case "(($ac_try" in
32524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32525 *) ac_try_echo
=$ac_try;;
32527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32528 (eval "$ac_compile") 2>conftest.er1
32530 grep -v '^ *+' conftest.er1
>conftest.err
32532 cat conftest.err
>&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } && {
32535 test -z "$ac_c_werror_flag" ||
32536 test ! -s conftest.err
32537 } && test -s conftest.
$ac_objext; then
32539 { echo "$as_me:$LINENO: result: found in default search path" >&5
32540 echo "${ECHO_T}found in default search path" >&6; }
32541 COMPILED_X_PROGRAM
=1
32544 echo "$as_me: failed program was:" >&5
32545 sed 's/^/| /' conftest.
$ac_ext >&5
32548 { echo "$as_me:$LINENO: result: no" >&5
32549 echo "${ECHO_T}no" >&6; }
32550 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32551 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32552 { (exit 1); exit 1; }; }
32557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32559 CFLAGS
=$save_CFLAGS
32563 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32564 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32567 for ac_dir
in $SEARCH_LIB;
32569 for ac_extension
in a so sl dylib dll.a
; do
32570 if test -f "$ac_dir/libXm.$ac_extension"; then
32571 ac_find_libraries
=$ac_dir
32578 if test "x$ac_find_libraries" != "x" ; then
32579 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32580 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32583 if test "$ac_find_libraries" = "default location"; then
32586 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32588 if test $result = 0; then
32591 ac_path_to_link
=" -L$ac_find_libraries"
32595 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32597 save_CFLAGS
=$CFLAGS
32598 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32600 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32602 cat >conftest.
$ac_ext <<_ACEOF
32605 cat confdefs.h
>>conftest.
$ac_ext
32606 cat >>conftest.
$ac_ext <<_ACEOF
32607 /* end confdefs.h. */
32616 version = xmUseVersion;
32622 rm -f conftest.
$ac_objext conftest
$ac_exeext
32623 if { (ac_try
="$ac_link"
32624 case "(($ac_try" in
32625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32626 *) ac_try_echo=$ac_try;;
32628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32629 (eval "$ac_link") 2>conftest.er1
32631 grep -v '^ *+' conftest.er1 >conftest.err
32633 cat conftest.err >&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } && {
32636 test -z "$ac_c_werror_flag" ||
32637 test ! -s conftest.err
32638 } && test -s conftest$ac_exeext &&
32639 $as_test_x conftest$ac_exeext; then
32641 { echo "$as_me:$LINENO: result: found in default search path" >&5
32642 echo "${ECHO_T}found in default search path" >&6; }
32643 COMPILED_X_PROGRAM=1
32646 echo "$as_me: failed program was:" >&5
32647 sed 's/^/| /' conftest.$ac_ext >&5
32650 { echo "$as_me:$LINENO: result: no" >&5
32651 echo "${ECHO_T}no" >&6; }
32652 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32653 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32654 { (exit 1); exit 1; }; }
32659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32660 conftest$ac_exeext conftest.$ac_ext
32662 CFLAGS=$save_CFLAGS
32666 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32667 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32671 for libp in "" " -lXp"; do
32672 if test "$libs_found" = 0; then
32673 for libsm_ice in "" " -lSM -lICE"; do
32674 if test "$libs_found" = 0; then
32676 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32677 save_CFLAGS=$CFLAGS
32678 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32680 cat >conftest.$ac_ext <<_ACEOF
32683 cat confdefs.h >>conftest.$ac_ext
32684 cat >>conftest.$ac_ext <<_ACEOF
32685 /* end confdefs.h. */
32688 #include <Xm/List.h>
32694 XmString string = NULL;
32697 XmListAddItem(w, string, position);
32703 rm -f conftest.$ac_objext conftest$ac_exeext
32704 if { (ac_try="$ac_link"
32705 case "(($ac_try" in
32706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32707 *) ac_try_echo
=$ac_try;;
32709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32710 (eval "$ac_link") 2>conftest.er1
32712 grep -v '^ *+' conftest.er1
>conftest.err
32714 cat conftest.err
>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } && {
32717 test -z "$ac_c_werror_flag" ||
32718 test ! -s conftest.err
32719 } && test -s conftest
$ac_exeext &&
32720 $as_test_x conftest
$ac_exeext; then
32723 libsm_ice_link
="$libsm_ice"
32724 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32725 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32729 echo "$as_me: failed program was:" >&5
32730 sed 's/^/| /' conftest.
$ac_ext >&5
32736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32737 conftest
$ac_exeext conftest.
$ac_ext
32740 CFLAGS
=$save_CFLAGS
32746 if test "$libs_found" = 0; then
32747 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32748 echo "${ECHO_T}can't find the right libraries" >&6; }
32749 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32750 echo "$as_me: error: can't link a simple motif program" >&2;}
32751 { (exit 1); exit 1; }; }
32754 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32755 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32756 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32759 ac_check_lib_save_LIBS
=$LIBS
32761 cat >conftest.
$ac_ext <<_ACEOF
32764 cat confdefs.h
>>conftest.
$ac_ext
32765 cat >>conftest.
$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32768 /* Override any GCC internal prototype to avoid an error.
32769 Use char because int might match the return type of a GCC
32770 builtin and then its argument prototype would still apply. */
32774 char SgCreateList ();
32778 return SgCreateList ();
32783 rm -f conftest.
$ac_objext conftest
$ac_exeext
32784 if { (ac_try
="$ac_link"
32785 case "(($ac_try" in
32786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32787 *) ac_try_echo=$ac_try;;
32789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32790 (eval "$ac_link") 2>conftest.er1
32792 grep -v '^ *+' conftest.er1 >conftest.err
32794 cat conftest.err >&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); } && {
32797 test -z "$ac_c_werror_flag" ||
32798 test ! -s conftest.err
32799 } && test -s conftest$ac_exeext &&
32800 $as_test_x conftest$ac_exeext; then
32801 ac_cv_lib_Sgm_SgCreateList=yes
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.$ac_ext >&5
32806 ac_cv_lib_Sgm_SgCreateList=no
32809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32810 conftest$ac_exeext conftest.$ac_ext
32811 LIBS=$ac_check_lib_save_LIBS
32813 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32814 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32815 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32816 libsgm_link=" -lSgm"
32820 save_CFLAGS=$CFLAGS
32821 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32823 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32824 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32825 if test "${wx_cv_lib_motif2+set}" = set; then
32826 echo $ECHO_N "(cached) $ECHO_C" >&6
32828 cat >conftest.$ac_ext <<_ACEOF
32831 cat confdefs.h >>conftest.$ac_ext
32832 cat >>conftest.$ac_ext <<_ACEOF
32833 /* end confdefs.h. */
32841 #if XmVersion < 2000
32849 rm -f conftest.$ac_objext
32850 if { (ac_try="$ac_compile"
32851 case "(($ac_try" in
32852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32853 *) ac_try_echo
=$ac_try;;
32855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32856 (eval "$ac_compile") 2>conftest.er1
32858 grep -v '^ *+' conftest.er1
>conftest.err
32860 cat conftest.err
>&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); } && {
32863 test -z "$ac_c_werror_flag" ||
32864 test ! -s conftest.err
32865 } && test -s conftest.
$ac_objext; then
32866 wx_cv_lib_motif2
="yes"
32868 echo "$as_me: failed program was:" >&5
32869 sed 's/^/| /' conftest.
$ac_ext >&5
32871 wx_cv_lib_motif2
="no"
32874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32876 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32877 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32878 if test "$wx_cv_lib_motif2" = "yes"; then
32879 cat >>confdefs.h
<<\_ACEOF
32880 #define __WXMOTIF20__ 1
32884 cat >>confdefs.h
<<\_ACEOF
32885 #define __WXMOTIF20__ 0
32890 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32891 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32892 if test "${wx_cv_lib_lesstif+set}" = set; then
32893 echo $ECHO_N "(cached) $ECHO_C" >&6
32895 cat >conftest.
$ac_ext <<_ACEOF
32898 cat confdefs.h
>>conftest.
$ac_ext
32899 cat >>conftest.
$ac_ext <<_ACEOF
32900 /* end confdefs.h. */
32908 #if !defined(LesstifVersion) || LesstifVersion <= 0
32916 rm -f conftest.
$ac_objext
32917 if { (ac_try
="$ac_compile"
32918 case "(($ac_try" in
32919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32920 *) ac_try_echo=$ac_try;;
32922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32923 (eval "$ac_compile") 2>conftest.er1
32925 grep -v '^ *+' conftest.er1 >conftest.err
32927 cat conftest.err >&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); } && {
32930 test -z "$ac_c_werror_flag" ||
32931 test ! -s conftest.err
32932 } && test -s conftest.$ac_objext; then
32933 wx_cv_lib_lesstif="yes"
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.$ac_ext >&5
32938 wx_cv_lib_lesstif="no"
32941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32944 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32945 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32946 if test "$wx_cv_lib_lesstif" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948 #define __WXLESSTIF__ 1
32952 cat >>confdefs.h <<\_ACEOF
32953 #define __WXLESSTIF__ 0
32958 CFLAGS=$save_CFLAGS
32960 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32965 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32966 if test "$wxUSE_LIBXPM" = "sys"; then
32967 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32968 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32971 for ac_dir in $SEARCH_LIB;
32973 for ac_extension in a so sl dylib dll.a; do
32974 if test -f "$ac_dir/libXpm.$ac_extension"; then
32975 ac_find_libraries=$ac_dir
32981 if test "$ac_find_libraries" != "" ; then
32983 if test "$ac_find_libraries" = "default location"; then
32986 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32988 if test $result = 0; then
32991 ac_path_to_link=" -L$ac_find_libraries"
32995 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32996 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32997 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32999 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33000 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33001 if test "${wx_cv_x11_xpm_h+set}" = set; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33005 save_CFLAGS=$CFLAGS
33006 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33008 cat >conftest.$ac_ext <<_ACEOF
33011 cat confdefs.h >>conftest.$ac_ext
33012 cat >>conftest.$ac_ext <<_ACEOF
33013 /* end confdefs.h. */
33015 #include <X11/xpm.h>
33022 version = XpmLibraryVersion();
33028 rm -f conftest.$ac_objext
33029 if { (ac_try="$ac_compile"
33030 case "(($ac_try" in
33031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33032 *) ac_try_echo
=$ac_try;;
33034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33035 (eval "$ac_compile") 2>conftest.er1
33037 grep -v '^ *+' conftest.er1
>conftest.err
33039 cat conftest.err
>&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); } && {
33042 test -z "$ac_c_werror_flag" ||
33043 test ! -s conftest.err
33044 } && test -s conftest.
$ac_objext; then
33045 wx_cv_x11_xpm_h
=yes
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.
$ac_ext >&5
33054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33056 CFLAGS
=$save_CFLAGS
33060 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33061 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33063 if test $wx_cv_x11_xpm_h = "yes"; then
33064 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33065 cat >>confdefs.h
<<\_ACEOF
33066 #define wxHAVE_LIB_XPM 1
33070 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33071 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33077 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33078 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33079 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33080 echo $ECHO_N "(cached) $ECHO_C" >&6
33082 ac_check_lib_save_LIBS
=$LIBS
33083 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33084 cat >conftest.
$ac_ext <<_ACEOF
33087 cat confdefs.h
>>conftest.
$ac_ext
33088 cat >>conftest.
$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33091 /* Override any GCC internal prototype to avoid an error.
33092 Use char because int might match the return type of a GCC
33093 builtin and then its argument prototype would still apply. */
33097 char XShapeQueryExtension ();
33101 return XShapeQueryExtension ();
33106 rm -f conftest.
$ac_objext conftest
$ac_exeext
33107 if { (ac_try
="$ac_link"
33108 case "(($ac_try" in
33109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33110 *) ac_try_echo=$ac_try;;
33112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33113 (eval "$ac_link") 2>conftest.er1
33115 grep -v '^ *+' conftest.er1 >conftest.err
33117 cat conftest.err >&5
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); } && {
33120 test -z "$ac_c_werror_flag" ||
33121 test ! -s conftest.err
33122 } && test -s conftest$ac_exeext &&
33123 $as_test_x conftest$ac_exeext; then
33124 ac_cv_lib_Xext_XShapeQueryExtension=yes
33126 echo "$as_me: failed program was:" >&5
33127 sed 's/^/| /' conftest.$ac_ext >&5
33129 ac_cv_lib_Xext_XShapeQueryExtension=no
33132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33133 conftest$ac_exeext conftest.$ac_ext
33134 LIBS=$ac_check_lib_save_LIBS
33136 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33137 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33138 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33140 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33146 if test "$wxHAVE_XEXT_LIB" = 1; then
33147 save_CFLAGS="$CFLAGS"
33148 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33150 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33151 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33152 cat >conftest.$ac_ext <<_ACEOF
33155 cat confdefs.h >>conftest.$ac_ext
33156 cat >>conftest.$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33159 #include <X11/Xlib.h>
33160 #include <X11/extensions/shape.h>
33166 int dummy1, dummy2;
33167 XShapeQueryExtension((Display*)NULL,
33168 (int*)NULL, (int*)NULL);
33174 rm -f conftest.$ac_objext
33175 if { (ac_try="$ac_compile"
33176 case "(($ac_try" in
33177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33178 *) ac_try_echo
=$ac_try;;
33180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33181 (eval "$ac_compile") 2>conftest.er1
33183 grep -v '^ *+' conftest.er1
>conftest.err
33185 cat conftest.err
>&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } && {
33188 test -z "$ac_c_werror_flag" ||
33189 test ! -s conftest.err
33190 } && test -s conftest.
$ac_objext; then
33192 cat >>confdefs.h
<<\_ACEOF
33193 #define HAVE_XSHAPE 1
33196 { echo "$as_me:$LINENO: result: found" >&5
33197 echo "${ECHO_T}found" >&6; }
33200 echo "$as_me: failed program was:" >&5
33201 sed 's/^/| /' conftest.
$ac_ext >&5
33204 { echo "$as_me:$LINENO: result: not found" >&5
33205 echo "${ECHO_T}not found" >&6; }
33209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33210 CFLAGS
="$save_CFLAGS"
33215 if test "$wxUSE_OSX_CARBON" = 1; then
33216 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33217 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33218 if test "$GCC" = yes; then
33219 { echo "$as_me:$LINENO: result: gcc" >&5
33220 echo "${ECHO_T}gcc" >&6; }
33221 CPPFLAGS_PASCAL
="-fpascal-strings"
33222 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33223 { echo "$as_me:$LINENO: result: xlc" >&5
33224 echo "${ECHO_T}xlc" >&6; }
33225 CPPFLAGS_PASCAL
="-qmacpstr"
33227 { echo "$as_me:$LINENO: result: none" >&5
33228 echo "${ECHO_T}none" >&6; }
33231 if test "x$wxUSE_UNIX" = "xyes"; then
33232 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33234 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33238 GUIDIST
=OSX_CARBON_DIST
33239 WXBASEPORT
="_carbon"
33241 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33244 if test "$wxUSE_OSX_COCOA" = 1; then
33246 GUIDIST
=OSX_COCOA_DIST
33248 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33251 if test "$wxUSE_OSX_IPHONE" = 1; then
33255 if test "$wxUSE_OLD_COCOA" = 1; then
33260 if test "$wxUSE_PM" = 1; then
33263 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33264 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33265 if test "${wx_cv_spbcdata+set}" = set; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33269 cat >conftest.
$ac_ext <<_ACEOF
33272 cat confdefs.h
>>conftest.
$ac_ext
33273 cat >>conftest.
$ac_ext <<_ACEOF
33274 /* end confdefs.h. */
33289 rm -f conftest.
$ac_objext
33290 if { (ac_try
="$ac_compile"
33291 case "(($ac_try" in
33292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33293 *) ac_try_echo=$ac_try;;
33295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33296 (eval "$ac_compile") 2>conftest.er1
33298 grep -v '^ *+' conftest.er1 >conftest.err
33300 cat conftest.err >&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); } && {
33303 test -z "$ac_c_werror_flag" ||
33304 test ! -s conftest.err
33305 } && test -s conftest.$ac_objext; then
33308 echo "$as_me: failed program was:" >&5
33309 sed 's/^/| /' conftest.$ac_ext >&5
33315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33319 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33320 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33322 if test $wx_cv_spbcdata = "yes"; then
33323 cat >>confdefs.h <<\_ACEOF
33324 #define HAVE_SPBCDATA 1
33330 if test "$TOOLKIT" = "PM" ; then
33333 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33336 if test "$wxUSE_UNIVERSAL" = "yes"; then
33337 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33341 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33342 DISTDIR="wx\$(TOOLKIT)"
33348 if test "$USE_WIN32" = 1 ; then
33352 GUIDIST="BASE_DIST"
33358 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33359 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33360 wxUSE_UNICODE_UTF8=yes
33361 elif test "$USE_OS2" = 1 ; then
33362 wxUSE_UNICODE_UTF8=yes
33364 wxUSE_UNICODE_UTF8=no
33369 if test "$wxUSE_GUI" = "yes"; then
33370 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33372 for ac_header in X11/Xlib.h
33374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33378 echo $ECHO_N "(cached) $ECHO_C" >&6
33380 cat >conftest.$ac_ext <<_ACEOF
33383 cat confdefs.h >>conftest.$ac_ext
33384 cat >>conftest.$ac_ext <<_ACEOF
33385 /* end confdefs.h. */
33388 #include <$ac_header>
33390 rm -f conftest.$ac_objext
33391 if { (ac_try="$ac_compile"
33392 case "(($ac_try" in
33393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33394 *) ac_try_echo
=$ac_try;;
33396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33397 (eval "$ac_compile") 2>conftest.er1
33399 grep -v '^ *+' conftest.er1
>conftest.err
33401 cat conftest.err
>&5
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); } && {
33404 test -z "$ac_c_werror_flag" ||
33405 test ! -s conftest.err
33406 } && test -s conftest.
$ac_objext; then
33407 eval "$as_ac_Header=yes"
33409 echo "$as_me: failed program was:" >&5
33410 sed 's/^/| /' conftest.
$ac_ext >&5
33412 eval "$as_ac_Header=no"
33415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33417 ac_res
=`eval echo '${'$as_ac_Header'}'`
33418 { echo "$as_me:$LINENO: result: $ac_res" >&5
33419 echo "${ECHO_T}$ac_res" >&6; }
33420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33421 cat >>confdefs.h
<<_ACEOF
33422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33430 for ac_header
in X
11/XKBlib.h
33432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33435 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33436 echo $ECHO_N "(cached) $ECHO_C" >&6
33438 cat >conftest.
$ac_ext <<_ACEOF
33441 cat confdefs.h
>>conftest.
$ac_ext
33442 cat >>conftest.
$ac_ext <<_ACEOF
33443 /* end confdefs.h. */
33445 #if HAVE_X11_XLIB_H
33446 #include <X11/Xlib.h>
33450 #include <$ac_header>
33452 rm -f conftest.
$ac_objext
33453 if { (ac_try
="$ac_compile"
33454 case "(($ac_try" in
33455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33456 *) ac_try_echo=$ac_try;;
33458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33459 (eval "$ac_compile") 2>conftest.er1
33461 grep -v '^ *+' conftest.er1 >conftest.err
33463 cat conftest.err >&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); } && {
33466 test -z "$ac_c_werror_flag" ||
33467 test ! -s conftest.err
33468 } && test -s conftest.$ac_objext; then
33469 eval "$as_ac_Header=yes"
33471 echo "$as_me: failed program was:" >&5
33472 sed 's/^/| /' conftest.$ac_ext >&5
33474 eval "$as_ac_Header=no"
33477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33479 ac_res=`eval echo '${'$as_ac_Header'}'`
33480 { echo "$as_me:$LINENO: result: $ac_res" >&5
33481 echo "${ECHO_T}$ac_res" >&6; }
33482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33483 cat >>confdefs.h <<_ACEOF
33484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33496 if test "$wxUSE_DISPLAY" = "yes"; then
33497 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33498 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33499 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33502 for ac_dir in $SEARCH_LIB;
33504 for ac_extension in a so sl dylib dll.a; do
33505 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33506 ac_find_libraries=$ac_dir
33512 if test "$ac_find_libraries" != "" ; then
33514 if test "$ac_find_libraries" = "default location"; then
33517 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33519 if test $result = 0; then
33522 ac_path_to_link=" -L$ac_find_libraries"
33526 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33527 LDFLAGS="$LDFLAGS $ac_path_to_link"
33529 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33530 { echo "$as_me:$LINENO: result: yes" >&5
33531 echo "${ECHO_T}yes" >&6; }
33533 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33534 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33537 for ac_dir in $SEARCH_LIB;
33539 for ac_extension in a so sl dylib dll.a; do
33540 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33541 ac_find_libraries=$ac_dir
33547 if test "$ac_find_libraries" != "" ; then
33548 { echo "$as_me:$LINENO: result: yes" >&5
33549 echo "${ECHO_T}yes" >&6; }
33551 for ac_header in X11/extensions/xf86vmode.h
33553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33557 echo $ECHO_N "(cached) $ECHO_C" >&6
33559 cat >conftest.$ac_ext <<_ACEOF
33562 cat confdefs.h >>conftest.$ac_ext
33563 cat >>conftest.$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33566 #if HAVE_X11_XLIB_H
33567 #include <X11/Xlib.h>
33571 #include <$ac_header>
33573 rm -f conftest.$ac_objext
33574 if { (ac_try="$ac_compile"
33575 case "(($ac_try" in
33576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33577 *) ac_try_echo
=$ac_try;;
33579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33580 (eval "$ac_compile") 2>conftest.er1
33582 grep -v '^ *+' conftest.er1
>conftest.err
33584 cat conftest.err
>&5
33585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33586 (exit $ac_status); } && {
33587 test -z "$ac_c_werror_flag" ||
33588 test ! -s conftest.err
33589 } && test -s conftest.
$ac_objext; then
33590 eval "$as_ac_Header=yes"
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.
$ac_ext >&5
33595 eval "$as_ac_Header=no"
33598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33600 ac_res
=`eval echo '${'$as_ac_Header'}'`
33601 { echo "$as_me:$LINENO: result: $ac_res" >&5
33602 echo "${ECHO_T}$ac_res" >&6; }
33603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33604 cat >>confdefs.h
<<_ACEOF
33605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33608 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33615 { echo "$as_me:$LINENO: result: no" >&5
33616 echo "${ECHO_T}no" >&6; }
33620 { echo "$as_me:$LINENO: result: no" >&5
33621 echo "${ECHO_T}no" >&6; }
33622 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33623 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33626 elif test "$wxUSE_MSW" = 1; then
33627 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33628 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33629 if test "${ac_cv_header_ddraw_h+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33632 cat >conftest.
$ac_ext <<_ACEOF
33635 cat confdefs.h
>>conftest.
$ac_ext
33636 cat >>conftest.
$ac_ext <<_ACEOF
33637 /* end confdefs.h. */
33638 #include <windows.h>
33642 rm -f conftest.
$ac_objext
33643 if { (ac_try
="$ac_compile"
33644 case "(($ac_try" in
33645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33646 *) ac_try_echo=$ac_try;;
33648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33649 (eval "$ac_compile") 2>conftest.er1
33651 grep -v '^ *+' conftest.er1 >conftest.err
33653 cat conftest.err >&5
33654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655 (exit $ac_status); } && {
33656 test -z "$ac_c_werror_flag" ||
33657 test ! -s conftest.err
33658 } && test -s conftest.$ac_objext; then
33659 ac_cv_header_ddraw_h=yes
33661 echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.$ac_ext >&5
33664 ac_cv_header_ddraw_h=no
33667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33669 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33670 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33676 if test "$wxUSE_DETECT_SM" = "yes"; then
33677 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33678 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33679 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33682 for ac_dir in $SEARCH_LIB;
33684 for ac_extension in a so sl dylib dll.a; do
33685 if test -f "$ac_dir/libSM.$ac_extension"; then
33686 ac_find_libraries=$ac_dir
33692 if test "$ac_find_libraries" != "" ; then
33694 if test "$ac_find_libraries" = "default location"; then
33697 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33699 if test $result = 0; then
33702 ac_path_to_link=" -L$ac_find_libraries"
33706 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33707 LDFLAGS="$LDFLAGS $ac_path_to_link"
33709 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33710 { echo "$as_me:$LINENO: result: yes" >&5
33711 echo "${ECHO_T}yes" >&6; }
33713 { echo "$as_me:$LINENO: result: no" >&5
33714 echo "${ECHO_T}no" >&6; }
33715 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33716 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33717 wxUSE_DETECT_SM="no"
33720 wxUSE_DETECT_SM="no"
33727 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33730 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33731 OPENGL_LIBS="-framework OpenGL -framework AGL"
33732 elif test "$wxUSE_MSW" = 1; then
33733 OPENGL_LIBS="-lopengl32 -lglu32"
33734 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33736 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33737 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33740 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33742 if test -f "$ac_dir/GL/gl.h"; then
33743 ac_find_includes=$ac_dir
33748 if test "$ac_find_includes" != "" ; then
33749 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33750 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33752 if test "x$ac_find_includes" = "x/usr/include"; then
33753 ac_path_to_include=""
33755 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33757 if test $result = 0; then
33758 ac_path_to_include=""
33760 ac_path_to_include=" -I$ac_find_includes"
33764 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33766 { echo "$as_me:$LINENO: result: not found" >&5
33767 echo "${ECHO_T}not found" >&6; }
33770 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33771 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33772 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33773 echo $ECHO_N "(cached) $ECHO_C" >&6
33775 cat >conftest.$ac_ext <<_ACEOF
33778 cat confdefs.h >>conftest.$ac_ext
33779 cat >>conftest.$ac_ext <<_ACEOF
33780 /* end confdefs.h. */
33785 rm -f conftest.$ac_objext
33786 if { (ac_try="$ac_compile"
33787 case "(($ac_try" in
33788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33789 *) ac_try_echo
=$ac_try;;
33791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33792 (eval "$ac_compile") 2>conftest.er1
33794 grep -v '^ *+' conftest.er1
>conftest.err
33796 cat conftest.err
>&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); } && {
33799 test -z "$ac_c_werror_flag" ||
33800 test ! -s conftest.err
33801 } && test -s conftest.
$ac_objext; then
33802 ac_cv_header_GL_gl_h
=yes
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.
$ac_ext >&5
33807 ac_cv_header_GL_gl_h
=no
33810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33812 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33813 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33814 if test $ac_cv_header_GL_gl_h = yes; then
33816 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33817 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33818 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33819 echo $ECHO_N "(cached) $ECHO_C" >&6
33821 cat >conftest.
$ac_ext <<_ACEOF
33824 cat confdefs.h
>>conftest.
$ac_ext
33825 cat >>conftest.
$ac_ext <<_ACEOF
33826 /* end confdefs.h. */
33829 #include <GL/glu.h>
33831 rm -f conftest.
$ac_objext
33832 if { (ac_try
="$ac_compile"
33833 case "(($ac_try" in
33834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33835 *) ac_try_echo=$ac_try;;
33837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33838 (eval "$ac_compile") 2>conftest.er1
33840 grep -v '^ *+' conftest.er1 >conftest.err
33842 cat conftest.err >&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); } && {
33845 test -z "$ac_c_werror_flag" ||
33846 test ! -s conftest.err
33847 } && test -s conftest.$ac_objext; then
33848 ac_cv_header_GL_glu_h=yes
33850 echo "$as_me: failed program was:" >&5
33851 sed 's/^/| /' conftest.$ac_ext >&5
33853 ac_cv_header_GL_glu_h=no
33856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33858 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33859 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33860 if test $ac_cv_header_GL_glu_h = yes; then
33864 { echo "$as_me:$LINENO: checking for -lGL" >&5
33865 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33868 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33870 for ac_extension in a so sl dylib dll.a; do
33871 if test -f "$ac_dir/libGL.$ac_extension"; then
33872 ac_find_libraries=$ac_dir
33878 if test "$ac_find_libraries" != "" ; then
33879 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33880 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33883 if test "$ac_find_libraries" = "default location"; then
33886 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33888 if test $result = 0; then
33891 ac_path_to_link=" -L$ac_find_libraries"
33895 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33896 LDFLAGS_GL="$ac_path_to_link"
33899 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33900 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33903 for ac_dir in $SEARCH_LIB;
33905 for ac_extension in a so sl dylib dll.a; do
33906 if test -f "$ac_dir/libGLU.$ac_extension"; then
33907 ac_find_libraries=$ac_dir
33913 if test "$ac_find_libraries" != "" ; then
33915 if test "$ac_find_libraries" = "default location"; then
33918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33920 if test $result = 0; then
33923 ac_path_to_link=" -L$ac_find_libraries"
33927 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33928 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33929 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33933 OPENGL_LIBS="-lGL -lGLU"
33934 { echo "$as_me:$LINENO: result: yes" >&5
33935 echo "${ECHO_T}yes" >&6; }
33937 { echo "$as_me:$LINENO: result: no" >&5
33938 echo "${ECHO_T}no" >&6; }
33941 { echo "$as_me:$LINENO: result: no" >&5
33942 echo "${ECHO_T}no" >&6; }
33945 if test "$found_gl" != 1; then
33946 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33947 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33950 for ac_dir in $SEARCH_LIB;
33952 for ac_extension in a so sl dylib dll.a; do
33953 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33954 ac_find_libraries=$ac_dir
33960 if test "$ac_find_libraries" != "" ; then
33962 if test "$ac_find_libraries" = "default location"; then
33965 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33967 if test $result = 0; then
33970 ac_path_to_link=" -L$ac_find_libraries"
33974 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33975 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33976 { echo "$as_me:$LINENO: result: yes" >&5
33977 echo "${ECHO_T}yes" >&6; }
33979 { echo "$as_me:$LINENO: result: no" >&5
33980 echo "${ECHO_T}no" >&6; }
33992 if test "x$OPENGL_LIBS" = "x"; then
33993 if test "$wxUSE_OPENGL" = "yes"; then
33994 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33995 echo "$as_me: error: OpenGL libraries not available" >&2;}
33996 { (exit 1); exit 1; }; }
33998 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33999 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34005 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34006 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34010 if test "$wxUSE_OPENGL" = "auto"; then
34014 if test "$wxUSE_OPENGL" = "yes"; then
34016 cat >>confdefs.h <<\_ACEOF
34017 #define wxUSE_OPENGL 1
34020 cat >>confdefs.h <<\_ACEOF
34021 #define wxUSE_GLCANVAS 1
34024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34029 if test -n "$TOOLKIT" ; then
34030 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34035 if test "$wxUSE_SHARED" = "yes"; then
34039 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34040 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34045 if test "$wxUSE_SHARED" = "yes"; then
34049 *-*-cygwin* | *-*-mingw* )
34050 wx_cv_version_script=no
34054 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34055 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34056 if test "${wx_cv_version_script+set}" = set; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34060 echo "VER_1 { *; };" >conftest.sym
34061 echo "int main() { return 0; }" >conftest.cpp
34064 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34065 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; } ; then
34071 if test -s conftest.stderr ; then
34072 wx_cv_version_script=no
34074 wx_cv_version_script=yes
34077 wx_cv_version_script=no
34080 if test $wx_cv_version_script = yes
34082 echo "struct B { virtual ~B() { } }; \
34083 struct D : public B { }; \
34084 void F() { D d; }" > conftest.cpp
34087 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34088 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34090 (eval $ac_try) 2>&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); }; } &&
34095 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34096 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34098 (eval $ac_try) 2>&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); }; }
34104 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34105 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34107 (eval $ac_try) 2>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); }; }
34112 wx_cv_version_script=yes
34114 wx_cv_version_script=no
34119 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34120 rm -f conftest1.output conftest2.output conftest3.output
34123 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34124 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34126 if test $wx_cv_version_script = yes ; then
34127 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34133 if test "$wxUSE_VISIBILITY" != "no"; then
34136 if test -n "$GCC"; then
34137 CFLAGS_VISIBILITY="-fvisibility=hidden"
34138 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34139 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34140 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34141 if test "${wx_cv_cc_visibility+set}" = set; then
34142 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 wx_save_CXXFLAGS="$CXXFLAGS"
34146 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34148 ac_cpp='$CXXCPP $CPPFLAGS'
34149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34153 cat >conftest.$ac_ext <<_ACEOF
34156 cat confdefs.h >>conftest.$ac_ext
34157 cat >>conftest.$ac_ext <<_ACEOF
34158 /* end confdefs.h. */
34160 /* we need gcc >= 4.0, older versions with visibility support
34161 didn't have class visibility: */
34162 #if defined(__GNUC__) && __GNUC__ < 4
34163 error this gcc is too old;
34166 /* visibility only makes sense for ELF shared libs: */
34167 #if !defined(__ELF__) && !defined(__APPLE__)
34168 error this platform has no visibility;
34171 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34172 extern __attribute__((__visibility__("default"))) int exportedvar;
34173 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34174 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34175 class __attribute__((__visibility__("default"))) Foo {
34187 rm -f conftest.$ac_objext
34188 if { (ac_try="$ac_compile"
34189 case "(($ac_try" in
34190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34191 *) ac_try_echo
=$ac_try;;
34193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34194 (eval "$ac_compile") 2>conftest.er1
34196 grep -v '^ *+' conftest.er1
>conftest.err
34198 cat conftest.err
>&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); } && {
34201 test -z "$ac_cxx_werror_flag" ||
34202 test ! -s conftest.err
34203 } && test -s conftest.
$ac_objext; then
34204 wx_cv_cc_visibility
=yes
34206 echo "$as_me: failed program was:" >&5
34207 sed 's/^/| /' conftest.
$ac_ext >&5
34209 wx_cv_cc_visibility
=no
34212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34214 ac_cpp
='$CPP $CPPFLAGS'
34215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34219 CXXFLAGS
="$wx_save_CXXFLAGS"
34222 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34223 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34224 if test $wx_cv_cc_visibility = yes; then
34225 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34226 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34227 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34228 echo $ECHO_N "(cached) $ECHO_C" >&6
34231 wx_save_CXXFLAGS
="$CXXFLAGS"
34232 wx_save_LDFLAGS
="$LDFLAGS"
34233 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34234 LDFLAGS
="$LDFLAGS -shared -fPIC"
34236 ac_cpp
='$CXXCPP $CPPFLAGS'
34237 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34241 cat >conftest.
$ac_ext <<_ACEOF
34244 cat confdefs.h
>>conftest.
$ac_ext
34245 cat >>conftest.
$ac_ext <<_ACEOF
34246 /* end confdefs.h. */
34254 std::string s("hello");
34261 rm -f conftest.
$ac_objext conftest
$ac_exeext
34262 if { (ac_try
="$ac_link"
34263 case "(($ac_try" in
34264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34265 *) ac_try_echo=$ac_try;;
34267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34268 (eval "$ac_link") 2>conftest.er1
34270 grep -v '^ *+' conftest.er1 >conftest.err
34272 cat conftest.err >&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } && {
34275 test -z "$ac_cxx_werror_flag" ||
34276 test ! -s conftest.err
34277 } && test -s conftest$ac_exeext &&
34278 $as_test_x conftest$ac_exeext; then
34279 wx_cv_cc_broken_libstdcxx_visibility=no
34281 echo "$as_me: failed program was:" >&5
34282 sed 's/^/| /' conftest.$ac_ext >&5
34284 wx_cv_cc_broken_libstdcxx_visibility=yes
34287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34288 conftest$ac_exeext conftest.$ac_ext
34290 ac_cpp='$CPP $CPPFLAGS'
34291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34295 CXXFLAGS="$wx_save_CXXFLAGS"
34296 LDFLAGS="$wx_save_LDFLAGS"
34299 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34300 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34302 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34303 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34304 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34305 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34306 echo $ECHO_N "(cached) $ECHO_C" >&6
34310 ac_cpp='$CXXCPP $CPPFLAGS'
34311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34315 cat >conftest.$ac_ext <<_ACEOF
34318 cat confdefs.h >>conftest.$ac_ext
34319 cat >>conftest.$ac_ext <<_ACEOF
34320 /* end confdefs.h. */
34322 #pragma GCC visibility push(default)
34324 #pragma GCC visibility pop
34330 std::string s("hello");
34337 rm -f conftest.$ac_objext conftest$ac_exeext
34338 if { (ac_try="$ac_link"
34339 case "(($ac_try" in
34340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34341 *) ac_try_echo
=$ac_try;;
34343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34344 (eval "$ac_link") 2>conftest.er1
34346 grep -v '^ *+' conftest.er1
>conftest.err
34348 cat conftest.err
>&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } && {
34351 test -z "$ac_cxx_werror_flag" ||
34352 test ! -s conftest.err
34353 } && test -s conftest
$ac_exeext &&
34354 $as_test_x conftest
$ac_exeext; then
34355 wx_cv_cc_visibility_workaround
=no
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.
$ac_ext >&5
34360 wx_cv_cc_visibility_workaround
=yes
34363 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34364 conftest
$ac_exeext conftest.
$ac_ext
34366 ac_cpp
='$CPP $CPPFLAGS'
34367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34374 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34375 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34377 if test $wx_cv_cc_visibility_workaround = no
; then
34378 wx_cv_cc_visibility
=no
34383 if test $wx_cv_cc_visibility = yes; then
34384 cat >>confdefs.h
<<\_ACEOF
34385 #define HAVE_VISIBILITY 1
34388 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34389 cat >>confdefs.h
<<\_ACEOF
34390 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34395 CFLAGS_VISIBILITY
=""
34396 CXXFLAGS_VISIBILITY
=""
34404 if test "x$SUNCXX" = xyes
; then
34405 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34406 WXCONFIG_RPATH
="-R\$libdir"
34409 *-*-linux* | *-*-gnu* )
34410 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34411 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34416 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34418 saveLdflags
="$LDFLAGS"
34419 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34420 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34421 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34422 cat >conftest.
$ac_ext <<_ACEOF
34425 cat confdefs.h
>>conftest.
$ac_ext
34426 cat >>conftest.
$ac_ext <<_ACEOF
34427 /* end confdefs.h. */
34437 rm -f conftest.
$ac_objext conftest
$ac_exeext
34438 if { (ac_try
="$ac_link"
34439 case "(($ac_try" in
34440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34441 *) ac_try_echo=$ac_try;;
34443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34444 (eval "$ac_link") 2>conftest.er1
34446 grep -v '^ *+' conftest.er1 >conftest.err
34448 cat conftest.err >&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } && {
34451 test -z "$ac_c_werror_flag" ||
34452 test ! -s conftest.err
34453 } && test -s conftest$ac_exeext &&
34454 $as_test_x conftest$ac_exeext; then
34456 { echo "$as_me:$LINENO: result: yes" >&5
34457 echo "${ECHO_T}yes" >&6; }
34458 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34459 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34462 echo "$as_me: failed program was:" >&5
34463 sed 's/^/| /' conftest.$ac_ext >&5
34466 { echo "$as_me:$LINENO: result: no" >&5
34467 echo "${ECHO_T}no" >&6; }
34468 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34469 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34470 LDFLAGS="$saveLdflags -Wl,-R,/"
34471 cat >conftest.$ac_ext <<_ACEOF
34474 cat confdefs.h >>conftest.$ac_ext
34475 cat >>conftest.$ac_ext <<_ACEOF
34476 /* end confdefs.h. */
34486 rm -f conftest.$ac_objext conftest$ac_exeext
34487 if { (ac_try="$ac_link"
34488 case "(($ac_try" in
34489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34490 *) ac_try_echo
=$ac_try;;
34492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34493 (eval "$ac_link") 2>conftest.er1
34495 grep -v '^ *+' conftest.er1
>conftest.err
34497 cat conftest.err
>&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); } && {
34500 test -z "$ac_c_werror_flag" ||
34501 test ! -s conftest.err
34502 } && test -s conftest
$ac_exeext &&
34503 $as_test_x conftest
$ac_exeext; then
34505 { echo "$as_me:$LINENO: result: yes" >&5
34506 echo "${ECHO_T}yes" >&6; }
34507 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34508 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34511 echo "$as_me: failed program was:" >&5
34512 sed 's/^/| /' conftest.
$ac_ext >&5
34515 { echo "$as_me:$LINENO: result: no" >&5
34516 echo "${ECHO_T}no" >&6; }
34520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34521 conftest
$ac_exeext conftest.
$ac_ext
34525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34526 conftest
$ac_exeext conftest.
$ac_ext
34527 LDFLAGS
="$saveLdflags"
34531 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34532 if test "$install_name_tool" -a -x "$install_name_tool"; then
34533 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34534 cat <<EOF >change-install-names
34536 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34537 for i in \${libnames} ; do
34538 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34539 for dep in \${libnames} ; do
34540 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34544 chmod +x change
-install-names
34545 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34548 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34551 *-*-cygwin* | *-*-mingw32* )
34555 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34556 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34562 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34564 if test $wxUSE_RPATH = "no"; then
34565 SAMPLES_RPATH_FLAG
=''
34566 DYLIB_PATH_POSTLINK
=''
34574 config_linkage_component
="-static"
34581 lib_unicode_suffix
=
34583 if test "$wxUSE_UNICODE" = "yes"; then
34584 lib_unicode_suffix
=u
34585 WX_CHARTYPE
="unicode"
34589 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34590 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34593 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34597 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34599 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34601 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34604 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34605 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34607 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34609 if test "${TOOLKIT_DIR}" = "os2"; then
34610 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34612 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34617 if test "$wxUSE_OLD_COCOA" = 1; then
34620 ac_cpp
='$CPP $CPPFLAGS'
34621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34627 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34628 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34629 cat >conftest.
$ac_ext <<_ACEOF
34632 cat confdefs.h
>>conftest.
$ac_ext
34633 cat >>conftest.
$ac_ext <<_ACEOF
34634 /* end confdefs.h. */
34635 #include <AppKit/NSEvent.h>
34636 #include <CoreFoundation/CoreFoundation.h>
34646 rm -f conftest.
$ac_objext
34647 if { (ac_try
="$ac_compile"
34648 case "(($ac_try" in
34649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34650 *) ac_try_echo=$ac_try;;
34652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34653 (eval "$ac_compile") 2>conftest.er1
34655 grep -v '^ *+' conftest.er1 >conftest.err
34657 cat conftest.err >&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } && {
34660 test -z "$ac_c_werror_flag" ||
34661 test ! -s conftest.err
34662 } && test -s conftest.$ac_objext; then
34663 { echo "$as_me:$LINENO: result: no" >&5
34664 echo "${ECHO_T}no" >&6; }
34666 echo "$as_me: failed program was:" >&5
34667 sed 's/^/| /' conftest.$ac_ext >&5
34669 { echo "$as_me:$LINENO: result: yes" >&5
34670 echo "${ECHO_T}yes" >&6; }
34671 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34672 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34673 cat >conftest.$ac_ext <<_ACEOF
34676 cat confdefs.h >>conftest.$ac_ext
34677 cat >>conftest.$ac_ext <<_ACEOF
34678 /* end confdefs.h. */
34679 #define __Point__ 1
34680 #include <AppKit/NSEvent.h>
34681 #include <CoreFoundation/CoreFoundation.h>
34691 rm -f conftest.$ac_objext
34692 if { (ac_try="$ac_compile"
34693 case "(($ac_try" in
34694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34695 *) ac_try_echo
=$ac_try;;
34697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34698 (eval "$ac_compile") 2>conftest.er1
34700 grep -v '^ *+' conftest.er1
>conftest.err
34702 cat conftest.err
>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } && {
34705 test -z "$ac_c_werror_flag" ||
34706 test ! -s conftest.err
34707 } && test -s conftest.
$ac_objext; then
34708 { echo "$as_me:$LINENO: result: yes" >&5
34709 echo "${ECHO_T}yes" >&6; }
34710 cat >>confdefs.h
<<\_ACEOF
34711 #define __Point__ 1
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.
$ac_ext >&5
34719 { { echo "$as_me:$LINENO: error: no
34720 See \`config.log' for more details." >&5
34721 echo "$as_me: error: no
34722 See \`config.log' for more details." >&2;}
34723 { (exit 1); exit 1; }; }
34727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34733 ac_cpp
='$CPP $CPPFLAGS'
34734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34741 { echo "$as_me:$LINENO: checking for mode_t" >&5
34742 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34743 if test "${ac_cv_type_mode_t+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 cat >conftest.
$ac_ext <<_ACEOF
34749 cat confdefs.h
>>conftest.
$ac_ext
34750 cat >>conftest.
$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34752 $ac_includes_default
34753 typedef mode_t ac__type_new_;
34757 if ((ac__type_new_ *) 0)
34759 if (sizeof (ac__type_new_))
34765 rm -f conftest.
$ac_objext
34766 if { (ac_try
="$ac_compile"
34767 case "(($ac_try" in
34768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34769 *) ac_try_echo=$ac_try;;
34771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34772 (eval "$ac_compile") 2>conftest.er1
34774 grep -v '^ *+' conftest.er1 >conftest.err
34776 cat conftest.err >&5
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); } && {
34779 test -z "$ac_c_werror_flag" ||
34780 test ! -s conftest.err
34781 } && test -s conftest.$ac_objext; then
34782 ac_cv_type_mode_t=yes
34784 echo "$as_me: failed program was:" >&5
34785 sed 's/^/| /' conftest.$ac_ext >&5
34787 ac_cv_type_mode_t=no
34790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34792 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34793 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34794 if test $ac_cv_type_mode_t = yes; then
34798 cat >>confdefs.h <<_ACEOF
34804 { echo "$as_me:$LINENO: checking for off_t" >&5
34805 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34806 if test "${ac_cv_type_off_t+set}" = set; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 cat >conftest.$ac_ext <<_ACEOF
34812 cat confdefs.h >>conftest.$ac_ext
34813 cat >>conftest.$ac_ext <<_ACEOF
34814 /* end confdefs.h. */
34815 $ac_includes_default
34816 typedef off_t ac__type_new_;
34820 if ((ac__type_new_ *) 0)
34822 if (sizeof (ac__type_new_))
34828 rm -f conftest.$ac_objext
34829 if { (ac_try="$ac_compile"
34830 case "(($ac_try" in
34831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34832 *) ac_try_echo
=$ac_try;;
34834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34835 (eval "$ac_compile") 2>conftest.er1
34837 grep -v '^ *+' conftest.er1
>conftest.err
34839 cat conftest.err
>&5
34840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841 (exit $ac_status); } && {
34842 test -z "$ac_c_werror_flag" ||
34843 test ! -s conftest.err
34844 } && test -s conftest.
$ac_objext; then
34845 ac_cv_type_off_t
=yes
34847 echo "$as_me: failed program was:" >&5
34848 sed 's/^/| /' conftest.
$ac_ext >&5
34850 ac_cv_type_off_t
=no
34853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34855 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34856 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34857 if test $ac_cv_type_off_t = yes; then
34861 cat >>confdefs.h
<<_ACEOF
34862 #define off_t long int
34867 { echo "$as_me:$LINENO: checking for pid_t" >&5
34868 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34869 if test "${ac_cv_type_pid_t+set}" = set; then
34870 echo $ECHO_N "(cached) $ECHO_C" >&6
34872 cat >conftest.
$ac_ext <<_ACEOF
34875 cat confdefs.h
>>conftest.
$ac_ext
34876 cat >>conftest.
$ac_ext <<_ACEOF
34877 /* end confdefs.h. */
34878 $ac_includes_default
34879 typedef pid_t ac__type_new_;
34883 if ((ac__type_new_ *) 0)
34885 if (sizeof (ac__type_new_))
34891 rm -f conftest.
$ac_objext
34892 if { (ac_try
="$ac_compile"
34893 case "(($ac_try" in
34894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34895 *) ac_try_echo=$ac_try;;
34897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34898 (eval "$ac_compile") 2>conftest.er1
34900 grep -v '^ *+' conftest.er1 >conftest.err
34902 cat conftest.err >&5
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); } && {
34905 test -z "$ac_c_werror_flag" ||
34906 test ! -s conftest.err
34907 } && test -s conftest.$ac_objext; then
34908 ac_cv_type_pid_t=yes
34910 echo "$as_me: failed program was:" >&5
34911 sed 's/^/| /' conftest.$ac_ext >&5
34913 ac_cv_type_pid_t=no
34916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34919 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34920 if test $ac_cv_type_pid_t = yes; then
34924 cat >>confdefs.h <<_ACEOF
34930 { echo "$as_me:$LINENO: checking for size_t" >&5
34931 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34932 if test "${ac_cv_type_size_t+set}" = set; then
34933 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 cat >conftest.$ac_ext <<_ACEOF
34938 cat confdefs.h >>conftest.$ac_ext
34939 cat >>conftest.$ac_ext <<_ACEOF
34940 /* end confdefs.h. */
34941 $ac_includes_default
34942 typedef size_t ac__type_new_;
34946 if ((ac__type_new_ *) 0)
34948 if (sizeof (ac__type_new_))
34954 rm -f conftest.$ac_objext
34955 if { (ac_try="$ac_compile"
34956 case "(($ac_try" in
34957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34958 *) ac_try_echo
=$ac_try;;
34960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34961 (eval "$ac_compile") 2>conftest.er1
34963 grep -v '^ *+' conftest.er1
>conftest.err
34965 cat conftest.err
>&5
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); } && {
34968 test -z "$ac_c_werror_flag" ||
34969 test ! -s conftest.err
34970 } && test -s conftest.
$ac_objext; then
34971 ac_cv_type_size_t
=yes
34973 echo "$as_me: failed program was:" >&5
34974 sed 's/^/| /' conftest.
$ac_ext >&5
34976 ac_cv_type_size_t
=no
34979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34981 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34982 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34983 if test $ac_cv_type_size_t = yes; then
34987 cat >>confdefs.h
<<_ACEOF
34988 #define size_t unsigned int
34994 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34995 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34996 if test "${ac_cv_type_ssize_t+set}" = set; then
34997 echo $ECHO_N "(cached) $ECHO_C" >&6
34999 cat >conftest.
$ac_ext <<_ACEOF
35002 cat confdefs.h
>>conftest.
$ac_ext
35003 cat >>conftest.
$ac_ext <<_ACEOF
35004 /* end confdefs.h. */
35005 $ac_includes_default
35006 typedef ssize_t ac__type_new_;
35010 if ((ac__type_new_ *) 0)
35012 if (sizeof (ac__type_new_))
35018 rm -f conftest.
$ac_objext
35019 if { (ac_try
="$ac_compile"
35020 case "(($ac_try" in
35021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35022 *) ac_try_echo=$ac_try;;
35024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35025 (eval "$ac_compile") 2>conftest.er1
35027 grep -v '^ *+' conftest.er1 >conftest.err
35029 cat conftest.err >&5
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); } && {
35032 test -z "$ac_c_werror_flag" ||
35033 test ! -s conftest.err
35034 } && test -s conftest.$ac_objext; then
35035 ac_cv_type_ssize_t=yes
35037 echo "$as_me: failed program was:" >&5
35038 sed 's/^/| /' conftest.$ac_ext >&5
35040 ac_cv_type_ssize_t=no
35043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35045 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35046 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35047 if test $ac_cv_type_ssize_t = yes; then
35049 cat >>confdefs.h <<_ACEOF
35050 #define HAVE_SSIZE_T 1
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35062 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35063 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35064 if test "${wx_cv_size_t_is_uint+set}" = set; then
35065 echo $ECHO_N "(cached) $ECHO_C" >&6
35068 cat >conftest.$ac_ext <<_ACEOF
35071 cat confdefs.h >>conftest.$ac_ext
35072 cat >>conftest.$ac_ext <<_ACEOF
35073 /* end confdefs.h. */
35074 #include <stddef.h>
35081 struct Foo { void foo(size_t); void foo(unsigned int); };
35089 rm -f conftest.$ac_objext
35090 if { (ac_try="$ac_compile"
35091 case "(($ac_try" in
35092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35093 *) ac_try_echo
=$ac_try;;
35095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35096 (eval "$ac_compile") 2>conftest.er1
35098 grep -v '^ *+' conftest.er1
>conftest.err
35100 cat conftest.err
>&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); } && {
35103 test -z "$ac_cxx_werror_flag" ||
35104 test ! -s conftest.err
35105 } && test -s conftest.
$ac_objext; then
35106 wx_cv_size_t_is_uint
=no
35108 echo "$as_me: failed program was:" >&5
35109 sed 's/^/| /' conftest.
$ac_ext >&5
35111 wx_cv_size_t_is_uint
=yes
35115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35119 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35120 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35122 if test "$wx_cv_size_t_is_uint" = "yes"; then
35123 cat >>confdefs.h
<<\_ACEOF
35124 #define wxSIZE_T_IS_UINT 1
35128 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35129 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35130 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35131 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 cat >conftest.
$ac_ext <<_ACEOF
35136 cat confdefs.h
>>conftest.
$ac_ext
35137 cat >>conftest.
$ac_ext <<_ACEOF
35138 /* end confdefs.h. */
35139 #include <stddef.h>
35146 struct Foo { void foo(size_t); void foo(unsigned long); };
35154 rm -f conftest.
$ac_objext
35155 if { (ac_try
="$ac_compile"
35156 case "(($ac_try" in
35157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35158 *) ac_try_echo=$ac_try;;
35160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35161 (eval "$ac_compile") 2>conftest.er1
35163 grep -v '^ *+' conftest.er1 >conftest.err
35165 cat conftest.err >&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } && {
35168 test -z "$ac_cxx_werror_flag" ||
35169 test ! -s conftest.err
35170 } && test -s conftest.$ac_objext; then
35171 wx_cv_size_t_is_ulong=no
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.$ac_ext >&5
35176 wx_cv_size_t_is_ulong=yes
35180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35183 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35184 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35186 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35187 cat >>confdefs.h <<\_ACEOF
35188 #define wxSIZE_T_IS_ULONG 1
35194 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35195 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35196 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35197 echo $ECHO_N "(cached) $ECHO_C" >&6
35199 cat >conftest.$ac_ext <<_ACEOF
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h. */
35212 struct Foo { void foo(wchar_t);
35213 void foo(unsigned short);
35214 void foo(unsigned int);
35215 void foo(unsigned long); };
35223 rm -f conftest.$ac_objext
35224 if { (ac_try="$ac_compile"
35225 case "(($ac_try" in
35226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35227 *) ac_try_echo
=$ac_try;;
35229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35230 (eval "$ac_compile") 2>conftest.er1
35232 grep -v '^ *+' conftest.er1
>conftest.err
35234 cat conftest.err
>&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); } && {
35237 test -z "$ac_cxx_werror_flag" ||
35238 test ! -s conftest.err
35239 } && test -s conftest.
$ac_objext; then
35240 wx_cv_wchar_t_is_separate_type
=yes
35242 echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.
$ac_ext >&5
35245 wx_cv_wchar_t_is_separate_type
=no
35249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35252 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35253 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35255 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35256 cat >>confdefs.h
<<\_ACEOF
35257 #define wxWCHAR_T_IS_REAL_TYPE 1
35261 cat >>confdefs.h
<<\_ACEOF
35262 #define wxWCHAR_T_IS_REAL_TYPE 0
35268 ac_cpp
='$CPP $CPPFLAGS'
35269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35274 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35275 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35276 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35277 echo $ECHO_N "(cached) $ECHO_C" >&6
35280 cat >conftest.
$ac_ext <<_ACEOF
35283 cat confdefs.h
>>conftest.
$ac_ext
35284 cat >>conftest.
$ac_ext <<_ACEOF
35285 /* end confdefs.h. */
35299 rm -f conftest.
$ac_objext
35300 if { (ac_try
="$ac_compile"
35301 case "(($ac_try" in
35302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35303 *) ac_try_echo=$ac_try;;
35305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35306 (eval "$ac_compile") 2>conftest.er1
35308 grep -v '^ *+' conftest.er1 >conftest.err
35310 cat conftest.err >&5
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); } && {
35313 test -z "$ac_c_werror_flag" ||
35314 test ! -s conftest.err
35315 } && test -s conftest.$ac_objext; then
35317 wx_cv_struct_pw_gecos=yes
35320 echo "$as_me: failed program was:" >&5
35321 sed 's/^/| /' conftest.$ac_ext >&5
35324 wx_cv_struct_pw_gecos=no
35329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35333 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35334 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35336 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35337 cat >>confdefs.h <<\_ACEOF
35338 #define HAVE_PW_GECOS 1
35344 if test "$wxUSE_WCHAR_T" = "yes"; then
35345 cat >>confdefs.h <<\_ACEOF
35346 #define wxUSE_WCHAR_T 1
35353 for ac_func in wcslen
35355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35359 echo $ECHO_N "(cached) $ECHO_C" >&6
35361 cat >conftest.$ac_ext <<_ACEOF
35364 cat confdefs.h >>conftest.$ac_ext
35365 cat >>conftest.$ac_ext <<_ACEOF
35366 /* end confdefs.h. */
35367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35369 #define $ac_func innocuous_$ac_func
35371 /* System header to define __stub macros and hopefully few prototypes,
35372 which can conflict with char $ac_func (); below.
35373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35374 <limits.h> exists even on freestanding compilers. */
35377 # include <limits.h>
35379 # include <assert.h>
35384 /* Override any GCC internal prototype to avoid an error.
35385 Use char because int might match the return type of a GCC
35386 builtin and then its argument prototype would still apply. */
35391 /* The GNU C library defines this for functions which it implements
35392 to always fail with ENOSYS. Some functions are actually named
35393 something starting with __ and the normal name is an alias. */
35394 #if defined __stub_$ac_func || defined __stub___$ac_func
35401 return $ac_func ();
35406 rm -f conftest.$ac_objext conftest$ac_exeext
35407 if { (ac_try="$ac_link"
35408 case "(($ac_try" in
35409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35410 *) ac_try_echo
=$ac_try;;
35412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35413 (eval "$ac_link") 2>conftest.er1
35415 grep -v '^ *+' conftest.er1
>conftest.err
35417 cat conftest.err
>&5
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); } && {
35420 test -z "$ac_c_werror_flag" ||
35421 test ! -s conftest.err
35422 } && test -s conftest
$ac_exeext &&
35423 $as_test_x conftest
$ac_exeext; then
35424 eval "$as_ac_var=yes"
35426 echo "$as_me: failed program was:" >&5
35427 sed 's/^/| /' conftest.
$ac_ext >&5
35429 eval "$as_ac_var=no"
35432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35433 conftest
$ac_exeext conftest.
$ac_ext
35435 ac_res
=`eval echo '${'$as_ac_var'}'`
35436 { echo "$as_me:$LINENO: result: $ac_res" >&5
35437 echo "${ECHO_T}$ac_res" >&6; }
35438 if test `eval echo '${'$as_ac_var'}'` = yes; then
35439 cat >>confdefs.h
<<_ACEOF
35440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35447 if test "$WCSLEN_FOUND" = 0; then
35448 if test "$TOOLKIT" = "MSW"; then
35449 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35450 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35451 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35452 echo $ECHO_N "(cached) $ECHO_C" >&6
35454 ac_check_lib_save_LIBS
=$LIBS
35455 LIBS
="-lmsvcrt $LIBS"
35456 cat >conftest.
$ac_ext <<_ACEOF
35459 cat confdefs.h
>>conftest.
$ac_ext
35460 cat >>conftest.
$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35463 /* Override any GCC internal prototype to avoid an error.
35464 Use char because int might match the return type of a GCC
35465 builtin and then its argument prototype would still apply. */
35478 rm -f conftest.
$ac_objext conftest
$ac_exeext
35479 if { (ac_try
="$ac_link"
35480 case "(($ac_try" in
35481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35482 *) ac_try_echo=$ac_try;;
35484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35485 (eval "$ac_link") 2>conftest.er1
35487 grep -v '^ *+' conftest.er1 >conftest.err
35489 cat conftest.err >&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); } && {
35492 test -z "$ac_c_werror_flag" ||
35493 test ! -s conftest.err
35494 } && test -s conftest$ac_exeext &&
35495 $as_test_x conftest$ac_exeext; then
35496 ac_cv_lib_msvcrt_wcslen=yes
35498 echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.$ac_ext >&5
35501 ac_cv_lib_msvcrt_wcslen=no
35504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35505 conftest$ac_exeext conftest.$ac_ext
35506 LIBS=$ac_check_lib_save_LIBS
35508 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35509 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35510 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35515 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35516 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35517 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35518 echo $ECHO_N "(cached) $ECHO_C" >&6
35520 ac_check_lib_save_LIBS=$LIBS
35522 cat >conftest.$ac_ext <<_ACEOF
35525 cat confdefs.h >>conftest.$ac_ext
35526 cat >>conftest.$ac_ext <<_ACEOF
35527 /* end confdefs.h. */
35529 /* Override any GCC internal prototype to avoid an error.
35530 Use char because int might match the return type of a GCC
35531 builtin and then its argument prototype would still apply. */
35544 rm -f conftest.$ac_objext conftest$ac_exeext
35545 if { (ac_try="$ac_link"
35546 case "(($ac_try" in
35547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35548 *) ac_try_echo
=$ac_try;;
35550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35551 (eval "$ac_link") 2>conftest.er1
35553 grep -v '^ *+' conftest.er1
>conftest.err
35555 cat conftest.err
>&5
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); } && {
35558 test -z "$ac_c_werror_flag" ||
35559 test ! -s conftest.err
35560 } && test -s conftest
$ac_exeext &&
35561 $as_test_x conftest
$ac_exeext; then
35562 ac_cv_lib_w_wcslen
=yes
35564 echo "$as_me: failed program was:" >&5
35565 sed 's/^/| /' conftest.
$ac_ext >&5
35567 ac_cv_lib_w_wcslen
=no
35570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35571 conftest
$ac_exeext conftest.
$ac_ext
35572 LIBS
=$ac_check_lib_save_LIBS
35574 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35575 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35576 if test $ac_cv_lib_w_wcslen = yes; then
35586 if test "$WCSLEN_FOUND" = 1; then
35587 cat >>confdefs.h
<<\_ACEOF
35588 #define HAVE_WCSLEN 1
35598 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35600 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35601 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35603 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35604 echo $ECHO_N "(cached) $ECHO_C" >&6
35606 cat >conftest.
$ac_ext <<_ACEOF
35609 cat confdefs.h
>>conftest.
$ac_ext
35610 cat >>conftest.
$ac_ext <<_ACEOF
35611 /* end confdefs.h. */
35612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35614 #define $ac_func innocuous_$ac_func
35616 /* System header to define __stub macros and hopefully few prototypes,
35617 which can conflict with char $ac_func (); below.
35618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35619 <limits.h> exists even on freestanding compilers. */
35622 # include <limits.h>
35624 # include <assert.h>
35629 /* Override any GCC internal prototype to avoid an error.
35630 Use char because int might match the return type of a GCC
35631 builtin and then its argument prototype would still apply. */
35636 /* The GNU C library defines this for functions which it implements
35637 to always fail with ENOSYS. Some functions are actually named
35638 something starting with __ and the normal name is an alias. */
35639 #if defined __stub_$ac_func || defined __stub___$ac_func
35646 return $ac_func ();
35651 rm -f conftest.
$ac_objext conftest
$ac_exeext
35652 if { (ac_try
="$ac_link"
35653 case "(($ac_try" in
35654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35655 *) ac_try_echo=$ac_try;;
35657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35658 (eval "$ac_link") 2>conftest.er1
35660 grep -v '^ *+' conftest.er1 >conftest.err
35662 cat conftest.err >&5
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); } && {
35665 test -z "$ac_c_werror_flag" ||
35666 test ! -s conftest.err
35667 } && test -s conftest$ac_exeext &&
35668 $as_test_x conftest$ac_exeext; then
35669 eval "$as_ac_var=yes"
35671 echo "$as_me: failed program was:" >&5
35672 sed 's/^/| /' conftest.$ac_ext >&5
35674 eval "$as_ac_var=no"
35677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35678 conftest$ac_exeext conftest.$ac_ext
35680 ac_res=`eval echo '${'$as_ac_var'}'`
35681 { echo "$as_me:$LINENO: result: $ac_res" >&5
35682 echo "${ECHO_T}$ac_res" >&6; }
35683 if test `eval echo '${'$as_ac_var'}'` = yes; then
35684 cat >>confdefs.h <<_ACEOF
35685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35692 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35693 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35696 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35697 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35698 if test "${ac_cv_type_mbstate_t+set}" = set; then
35699 echo $ECHO_N "(cached) $ECHO_C" >&6
35701 cat >conftest.$ac_ext <<_ACEOF
35704 cat confdefs.h >>conftest.$ac_ext
35705 cat >>conftest.$ac_ext <<_ACEOF
35706 /* end confdefs.h. */
35709 typedef mbstate_t ac__type_new_;
35713 if ((ac__type_new_ *) 0)
35715 if (sizeof (ac__type_new_))
35721 rm -f conftest.$ac_objext
35722 if { (ac_try="$ac_compile"
35723 case "(($ac_try" in
35724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35725 *) ac_try_echo
=$ac_try;;
35727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35728 (eval "$ac_compile") 2>conftest.er1
35730 grep -v '^ *+' conftest.er1
>conftest.err
35732 cat conftest.err
>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); } && {
35735 test -z "$ac_c_werror_flag" ||
35736 test ! -s conftest.err
35737 } && test -s conftest.
$ac_objext; then
35738 ac_cv_type_mbstate_t
=yes
35740 echo "$as_me: failed program was:" >&5
35741 sed 's/^/| /' conftest.
$ac_ext >&5
35743 ac_cv_type_mbstate_t
=no
35746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35748 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35749 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35750 if test $ac_cv_type_mbstate_t = yes; then
35752 cat >>confdefs.h
<<_ACEOF
35753 #define HAVE_MBSTATE_T 1
35757 for ac_func
in wcsrtombs
35759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35762 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35763 echo $ECHO_N "(cached) $ECHO_C" >&6
35765 cat >conftest.
$ac_ext <<_ACEOF
35768 cat confdefs.h
>>conftest.
$ac_ext
35769 cat >>conftest.
$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35773 #define $ac_func innocuous_$ac_func
35775 /* System header to define __stub macros and hopefully few prototypes,
35776 which can conflict with char $ac_func (); below.
35777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35778 <limits.h> exists even on freestanding compilers. */
35781 # include <limits.h>
35783 # include <assert.h>
35788 /* Override any GCC internal prototype to avoid an error.
35789 Use char because int might match the return type of a GCC
35790 builtin and then its argument prototype would still apply. */
35795 /* The GNU C library defines this for functions which it implements
35796 to always fail with ENOSYS. Some functions are actually named
35797 something starting with __ and the normal name is an alias. */
35798 #if defined __stub_$ac_func || defined __stub___$ac_func
35805 return $ac_func ();
35810 rm -f conftest.
$ac_objext conftest
$ac_exeext
35811 if { (ac_try
="$ac_link"
35812 case "(($ac_try" in
35813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35814 *) ac_try_echo=$ac_try;;
35816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35817 (eval "$ac_link") 2>conftest.er1
35819 grep -v '^ *+' conftest.er1 >conftest.err
35821 cat conftest.err >&5
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); } && {
35824 test -z "$ac_c_werror_flag" ||
35825 test ! -s conftest.err
35826 } && test -s conftest$ac_exeext &&
35827 $as_test_x conftest$ac_exeext; then
35828 eval "$as_ac_var=yes"
35830 echo "$as_me: failed program was:" >&5
35831 sed 's/^/| /' conftest.$ac_ext >&5
35833 eval "$as_ac_var=no"
35836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35837 conftest$ac_exeext conftest.$ac_ext
35839 ac_res=`eval echo '${'$as_ac_var'}'`
35840 { echo "$as_me:$LINENO: result: $ac_res" >&5
35841 echo "${ECHO_T}$ac_res" >&6; }
35842 if test `eval echo '${'$as_ac_var'}'` = yes; then
35843 cat >>confdefs.h <<_ACEOF
35844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35853 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35854 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35860 for ac_func in snprintf vsnprintf vsscanf
35862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35866 echo $ECHO_N "(cached) $ECHO_C" >&6
35868 cat >conftest.$ac_ext <<_ACEOF
35871 cat confdefs.h >>conftest.$ac_ext
35872 cat >>conftest.$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35876 #define $ac_func innocuous_$ac_func
35878 /* System header to define __stub macros and hopefully few prototypes,
35879 which can conflict with char $ac_func (); below.
35880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35881 <limits.h> exists even on freestanding compilers. */
35884 # include <limits.h>
35886 # include <assert.h>
35891 /* Override any GCC internal prototype to avoid an error.
35892 Use char because int might match the return type of a GCC
35893 builtin and then its argument prototype would still apply. */
35898 /* The GNU C library defines this for functions which it implements
35899 to always fail with ENOSYS. Some functions are actually named
35900 something starting with __ and the normal name is an alias. */
35901 #if defined __stub_$ac_func || defined __stub___$ac_func
35908 return $ac_func ();
35913 rm -f conftest.$ac_objext conftest$ac_exeext
35914 if { (ac_try="$ac_link"
35915 case "(($ac_try" in
35916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35917 *) ac_try_echo
=$ac_try;;
35919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35920 (eval "$ac_link") 2>conftest.er1
35922 grep -v '^ *+' conftest.er1
>conftest.err
35924 cat conftest.err
>&5
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); } && {
35927 test -z "$ac_c_werror_flag" ||
35928 test ! -s conftest.err
35929 } && test -s conftest
$ac_exeext &&
35930 $as_test_x conftest
$ac_exeext; then
35931 eval "$as_ac_var=yes"
35933 echo "$as_me: failed program was:" >&5
35934 sed 's/^/| /' conftest.
$ac_ext >&5
35936 eval "$as_ac_var=no"
35939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35940 conftest
$ac_exeext conftest.
$ac_ext
35942 ac_res
=`eval echo '${'$as_ac_var'}'`
35943 { echo "$as_me:$LINENO: result: $ac_res" >&5
35944 echo "${ECHO_T}$ac_res" >&6; }
35945 if test `eval echo '${'$as_ac_var'}'` = yes; then
35946 cat >>confdefs.h
<<_ACEOF
35947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35955 ac_cpp
='$CXXCPP $CPPFLAGS'
35956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35960 if test "$ac_cv_func_vsnprintf" = "yes"; then
35961 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35962 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35963 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35964 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 cat >conftest.
$ac_ext <<_ACEOF
35970 cat confdefs.h
>>conftest.
$ac_ext
35971 cat >>conftest.
$ac_ext <<_ACEOF
35972 /* end confdefs.h. */
35975 #include <stdarg.h>
35977 #if __MSL__ >= 0x6000
35979 using namespace std;
35989 vsnprintf(buf, 10u, "%s", ap);
35995 rm -f conftest.
$ac_objext
35996 if { (ac_try
="$ac_compile"
35997 case "(($ac_try" in
35998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35999 *) ac_try_echo=$ac_try;;
36001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36002 (eval "$ac_compile") 2>conftest.er1
36004 grep -v '^ *+' conftest.er1 >conftest.err
36006 cat conftest.err >&5
36007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36008 (exit $ac_status); } && {
36009 test -z "$ac_cxx_werror_flag" ||
36010 test ! -s conftest.err
36011 } && test -s conftest.$ac_objext; then
36012 wx_cv_func_vsnprintf_decl=yes
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36017 wx_cv_func_vsnprintf_decl=no
36021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36025 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36026 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36028 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36029 cat >>confdefs.h <<\_ACEOF
36030 #define HAVE_VSNPRINTF_DECL 1
36034 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36035 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36036 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36040 cat >conftest.$ac_ext <<_ACEOF
36043 cat confdefs.h >>conftest.$ac_ext
36044 cat >>conftest.$ac_ext <<_ACEOF
36045 /* end confdefs.h. */
36048 #include <stdarg.h>
36050 #if __MSL__ >= 0x6000
36052 using namespace std;
36062 const char *fmt = "%s";
36063 vsnprintf(buf, 10u, fmt, ap);
36069 rm -f conftest.$ac_objext
36070 if { (ac_try="$ac_compile"
36071 case "(($ac_try" in
36072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36073 *) ac_try_echo
=$ac_try;;
36075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36076 (eval "$ac_compile") 2>conftest.er1
36078 grep -v '^ *+' conftest.er1
>conftest.err
36080 cat conftest.err
>&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } && {
36083 test -z "$ac_cxx_werror_flag" ||
36084 test ! -s conftest.err
36085 } && test -s conftest.
$ac_objext; then
36086 wx_cv_func_broken_vsnprintf_decl
=no
36088 echo "$as_me: failed program was:" >&5
36089 sed 's/^/| /' conftest.
$ac_ext >&5
36091 wx_cv_func_broken_vsnprintf_decl
=yes
36095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36099 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36100 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36102 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36103 cat >>confdefs.h
<<\_ACEOF
36104 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36111 if test "$ac_cv_func_snprintf" = "yes"; then
36112 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36113 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36114 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36115 echo $ECHO_N "(cached) $ECHO_C" >&6
36118 cat >conftest.
$ac_ext <<_ACEOF
36121 cat confdefs.h
>>conftest.
$ac_ext
36122 cat >>conftest.
$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36126 #include <stdarg.h>
36128 #if __MSL__ >= 0x6000
36130 using namespace std;
36139 snprintf(buf, 10u, "%s", "wx");
36145 rm -f conftest.
$ac_objext
36146 if { (ac_try
="$ac_compile"
36147 case "(($ac_try" in
36148 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36149 *) ac_try_echo=$ac_try;;
36151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36152 (eval "$ac_compile") 2>conftest.er1
36154 grep -v '^ *+' conftest.er1 >conftest.err
36156 cat conftest.err >&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } && {
36159 test -z "$ac_cxx_werror_flag" ||
36160 test ! -s conftest.err
36161 } && test -s conftest.$ac_objext; then
36162 wx_cv_func_snprintf_decl=yes
36164 echo "$as_me: failed program was:" >&5
36165 sed 's/^/| /' conftest.$ac_ext >&5
36167 wx_cv_func_snprintf_decl=no
36171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36175 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36176 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36178 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36179 cat >>confdefs.h <<\_ACEOF
36180 #define HAVE_SNPRINTF_DECL 1
36185 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36187 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36188 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36189 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 if test "$cross_compiling" = yes; then
36195 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36196 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36197 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36198 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36199 wx_cv_func_snprintf_pos_params=no
36203 cat >conftest.$ac_ext <<_ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36215 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36216 if (strcmp ("2 3 1", buffer) == 0)
36222 rm -f conftest$ac_exeext
36223 if { (ac_try="$ac_link"
36224 case "(($ac_try" in
36225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36226 *) ac_try_echo
=$ac_try;;
36228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36229 (eval "$ac_link") 2>&5
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36233 { (case "(($ac_try" in
36234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36235 *) ac_try_echo=$ac_try;;
36237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36238 (eval "$ac_try") 2>&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); }; }; then
36242 wx_cv_func_snprintf_pos_params=no
36244 echo "$as_me: program exited with status $ac_status" >&5
36245 echo "$as_me: failed program was:" >&5
36246 sed 's/^/| /' conftest.$ac_ext >&5
36248 ( exit $ac_status )
36249 wx_cv_func_snprintf_pos_params=yes
36251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36258 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36259 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36261 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36262 cat >>confdefs.h <<\_ACEOF
36263 #define HAVE_UNIX98_PRINTF 1
36270 if test "$ac_cv_func_vsscanf" = "yes"; then
36271 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36272 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36273 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36274 echo $ECHO_N "(cached) $ECHO_C" >&6
36277 cat >conftest.$ac_ext <<_ACEOF
36280 cat confdefs.h >>conftest.$ac_ext
36281 cat >>conftest.$ac_ext <<_ACEOF
36282 /* end confdefs.h. */
36285 #include <stdarg.h>
36287 #if __MSL__ >= 0x6000
36289 using namespace std;
36299 vsscanf(buf, "%s", args);
36305 rm -f conftest.$ac_objext
36306 if { (ac_try="$ac_compile"
36307 case "(($ac_try" in
36308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36309 *) ac_try_echo
=$ac_try;;
36311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36312 (eval "$ac_compile") 2>conftest.er1
36314 grep -v '^ *+' conftest.er1
>conftest.err
36316 cat conftest.err
>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } && {
36319 test -z "$ac_cxx_werror_flag" ||
36320 test ! -s conftest.err
36321 } && test -s conftest.
$ac_objext; then
36322 wx_cv_func_vsscanf_decl
=yes
36324 echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.
$ac_ext >&5
36327 wx_cv_func_vsscanf_decl
=no
36331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36335 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36336 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36338 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36339 cat >>confdefs.h
<<\_ACEOF
36340 #define HAVE_VSSCANF_DECL 1
36346 ac_cpp
='$CPP $CPPFLAGS'
36347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36352 if test "$wxUSE_UNICODE" = yes; then
36354 wchar_headers
="#include <stdio.h>
36355 #include <wchar.h>"
36359 for ac_header
in widec.h
36361 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36364 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36365 echo $ECHO_N "(cached) $ECHO_C" >&6
36367 cat >conftest.
$ac_ext <<_ACEOF
36370 cat confdefs.h
>>conftest.
$ac_ext
36371 cat >>conftest.
$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36373 $ac_includes_default
36375 #include <$ac_header>
36377 rm -f conftest.
$ac_objext
36378 if { (ac_try
="$ac_compile"
36379 case "(($ac_try" in
36380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36381 *) ac_try_echo=$ac_try;;
36383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36384 (eval "$ac_compile") 2>conftest.er1
36386 grep -v '^ *+' conftest.er1 >conftest.err
36388 cat conftest.err >&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); } && {
36391 test -z "$ac_c_werror_flag" ||
36392 test ! -s conftest.err
36393 } && test -s conftest.$ac_objext; then
36394 eval "$as_ac_Header=yes"
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.$ac_ext >&5
36399 eval "$as_ac_Header=no"
36402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36404 ac_res=`eval echo '${'$as_ac_Header'}'`
36405 { echo "$as_me:$LINENO: result: $ac_res" >&5
36406 echo "${ECHO_T}$ac_res" >&6; }
36407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36408 cat >>confdefs.h <<_ACEOF
36409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36416 if test "$ac_cv_header_widec_h" = "yes"; then
36417 wchar_headers="$wchar_headers
36418 #include <widec.h>"
36423 for wx_func in putws fputws wprintf vswprintf vswscanf
36425 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36427 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36428 echo $ECHO_N "(cached) $ECHO_C" >&6
36431 cat >conftest.$ac_ext <<_ACEOF
36435 cat confdefs.h >>conftest.$ac_ext
36436 cat >>conftest.$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36440 $ac_includes_default
36456 rm -f conftest.$ac_objext conftest$ac_exeext
36457 if { (ac_try="$ac_link"
36458 case "(($ac_try" in
36459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36460 *) ac_try_echo
=$ac_try;;
36462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36463 (eval "$ac_link") 2>conftest.er1
36465 grep -v '^ *+' conftest.er1
>conftest.err
36467 cat conftest.err
>&5
36468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36469 (exit $ac_status); } && {
36470 test -z "$ac_c_werror_flag" ||
36471 test ! -s conftest.err
36472 } && test -s conftest
$ac_exeext &&
36473 $as_test_x conftest
$ac_exeext; then
36474 eval wx_cv_func_
$wx_func=yes
36476 echo "$as_me: failed program was:" >&5
36477 sed 's/^/| /' conftest.
$ac_ext >&5
36479 eval wx_cv_func_
$wx_func=no
36482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36483 conftest
$ac_exeext conftest.
$ac_ext
36486 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36487 { echo "$as_me:$LINENO: result: $ac_res" >&5
36488 echo "${ECHO_T}$ac_res" >&6; }
36490 if eval test \
$wx_cv_func_$wx_func = yes
36492 cat >>confdefs.h
<<_ACEOF
36493 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36504 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36505 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36506 cat >conftest.
$ac_ext <<_ACEOF
36509 cat confdefs.h
>>conftest.
$ac_ext
36510 cat >>conftest.
$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36521 rm -f conftest.
$ac_objext
36522 if { (ac_try
="$ac_compile"
36523 case "(($ac_try" in
36524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36525 *) ac_try_echo=$ac_try;;
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_compile") 2>conftest.er1
36530 grep -v '^ *+' conftest.er1 >conftest.err
36532 cat conftest.err >&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_c_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest.$ac_objext; then
36538 { echo "$as_me:$LINENO: result: yes" >&5
36539 echo "${ECHO_T}yes" >&6; }
36540 cat >>confdefs.h <<\_ACEOF
36541 #define HAVE__VSNWPRINTF 1
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36548 { echo "$as_me:$LINENO: result: no" >&5
36549 echo "${ECHO_T}no" >&6; }
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36555 if test "$wxUSE_FILE" = "yes"; then
36557 for wx_func in fsync
36559 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36560 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36561 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36562 echo $ECHO_N "(cached) $ECHO_C" >&6
36565 cat >conftest.$ac_ext <<_ACEOF
36569 cat confdefs.h >>conftest.$ac_ext
36570 cat >>conftest.$ac_ext <<_ACEOF
36571 /* end confdefs.h. */
36574 $ac_includes_default
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 eval wx_cv_func_
$wx_func=yes
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.
$ac_ext >&5
36613 eval wx_cv_func_
$wx_func=no
36616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36617 conftest
$ac_exeext conftest.
$ac_ext
36620 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36621 { echo "$as_me:$LINENO: result: $ac_res" >&5
36622 echo "${ECHO_T}$ac_res" >&6; }
36624 if eval test \
$wx_cv_func_$wx_func = yes
36626 cat >>confdefs.h
<<_ACEOF
36627 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36640 ac_cpp
='$CXXCPP $CPPFLAGS'
36641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36646 for wx_func
in round
36648 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36649 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36650 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36651 echo $ECHO_N "(cached) $ECHO_C" >&6
36654 cat >conftest.
$ac_ext <<_ACEOF
36658 cat confdefs.h
>>conftest.
$ac_ext
36659 cat >>conftest.
$ac_ext <<_ACEOF
36660 /* end confdefs.h. */
36663 $ac_includes_default
36679 rm -f conftest.
$ac_objext conftest
$ac_exeext
36680 if { (ac_try
="$ac_link"
36681 case "(($ac_try" in
36682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36683 *) ac_try_echo=$ac_try;;
36685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36686 (eval "$ac_link") 2>conftest.er1
36688 grep -v '^ *+' conftest.er1 >conftest.err
36690 cat conftest.err >&5
36691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692 (exit $ac_status); } && {
36693 test -z "$ac_cxx_werror_flag" ||
36694 test ! -s conftest.err
36695 } && test -s conftest$ac_exeext &&
36696 $as_test_x conftest$ac_exeext; then
36697 eval wx_cv_func_$wx_func=yes
36699 echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36702 eval wx_cv_func_$wx_func=no
36705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36706 conftest$ac_exeext conftest.$ac_ext
36709 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36710 { echo "$as_me:$LINENO: result: $ac_res" >&5
36711 echo "${ECHO_T}$ac_res" >&6; }
36713 if eval test \$wx_cv_func_$wx_func = yes
36715 cat >>confdefs.h <<_ACEOF
36716 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36727 ac_cpp='$CPP $CPPFLAGS'
36728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36733 if test "$TOOLKIT" != "MSW"; then
36735 if test "$wxUSE_LIBICONV" != "no" ; then
36739 # Check whether --with-libiconv-prefix was given.
36740 if test "${with_libiconv_prefix+set}" = set; then
36741 withval=$with_libiconv_prefix;
36742 for dir in `echo "$withval" | tr : ' '`; do
36743 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36744 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36750 { echo "$as_me:$LINENO: checking for iconv" >&5
36751 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36752 if test "${am_cv_func_iconv+set}" = set; then
36753 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 am_cv_func_iconv="no, consider installing GNU libiconv"
36758 cat >conftest.$ac_ext <<_ACEOF
36761 cat confdefs.h >>conftest.$ac_ext
36762 cat >>conftest.$ac_ext <<_ACEOF
36763 /* end confdefs.h. */
36764 #include <stdlib.h>
36769 iconv_t cd = iconv_open("","");
36770 iconv(cd,NULL,NULL,NULL,NULL);
36776 rm -f conftest.$ac_objext conftest$ac_exeext
36777 if { (ac_try="$ac_link"
36778 case "(($ac_try" in
36779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36780 *) ac_try_echo
=$ac_try;;
36782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36783 (eval "$ac_link") 2>conftest.er1
36785 grep -v '^ *+' conftest.er1
>conftest.err
36787 cat conftest.err
>&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); } && {
36790 test -z "$ac_c_werror_flag" ||
36791 test ! -s conftest.err
36792 } && test -s conftest
$ac_exeext &&
36793 $as_test_x conftest
$ac_exeext; then
36794 am_cv_func_iconv
=yes
36796 echo "$as_me: failed program was:" >&5
36797 sed 's/^/| /' conftest.
$ac_ext >&5
36802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36803 conftest
$ac_exeext conftest.
$ac_ext
36804 if test "$am_cv_func_iconv" != yes; then
36805 am_save_LIBS
="$LIBS"
36806 LIBS
="$LIBS -liconv"
36807 cat >conftest.
$ac_ext <<_ACEOF
36810 cat confdefs.h
>>conftest.
$ac_ext
36811 cat >>conftest.
$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36813 #include <stdlib.h>
36818 iconv_t cd = iconv_open("","");
36819 iconv(cd,NULL,NULL,NULL,NULL);
36825 rm -f conftest.
$ac_objext conftest
$ac_exeext
36826 if { (ac_try
="$ac_link"
36827 case "(($ac_try" in
36828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36829 *) ac_try_echo=$ac_try;;
36831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36832 (eval "$ac_link") 2>conftest.er1
36834 grep -v '^ *+' conftest.er1 >conftest.err
36836 cat conftest.err >&5
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); } && {
36839 test -z "$ac_c_werror_flag" ||
36840 test ! -s conftest.err
36841 } && test -s conftest$ac_exeext &&
36842 $as_test_x conftest$ac_exeext; then
36843 am_cv_lib_iconv=yes
36844 am_cv_func_iconv=yes
36846 echo "$as_me: failed program was:" >&5
36847 sed 's/^/| /' conftest.$ac_ext >&5
36852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36853 conftest$ac_exeext conftest.$ac_ext
36854 LIBS="$am_save_LIBS"
36858 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36859 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36860 if test "$am_cv_func_iconv" = yes; then
36862 cat >>confdefs.h <<\_ACEOF
36863 #define HAVE_ICONV 1
36866 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36867 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36868 if test "${wx_cv_func_iconv_const+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36871 cat >conftest.$ac_ext <<_ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h. */
36878 #include <stdlib.h>
36884 #if defined(__STDC__) || defined(__cplusplus)
36885 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36898 rm -f conftest.$ac_objext
36899 if { (ac_try="$ac_compile"
36900 case "(($ac_try" in
36901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36902 *) ac_try_echo
=$ac_try;;
36904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36905 (eval "$ac_compile") 2>conftest.er1
36907 grep -v '^ *+' conftest.er1
>conftest.err
36909 cat conftest.err
>&5
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); } && {
36912 test -z "$ac_c_werror_flag" ||
36913 test ! -s conftest.err
36914 } && test -s conftest.
$ac_objext; then
36915 wx_cv_func_iconv_const
="no"
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.
$ac_ext >&5
36920 wx_cv_func_iconv_const
="yes"
36924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36927 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36928 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36931 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36932 iconv_const
="const"
36936 cat >>confdefs.h
<<_ACEOF
36937 #define ICONV_CONST $iconv_const
36942 if test "$am_cv_lib_iconv" = yes; then
36947 LIBS
="$LIBICONV $LIBS"
36950 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36952 for ac_func
in sigaction
36954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36955 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36957 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 cat >conftest.
$ac_ext <<_ACEOF
36963 cat confdefs.h
>>conftest.
$ac_ext
36964 cat >>conftest.
$ac_ext <<_ACEOF
36965 /* end confdefs.h. */
36966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36968 #define $ac_func innocuous_$ac_func
36970 /* System header to define __stub macros and hopefully few prototypes,
36971 which can conflict with char $ac_func (); below.
36972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36973 <limits.h> exists even on freestanding compilers. */
36976 # include <limits.h>
36978 # include <assert.h>
36983 /* Override any GCC internal prototype to avoid an error.
36984 Use char because int might match the return type of a GCC
36985 builtin and then its argument prototype would still apply. */
36990 /* The GNU C library defines this for functions which it implements
36991 to always fail with ENOSYS. Some functions are actually named
36992 something starting with __ and the normal name is an alias. */
36993 #if defined __stub_$ac_func || defined __stub___$ac_func
37000 return $ac_func ();
37005 rm -f conftest.
$ac_objext conftest
$ac_exeext
37006 if { (ac_try
="$ac_link"
37007 case "(($ac_try" in
37008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37009 *) ac_try_echo=$ac_try;;
37011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37012 (eval "$ac_link") 2>conftest.er1
37014 grep -v '^ *+' conftest.er1 >conftest.err
37016 cat conftest.err >&5
37017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37018 (exit $ac_status); } && {
37019 test -z "$ac_c_werror_flag" ||
37020 test ! -s conftest.err
37021 } && test -s conftest$ac_exeext &&
37022 $as_test_x conftest$ac_exeext; then
37023 eval "$as_ac_var=yes"
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.$ac_ext >&5
37028 eval "$as_ac_var=no"
37031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37032 conftest$ac_exeext conftest.$ac_ext
37034 ac_res=`eval echo '${'$as_ac_var'}'`
37035 { echo "$as_me:$LINENO: result: $ac_res" >&5
37036 echo "${ECHO_T}$ac_res" >&6; }
37037 if test `eval echo '${'$as_ac_var'}'` = yes; then
37038 cat >>confdefs.h <<_ACEOF
37039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37046 if test "$ac_cv_func_sigaction" = "no"; then
37047 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37048 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37049 wxUSE_ON_FATAL_EXCEPTION=no
37052 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37053 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37054 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37055 if test "${wx_cv_type_sa_handler+set}" = set; then
37056 echo $ECHO_N "(cached) $ECHO_C" >&6
37060 ac_cpp='$CXXCPP $CPPFLAGS'
37061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37065 cat >conftest.$ac_ext <<_ACEOF
37068 cat confdefs.h >>conftest.$ac_ext
37069 cat >>conftest.$ac_ext <<_ACEOF
37070 /* end confdefs.h. */
37071 #include <signal.h>
37076 extern void testSigHandler(int);
37078 struct sigaction sa;
37079 sa.sa_handler = testSigHandler;
37085 rm -f conftest.$ac_objext
37086 if { (ac_try="$ac_compile"
37087 case "(($ac_try" in
37088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37089 *) ac_try_echo
=$ac_try;;
37091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37092 (eval "$ac_compile") 2>conftest.er1
37094 grep -v '^ *+' conftest.er1
>conftest.err
37096 cat conftest.err
>&5
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); } && {
37099 test -z "$ac_cxx_werror_flag" ||
37100 test ! -s conftest.err
37101 } && test -s conftest.
$ac_objext; then
37103 wx_cv_type_sa_handler
=int
37106 echo "$as_me: failed program was:" >&5
37107 sed 's/^/| /' conftest.
$ac_ext >&5
37110 wx_cv_type_sa_handler
=void
37114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37116 ac_cpp
='$CPP $CPPFLAGS'
37117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37123 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37124 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37126 cat >>confdefs.h
<<_ACEOF
37127 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37133 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37134 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37135 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37136 if test "${wx_cv_func_backtrace+set}" = set; then
37137 echo $ECHO_N "(cached) $ECHO_C" >&6
37141 ac_cpp
='$CXXCPP $CPPFLAGS'
37142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37146 cat >conftest.
$ac_ext <<_ACEOF
37149 cat confdefs.h
>>conftest.
$ac_ext
37150 cat >>conftest.
$ac_ext <<_ACEOF
37151 /* end confdefs.h. */
37152 #include <execinfo.h>
37160 backtrace(trace, 1);
37161 messages = backtrace_symbols(trace, 1);
37167 rm -f conftest.
$ac_objext
37168 if { (ac_try
="$ac_compile"
37169 case "(($ac_try" in
37170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37171 *) ac_try_echo=$ac_try;;
37173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37174 (eval "$ac_compile") 2>conftest.er1
37176 grep -v '^ *+' conftest.er1 >conftest.err
37178 cat conftest.err >&5
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); } && {
37181 test -z "$ac_cxx_werror_flag" ||
37182 test ! -s conftest.err
37183 } && test -s conftest.$ac_objext; then
37184 wx_cv_func_backtrace=yes
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.$ac_ext >&5
37189 wx_cv_func_backtrace=no
37193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37195 ac_cpp='$CPP $CPPFLAGS'
37196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37204 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37207 if test "$wx_cv_func_backtrace" = "no"; then
37208 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37209 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37210 wxUSE_STACKWALKER=no
37212 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37213 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37214 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 ac_cpp='$CXXCPP $CPPFLAGS'
37220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224 cat >conftest.$ac_ext <<_ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37230 #include <cxxabi.h>
37236 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37242 rm -f conftest.$ac_objext conftest$ac_exeext
37243 if { (ac_try="$ac_link"
37244 case "(($ac_try" in
37245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37246 *) ac_try_echo
=$ac_try;;
37248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37249 (eval "$ac_link") 2>conftest.er1
37251 grep -v '^ *+' conftest.er1
>conftest.err
37253 cat conftest.err
>&5
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); } && {
37256 test -z "$ac_cxx_werror_flag" ||
37257 test ! -s conftest.err
37258 } && test -s conftest
$ac_exeext &&
37259 $as_test_x conftest
$ac_exeext; then
37260 wx_cv_func_cxa_demangle
=yes
37262 echo "$as_me: failed program was:" >&5
37263 sed 's/^/| /' conftest.
$ac_ext >&5
37265 wx_cv_func_cxa_demangle
=no
37269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37270 conftest
$ac_exeext conftest.
$ac_ext
37272 ac_cpp
='$CPP $CPPFLAGS'
37273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37280 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37281 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37283 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37284 cat >>confdefs.h
<<\_ACEOF
37285 #define HAVE_CXA_DEMANGLE 1
37292 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37293 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37294 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37295 wxUSE_STACKWALKER
=no
37301 for ac_func
in mkstemp mktemp
37303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37306 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 cat >conftest.
$ac_ext <<_ACEOF
37312 cat confdefs.h
>>conftest.
$ac_ext
37313 cat >>conftest.
$ac_ext <<_ACEOF
37314 /* end confdefs.h. */
37315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37317 #define $ac_func innocuous_$ac_func
37319 /* System header to define __stub macros and hopefully few prototypes,
37320 which can conflict with char $ac_func (); below.
37321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37322 <limits.h> exists even on freestanding compilers. */
37325 # include <limits.h>
37327 # include <assert.h>
37332 /* Override any GCC internal prototype to avoid an error.
37333 Use char because int might match the return type of a GCC
37334 builtin and then its argument prototype would still apply. */
37339 /* The GNU C library defines this for functions which it implements
37340 to always fail with ENOSYS. Some functions are actually named
37341 something starting with __ and the normal name is an alias. */
37342 #if defined __stub_$ac_func || defined __stub___$ac_func
37349 return $ac_func ();
37354 rm -f conftest.
$ac_objext conftest
$ac_exeext
37355 if { (ac_try
="$ac_link"
37356 case "(($ac_try" in
37357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37358 *) ac_try_echo=$ac_try;;
37360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37361 (eval "$ac_link") 2>conftest.er1
37363 grep -v '^ *+' conftest.er1 >conftest.err
37365 cat conftest.err >&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); } && {
37368 test -z "$ac_c_werror_flag" ||
37369 test ! -s conftest.err
37370 } && test -s conftest$ac_exeext &&
37371 $as_test_x conftest$ac_exeext; then
37372 eval "$as_ac_var=yes"
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.$ac_ext >&5
37377 eval "$as_ac_var=no"
37380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37381 conftest$ac_exeext conftest.$ac_ext
37383 ac_res=`eval echo '${'$as_ac_var'}'`
37384 { echo "$as_me:$LINENO: result: $ac_res" >&5
37385 echo "${ECHO_T}$ac_res" >&6; }
37386 if test `eval echo '${'$as_ac_var'}'` = yes; then
37387 cat >>confdefs.h <<_ACEOF
37388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37395 { echo "$as_me:$LINENO: checking for statfs" >&5
37396 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37397 if test "${wx_cv_func_statfs+set}" = set; then
37398 echo $ECHO_N "(cached) $ECHO_C" >&6
37400 cat >conftest.$ac_ext <<_ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37407 #if defined(__BSD__)
37408 #include <sys/param.h>
37409 #include <sys/mount.h>
37411 #include <sys/vfs.h>
37429 rm -f conftest.$ac_objext
37430 if { (ac_try="$ac_compile"
37431 case "(($ac_try" in
37432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37433 *) ac_try_echo
=$ac_try;;
37435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37436 (eval "$ac_compile") 2>conftest.er1
37438 grep -v '^ *+' conftest.er1
>conftest.err
37440 cat conftest.err
>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } && {
37443 test -z "$ac_c_werror_flag" ||
37444 test ! -s conftest.err
37445 } && test -s conftest.
$ac_objext; then
37446 wx_cv_func_statfs
=yes
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.
$ac_ext >&5
37451 wx_cv_func_statfs
=no
37455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37458 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37459 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37461 if test "$wx_cv_func_statfs" = "yes"; then
37462 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37463 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37464 if test "${wx_cv_func_statfs_decl+set}" = set; then
37465 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 ac_cpp
='$CXXCPP $CPPFLAGS'
37469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37473 cat >conftest.
$ac_ext <<_ACEOF
37476 cat confdefs.h
>>conftest.
$ac_ext
37477 cat >>conftest.
$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37480 #if defined(__BSD__)
37481 #include <sys/param.h>
37482 #include <sys/mount.h>
37484 #include <sys/vfs.h>
37498 rm -f conftest.
$ac_objext
37499 if { (ac_try
="$ac_compile"
37500 case "(($ac_try" in
37501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37502 *) ac_try_echo=$ac_try;;
37504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37505 (eval "$ac_compile") 2>conftest.er1
37507 grep -v '^ *+' conftest.er1 >conftest.err
37509 cat conftest.err >&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } && {
37512 test -z "$ac_cxx_werror_flag" ||
37513 test ! -s conftest.err
37514 } && test -s conftest.$ac_objext; then
37515 wx_cv_func_statfs_decl=yes
37517 echo "$as_me: failed program was:" >&5
37518 sed 's/^/| /' conftest.$ac_ext >&5
37520 wx_cv_func_statfs_decl=no
37524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37526 ac_cpp='$CPP $CPPFLAGS'
37527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37533 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37534 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37536 if test "$wx_cv_func_statfs_decl" = "yes"; then
37537 cat >>confdefs.h <<\_ACEOF
37538 #define HAVE_STATFS_DECL 1
37543 wx_cv_type_statvfs_t="struct statfs"
37544 cat >>confdefs.h <<\_ACEOF
37545 #define HAVE_STATFS 1
37549 { echo "$as_me:$LINENO: checking for statvfs" >&5
37550 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37551 if test "${wx_cv_func_statvfs+set}" = set; then
37552 echo $ECHO_N "(cached) $ECHO_C" >&6
37554 cat >conftest.$ac_ext <<_ACEOF
37557 cat confdefs.h >>conftest.$ac_ext
37558 cat >>conftest.$ac_ext <<_ACEOF
37559 /* end confdefs.h. */
37561 #include <stddef.h>
37562 #include <sys/statvfs.h>
37568 statvfs("/", NULL);
37574 rm -f conftest.$ac_objext
37575 if { (ac_try="$ac_compile"
37576 case "(($ac_try" in
37577 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37578 *) ac_try_echo
=$ac_try;;
37580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37581 (eval "$ac_compile") 2>conftest.er1
37583 grep -v '^ *+' conftest.er1
>conftest.err
37585 cat conftest.err
>&5
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); } && {
37588 test -z "$ac_c_werror_flag" ||
37589 test ! -s conftest.err
37590 } && test -s conftest.
$ac_objext; then
37591 wx_cv_func_statvfs
=yes
37593 echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.
$ac_ext >&5
37596 wx_cv_func_statvfs
=no
37600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37603 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37604 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37606 if test "$wx_cv_func_statvfs" = "yes"; then
37607 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37608 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37609 if test "${wx_cv_type_statvfs_t+set}" = set; then
37610 echo $ECHO_N "(cached) $ECHO_C" >&6
37613 ac_cpp
='$CXXCPP $CPPFLAGS'
37614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37618 cat >conftest.
$ac_ext <<_ACEOF
37621 cat confdefs.h
>>conftest.
$ac_ext
37622 cat >>conftest.
$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37625 #include <sys/statvfs.h>
37642 rm -f conftest.
$ac_objext
37643 if { (ac_try
="$ac_compile"
37644 case "(($ac_try" in
37645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37646 *) ac_try_echo=$ac_try;;
37648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37649 (eval "$ac_compile") 2>conftest.er1
37651 grep -v '^ *+' conftest.er1 >conftest.err
37653 cat conftest.err >&5
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); } && {
37656 test -z "$ac_cxx_werror_flag" ||
37657 test ! -s conftest.err
37658 } && test -s conftest.$ac_objext; then
37659 wx_cv_type_statvfs_t=statvfs_t
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37665 cat >conftest.$ac_ext <<_ACEOF
37668 cat confdefs.h >>conftest.$ac_ext
37669 cat >>conftest.$ac_ext <<_ACEOF
37670 /* end confdefs.h. */
37672 #include <sys/statvfs.h>
37689 rm -f conftest.$ac_objext
37690 if { (ac_try="$ac_compile"
37691 case "(($ac_try" in
37692 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37693 *) ac_try_echo
=$ac_try;;
37695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37696 (eval "$ac_compile") 2>conftest.er1
37698 grep -v '^ *+' conftest.er1
>conftest.err
37700 cat conftest.err
>&5
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); } && {
37703 test -z "$ac_cxx_werror_flag" ||
37704 test ! -s conftest.err
37705 } && test -s conftest.
$ac_objext; then
37706 wx_cv_type_statvfs_t
="struct statvfs"
37708 echo "$as_me: failed program was:" >&5
37709 sed 's/^/| /' conftest.
$ac_ext >&5
37711 wx_cv_type_statvfs_t
="unknown"
37715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37722 ac_cpp
='$CPP $CPPFLAGS'
37723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37729 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37730 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37732 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37733 cat >>confdefs.h
<<\_ACEOF
37734 #define HAVE_STATVFS 1
37739 wx_cv_type_statvfs_t
="unknown"
37743 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37744 cat >>confdefs.h
<<_ACEOF
37745 #define WX_STATFS_T $wx_cv_type_statvfs_t
37749 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37750 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37753 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37756 for ac_func
in fcntl flock
37758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37759 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37761 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37762 echo $ECHO_N "(cached) $ECHO_C" >&6
37764 cat >conftest.
$ac_ext <<_ACEOF
37767 cat confdefs.h
>>conftest.
$ac_ext
37768 cat >>conftest.
$ac_ext <<_ACEOF
37769 /* end confdefs.h. */
37770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37772 #define $ac_func innocuous_$ac_func
37774 /* System header to define __stub macros and hopefully few prototypes,
37775 which can conflict with char $ac_func (); below.
37776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37777 <limits.h> exists even on freestanding compilers. */
37780 # include <limits.h>
37782 # include <assert.h>
37787 /* Override any GCC internal prototype to avoid an error.
37788 Use char because int might match the return type of a GCC
37789 builtin and then its argument prototype would still apply. */
37794 /* The GNU C library defines this for functions which it implements
37795 to always fail with ENOSYS. Some functions are actually named
37796 something starting with __ and the normal name is an alias. */
37797 #if defined __stub_$ac_func || defined __stub___$ac_func
37804 return $ac_func ();
37809 rm -f conftest.
$ac_objext conftest
$ac_exeext
37810 if { (ac_try
="$ac_link"
37811 case "(($ac_try" in
37812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37813 *) ac_try_echo=$ac_try;;
37815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37816 (eval "$ac_link") 2>conftest.er1
37818 grep -v '^ *+' conftest.er1 >conftest.err
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } && {
37823 test -z "$ac_c_werror_flag" ||
37824 test ! -s conftest.err
37825 } && test -s conftest$ac_exeext &&
37826 $as_test_x conftest$ac_exeext; then
37827 eval "$as_ac_var=yes"
37829 echo "$as_me: failed program was:" >&5
37830 sed 's/^/| /' conftest.$ac_ext >&5
37832 eval "$as_ac_var=no"
37835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37836 conftest$ac_exeext conftest.$ac_ext
37838 ac_res=`eval echo '${'$as_ac_var'}'`
37839 { echo "$as_me:$LINENO: result: $ac_res" >&5
37840 echo "${ECHO_T}$ac_res" >&6; }
37841 if test `eval echo '${'$as_ac_var'}'` = yes; then
37842 cat >>confdefs.h <<_ACEOF
37843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37850 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37851 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37852 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37853 wxUSE_SNGLINST_CHECKER=no
37859 for ac_func in setenv putenv
37861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37864 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37865 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 cat >conftest.$ac_ext <<_ACEOF
37870 cat confdefs.h >>conftest.$ac_ext
37871 cat >>conftest.$ac_ext <<_ACEOF
37872 /* end confdefs.h. */
37873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37875 #define $ac_func innocuous_$ac_func
37877 /* System header to define __stub macros and hopefully few prototypes,
37878 which can conflict with char $ac_func (); below.
37879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37880 <limits.h> exists even on freestanding compilers. */
37883 # include <limits.h>
37885 # include <assert.h>
37890 /* Override any GCC internal prototype to avoid an error.
37891 Use char because int might match the return type of a GCC
37892 builtin and then its argument prototype would still apply. */
37897 /* The GNU C library defines this for functions which it implements
37898 to always fail with ENOSYS. Some functions are actually named
37899 something starting with __ and the normal name is an alias. */
37900 #if defined __stub_$ac_func || defined __stub___$ac_func
37907 return $ac_func ();
37912 rm -f conftest.$ac_objext conftest$ac_exeext
37913 if { (ac_try="$ac_link"
37914 case "(($ac_try" in
37915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37916 *) ac_try_echo
=$ac_try;;
37918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37919 (eval "$ac_link") 2>conftest.er1
37921 grep -v '^ *+' conftest.er1
>conftest.err
37923 cat conftest.err
>&5
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); } && {
37926 test -z "$ac_c_werror_flag" ||
37927 test ! -s conftest.err
37928 } && test -s conftest
$ac_exeext &&
37929 $as_test_x conftest
$ac_exeext; then
37930 eval "$as_ac_var=yes"
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.
$ac_ext >&5
37935 eval "$as_ac_var=no"
37938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37939 conftest
$ac_exeext conftest.
$ac_ext
37941 ac_res
=`eval echo '${'$as_ac_var'}'`
37942 { echo "$as_me:$LINENO: result: $ac_res" >&5
37943 echo "${ECHO_T}$ac_res" >&6; }
37944 if test `eval echo '${'$as_ac_var'}'` = yes; then
37945 cat >>confdefs.h
<<_ACEOF
37946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37952 if test "$ac_cv_func_setenv" = "yes"; then
37954 for ac_func
in unsetenv
37956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37959 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37960 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 cat >conftest.
$ac_ext <<_ACEOF
37965 cat confdefs.h
>>conftest.
$ac_ext
37966 cat >>conftest.
$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37970 #define $ac_func innocuous_$ac_func
37972 /* System header to define __stub macros and hopefully few prototypes,
37973 which can conflict with char $ac_func (); below.
37974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37975 <limits.h> exists even on freestanding compilers. */
37978 # include <limits.h>
37980 # include <assert.h>
37985 /* Override any GCC internal prototype to avoid an error.
37986 Use char because int might match the return type of a GCC
37987 builtin and then its argument prototype would still apply. */
37992 /* The GNU C library defines this for functions which it implements
37993 to always fail with ENOSYS. Some functions are actually named
37994 something starting with __ and the normal name is an alias. */
37995 #if defined __stub_$ac_func || defined __stub___$ac_func
38002 return $ac_func ();
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 eval "$as_ac_var=yes"
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38030 eval "$as_ac_var=no"
38033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38034 conftest$ac_exeext conftest.$ac_ext
38036 ac_res=`eval echo '${'$as_ac_var'}'`
38037 { echo "$as_me:$LINENO: result: $ac_res" >&5
38038 echo "${ECHO_T}$ac_res" >&6; }
38039 if test `eval echo '${'$as_ac_var'}'` = yes; then
38040 cat >>confdefs.h <<_ACEOF
38041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38049 HAVE_SOME_SLEEP_FUNC=0
38050 if test "$USE_BEOS" = 1; then
38051 cat >>confdefs.h <<\_ACEOF
38052 #define HAVE_SLEEP 1
38055 HAVE_SOME_SLEEP_FUNC=1
38058 if test "$USE_DARWIN" = 1; then
38059 cat >>confdefs.h <<\_ACEOF
38060 #define HAVE_USLEEP 1
38063 HAVE_SOME_SLEEP_FUNC=1
38066 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38069 for ac_func in nanosleep
38071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38075 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 cat >conftest.$ac_ext <<_ACEOF
38080 cat confdefs.h >>conftest.$ac_ext
38081 cat >>conftest.$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38085 #define $ac_func innocuous_$ac_func
38087 /* System header to define __stub macros and hopefully few prototypes,
38088 which can conflict with char $ac_func (); below.
38089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38090 <limits.h> exists even on freestanding compilers. */
38093 # include <limits.h>
38095 # include <assert.h>
38100 /* Override any GCC internal prototype to avoid an error.
38101 Use char because int might match the return type of a GCC
38102 builtin and then its argument prototype would still apply. */
38107 /* The GNU C library defines this for functions which it implements
38108 to always fail with ENOSYS. Some functions are actually named
38109 something starting with __ and the normal name is an alias. */
38110 #if defined __stub_$ac_func || defined __stub___$ac_func
38117 return $ac_func ();
38122 rm -f conftest.$ac_objext conftest$ac_exeext
38123 if { (ac_try="$ac_link"
38124 case "(($ac_try" in
38125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38126 *) ac_try_echo
=$ac_try;;
38128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38129 (eval "$ac_link") 2>conftest.er1
38131 grep -v '^ *+' conftest.er1
>conftest.err
38133 cat conftest.err
>&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); } && {
38136 test -z "$ac_c_werror_flag" ||
38137 test ! -s conftest.err
38138 } && test -s conftest
$ac_exeext &&
38139 $as_test_x conftest
$ac_exeext; then
38140 eval "$as_ac_var=yes"
38142 echo "$as_me: failed program was:" >&5
38143 sed 's/^/| /' conftest.
$ac_ext >&5
38145 eval "$as_ac_var=no"
38148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38149 conftest
$ac_exeext conftest.
$ac_ext
38151 ac_res
=`eval echo '${'$as_ac_var'}'`
38152 { echo "$as_me:$LINENO: result: $ac_res" >&5
38153 echo "${ECHO_T}$ac_res" >&6; }
38154 if test `eval echo '${'$as_ac_var'}'` = yes; then
38155 cat >>confdefs.h
<<_ACEOF
38156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38158 cat >>confdefs.h
<<\_ACEOF
38159 #define HAVE_NANOSLEEP 1
38164 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38165 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38166 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38167 echo $ECHO_N "(cached) $ECHO_C" >&6
38169 ac_check_lib_save_LIBS
=$LIBS
38170 LIBS
="-lposix4 $LIBS"
38171 cat >conftest.
$ac_ext <<_ACEOF
38174 cat confdefs.h
>>conftest.
$ac_ext
38175 cat >>conftest.
$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38178 /* Override any GCC internal prototype to avoid an error.
38179 Use char because int might match the return type of a GCC
38180 builtin and then its argument prototype would still apply. */
38188 return nanosleep ();
38193 rm -f conftest.
$ac_objext conftest
$ac_exeext
38194 if { (ac_try
="$ac_link"
38195 case "(($ac_try" in
38196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38197 *) ac_try_echo=$ac_try;;
38199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38200 (eval "$ac_link") 2>conftest.er1
38202 grep -v '^ *+' conftest.er1 >conftest.err
38204 cat conftest.err >&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); } && {
38207 test -z "$ac_c_werror_flag" ||
38208 test ! -s conftest.err
38209 } && test -s conftest$ac_exeext &&
38210 $as_test_x conftest$ac_exeext; then
38211 ac_cv_lib_posix4_nanosleep=yes
38213 echo "$as_me: failed program was:" >&5
38214 sed 's/^/| /' conftest.$ac_ext >&5
38216 ac_cv_lib_posix4_nanosleep=no
38219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38220 conftest$ac_exeext conftest.$ac_ext
38221 LIBS=$ac_check_lib_save_LIBS
38223 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38224 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38225 if test $ac_cv_lib_posix4_nanosleep = yes; then
38227 cat >>confdefs.h <<\_ACEOF
38228 #define HAVE_NANOSLEEP 1
38231 POSIX4_LINK=" -lposix4"
38236 for wx_func in usleep
38238 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38239 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38240 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 cat >conftest.$ac_ext <<_ACEOF
38248 cat confdefs.h >>conftest.$ac_ext
38249 cat >>conftest.$ac_ext <<_ACEOF
38250 /* end confdefs.h. */
38253 $ac_includes_default
38269 rm -f conftest.$ac_objext conftest$ac_exeext
38270 if { (ac_try="$ac_link"
38271 case "(($ac_try" in
38272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38273 *) ac_try_echo
=$ac_try;;
38275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38276 (eval "$ac_link") 2>conftest.er1
38278 grep -v '^ *+' conftest.er1
>conftest.err
38280 cat conftest.err
>&5
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); } && {
38283 test -z "$ac_c_werror_flag" ||
38284 test ! -s conftest.err
38285 } && test -s conftest
$ac_exeext &&
38286 $as_test_x conftest
$ac_exeext; then
38287 eval wx_cv_func_
$wx_func=yes
38289 echo "$as_me: failed program was:" >&5
38290 sed 's/^/| /' conftest.
$ac_ext >&5
38292 eval wx_cv_func_
$wx_func=no
38295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38296 conftest
$ac_exeext conftest.
$ac_ext
38299 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38300 { echo "$as_me:$LINENO: result: $ac_res" >&5
38301 echo "${ECHO_T}$ac_res" >&6; }
38303 if eval test \
$wx_cv_func_$wx_func = yes
38305 cat >>confdefs.h
<<_ACEOF
38306 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38312 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38313 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38330 for wx_func
in uname
38332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38334 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 cat >conftest.
$ac_ext <<_ACEOF
38342 cat confdefs.h
>>conftest.
$ac_ext
38343 cat >>conftest.
$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38346 #include <sys/utsname.h>
38347 $ac_includes_default
38363 rm -f conftest.
$ac_objext conftest
$ac_exeext
38364 if { (ac_try
="$ac_link"
38365 case "(($ac_try" in
38366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38367 *) ac_try_echo=$ac_try;;
38369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38370 (eval "$ac_link") 2>conftest.er1
38372 grep -v '^ *+' conftest.er1 >conftest.err
38374 cat conftest.err >&5
38375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38376 (exit $ac_status); } && {
38377 test -z "$ac_c_werror_flag" ||
38378 test ! -s conftest.err
38379 } && test -s conftest$ac_exeext &&
38380 $as_test_x conftest$ac_exeext; then
38381 eval wx_cv_func_$wx_func=yes
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.$ac_ext >&5
38386 eval wx_cv_func_$wx_func=no
38389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38390 conftest$ac_exeext conftest.$ac_ext
38393 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38394 { echo "$as_me:$LINENO: result: $ac_res" >&5
38395 echo "${ECHO_T}$ac_res" >&6; }
38397 if eval test \$wx_cv_func_$wx_func = yes
38399 cat >>confdefs.h <<_ACEOF
38400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38410 if test "$wx_cv_func_uname" != yes; then
38412 for wx_func in gethostname
38414 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38415 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38416 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38417 echo $ECHO_N "(cached) $ECHO_C" >&6
38420 cat >conftest.$ac_ext <<_ACEOF
38424 cat confdefs.h >>conftest.$ac_ext
38425 cat >>conftest.$ac_ext <<_ACEOF
38426 /* end confdefs.h. */
38429 $ac_includes_default
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 wx_cv_func_
$wx_func=yes
38465 echo "$as_me: failed program was:" >&5
38466 sed 's/^/| /' conftest.
$ac_ext >&5
38468 eval wx_cv_func_
$wx_func=no
38471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38472 conftest
$ac_exeext conftest.
$ac_ext
38475 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38476 { echo "$as_me:$LINENO: result: $ac_res" >&5
38477 echo "${ECHO_T}$ac_res" >&6; }
38479 if eval test \
$wx_cv_func_$wx_func = yes
38481 cat >>confdefs.h
<<_ACEOF
38482 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38495 for wx_func
in strtok_r
38497 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38498 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38499 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38500 echo $ECHO_N "(cached) $ECHO_C" >&6
38503 cat >conftest.
$ac_ext <<_ACEOF
38507 cat confdefs.h
>>conftest.
$ac_ext
38508 cat >>conftest.
$ac_ext <<_ACEOF
38509 /* end confdefs.h. */
38512 $ac_includes_default
38528 rm -f conftest.
$ac_objext conftest
$ac_exeext
38529 if { (ac_try
="$ac_link"
38530 case "(($ac_try" in
38531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38532 *) ac_try_echo=$ac_try;;
38534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38535 (eval "$ac_link") 2>conftest.er1
38537 grep -v '^ *+' conftest.er1 >conftest.err
38539 cat conftest.err >&5
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); } && {
38542 test -z "$ac_c_werror_flag" ||
38543 test ! -s conftest.err
38544 } && test -s conftest$ac_exeext &&
38545 $as_test_x conftest$ac_exeext; then
38546 eval wx_cv_func_$wx_func=yes
38548 echo "$as_me: failed program was:" >&5
38549 sed 's/^/| /' conftest.$ac_ext >&5
38551 eval wx_cv_func_$wx_func=no
38554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38555 conftest$ac_exeext conftest.$ac_ext
38558 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38559 { echo "$as_me:$LINENO: result: $ac_res" >&5
38560 echo "${ECHO_T}$ac_res" >&6; }
38562 if eval test \$wx_cv_func_$wx_func = yes
38564 cat >>confdefs.h <<_ACEOF
38565 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38578 for ac_func in inet_addr
38580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38584 echo $ECHO_N "(cached) $ECHO_C" >&6
38586 cat >conftest.$ac_ext <<_ACEOF
38589 cat confdefs.h >>conftest.$ac_ext
38590 cat >>conftest.$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38594 #define $ac_func innocuous_$ac_func
38596 /* System header to define __stub macros and hopefully few prototypes,
38597 which can conflict with char $ac_func (); below.
38598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38599 <limits.h> exists even on freestanding compilers. */
38602 # include <limits.h>
38604 # include <assert.h>
38609 /* Override any GCC internal prototype to avoid an error.
38610 Use char because int might match the return type of a GCC
38611 builtin and then its argument prototype would still apply. */
38616 /* The GNU C library defines this for functions which it implements
38617 to always fail with ENOSYS. Some functions are actually named
38618 something starting with __ and the normal name is an alias. */
38619 #if defined __stub_$ac_func || defined __stub___$ac_func
38626 return $ac_func ();
38631 rm -f conftest.$ac_objext conftest$ac_exeext
38632 if { (ac_try="$ac_link"
38633 case "(($ac_try" in
38634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38635 *) ac_try_echo
=$ac_try;;
38637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38638 (eval "$ac_link") 2>conftest.er1
38640 grep -v '^ *+' conftest.er1
>conftest.err
38642 cat conftest.err
>&5
38643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38644 (exit $ac_status); } && {
38645 test -z "$ac_c_werror_flag" ||
38646 test ! -s conftest.err
38647 } && test -s conftest
$ac_exeext &&
38648 $as_test_x conftest
$ac_exeext; then
38649 eval "$as_ac_var=yes"
38651 echo "$as_me: failed program was:" >&5
38652 sed 's/^/| /' conftest.
$ac_ext >&5
38654 eval "$as_ac_var=no"
38657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38658 conftest
$ac_exeext conftest.
$ac_ext
38660 ac_res
=`eval echo '${'$as_ac_var'}'`
38661 { echo "$as_me:$LINENO: result: $ac_res" >&5
38662 echo "${ECHO_T}$ac_res" >&6; }
38663 if test `eval echo '${'$as_ac_var'}'` = yes; then
38664 cat >>confdefs.h
<<_ACEOF
38665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38667 cat >>confdefs.h
<<\_ACEOF
38668 #define HAVE_INET_ADDR 1
38673 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38674 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38675 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38676 echo $ECHO_N "(cached) $ECHO_C" >&6
38678 ac_check_lib_save_LIBS
=$LIBS
38680 cat >conftest.
$ac_ext <<_ACEOF
38683 cat confdefs.h
>>conftest.
$ac_ext
38684 cat >>conftest.
$ac_ext <<_ACEOF
38685 /* end confdefs.h. */
38687 /* Override any GCC internal prototype to avoid an error.
38688 Use char because int might match the return type of a GCC
38689 builtin and then its argument prototype would still apply. */
38697 return inet_addr ();
38702 rm -f conftest.
$ac_objext conftest
$ac_exeext
38703 if { (ac_try
="$ac_link"
38704 case "(($ac_try" in
38705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38706 *) ac_try_echo=$ac_try;;
38708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38709 (eval "$ac_link") 2>conftest.er1
38711 grep -v '^ *+' conftest.er1 >conftest.err
38713 cat conftest.err >&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } && {
38716 test -z "$ac_c_werror_flag" ||
38717 test ! -s conftest.err
38718 } && test -s conftest$ac_exeext &&
38719 $as_test_x conftest$ac_exeext; then
38720 ac_cv_lib_nsl_inet_addr=yes
38722 echo "$as_me: failed program was:" >&5
38723 sed 's/^/| /' conftest.$ac_ext >&5
38725 ac_cv_lib_nsl_inet_addr=no
38728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38729 conftest$ac_exeext conftest.$ac_ext
38730 LIBS=$ac_check_lib_save_LIBS
38732 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38733 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38734 if test $ac_cv_lib_nsl_inet_addr = yes; then
38738 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38739 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38740 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38743 ac_check_lib_save_LIBS=$LIBS
38744 LIBS="-lresolv $LIBS"
38745 cat >conftest.$ac_ext <<_ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38752 /* Override any GCC internal prototype to avoid an error.
38753 Use char because int might match the return type of a GCC
38754 builtin and then its argument prototype would still apply. */
38762 return inet_addr ();
38767 rm -f conftest.$ac_objext conftest$ac_exeext
38768 if { (ac_try="$ac_link"
38769 case "(($ac_try" in
38770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38771 *) ac_try_echo
=$ac_try;;
38773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38774 (eval "$ac_link") 2>conftest.er1
38776 grep -v '^ *+' conftest.er1
>conftest.err
38778 cat conftest.err
>&5
38779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38780 (exit $ac_status); } && {
38781 test -z "$ac_c_werror_flag" ||
38782 test ! -s conftest.err
38783 } && test -s conftest
$ac_exeext &&
38784 $as_test_x conftest
$ac_exeext; then
38785 ac_cv_lib_resolv_inet_addr
=yes
38787 echo "$as_me: failed program was:" >&5
38788 sed 's/^/| /' conftest.
$ac_ext >&5
38790 ac_cv_lib_resolv_inet_addr
=no
38793 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38794 conftest
$ac_exeext conftest.
$ac_ext
38795 LIBS
=$ac_check_lib_save_LIBS
38797 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38798 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38799 if test $ac_cv_lib_resolv_inet_addr = yes; then
38803 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38804 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38805 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38806 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 ac_check_lib_save_LIBS
=$LIBS
38809 LIBS
="-lsocket $LIBS"
38810 cat >conftest.
$ac_ext <<_ACEOF
38813 cat confdefs.h
>>conftest.
$ac_ext
38814 cat >>conftest.
$ac_ext <<_ACEOF
38815 /* end confdefs.h. */
38817 /* Override any GCC internal prototype to avoid an error.
38818 Use char because int might match the return type of a GCC
38819 builtin and then its argument prototype would still apply. */
38827 return inet_addr ();
38832 rm -f conftest.
$ac_objext conftest
$ac_exeext
38833 if { (ac_try
="$ac_link"
38834 case "(($ac_try" in
38835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38836 *) ac_try_echo=$ac_try;;
38838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38839 (eval "$ac_link") 2>conftest.er1
38841 grep -v '^ *+' conftest.er1 >conftest.err
38843 cat conftest.err >&5
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); } && {
38846 test -z "$ac_c_werror_flag" ||
38847 test ! -s conftest.err
38848 } && test -s conftest$ac_exeext &&
38849 $as_test_x conftest$ac_exeext; then
38850 ac_cv_lib_socket_inet_addr=yes
38852 echo "$as_me: failed program was:" >&5
38853 sed 's/^/| /' conftest.$ac_ext >&5
38855 ac_cv_lib_socket_inet_addr=no
38858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38859 conftest$ac_exeext conftest.$ac_ext
38860 LIBS=$ac_check_lib_save_LIBS
38862 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38863 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38864 if test $ac_cv_lib_socket_inet_addr = yes; then
38884 for ac_func in inet_aton
38886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38890 echo $ECHO_N "(cached) $ECHO_C" >&6
38892 cat >conftest.$ac_ext <<_ACEOF
38895 cat confdefs.h >>conftest.$ac_ext
38896 cat >>conftest.$ac_ext <<_ACEOF
38897 /* end confdefs.h. */
38898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38900 #define $ac_func innocuous_$ac_func
38902 /* System header to define __stub macros and hopefully few prototypes,
38903 which can conflict with char $ac_func (); below.
38904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38905 <limits.h> exists even on freestanding compilers. */
38908 # include <limits.h>
38910 # include <assert.h>
38915 /* Override any GCC internal prototype to avoid an error.
38916 Use char because int might match the return type of a GCC
38917 builtin and then its argument prototype would still apply. */
38922 /* The GNU C library defines this for functions which it implements
38923 to always fail with ENOSYS. Some functions are actually named
38924 something starting with __ and the normal name is an alias. */
38925 #if defined __stub_$ac_func || defined __stub___$ac_func
38932 return $ac_func ();
38937 rm -f conftest.$ac_objext conftest$ac_exeext
38938 if { (ac_try="$ac_link"
38939 case "(($ac_try" in
38940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38941 *) ac_try_echo
=$ac_try;;
38943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38944 (eval "$ac_link") 2>conftest.er1
38946 grep -v '^ *+' conftest.er1
>conftest.err
38948 cat conftest.err
>&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } && {
38951 test -z "$ac_c_werror_flag" ||
38952 test ! -s conftest.err
38953 } && test -s conftest
$ac_exeext &&
38954 $as_test_x conftest
$ac_exeext; then
38955 eval "$as_ac_var=yes"
38957 echo "$as_me: failed program was:" >&5
38958 sed 's/^/| /' conftest.
$ac_ext >&5
38960 eval "$as_ac_var=no"
38963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38964 conftest
$ac_exeext conftest.
$ac_ext
38966 ac_res
=`eval echo '${'$as_ac_var'}'`
38967 { echo "$as_me:$LINENO: result: $ac_res" >&5
38968 echo "${ECHO_T}$ac_res" >&6; }
38969 if test `eval echo '${'$as_ac_var'}'` = yes; then
38970 cat >>confdefs.h
<<_ACEOF
38971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38973 cat >>confdefs.h
<<\_ACEOF
38974 #define HAVE_INET_ATON 1
38979 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38980 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38981 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38982 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38983 echo $ECHO_N "(cached) $ECHO_C" >&6
38985 ac_check_lib_save_LIBS
=$LIBS
38986 LIBS
="-l$INET_LINK $LIBS"
38987 cat >conftest.
$ac_ext <<_ACEOF
38990 cat confdefs.h
>>conftest.
$ac_ext
38991 cat >>conftest.
$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38994 /* Override any GCC internal prototype to avoid an error.
38995 Use char because int might match the return type of a GCC
38996 builtin and then its argument prototype would still apply. */
39004 return inet_aton ();
39009 rm -f conftest.
$ac_objext conftest
$ac_exeext
39010 if { (ac_try
="$ac_link"
39011 case "(($ac_try" in
39012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39013 *) ac_try_echo=$ac_try;;
39015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39016 (eval "$ac_link") 2>conftest.er1
39018 grep -v '^ *+' conftest.er1 >conftest.err
39020 cat conftest.err >&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); } && {
39023 test -z "$ac_c_werror_flag" ||
39024 test ! -s conftest.err
39025 } && test -s conftest$ac_exeext &&
39026 $as_test_x conftest$ac_exeext; then
39027 eval "$as_ac_Lib=yes"
39029 echo "$as_me: failed program was:" >&5
39030 sed 's/^/| /' conftest.$ac_ext >&5
39032 eval "$as_ac_Lib=no"
39035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39036 conftest$ac_exeext conftest.$ac_ext
39037 LIBS=$ac_check_lib_save_LIBS
39039 ac_res=`eval echo '${'$as_ac_Lib'}'`
39040 { echo "$as_me:$LINENO: result: $ac_res" >&5
39041 echo "${ECHO_T}$ac_res" >&6; }
39042 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39043 cat >>confdefs.h <<\_ACEOF
39044 #define HAVE_INET_ATON 1
39054 if test "x$INET_LINK" != "x"; then
39055 cat >>confdefs.h <<\_ACEOF
39056 #define HAVE_INET_ADDR 1
39059 INET_LINK=" -l$INET_LINK"
39063 for wx_func in fdopen
39065 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39066 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39067 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39068 echo $ECHO_N "(cached) $ECHO_C" >&6
39071 cat >conftest.$ac_ext <<_ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39080 $ac_includes_default
39096 rm -f conftest.$ac_objext conftest$ac_exeext
39097 if { (ac_try="$ac_link"
39098 case "(($ac_try" in
39099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39100 *) ac_try_echo
=$ac_try;;
39102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39103 (eval "$ac_link") 2>conftest.er1
39105 grep -v '^ *+' conftest.er1
>conftest.err
39107 cat conftest.err
>&5
39108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109 (exit $ac_status); } && {
39110 test -z "$ac_c_werror_flag" ||
39111 test ! -s conftest.err
39112 } && test -s conftest
$ac_exeext &&
39113 $as_test_x conftest
$ac_exeext; then
39114 eval wx_cv_func_
$wx_func=yes
39116 echo "$as_me: failed program was:" >&5
39117 sed 's/^/| /' conftest.
$ac_ext >&5
39119 eval wx_cv_func_
$wx_func=no
39122 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39123 conftest
$ac_exeext conftest.
$ac_ext
39126 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39127 { echo "$as_me:$LINENO: result: $ac_res" >&5
39128 echo "${ECHO_T}$ac_res" >&6; }
39130 if eval test \
$wx_cv_func_$wx_func = yes
39132 cat >>confdefs.h
<<_ACEOF
39133 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39144 if test "$wxUSE_TARSTREAM" = "yes"; then
39146 for wx_func
in sysconf
39148 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39149 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39150 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39151 echo $ECHO_N "(cached) $ECHO_C" >&6
39154 cat >conftest.
$ac_ext <<_ACEOF
39158 cat confdefs.h
>>conftest.
$ac_ext
39159 cat >>conftest.
$ac_ext <<_ACEOF
39160 /* end confdefs.h. */
39163 $ac_includes_default
39179 rm -f conftest.
$ac_objext conftest
$ac_exeext
39180 if { (ac_try
="$ac_link"
39181 case "(($ac_try" in
39182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39183 *) ac_try_echo=$ac_try;;
39185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39186 (eval "$ac_link") 2>conftest.er1
39188 grep -v '^ *+' conftest.er1 >conftest.err
39190 cat conftest.err >&5
39191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192 (exit $ac_status); } && {
39193 test -z "$ac_c_werror_flag" ||
39194 test ! -s conftest.err
39195 } && test -s conftest$ac_exeext &&
39196 $as_test_x conftest$ac_exeext; then
39197 eval wx_cv_func_$wx_func=yes
39199 echo "$as_me: failed program was:" >&5
39200 sed 's/^/| /' conftest.$ac_ext >&5
39202 eval wx_cv_func_$wx_func=no
39205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39206 conftest$ac_exeext conftest.$ac_ext
39209 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39210 { echo "$as_me:$LINENO: result: $ac_res" >&5
39211 echo "${ECHO_T}$ac_res" >&6; }
39213 if eval test \$wx_cv_func_$wx_func = yes
39215 cat >>confdefs.h <<_ACEOF
39216 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39228 for wx_func in getpwuid_r
39230 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39231 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39232 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39233 echo $ECHO_N "(cached) $ECHO_C" >&6
39236 cat >conftest.$ac_ext <<_ACEOF
39240 cat confdefs.h >>conftest.$ac_ext
39241 cat >>conftest.$ac_ext <<_ACEOF
39242 /* end confdefs.h. */
39248 $ac_includes_default
39258 struct passwd pw, *ppw;
39260 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39268 rm -f conftest.$ac_objext conftest$ac_exeext
39269 if { (ac_try="$ac_link"
39270 case "(($ac_try" in
39271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39272 *) ac_try_echo
=$ac_try;;
39274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39275 (eval "$ac_link") 2>conftest.er1
39277 grep -v '^ *+' conftest.er1
>conftest.err
39279 cat conftest.err
>&5
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); } && {
39282 test -z "$ac_c_werror_flag" ||
39283 test ! -s conftest.err
39284 } && test -s conftest
$ac_exeext &&
39285 $as_test_x conftest
$ac_exeext; then
39286 eval wx_cv_func_
$wx_func=yes
39288 echo "$as_me: failed program was:" >&5
39289 sed 's/^/| /' conftest.
$ac_ext >&5
39291 eval wx_cv_func_
$wx_func=no
39294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39295 conftest
$ac_exeext conftest.
$ac_ext
39298 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39299 { echo "$as_me:$LINENO: result: $ac_res" >&5
39300 echo "${ECHO_T}$ac_res" >&6; }
39302 if eval test \
$wx_cv_func_$wx_func = yes
39304 cat >>confdefs.h
<<_ACEOF
39305 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39317 for wx_func
in getgrgid_r
39319 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39320 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39321 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39322 echo $ECHO_N "(cached) $ECHO_C" >&6
39325 cat >conftest.
$ac_ext <<_ACEOF
39329 cat confdefs.h
>>conftest.
$ac_ext
39330 cat >>conftest.
$ac_ext <<_ACEOF
39331 /* end confdefs.h. */
39337 $ac_includes_default
39347 struct group grp, *pgrp;
39349 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39357 rm -f conftest.
$ac_objext conftest
$ac_exeext
39358 if { (ac_try
="$ac_link"
39359 case "(($ac_try" in
39360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39361 *) ac_try_echo=$ac_try;;
39363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39364 (eval "$ac_link") 2>conftest.er1
39366 grep -v '^ *+' conftest.er1 >conftest.err
39368 cat conftest.err >&5
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); } && {
39371 test -z "$ac_c_werror_flag" ||
39372 test ! -s conftest.err
39373 } && test -s conftest$ac_exeext &&
39374 $as_test_x conftest$ac_exeext; then
39375 eval wx_cv_func_$wx_func=yes
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.$ac_ext >&5
39380 eval wx_cv_func_$wx_func=no
39383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39384 conftest$ac_exeext conftest.$ac_ext
39387 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39388 { echo "$as_me:$LINENO: result: $ac_res" >&5
39389 echo "${ECHO_T}$ac_res" >&6; }
39391 if eval test \$wx_cv_func_$wx_func = yes
39393 cat >>confdefs.h <<_ACEOF
39394 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39410 cat >confcache <<\_ACEOF
39411 # This file is a shell script that caches the results of configure
39412 # tests run on this system so they can be shared between configure
39413 # scripts and configure runs, see configure's option --config-cache.
39414 # It is not useful on other systems. If it contains results you don't
39415 # want to keep, you may remove or edit it.
39417 # config.status only pays attention to the cache file if you give it
39418 # the --recheck option to rerun configure.
39420 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39421 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39422 # following values.
39426 # The following way of writing the cache mishandles newlines in values,
39427 # but we know of no workaround that is simple, portable, and efficient.
39428 # So, we kill variables containing newlines.
39429 # Ultrix sh set writes to stderr and can't be redirected directly,
39430 # and sets the high bit in the cache file unless we assign to the vars.
39432 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39433 eval ac_val
=\$
$ac_var
39437 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39438 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39441 _
| IFS
| as_nl
) ;; #(
39442 *) $as_unset $ac_var ;;
39448 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39449 *${as_nl}ac_space
=\
*)
39450 # `set' does not quote correctly, so add quotes (double-quote
39451 # substitution turns \\\\ into \\, and sed turns \\ into \).
39454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39457 # `set' quotes correctly as required by POSIX, so do not add quotes.
39458 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39469 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39471 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39472 if test -w "$cache_file"; then
39473 test "x$cache_file" != "x/dev/null" &&
39474 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39475 echo "$as_me: updating cache $cache_file" >&6;}
39476 cat confcache
>$cache_file
39478 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39479 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39485 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39491 if test "$wxUSE_THREADS" = "yes" ; then
39492 if test "$USE_BEOS" = 1; then
39493 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39494 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39499 if test "$wxUSE_THREADS" = "yes" ; then
39502 THREAD_OPTS
="-pthread"
39503 if test "x$SUNCXX" = xyes
; then
39504 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39508 *-*-solaris2* | *-*-sunos4* )
39509 if test "x$GCC" = "xyes"; then
39510 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39514 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39516 *-*-darwin* | *-*-cygwin* )
39520 THREAD_OPTS
="pthreads"
39523 if test "x$GCC" = "xyes"; then
39524 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39532 if test "x$GCC" = "xyes"; then
39542 if test "x$GCC" != "xyes"; then
39543 THREAD_OPTS
="-Ethread"
39550 THREAD_OPTS
="none pthread"
39554 THREAD_OPTS
="$THREAD_OPTS pthread none"
39559 for flag
in $THREAD_OPTS; do
39562 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39563 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39567 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39568 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39569 THREADS_CFLAGS
="$flag"
39573 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39574 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39575 THREADS_LINK
="-l$flag"
39580 save_CFLAGS
="$CFLAGS"
39581 LIBS
="$THREADS_LINK $LIBS"
39582 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39584 cat >conftest.
$ac_ext <<_ACEOF
39587 cat confdefs.h
>>conftest.
$ac_ext
39588 cat >>conftest.
$ac_ext <<_ACEOF
39589 /* end confdefs.h. */
39590 #include <pthread.h>
39594 pthread_create(0,0,0,0);
39599 rm -f conftest.
$ac_objext conftest
$ac_exeext
39600 if { (ac_try
="$ac_link"
39601 case "(($ac_try" in
39602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39603 *) ac_try_echo=$ac_try;;
39605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39606 (eval "$ac_link") 2>conftest.er1
39608 grep -v '^ *+' conftest.er1 >conftest.err
39610 cat conftest.err >&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); } && {
39613 test -z "$ac_c_werror_flag" ||
39614 test ! -s conftest.err
39615 } && test -s conftest$ac_exeext &&
39616 $as_test_x conftest$ac_exeext; then
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.$ac_ext >&5
39625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39626 conftest$ac_exeext conftest.$ac_ext
39629 CFLAGS="$save_CFLAGS"
39631 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39632 echo "${ECHO_T}$THREADS_OK" >&6; }
39633 if test "x$THREADS_OK" = "xyes"; then
39641 if test "x$THREADS_OK" != "xyes"; then
39643 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39644 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39646 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39647 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39648 LIBS="$THREADS_LINK $LIBS"
39650 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39651 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39655 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39656 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39657 flag="-D_THREAD_SAFE"
39660 flag="-D_THREAD_SAFE"
39663 flag="-D_REENTRANT"
39664 if test "x$GCC" != "xyes"; then
39665 flag="$flag -D_RWSTD_MULTI_THREAD"
39668 *solaris* | alpha*-osf*)
39669 flag="-D_REENTRANT"
39672 { echo "$as_me:$LINENO: result: ${flag}" >&5
39673 echo "${ECHO_T}${flag}" >&6; }
39674 if test "x$flag" != xno; then
39675 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39678 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39682 if test "$wxUSE_THREADS" = "yes" ; then
39684 for ac_func in thr_setconcurrency
39686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39690 echo $ECHO_N "(cached) $ECHO_C" >&6
39692 cat >conftest.$ac_ext <<_ACEOF
39695 cat confdefs.h >>conftest.$ac_ext
39696 cat >>conftest.$ac_ext <<_ACEOF
39697 /* end confdefs.h. */
39698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39700 #define $ac_func innocuous_$ac_func
39702 /* System header to define __stub macros and hopefully few prototypes,
39703 which can conflict with char $ac_func (); below.
39704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39705 <limits.h> exists even on freestanding compilers. */
39708 # include <limits.h>
39710 # include <assert.h>
39715 /* Override any GCC internal prototype to avoid an error.
39716 Use char because int might match the return type of a GCC
39717 builtin and then its argument prototype would still apply. */
39722 /* The GNU C library defines this for functions which it implements
39723 to always fail with ENOSYS. Some functions are actually named
39724 something starting with __ and the normal name is an alias. */
39725 #if defined __stub_$ac_func || defined __stub___$ac_func
39732 return $ac_func ();
39737 rm -f conftest.$ac_objext conftest$ac_exeext
39738 if { (ac_try="$ac_link"
39739 case "(($ac_try" in
39740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39741 *) ac_try_echo
=$ac_try;;
39743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39744 (eval "$ac_link") 2>conftest.er1
39746 grep -v '^ *+' conftest.er1
>conftest.err
39748 cat conftest.err
>&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); } && {
39751 test -z "$ac_c_werror_flag" ||
39752 test ! -s conftest.err
39753 } && test -s conftest
$ac_exeext &&
39754 $as_test_x conftest
$ac_exeext; then
39755 eval "$as_ac_var=yes"
39757 echo "$as_me: failed program was:" >&5
39758 sed 's/^/| /' conftest.
$ac_ext >&5
39760 eval "$as_ac_var=no"
39763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39764 conftest
$ac_exeext conftest.
$ac_ext
39766 ac_res
=`eval echo '${'$as_ac_var'}'`
39767 { echo "$as_me:$LINENO: result: $ac_res" >&5
39768 echo "${ECHO_T}$ac_res" >&6; }
39769 if test `eval echo '${'$as_ac_var'}'` = yes; then
39770 cat >>confdefs.h
<<_ACEOF
39771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39778 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39779 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39780 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39781 echo $ECHO_N "(cached) $ECHO_C" >&6
39785 ac_cpp
='$CXXCPP $CPPFLAGS'
39786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39790 cat >conftest.
$ac_ext <<_ACEOF
39793 cat confdefs.h
>>conftest.
$ac_ext
39794 cat >>conftest.
$ac_ext <<_ACEOF
39795 /* end confdefs.h. */
39796 #include <pthread.h>
39797 void ThreadCleanupFunc(void *p);
39804 pthread_cleanup_push(ThreadCleanupFunc, p);
39805 pthread_cleanup_pop(0);
39811 rm -f conftest.
$ac_objext
39812 if { (ac_try
="$ac_compile"
39813 case "(($ac_try" in
39814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39815 *) ac_try_echo=$ac_try;;
39817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39818 (eval "$ac_compile") 2>conftest.er1
39820 grep -v '^ *+' conftest.er1 >conftest.err
39822 cat conftest.err >&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); } && {
39825 test -z "$ac_cxx_werror_flag" ||
39826 test ! -s conftest.err
39827 } && test -s conftest.$ac_objext; then
39829 wx_cv_func_pthread_cleanup=yes
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39836 wx_cv_func_pthread_cleanup=no
39841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39843 ac_cpp='$CPP $CPPFLAGS'
39844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39850 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39851 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39852 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39853 cat >>confdefs.h <<\_ACEOF
39854 #define wxHAVE_PTHREAD_CLEANUP 1
39860 for ac_header in sched.h
39862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39866 echo $ECHO_N "(cached) $ECHO_C" >&6
39868 cat >conftest.$ac_ext <<_ACEOF
39871 cat confdefs.h >>conftest.$ac_ext
39872 cat >>conftest.$ac_ext <<_ACEOF
39873 /* end confdefs.h. */
39874 $ac_includes_default
39876 #include <$ac_header>
39878 rm -f conftest.$ac_objext
39879 if { (ac_try="$ac_compile"
39880 case "(($ac_try" in
39881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39882 *) ac_try_echo
=$ac_try;;
39884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39885 (eval "$ac_compile") 2>conftest.er1
39887 grep -v '^ *+' conftest.er1
>conftest.err
39889 cat conftest.err
>&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } && {
39892 test -z "$ac_c_werror_flag" ||
39893 test ! -s conftest.err
39894 } && test -s conftest.
$ac_objext; then
39895 eval "$as_ac_Header=yes"
39897 echo "$as_me: failed program was:" >&5
39898 sed 's/^/| /' conftest.
$ac_ext >&5
39900 eval "$as_ac_Header=no"
39903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39905 ac_res
=`eval echo '${'$as_ac_Header'}'`
39906 { echo "$as_me:$LINENO: result: $ac_res" >&5
39907 echo "${ECHO_T}$ac_res" >&6; }
39908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39909 cat >>confdefs.h
<<_ACEOF
39910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39917 if test "$ac_cv_header_sched_h" = "yes"; then
39918 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39919 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39920 if test "${ac_cv_func_sched_yield+set}" = set; then
39921 echo $ECHO_N "(cached) $ECHO_C" >&6
39923 cat >conftest.
$ac_ext <<_ACEOF
39926 cat confdefs.h
>>conftest.
$ac_ext
39927 cat >>conftest.
$ac_ext <<_ACEOF
39928 /* end confdefs.h. */
39929 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39931 #define sched_yield innocuous_sched_yield
39933 /* System header to define __stub macros and hopefully few prototypes,
39934 which can conflict with char sched_yield (); below.
39935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39936 <limits.h> exists even on freestanding compilers. */
39939 # include <limits.h>
39941 # include <assert.h>
39946 /* Override any GCC internal prototype to avoid an error.
39947 Use char because int might match the return type of a GCC
39948 builtin and then its argument prototype would still apply. */
39952 char sched_yield ();
39953 /* The GNU C library defines this for functions which it implements
39954 to always fail with ENOSYS. Some functions are actually named
39955 something starting with __ and the normal name is an alias. */
39956 #if defined __stub_sched_yield || defined __stub___sched_yield
39963 return sched_yield ();
39968 rm -f conftest.
$ac_objext conftest
$ac_exeext
39969 if { (ac_try
="$ac_link"
39970 case "(($ac_try" in
39971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39972 *) ac_try_echo=$ac_try;;
39974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39975 (eval "$ac_link") 2>conftest.er1
39977 grep -v '^ *+' conftest.er1 >conftest.err
39979 cat conftest.err >&5
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); } && {
39982 test -z "$ac_c_werror_flag" ||
39983 test ! -s conftest.err
39984 } && test -s conftest$ac_exeext &&
39985 $as_test_x conftest$ac_exeext; then
39986 ac_cv_func_sched_yield=yes
39988 echo "$as_me: failed program was:" >&5
39989 sed 's/^/| /' conftest.$ac_ext >&5
39991 ac_cv_func_sched_yield=no
39994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39995 conftest$ac_exeext conftest.$ac_ext
39997 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39998 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39999 if test $ac_cv_func_sched_yield = yes; then
40000 cat >>confdefs.h <<\_ACEOF
40001 #define HAVE_SCHED_YIELD 1
40006 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40007 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40008 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40009 echo $ECHO_N "(cached) $ECHO_C" >&6
40011 ac_check_lib_save_LIBS=$LIBS
40012 LIBS="-lposix4 $LIBS"
40013 cat >conftest.$ac_ext <<_ACEOF
40016 cat confdefs.h >>conftest.$ac_ext
40017 cat >>conftest.$ac_ext <<_ACEOF
40018 /* end confdefs.h. */
40020 /* Override any GCC internal prototype to avoid an error.
40021 Use char because int might match the return type of a GCC
40022 builtin and then its argument prototype would still apply. */
40026 char sched_yield ();
40030 return sched_yield ();
40035 rm -f conftest.$ac_objext conftest$ac_exeext
40036 if { (ac_try="$ac_link"
40037 case "(($ac_try" in
40038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40039 *) ac_try_echo
=$ac_try;;
40041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40042 (eval "$ac_link") 2>conftest.er1
40044 grep -v '^ *+' conftest.er1
>conftest.err
40046 cat conftest.err
>&5
40047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40048 (exit $ac_status); } && {
40049 test -z "$ac_c_werror_flag" ||
40050 test ! -s conftest.err
40051 } && test -s conftest
$ac_exeext &&
40052 $as_test_x conftest
$ac_exeext; then
40053 ac_cv_lib_posix4_sched_yield
=yes
40055 echo "$as_me: failed program was:" >&5
40056 sed 's/^/| /' conftest.
$ac_ext >&5
40058 ac_cv_lib_posix4_sched_yield
=no
40061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40062 conftest
$ac_exeext conftest.
$ac_ext
40063 LIBS
=$ac_check_lib_save_LIBS
40065 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40066 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40067 if test $ac_cv_lib_posix4_sched_yield = yes; then
40068 cat >>confdefs.h
<<\_ACEOF
40069 #define HAVE_SCHED_YIELD 1
40071 POSIX4_LINK
=" -lposix4"
40073 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40074 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40085 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40086 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40087 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40090 cat >conftest.
$ac_ext <<_ACEOF
40093 cat confdefs.h
>>conftest.
$ac_ext
40094 cat >>conftest.
$ac_ext <<_ACEOF
40095 /* end confdefs.h. */
40096 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40098 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40100 /* System header to define __stub macros and hopefully few prototypes,
40101 which can conflict with char pthread_attr_getschedpolicy (); below.
40102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40103 <limits.h> exists even on freestanding compilers. */
40106 # include <limits.h>
40108 # include <assert.h>
40111 #undef pthread_attr_getschedpolicy
40113 /* Override any GCC internal prototype to avoid an error.
40114 Use char because int might match the return type of a GCC
40115 builtin and then its argument prototype would still apply. */
40119 char pthread_attr_getschedpolicy ();
40120 /* The GNU C library defines this for functions which it implements
40121 to always fail with ENOSYS. Some functions are actually named
40122 something starting with __ and the normal name is an alias. */
40123 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40130 return pthread_attr_getschedpolicy ();
40135 rm -f conftest.
$ac_objext conftest
$ac_exeext
40136 if { (ac_try
="$ac_link"
40137 case "(($ac_try" in
40138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40139 *) ac_try_echo=$ac_try;;
40141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40142 (eval "$ac_link") 2>conftest.er1
40144 grep -v '^ *+' conftest.er1 >conftest.err
40146 cat conftest.err >&5
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); } && {
40149 test -z "$ac_c_werror_flag" ||
40150 test ! -s conftest.err
40151 } && test -s conftest$ac_exeext &&
40152 $as_test_x conftest$ac_exeext; then
40153 ac_cv_func_pthread_attr_getschedpolicy=yes
40155 echo "$as_me: failed program was:" >&5
40156 sed 's/^/| /' conftest.$ac_ext >&5
40158 ac_cv_func_pthread_attr_getschedpolicy=no
40161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40162 conftest$ac_exeext conftest.$ac_ext
40164 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40165 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40166 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40167 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40168 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40169 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40170 echo $ECHO_N "(cached) $ECHO_C" >&6
40172 cat >conftest.$ac_ext <<_ACEOF
40175 cat confdefs.h >>conftest.$ac_ext
40176 cat >>conftest.$ac_ext <<_ACEOF
40177 /* end confdefs.h. */
40178 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40180 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40182 /* System header to define __stub macros and hopefully few prototypes,
40183 which can conflict with char pthread_attr_setschedparam (); below.
40184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40185 <limits.h> exists even on freestanding compilers. */
40188 # include <limits.h>
40190 # include <assert.h>
40193 #undef pthread_attr_setschedparam
40195 /* Override any GCC internal prototype to avoid an error.
40196 Use char because int might match the return type of a GCC
40197 builtin and then its argument prototype would still apply. */
40201 char pthread_attr_setschedparam ();
40202 /* The GNU C library defines this for functions which it implements
40203 to always fail with ENOSYS. Some functions are actually named
40204 something starting with __ and the normal name is an alias. */
40205 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40212 return pthread_attr_setschedparam ();
40217 rm -f conftest.$ac_objext conftest$ac_exeext
40218 if { (ac_try="$ac_link"
40219 case "(($ac_try" in
40220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40221 *) ac_try_echo
=$ac_try;;
40223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40224 (eval "$ac_link") 2>conftest.er1
40226 grep -v '^ *+' conftest.er1
>conftest.err
40228 cat conftest.err
>&5
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); } && {
40231 test -z "$ac_c_werror_flag" ||
40232 test ! -s conftest.err
40233 } && test -s conftest
$ac_exeext &&
40234 $as_test_x conftest
$ac_exeext; then
40235 ac_cv_func_pthread_attr_setschedparam
=yes
40237 echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.
$ac_ext >&5
40240 ac_cv_func_pthread_attr_setschedparam
=no
40243 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40244 conftest
$ac_exeext conftest.
$ac_ext
40246 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40247 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40248 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40249 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40250 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40251 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40252 echo $ECHO_N "(cached) $ECHO_C" >&6
40254 cat >conftest.
$ac_ext <<_ACEOF
40257 cat confdefs.h
>>conftest.
$ac_ext
40258 cat >>conftest.
$ac_ext <<_ACEOF
40259 /* end confdefs.h. */
40260 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40262 #define sched_get_priority_max innocuous_sched_get_priority_max
40264 /* System header to define __stub macros and hopefully few prototypes,
40265 which can conflict with char sched_get_priority_max (); below.
40266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40267 <limits.h> exists even on freestanding compilers. */
40270 # include <limits.h>
40272 # include <assert.h>
40275 #undef sched_get_priority_max
40277 /* Override any GCC internal prototype to avoid an error.
40278 Use char because int might match the return type of a GCC
40279 builtin and then its argument prototype would still apply. */
40283 char sched_get_priority_max ();
40284 /* The GNU C library defines this for functions which it implements
40285 to always fail with ENOSYS. Some functions are actually named
40286 something starting with __ and the normal name is an alias. */
40287 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40294 return sched_get_priority_max ();
40299 rm -f conftest.
$ac_objext conftest
$ac_exeext
40300 if { (ac_try
="$ac_link"
40301 case "(($ac_try" in
40302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40303 *) ac_try_echo=$ac_try;;
40305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40306 (eval "$ac_link") 2>conftest.er1
40308 grep -v '^ *+' conftest.er1 >conftest.err
40310 cat conftest.err >&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } && {
40313 test -z "$ac_c_werror_flag" ||
40314 test ! -s conftest.err
40315 } && test -s conftest$ac_exeext &&
40316 $as_test_x conftest$ac_exeext; then
40317 ac_cv_func_sched_get_priority_max=yes
40319 echo "$as_me: failed program was:" >&5
40320 sed 's/^/| /' conftest.$ac_ext >&5
40322 ac_cv_func_sched_get_priority_max=no
40325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40326 conftest$ac_exeext conftest.$ac_ext
40328 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40329 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40330 if test $ac_cv_func_sched_get_priority_max = yes; then
40333 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40334 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40335 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40336 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 ac_check_lib_save_LIBS=$LIBS
40339 LIBS="-lposix4 $LIBS"
40340 cat >conftest.$ac_ext <<_ACEOF
40343 cat confdefs.h >>conftest.$ac_ext
40344 cat >>conftest.$ac_ext <<_ACEOF
40345 /* end confdefs.h. */
40347 /* Override any GCC internal prototype to avoid an error.
40348 Use char because int might match the return type of a GCC
40349 builtin and then its argument prototype would still apply. */
40353 char sched_get_priority_max ();
40357 return sched_get_priority_max ();
40362 rm -f conftest.$ac_objext conftest$ac_exeext
40363 if { (ac_try="$ac_link"
40364 case "(($ac_try" in
40365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40366 *) ac_try_echo
=$ac_try;;
40368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40369 (eval "$ac_link") 2>conftest.er1
40371 grep -v '^ *+' conftest.er1
>conftest.err
40373 cat conftest.err
>&5
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); } && {
40376 test -z "$ac_c_werror_flag" ||
40377 test ! -s conftest.err
40378 } && test -s conftest
$ac_exeext &&
40379 $as_test_x conftest
$ac_exeext; then
40380 ac_cv_lib_posix4_sched_get_priority_max
=yes
40382 echo "$as_me: failed program was:" >&5
40383 sed 's/^/| /' conftest.
$ac_ext >&5
40385 ac_cv_lib_posix4_sched_get_priority_max
=no
40388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40389 conftest
$ac_exeext conftest.
$ac_ext
40390 LIBS
=$ac_check_lib_save_LIBS
40392 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40393 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40394 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40397 POSIX4_LINK
=" -lposix4"
40411 if test "$HAVE_PRIOR_FUNCS" = 1; then
40412 cat >>confdefs.h
<<\_ACEOF
40413 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40417 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40418 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40421 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40422 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40423 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40426 cat >conftest.
$ac_ext <<_ACEOF
40429 cat confdefs.h
>>conftest.
$ac_ext
40430 cat >>conftest.
$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40432 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40434 #define pthread_cancel innocuous_pthread_cancel
40436 /* System header to define __stub macros and hopefully few prototypes,
40437 which can conflict with char pthread_cancel (); below.
40438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40439 <limits.h> exists even on freestanding compilers. */
40442 # include <limits.h>
40444 # include <assert.h>
40447 #undef pthread_cancel
40449 /* Override any GCC internal prototype to avoid an error.
40450 Use char because int might match the return type of a GCC
40451 builtin and then its argument prototype would still apply. */
40455 char pthread_cancel ();
40456 /* The GNU C library defines this for functions which it implements
40457 to always fail with ENOSYS. Some functions are actually named
40458 something starting with __ and the normal name is an alias. */
40459 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40466 return pthread_cancel ();
40471 rm -f conftest.
$ac_objext conftest
$ac_exeext
40472 if { (ac_try
="$ac_link"
40473 case "(($ac_try" in
40474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40475 *) ac_try_echo=$ac_try;;
40477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40478 (eval "$ac_link") 2>conftest.er1
40480 grep -v '^ *+' conftest.er1 >conftest.err
40482 cat conftest.err >&5
40483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40484 (exit $ac_status); } && {
40485 test -z "$ac_c_werror_flag" ||
40486 test ! -s conftest.err
40487 } && test -s conftest$ac_exeext &&
40488 $as_test_x conftest$ac_exeext; then
40489 ac_cv_func_pthread_cancel=yes
40491 echo "$as_me: failed program was:" >&5
40492 sed 's/^/| /' conftest.$ac_ext >&5
40494 ac_cv_func_pthread_cancel=no
40497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40498 conftest$ac_exeext conftest.$ac_ext
40500 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40501 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40502 if test $ac_cv_func_pthread_cancel = yes; then
40503 cat >>confdefs.h <<\_ACEOF
40504 #define HAVE_PTHREAD_CANCEL 1
40508 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40509 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40513 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40514 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40515 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40516 echo $ECHO_N "(cached) $ECHO_C" >&6
40518 cat >conftest.$ac_ext <<_ACEOF
40521 cat confdefs.h >>conftest.$ac_ext
40522 cat >>conftest.$ac_ext <<_ACEOF
40523 /* end confdefs.h. */
40524 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40526 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40528 /* System header to define __stub macros and hopefully few prototypes,
40529 which can conflict with char pthread_mutex_timedlock (); below.
40530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40531 <limits.h> exists even on freestanding compilers. */
40534 # include <limits.h>
40536 # include <assert.h>
40539 #undef pthread_mutex_timedlock
40541 /* Override any GCC internal prototype to avoid an error.
40542 Use char because int might match the return type of a GCC
40543 builtin and then its argument prototype would still apply. */
40547 char pthread_mutex_timedlock ();
40548 /* The GNU C library defines this for functions which it implements
40549 to always fail with ENOSYS. Some functions are actually named
40550 something starting with __ and the normal name is an alias. */
40551 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40558 return pthread_mutex_timedlock ();
40563 rm -f conftest.$ac_objext conftest$ac_exeext
40564 if { (ac_try="$ac_link"
40565 case "(($ac_try" in
40566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40567 *) ac_try_echo
=$ac_try;;
40569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40570 (eval "$ac_link") 2>conftest.er1
40572 grep -v '^ *+' conftest.er1
>conftest.err
40574 cat conftest.err
>&5
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); } && {
40577 test -z "$ac_c_werror_flag" ||
40578 test ! -s conftest.err
40579 } && test -s conftest
$ac_exeext &&
40580 $as_test_x conftest
$ac_exeext; then
40581 ac_cv_func_pthread_mutex_timedlock
=yes
40583 echo "$as_me: failed program was:" >&5
40584 sed 's/^/| /' conftest.
$ac_ext >&5
40586 ac_cv_func_pthread_mutex_timedlock
=no
40589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40590 conftest
$ac_exeext conftest.
$ac_ext
40592 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40593 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40594 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40595 cat >>confdefs.h
<<\_ACEOF
40596 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40600 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40601 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40605 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40606 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40607 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40608 echo $ECHO_N "(cached) $ECHO_C" >&6
40610 cat >conftest.
$ac_ext <<_ACEOF
40613 cat confdefs.h
>>conftest.
$ac_ext
40614 cat >>conftest.
$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40616 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40618 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40620 /* System header to define __stub macros and hopefully few prototypes,
40621 which can conflict with char pthread_attr_setstacksize (); below.
40622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40623 <limits.h> exists even on freestanding compilers. */
40626 # include <limits.h>
40628 # include <assert.h>
40631 #undef pthread_attr_setstacksize
40633 /* Override any GCC internal prototype to avoid an error.
40634 Use char because int might match the return type of a GCC
40635 builtin and then its argument prototype would still apply. */
40639 char pthread_attr_setstacksize ();
40640 /* The GNU C library defines this for functions which it implements
40641 to always fail with ENOSYS. Some functions are actually named
40642 something starting with __ and the normal name is an alias. */
40643 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40650 return pthread_attr_setstacksize ();
40655 rm -f conftest.
$ac_objext conftest
$ac_exeext
40656 if { (ac_try
="$ac_link"
40657 case "(($ac_try" in
40658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40659 *) ac_try_echo=$ac_try;;
40661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40662 (eval "$ac_link") 2>conftest.er1
40664 grep -v '^ *+' conftest.er1 >conftest.err
40666 cat conftest.err >&5
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); } && {
40669 test -z "$ac_c_werror_flag" ||
40670 test ! -s conftest.err
40671 } && test -s conftest$ac_exeext &&
40672 $as_test_x conftest$ac_exeext; then
40673 ac_cv_func_pthread_attr_setstacksize=yes
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40678 ac_cv_func_pthread_attr_setstacksize=no
40681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40682 conftest$ac_exeext conftest.$ac_ext
40684 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40685 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40686 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40687 cat >>confdefs.h <<\_ACEOF
40688 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40695 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40696 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40697 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40698 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 cat >conftest.$ac_ext <<_ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 #include <pthread.h>
40712 pthread_mutexattr_t attr;
40713 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40719 rm -f conftest.$ac_objext
40720 if { (ac_try="$ac_compile"
40721 case "(($ac_try" in
40722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40723 *) ac_try_echo
=$ac_try;;
40725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40726 (eval "$ac_compile") 2>conftest.er1
40728 grep -v '^ *+' conftest.er1
>conftest.err
40730 cat conftest.err
>&5
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); } && {
40733 test -z "$ac_c_werror_flag" ||
40734 test ! -s conftest.err
40735 } && test -s conftest.
$ac_objext; then
40736 wx_cv_type_pthread_mutexattr_t
=yes
40738 echo "$as_me: failed program was:" >&5
40739 sed 's/^/| /' conftest.
$ac_ext >&5
40741 wx_cv_type_pthread_mutexattr_t
=no
40745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40748 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40749 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40751 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40752 cat >>confdefs.h
<<\_ACEOF
40753 #define HAVE_PTHREAD_MUTEXATTR_T 1
40757 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40758 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40759 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40760 echo $ECHO_N "(cached) $ECHO_C" >&6
40763 cat >conftest.
$ac_ext <<_ACEOF
40766 cat confdefs.h
>>conftest.
$ac_ext
40767 cat >>conftest.
$ac_ext <<_ACEOF
40768 /* end confdefs.h. */
40769 #include <pthread.h>
40774 pthread_mutexattr_t attr;
40775 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40781 rm -f conftest.
$ac_objext
40782 if { (ac_try
="$ac_compile"
40783 case "(($ac_try" in
40784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40785 *) ac_try_echo=$ac_try;;
40787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40788 (eval "$ac_compile") 2>conftest.er1
40790 grep -v '^ *+' conftest.er1 >conftest.err
40792 cat conftest.err >&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); } && {
40795 test -z "$ac_c_werror_flag" ||
40796 test ! -s conftest.err
40797 } && test -s conftest.$ac_objext; then
40798 wx_cv_func_pthread_mutexattr_settype_decl=yes
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.$ac_ext >&5
40803 wx_cv_func_pthread_mutexattr_settype_decl=no
40807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40810 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40811 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40812 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40813 cat >>confdefs.h <<\_ACEOF
40814 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40819 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40820 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40821 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40822 echo $ECHO_N "(cached) $ECHO_C" >&6
40825 cat >conftest.$ac_ext <<_ACEOF
40828 cat confdefs.h >>conftest.$ac_ext
40829 cat >>conftest.$ac_ext <<_ACEOF
40830 /* end confdefs.h. */
40831 #include <pthread.h>
40836 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40842 rm -f conftest.$ac_objext
40843 if { (ac_try="$ac_compile"
40844 case "(($ac_try" in
40845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40846 *) ac_try_echo
=$ac_try;;
40848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40849 (eval "$ac_compile") 2>conftest.er1
40851 grep -v '^ *+' conftest.er1
>conftest.err
40853 cat conftest.err
>&5
40854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855 (exit $ac_status); } && {
40856 test -z "$ac_c_werror_flag" ||
40857 test ! -s conftest.err
40858 } && test -s conftest.
$ac_objext; then
40860 wx_cv_type_pthread_rec_mutex_init
=yes
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.
$ac_ext >&5
40867 wx_cv_type_pthread_rec_mutex_init
=no
40872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40875 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40876 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40877 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40878 cat >>confdefs.h
<<\_ACEOF
40879 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40883 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40884 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40888 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40889 if test "$USE_NETBSD" = 1; then
40890 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40891 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40892 wxUSE_COMPILER_TLS
=no
40894 wxUSE_COMPILER_TLS
=yes
40898 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40899 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40900 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40901 if test "${wx_cv_cc___thread+set}" = set; then
40902 echo $ECHO_N "(cached) $ECHO_C" >&6
40905 cat >conftest.
$ac_ext <<_ACEOF
40908 cat confdefs.h
>>conftest.
$ac_ext
40909 cat >>conftest.
$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40911 #include <pthread.h>
40916 static __thread int n = 0;
40917 static __thread int *p = 0;
40923 rm -f conftest.
$ac_objext
40924 if { (ac_try
="$ac_compile"
40925 case "(($ac_try" in
40926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40927 *) ac_try_echo=$ac_try;;
40929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40930 (eval "$ac_compile") 2>conftest.er1
40932 grep -v '^ *+' conftest.er1 >conftest.err
40934 cat conftest.err >&5
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); } && {
40937 test -z "$ac_c_werror_flag" ||
40938 test ! -s conftest.err
40939 } && test -s conftest.$ac_objext; then
40940 wx_cv_cc___thread=yes
40942 echo "$as_me: failed program was:" >&5
40943 sed 's/^/| /' conftest.$ac_ext >&5
40945 wx_cv_cc___thread=no
40949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40953 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40954 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40956 if test "$wx_cv_cc___thread" = "yes"; then
40962 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40963 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40965 if test "x$GCC" = "xyes" ; then
40967 if test -z "" ; then
40969 ax_gcc_option_test="int main()
40976 ax_gcc_option_test=""
40981 # Dump the test program to file
40982 cat <<EOF > conftest.c
40983 $ax_gcc_option_test
40986 # Dump back the file to the log, useful for debugging purposes
40987 { ac_try='cat conftest.c 1>&5'
40988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989 (eval $ac_try) 2>&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); }; }
40994 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40996 (eval $ac_try) 2>&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); }; } ; then
41001 { echo "$as_me:$LINENO: result: yes" >&5
41002 echo "${ECHO_T}yes" >&6; }
41004 ax_gcc_version_option=yes
41009 { echo "$as_me:$LINENO: result: no" >&5
41010 echo "${ECHO_T}no" >&6; }
41012 ax_gcc_version_option=no
41020 { echo "$as_me:$LINENO: result: no gcc available" >&5
41021 echo "${ECHO_T}no gcc available" >&6; }
41026 if test "x$GXX" = "xyes"; then
41028 if test "x$ax_gxx_version_option" != "no"; then
41030 { echo "$as_me:$LINENO: checking gxx version" >&5
41031 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41032 if test "${ax_cv_gxx_version+set}" = set; then
41033 echo $ECHO_N "(cached) $ECHO_C" >&6
41036 ax_cv_gxx_version="`$CXX -dumpversion`"
41037 if test "x$ax_cv_gxx_version" = "x"; then
41039 ax_cv_gxx_version=""
41045 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41046 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41047 GXX_VERSION=$ax_cv_gxx_version
41056 if test -n "$ax_cv_gxx_version"; then
41057 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41058 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41059 case "$ax_cv_gxx_version" in
41061 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41062 echo "${ECHO_T}no, it's broken" >&6; }
41063 wx_cv_cc___thread=no
41066 { echo "$as_me:$LINENO: result: yes, it works" >&5
41067 echo "${ECHO_T}yes, it works" >&6; }
41073 if test "$wx_cv_cc___thread" = "yes"; then
41074 cat >>confdefs.h <<\_ACEOF
41075 #define HAVE___THREAD_KEYWORD 1
41083 if test "$wxUSE_THREADS" = "yes" ; then
41085 x86_64-*-mingw32* )
41088 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41089 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41090 if test "${wx_cv_cflags_mthread+set}" = set; then
41091 echo $ECHO_N "(cached) $ECHO_C" >&6
41094 CFLAGS_OLD="$CFLAGS"
41095 CFLAGS="-mthreads $CFLAGS"
41096 cat >conftest.$ac_ext <<_ACEOF
41099 cat confdefs.h >>conftest.$ac_ext
41100 cat >>conftest.$ac_ext <<_ACEOF
41101 /* end confdefs.h. */
41111 rm -f conftest.$ac_objext
41112 if { (ac_try="$ac_compile"
41113 case "(($ac_try" in
41114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41115 *) ac_try_echo
=$ac_try;;
41117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41118 (eval "$ac_compile") 2>conftest.er1
41120 grep -v '^ *+' conftest.er1
>conftest.err
41122 cat conftest.err
>&5
41123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41124 (exit $ac_status); } && {
41125 test -z "$ac_c_werror_flag" ||
41126 test ! -s conftest.err
41127 } && test -s conftest.
$ac_objext; then
41128 wx_cv_cflags_mthread
=yes
41130 echo "$as_me: failed program was:" >&5
41131 sed 's/^/| /' conftest.
$ac_ext >&5
41133 wx_cv_cflags_mthread
=no
41137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41141 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41142 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41144 if test "$wx_cv_cflags_mthread" = "yes"; then
41145 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41146 LDFLAGS
="$LDFLAGS -mthreads"
41148 CFLAGS
="$CFLAGS_OLD"
41152 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41153 LDFLAGS
="$LDFLAGS -Zmt"
41159 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41160 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41161 if test "${ac_cv_func_localtime_r+set}" = set; then
41162 echo $ECHO_N "(cached) $ECHO_C" >&6
41164 cat >conftest.
$ac_ext <<_ACEOF
41167 cat confdefs.h
>>conftest.
$ac_ext
41168 cat >>conftest.
$ac_ext <<_ACEOF
41169 /* end confdefs.h. */
41170 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41172 #define localtime_r innocuous_localtime_r
41174 /* System header to define __stub macros and hopefully few prototypes,
41175 which can conflict with char localtime_r (); below.
41176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41177 <limits.h> exists even on freestanding compilers. */
41180 # include <limits.h>
41182 # include <assert.h>
41187 /* Override any GCC internal prototype to avoid an error.
41188 Use char because int might match the return type of a GCC
41189 builtin and then its argument prototype would still apply. */
41193 char localtime_r ();
41194 /* The GNU C library defines this for functions which it implements
41195 to always fail with ENOSYS. Some functions are actually named
41196 something starting with __ and the normal name is an alias. */
41197 #if defined __stub_localtime_r || defined __stub___localtime_r
41204 return localtime_r ();
41209 rm -f conftest.
$ac_objext conftest
$ac_exeext
41210 if { (ac_try
="$ac_link"
41211 case "(($ac_try" in
41212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41213 *) ac_try_echo=$ac_try;;
41215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41216 (eval "$ac_link") 2>conftest.er1
41218 grep -v '^ *+' conftest.er1 >conftest.err
41220 cat conftest.err >&5
41221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222 (exit $ac_status); } && {
41223 test -z "$ac_c_werror_flag" ||
41224 test ! -s conftest.err
41225 } && test -s conftest$ac_exeext &&
41226 $as_test_x conftest$ac_exeext; then
41227 ac_cv_func_localtime_r=yes
41229 echo "$as_me: failed program was:" >&5
41230 sed 's/^/| /' conftest.$ac_ext >&5
41232 ac_cv_func_localtime_r=no
41235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41236 conftest$ac_exeext conftest.$ac_ext
41238 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41239 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41240 if test $ac_cv_func_localtime_r = yes; then
41241 cat >>confdefs.h <<\_ACEOF
41242 #define HAVE_LOCALTIME_R 1
41247 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41248 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41249 if test "${ac_cv_func_gmtime_r+set}" = set; then
41250 echo $ECHO_N "(cached) $ECHO_C" >&6
41252 cat >conftest.$ac_ext <<_ACEOF
41255 cat confdefs.h >>conftest.$ac_ext
41256 cat >>conftest.$ac_ext <<_ACEOF
41257 /* end confdefs.h. */
41258 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41260 #define gmtime_r innocuous_gmtime_r
41262 /* System header to define __stub macros and hopefully few prototypes,
41263 which can conflict with char gmtime_r (); below.
41264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41265 <limits.h> exists even on freestanding compilers. */
41268 # include <limits.h>
41270 # include <assert.h>
41275 /* Override any GCC internal prototype to avoid an error.
41276 Use char because int might match the return type of a GCC
41277 builtin and then its argument prototype would still apply. */
41282 /* The GNU C library defines this for functions which it implements
41283 to always fail with ENOSYS. Some functions are actually named
41284 something starting with __ and the normal name is an alias. */
41285 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41292 return gmtime_r ();
41297 rm -f conftest.$ac_objext conftest$ac_exeext
41298 if { (ac_try="$ac_link"
41299 case "(($ac_try" in
41300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41301 *) ac_try_echo
=$ac_try;;
41303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41304 (eval "$ac_link") 2>conftest.er1
41306 grep -v '^ *+' conftest.er1
>conftest.err
41308 cat conftest.err
>&5
41309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41310 (exit $ac_status); } && {
41311 test -z "$ac_c_werror_flag" ||
41312 test ! -s conftest.err
41313 } && test -s conftest
$ac_exeext &&
41314 $as_test_x conftest
$ac_exeext; then
41315 ac_cv_func_gmtime_r
=yes
41317 echo "$as_me: failed program was:" >&5
41318 sed 's/^/| /' conftest.
$ac_ext >&5
41320 ac_cv_func_gmtime_r
=no
41323 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41324 conftest
$ac_exeext conftest.
$ac_ext
41326 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41327 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41328 if test $ac_cv_func_gmtime_r = yes; then
41329 cat >>confdefs.h
<<\_ACEOF
41330 #define HAVE_GMTIME_R 1
41339 ac_cpp
='$CPP $CPPFLAGS'
41340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41344 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41345 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41347 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 ################################################################
41354 ac_cv_func_which_gethostbyname_r
=unknown
41357 # ONE ARGUMENT (sanity check)
41360 # This should fail, as there is no variant of gethostbyname_r() that takes
41361 # a single argument. If it actually compiles, then we can assume that
41362 # netdb.h is not declaring the function, and the compiler is thereby
41363 # assuming an implicit prototype. In which case, we're out of luck.
41365 cat >conftest.
$ac_ext <<_ACEOF
41368 cat confdefs.h
>>conftest.
$ac_ext
41369 cat >>conftest.
$ac_ext <<_ACEOF
41370 /* end confdefs.h. */
41376 char *name = "www.gnu.org";
41377 (void)gethostbyname_r(name) /* ; */
41383 rm -f conftest.
$ac_objext
41384 if { (ac_try
="$ac_compile"
41385 case "(($ac_try" in
41386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41387 *) ac_try_echo=$ac_try;;
41389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41390 (eval "$ac_compile") 2>conftest.er1
41392 grep -v '^ *+' conftest.er1 >conftest.err
41394 cat conftest.err >&5
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); } && {
41397 test -z "$ac_c_werror_flag" ||
41398 test ! -s conftest.err
41399 } && test -s conftest.$ac_objext; then
41400 ac_cv_func_which_gethostbyname_r=no
41402 echo "$as_me: failed program was:" >&5
41403 sed 's/^/| /' conftest.$ac_ext >&5
41408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41415 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41417 cat >conftest.$ac_ext <<_ACEOF
41420 cat confdefs.h >>conftest.$ac_ext
41421 cat >>conftest.$ac_ext <<_ACEOF
41422 /* end confdefs.h. */
41428 char *name = "www.gnu.org";
41429 struct hostent ret, *retp;
41433 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41439 rm -f conftest.$ac_objext
41440 if { (ac_try="$ac_compile"
41441 case "(($ac_try" in
41442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41443 *) ac_try_echo
=$ac_try;;
41445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41446 (eval "$ac_compile") 2>conftest.er1
41448 grep -v '^ *+' conftest.er1
>conftest.err
41450 cat conftest.err
>&5
41451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41452 (exit $ac_status); } && {
41453 test -z "$ac_c_werror_flag" ||
41454 test ! -s conftest.err
41455 } && test -s conftest.
$ac_objext; then
41456 ac_cv_func_which_gethostbyname_r
=six
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.
$ac_ext >&5
41464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41473 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41475 cat >conftest.
$ac_ext <<_ACEOF
41478 cat confdefs.h
>>conftest.
$ac_ext
41479 cat >>conftest.
$ac_ext <<_ACEOF
41480 /* end confdefs.h. */
41486 char *name = "www.gnu.org";
41487 struct hostent ret;
41491 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41497 rm -f conftest.
$ac_objext
41498 if { (ac_try
="$ac_compile"
41499 case "(($ac_try" in
41500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41501 *) ac_try_echo=$ac_try;;
41503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41504 (eval "$ac_compile") 2>conftest.er1
41506 grep -v '^ *+' conftest.er1 >conftest.err
41508 cat conftest.err >&5
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); } && {
41511 test -z "$ac_c_werror_flag" ||
41512 test ! -s conftest.err
41513 } && test -s conftest.$ac_objext; then
41514 ac_cv_func_which_gethostbyname_r=five
41516 echo "$as_me: failed program was:" >&5
41517 sed 's/^/| /' conftest.$ac_ext >&5
41522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41528 # (e.g. AIX, HP-UX, Tru64)
41531 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41533 cat >conftest.$ac_ext <<_ACEOF
41536 cat confdefs.h >>conftest.$ac_ext
41537 cat >>conftest.$ac_ext <<_ACEOF
41538 /* end confdefs.h. */
41544 char *name = "www.gnu.org";
41545 struct hostent ret;
41546 struct hostent_data data;
41547 (void)gethostbyname_r(name, &ret, &data) /* ; */
41553 rm -f conftest.$ac_objext
41554 if { (ac_try="$ac_compile"
41555 case "(($ac_try" in
41556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41557 *) ac_try_echo
=$ac_try;;
41559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41560 (eval "$ac_compile") 2>conftest.er1
41562 grep -v '^ *+' conftest.er1
>conftest.err
41564 cat conftest.err
>&5
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); } && {
41567 test -z "$ac_c_werror_flag" ||
41568 test ! -s conftest.err
41569 } && test -s conftest.
$ac_objext; then
41570 ac_cv_func_which_gethostbyname_r
=three
41572 echo "$as_me: failed program was:" >&5
41573 sed 's/^/| /' conftest.
$ac_ext >&5
41578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41582 ################################################################
41587 case "$ac_cv_func_which_gethostbyname_r" in
41589 { echo "$as_me:$LINENO: result: three" >&5
41590 echo "${ECHO_T}three" >&6; }
41591 cat >>confdefs.h
<<\_ACEOF
41592 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41598 { echo "$as_me:$LINENO: result: five" >&5
41599 echo "${ECHO_T}five" >&6; }
41600 cat >>confdefs.h
<<\_ACEOF
41601 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41607 { echo "$as_me:$LINENO: result: six" >&5
41608 echo "${ECHO_T}six" >&6; }
41609 cat >>confdefs.h
<<\_ACEOF
41610 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41616 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41617 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41621 { echo "$as_me:$LINENO: result: can't tell" >&5
41622 echo "${ECHO_T}can't tell" >&6; }
41626 { { echo "$as_me:$LINENO: error: internal error" >&5
41627 echo "$as_me: error: internal error" >&2;}
41628 { (exit 1); exit 1; }; }
41633 ac_cpp
='$CPP $CPPFLAGS'
41634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41640 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41641 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41642 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41643 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41644 if test "${ac_cv_func_gethostbyname+set}" = set; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41647 cat >conftest.
$ac_ext <<_ACEOF
41650 cat confdefs.h
>>conftest.
$ac_ext
41651 cat >>conftest.
$ac_ext <<_ACEOF
41652 /* end confdefs.h. */
41653 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41655 #define gethostbyname innocuous_gethostbyname
41657 /* System header to define __stub macros and hopefully few prototypes,
41658 which can conflict with char gethostbyname (); below.
41659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41660 <limits.h> exists even on freestanding compilers. */
41663 # include <limits.h>
41665 # include <assert.h>
41668 #undef gethostbyname
41670 /* Override any GCC internal prototype to avoid an error.
41671 Use char because int might match the return type of a GCC
41672 builtin and then its argument prototype would still apply. */
41676 char gethostbyname ();
41677 /* The GNU C library defines this for functions which it implements
41678 to always fail with ENOSYS. Some functions are actually named
41679 something starting with __ and the normal name is an alias. */
41680 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41687 return gethostbyname ();
41692 rm -f conftest.
$ac_objext conftest
$ac_exeext
41693 if { (ac_try
="$ac_link"
41694 case "(($ac_try" in
41695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41696 *) ac_try_echo=$ac_try;;
41698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41699 (eval "$ac_link") 2>conftest.er1
41701 grep -v '^ *+' conftest.er1 >conftest.err
41703 cat conftest.err >&5
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); } && {
41706 test -z "$ac_c_werror_flag" ||
41707 test ! -s conftest.err
41708 } && test -s conftest$ac_exeext &&
41709 $as_test_x conftest$ac_exeext; then
41710 ac_cv_func_gethostbyname=yes
41712 echo "$as_me: failed program was:" >&5
41713 sed 's/^/| /' conftest.$ac_ext >&5
41715 ac_cv_func_gethostbyname=no
41718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41719 conftest$ac_exeext conftest.$ac_ext
41721 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41722 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41723 if test $ac_cv_func_gethostbyname = yes; then
41724 cat >>confdefs.h <<\_ACEOF
41725 #define HAVE_GETHOSTBYNAME 1
41732 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41733 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41734 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41735 echo $ECHO_N "(cached) $ECHO_C" >&6
41739 ac_cpp='$CXXCPP $CPPFLAGS'
41740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41745 cat >conftest.$ac_ext <<_ACEOF
41748 cat confdefs.h >>conftest.$ac_ext
41749 cat >>conftest.$ac_ext <<_ACEOF
41750 /* end confdefs.h. */
41758 struct servent *se, *res;
41761 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41767 rm -f conftest.$ac_objext
41768 if { (ac_try="$ac_compile"
41769 case "(($ac_try" in
41770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41771 *) ac_try_echo
=$ac_try;;
41773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41774 (eval "$ac_compile") 2>conftest.er1
41776 grep -v '^ *+' conftest.er1
>conftest.err
41778 cat conftest.err
>&5
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); } && {
41781 test -z "$ac_cxx_werror_flag" ||
41782 test ! -s conftest.err
41783 } && test -s conftest.
$ac_objext; then
41784 ac_cv_func_which_getservbyname_r
=six
41786 echo "$as_me: failed program was:" >&5
41787 sed 's/^/| /' conftest.
$ac_ext >&5
41790 cat >conftest.
$ac_ext <<_ACEOF
41793 cat confdefs.h
>>conftest.
$ac_ext
41794 cat >>conftest.
$ac_ext <<_ACEOF
41795 /* end confdefs.h. */
41803 struct servent *se;
41806 (void) getservbyname_r(name, proto, se, buffer, buflen)
41812 rm -f conftest.
$ac_objext
41813 if { (ac_try
="$ac_compile"
41814 case "(($ac_try" in
41815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41816 *) ac_try_echo=$ac_try;;
41818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41819 (eval "$ac_compile") 2>conftest.er1
41821 grep -v '^ *+' conftest.er1 >conftest.err
41823 cat conftest.err >&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); } && {
41826 test -z "$ac_cxx_werror_flag" ||
41827 test ! -s conftest.err
41828 } && test -s conftest.$ac_objext; then
41829 ac_cv_func_which_getservbyname_r=five
41831 echo "$as_me: failed program was:" >&5
41832 sed 's/^/| /' conftest.$ac_ext >&5
41835 cat >conftest.$ac_ext <<_ACEOF
41838 cat confdefs.h >>conftest.$ac_ext
41839 cat >>conftest.$ac_ext <<_ACEOF
41840 /* end confdefs.h. */
41848 struct servent *se;
41849 struct servent_data data;
41850 (void) getservbyname_r(name, proto, se, &data);
41856 rm -f conftest.$ac_objext
41857 if { (ac_try="$ac_compile"
41858 case "(($ac_try" in
41859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41860 *) ac_try_echo
=$ac_try;;
41862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41863 (eval "$ac_compile") 2>conftest.er1
41865 grep -v '^ *+' conftest.er1
>conftest.err
41867 cat conftest.err
>&5
41868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41869 (exit $ac_status); } && {
41870 test -z "$ac_cxx_werror_flag" ||
41871 test ! -s conftest.err
41872 } && test -s conftest.
$ac_objext; then
41873 ac_cv_func_which_getservbyname_r
=four
41875 echo "$as_me: failed program was:" >&5
41876 sed 's/^/| /' conftest.
$ac_ext >&5
41878 ac_cv_func_which_getservbyname_r
=no
41882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41894 ac_cpp
='$CPP $CPPFLAGS'
41895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41902 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41903 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41905 if test $ac_cv_func_which_getservbyname_r = six
; then
41906 cat >>confdefs.h
<<\_ACEOF
41907 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41910 elif test $ac_cv_func_which_getservbyname_r = five
; then
41911 cat >>confdefs.h
<<\_ACEOF
41912 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41915 elif test $ac_cv_func_which_getservbyname_r = four
; then
41916 cat >>confdefs.h
<<\_ACEOF
41917 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41923 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41924 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41926 for ac_func
in getservbyname
41928 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41931 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41932 echo $ECHO_N "(cached) $ECHO_C" >&6
41934 cat >conftest.
$ac_ext <<_ACEOF
41937 cat confdefs.h
>>conftest.
$ac_ext
41938 cat >>conftest.
$ac_ext <<_ACEOF
41939 /* end confdefs.h. */
41940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41942 #define $ac_func innocuous_$ac_func
41944 /* System header to define __stub macros and hopefully few prototypes,
41945 which can conflict with char $ac_func (); below.
41946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41947 <limits.h> exists even on freestanding compilers. */
41950 # include <limits.h>
41952 # include <assert.h>
41957 /* Override any GCC internal prototype to avoid an error.
41958 Use char because int might match the return type of a GCC
41959 builtin and then its argument prototype would still apply. */
41964 /* The GNU C library defines this for functions which it implements
41965 to always fail with ENOSYS. Some functions are actually named
41966 something starting with __ and the normal name is an alias. */
41967 #if defined __stub_$ac_func || defined __stub___$ac_func
41974 return $ac_func ();
41979 rm -f conftest.
$ac_objext conftest
$ac_exeext
41980 if { (ac_try
="$ac_link"
41981 case "(($ac_try" in
41982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41983 *) ac_try_echo=$ac_try;;
41985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41986 (eval "$ac_link") 2>conftest.er1
41988 grep -v '^ *+' conftest.er1 >conftest.err
41990 cat conftest.err >&5
41991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41992 (exit $ac_status); } && {
41993 test -z "$ac_c_werror_flag" ||
41994 test ! -s conftest.err
41995 } && test -s conftest$ac_exeext &&
41996 $as_test_x conftest$ac_exeext; then
41997 eval "$as_ac_var=yes"
41999 echo "$as_me: failed program was:" >&5
42000 sed 's/^/| /' conftest.$ac_ext >&5
42002 eval "$as_ac_var=no"
42005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42006 conftest$ac_exeext conftest.$ac_ext
42008 ac_res=`eval echo '${'$as_ac_var'}'`
42009 { echo "$as_me:$LINENO: result: $ac_res" >&5
42010 echo "${ECHO_T}$ac_res" >&6; }
42011 if test `eval echo '${'$as_ac_var'}'` = yes; then
42012 cat >>confdefs.h <<_ACEOF
42013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42015 cat >>confdefs.h <<\_ACEOF
42016 #define HAVE_GETSERVBYNAME 1
42024 if test "$wxUSE_THREADS" = "yes"; then
42025 cat >>confdefs.h <<\_ACEOF
42026 #define wxUSE_THREADS 1
42030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42032 if test "$wx_cv_func_strtok_r" = "yes"; then
42033 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42034 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42035 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42036 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42037 { echo "$as_me:$LINENO: result: yes" >&5
42038 echo "${ECHO_T}yes" >&6; }
42040 { echo "$as_me:$LINENO: result: no" >&5
42041 echo "${ECHO_T}no" >&6; }
42046 if test "$WXGTK2" = 1 ; then
42047 cat >>confdefs.h <<_ACEOF
42048 #define __WXGTK20__ $WXGTK2
42054 if test "$WXGTK12" = 1 ; then
42055 cat >>confdefs.h <<_ACEOF
42056 #define __WXGTK12__ $WXGTK12
42061 if test "$WXGTK127" = 1 ; then
42062 cat >>confdefs.h <<_ACEOF
42063 #define __WXGTK127__ $WXGTK127
42068 if test "$WXGPE" = 1 ; then
42069 cat >>confdefs.h <<_ACEOF
42070 #define __WXGPE__ $WXGPE
42076 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42077 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42078 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42079 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42083 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42084 wxUSE_DEBUG_INFO=yes
42085 if test "$GCC" = yes; then
42086 DEBUG_CFLAGS="-ggdb"
42090 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42091 if test "$wxUSE_GTK" = 1 ; then
42092 if test "x$wxGTK_VERSION" = "x1" ; then
42093 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42098 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42099 cat >>confdefs.h <<\_ACEOF
42100 #define wxUSE_MEMORY_TRACING 1
42103 cat >>confdefs.h <<\_ACEOF
42104 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42107 cat >>confdefs.h <<\_ACEOF
42108 #define wxUSE_DEBUG_NEW_ALWAYS 1
42111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42114 if test "$wxUSE_DMALLOC" = "yes" ; then
42115 DMALLOC_LIBS="-ldmallocthcxx"
42119 if test "$wxUSE_PROFILE" = "yes" ; then
42120 PROFILE_FLAGS=" -pg"
42123 if test "$GCC" = "yes" ; then
42124 if test "$wxUSE_NO_RTTI" = "yes" ; then
42125 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42127 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42128 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42130 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42131 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42136 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42139 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42145 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42146 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42147 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42149 if test "$wxUSE_OPTIMISE" = "no" ; then
42150 if test "$GCC" = yes ; then
42151 OPTIMISE_CFLAGS="-O0"
42154 if test "$GCC" = yes ; then
42156 *-pc-os2_emx | *-pc-os2-emx )
42157 OPTIMISE_CFLAGS="-O2"
42160 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42164 OPTIMISE_CFLAGS="-O"
42170 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42171 cat >>confdefs.h <<\_ACEOF
42172 #define WXWIN_COMPATIBILITY_2_6 1
42176 WXWIN_COMPATIBILITY_2_8="yes"
42179 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42180 cat >>confdefs.h <<\_ACEOF
42181 #define WXWIN_COMPATIBILITY_2_8 1
42187 if test "$wxUSE_GUI" = "yes"; then
42188 cat >>confdefs.h <<\_ACEOF
42189 #define wxUSE_GUI 1
42196 if test "$wxUSE_UNIX" = "yes"; then
42197 cat >>confdefs.h <<\_ACEOF
42198 #define wxUSE_UNIX 1
42204 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42208 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42209 if test "$USE_DOS" = 1; then
42213 for ac_func in dlopen
42215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42216 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42218 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42219 echo $ECHO_N "(cached) $ECHO_C" >&6
42221 cat >conftest.$ac_ext <<_ACEOF
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42229 #define $ac_func innocuous_$ac_func
42231 /* System header to define __stub macros and hopefully few prototypes,
42232 which can conflict with char $ac_func (); below.
42233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42234 <limits.h> exists even on freestanding compilers. */
42237 # include <limits.h>
42239 # include <assert.h>
42244 /* Override any GCC internal prototype to avoid an error.
42245 Use char because int might match the return type of a GCC
42246 builtin and then its argument prototype would still apply. */
42251 /* The GNU C library defines this for functions which it implements
42252 to always fail with ENOSYS. Some functions are actually named
42253 something starting with __ and the normal name is an alias. */
42254 #if defined __stub_$ac_func || defined __stub___$ac_func
42261 return $ac_func ();
42266 rm -f conftest.$ac_objext conftest$ac_exeext
42267 if { (ac_try="$ac_link"
42268 case "(($ac_try" in
42269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42270 *) ac_try_echo
=$ac_try;;
42272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42273 (eval "$ac_link") 2>conftest.er1
42275 grep -v '^ *+' conftest.er1
>conftest.err
42277 cat conftest.err
>&5
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); } && {
42280 test -z "$ac_c_werror_flag" ||
42281 test ! -s conftest.err
42282 } && test -s conftest
$ac_exeext &&
42283 $as_test_x conftest
$ac_exeext; then
42284 eval "$as_ac_var=yes"
42286 echo "$as_me: failed program was:" >&5
42287 sed 's/^/| /' conftest.
$ac_ext >&5
42289 eval "$as_ac_var=no"
42292 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42293 conftest
$ac_exeext conftest.
$ac_ext
42295 ac_res
=`eval echo '${'$as_ac_var'}'`
42296 { echo "$as_me:$LINENO: result: $ac_res" >&5
42297 echo "${ECHO_T}$ac_res" >&6; }
42298 if test `eval echo '${'$as_ac_var'}'` = yes; then
42299 cat >>confdefs.h
<<_ACEOF
42300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42303 cat >>confdefs.h
<<\_ACEOF
42304 #define HAVE_DLOPEN 1
42311 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42312 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42313 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42314 echo $ECHO_N "(cached) $ECHO_C" >&6
42316 ac_check_lib_save_LIBS
=$LIBS
42318 cat >conftest.
$ac_ext <<_ACEOF
42321 cat confdefs.h
>>conftest.
$ac_ext
42322 cat >>conftest.
$ac_ext <<_ACEOF
42323 /* end confdefs.h. */
42325 /* Override any GCC internal prototype to avoid an error.
42326 Use char because int might match the return type of a GCC
42327 builtin and then its argument prototype would still apply. */
42340 rm -f conftest.
$ac_objext conftest
$ac_exeext
42341 if { (ac_try
="$ac_link"
42342 case "(($ac_try" in
42343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42344 *) ac_try_echo=$ac_try;;
42346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42347 (eval "$ac_link") 2>conftest.er1
42349 grep -v '^ *+' conftest.er1 >conftest.err
42351 cat conftest.err >&5
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); } && {
42354 test -z "$ac_c_werror_flag" ||
42355 test ! -s conftest.err
42356 } && test -s conftest$ac_exeext &&
42357 $as_test_x conftest$ac_exeext; then
42358 ac_cv_lib_dl_dlopen=yes
42360 echo "$as_me: failed program was:" >&5
42361 sed 's/^/| /' conftest.$ac_ext >&5
42363 ac_cv_lib_dl_dlopen=no
42366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42367 conftest$ac_exeext conftest.$ac_ext
42368 LIBS=$ac_check_lib_save_LIBS
42370 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42371 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42372 if test $ac_cv_lib_dl_dlopen = yes; then
42374 cat >>confdefs.h <<\_ACEOF
42375 #define HAVE_DLOPEN 1
42379 DL_LINK=" -ldl$DL_LINK"
42384 for ac_func in shl_load
42386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42389 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42390 echo $ECHO_N "(cached) $ECHO_C" >&6
42392 cat >conftest.$ac_ext <<_ACEOF
42395 cat confdefs.h >>conftest.$ac_ext
42396 cat >>conftest.$ac_ext <<_ACEOF
42397 /* end confdefs.h. */
42398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42400 #define $ac_func innocuous_$ac_func
42402 /* System header to define __stub macros and hopefully few prototypes,
42403 which can conflict with char $ac_func (); below.
42404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42405 <limits.h> exists even on freestanding compilers. */
42408 # include <limits.h>
42410 # include <assert.h>
42415 /* Override any GCC internal prototype to avoid an error.
42416 Use char because int might match the return type of a GCC
42417 builtin and then its argument prototype would still apply. */
42422 /* The GNU C library defines this for functions which it implements
42423 to always fail with ENOSYS. Some functions are actually named
42424 something starting with __ and the normal name is an alias. */
42425 #if defined __stub_$ac_func || defined __stub___$ac_func
42432 return $ac_func ();
42437 rm -f conftest.$ac_objext conftest$ac_exeext
42438 if { (ac_try="$ac_link"
42439 case "(($ac_try" in
42440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42441 *) ac_try_echo
=$ac_try;;
42443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42444 (eval "$ac_link") 2>conftest.er1
42446 grep -v '^ *+' conftest.er1
>conftest.err
42448 cat conftest.err
>&5
42449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42450 (exit $ac_status); } && {
42451 test -z "$ac_c_werror_flag" ||
42452 test ! -s conftest.err
42453 } && test -s conftest
$ac_exeext &&
42454 $as_test_x conftest
$ac_exeext; then
42455 eval "$as_ac_var=yes"
42457 echo "$as_me: failed program was:" >&5
42458 sed 's/^/| /' conftest.
$ac_ext >&5
42460 eval "$as_ac_var=no"
42463 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42464 conftest
$ac_exeext conftest.
$ac_ext
42466 ac_res
=`eval echo '${'$as_ac_var'}'`
42467 { echo "$as_me:$LINENO: result: $ac_res" >&5
42468 echo "${ECHO_T}$ac_res" >&6; }
42469 if test `eval echo '${'$as_ac_var'}'` = yes; then
42470 cat >>confdefs.h
<<_ACEOF
42471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42474 cat >>confdefs.h
<<\_ACEOF
42475 #define HAVE_SHL_LOAD 1
42482 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42483 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42484 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42485 echo $ECHO_N "(cached) $ECHO_C" >&6
42487 ac_check_lib_save_LIBS
=$LIBS
42488 LIBS
="-lshl_load $LIBS"
42489 cat >conftest.
$ac_ext <<_ACEOF
42492 cat confdefs.h
>>conftest.
$ac_ext
42493 cat >>conftest.
$ac_ext <<_ACEOF
42494 /* end confdefs.h. */
42496 /* Override any GCC internal prototype to avoid an error.
42497 Use char because int might match the return type of a GCC
42498 builtin and then its argument prototype would still apply. */
42511 rm -f conftest.
$ac_objext conftest
$ac_exeext
42512 if { (ac_try
="$ac_link"
42513 case "(($ac_try" in
42514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42515 *) ac_try_echo=$ac_try;;
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_link") 2>conftest.er1
42520 grep -v '^ *+' conftest.er1 >conftest.err
42522 cat conftest.err >&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); } && {
42525 test -z "$ac_c_werror_flag" ||
42526 test ! -s conftest.err
42527 } && test -s conftest$ac_exeext &&
42528 $as_test_x conftest$ac_exeext; then
42529 ac_cv_lib_shl_load_dld=yes
42531 echo "$as_me: failed program was:" >&5
42532 sed 's/^/| /' conftest.$ac_ext >&5
42534 ac_cv_lib_shl_load_dld=no
42537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42538 conftest$ac_exeext conftest.$ac_ext
42539 LIBS=$ac_check_lib_save_LIBS
42541 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42542 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42543 if test $ac_cv_lib_shl_load_dld = yes; then
42546 DL_LINK=" -ldld$DL_LINK"
42562 if test "$HAVE_DL_FUNCS" = 1; then
42564 for ac_func in dlerror
42566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42567 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42569 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42570 echo $ECHO_N "(cached) $ECHO_C" >&6
42572 cat >conftest.$ac_ext <<_ACEOF
42575 cat confdefs.h >>conftest.$ac_ext
42576 cat >>conftest.$ac_ext <<_ACEOF
42577 /* end confdefs.h. */
42578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42580 #define $ac_func innocuous_$ac_func
42582 /* System header to define __stub macros and hopefully few prototypes,
42583 which can conflict with char $ac_func (); below.
42584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42585 <limits.h> exists even on freestanding compilers. */
42588 # include <limits.h>
42590 # include <assert.h>
42595 /* Override any GCC internal prototype to avoid an error.
42596 Use char because int might match the return type of a GCC
42597 builtin and then its argument prototype would still apply. */
42602 /* The GNU C library defines this for functions which it implements
42603 to always fail with ENOSYS. Some functions are actually named
42604 something starting with __ and the normal name is an alias. */
42605 #if defined __stub_$ac_func || defined __stub___$ac_func
42612 return $ac_func ();
42617 rm -f conftest.$ac_objext conftest$ac_exeext
42618 if { (ac_try="$ac_link"
42619 case "(($ac_try" in
42620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42621 *) ac_try_echo
=$ac_try;;
42623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42624 (eval "$ac_link") 2>conftest.er1
42626 grep -v '^ *+' conftest.er1
>conftest.err
42628 cat conftest.err
>&5
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); } && {
42631 test -z "$ac_c_werror_flag" ||
42632 test ! -s conftest.err
42633 } && test -s conftest
$ac_exeext &&
42634 $as_test_x conftest
$ac_exeext; then
42635 eval "$as_ac_var=yes"
42637 echo "$as_me: failed program was:" >&5
42638 sed 's/^/| /' conftest.
$ac_ext >&5
42640 eval "$as_ac_var=no"
42643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42644 conftest
$ac_exeext conftest.
$ac_ext
42646 ac_res
=`eval echo '${'$as_ac_var'}'`
42647 { echo "$as_me:$LINENO: result: $ac_res" >&5
42648 echo "${ECHO_T}$ac_res" >&6; }
42649 if test `eval echo '${'$as_ac_var'}'` = yes; then
42650 cat >>confdefs.h
<<_ACEOF
42651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42653 cat >>confdefs.h
<<\_ACEOF
42654 #define HAVE_DLERROR 1
42659 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42660 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42661 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42662 echo $ECHO_N "(cached) $ECHO_C" >&6
42664 ac_check_lib_save_LIBS
=$LIBS
42666 cat >conftest.
$ac_ext <<_ACEOF
42669 cat confdefs.h
>>conftest.
$ac_ext
42670 cat >>conftest.
$ac_ext <<_ACEOF
42671 /* end confdefs.h. */
42673 /* Override any GCC internal prototype to avoid an error.
42674 Use char because int might match the return type of a GCC
42675 builtin and then its argument prototype would still apply. */
42688 rm -f conftest.
$ac_objext conftest
$ac_exeext
42689 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
42705 $as_test_x conftest$ac_exeext; then
42706 ac_cv_lib_dl_dlerror=yes
42708 echo "$as_me: failed program was:" >&5
42709 sed 's/^/| /' conftest.$ac_ext >&5
42711 ac_cv_lib_dl_dlerror=no
42714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42715 conftest$ac_exeext conftest.$ac_ext
42716 LIBS=$ac_check_lib_save_LIBS
42718 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42719 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42720 if test $ac_cv_lib_dl_dlerror = yes; then
42721 cat >>confdefs.h <<\_ACEOF
42722 #define HAVE_DLERROR 1
42735 if test "$USE_DARWIN" = 1; then
42739 if test "$HAVE_DL_FUNCS" = 0; then
42740 if test "$HAVE_SHL_FUNCS" = 0; then
42741 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42742 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42743 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42744 wxUSE_DYNAMIC_LOADER=no
42745 wxUSE_DYNLIB_CLASS=no
42747 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42748 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42755 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42756 cat >>confdefs.h <<\_ACEOF
42757 #define wxUSE_DYNAMIC_LOADER 1
42761 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42762 cat >>confdefs.h <<\_ACEOF
42763 #define wxUSE_DYNLIB_CLASS 1
42770 if test "$wxUSE_PLUGINS" = "yes" ; then
42771 if test "$wxUSE_SHARED" = "no" ; then
42772 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42773 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42776 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42777 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42778 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42781 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42782 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42783 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42786 if test "$wxUSE_PLUGINS" = "yes" ; then
42787 cat >>confdefs.h <<\_ACEOF
42788 #define wxUSE_PLUGINS 1
42795 if test "$wxUSE_FSWATCHER" = "yes"; then
42796 if test "$wxUSE_MSW" != "1"; then
42797 if test "$wxUSE_UNIX" = "yes"; then
42799 for ac_header in sys/inotify.h
42801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42805 echo $ECHO_N "(cached) $ECHO_C" >&6
42807 cat >conftest.$ac_ext <<_ACEOF
42810 cat confdefs.h >>conftest.$ac_ext
42811 cat >>conftest.$ac_ext <<_ACEOF
42812 /* end confdefs.h. */
42813 $ac_includes_default
42815 #include <$ac_header>
42817 rm -f conftest.$ac_objext
42818 if { (ac_try="$ac_compile"
42819 case "(($ac_try" in
42820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42821 *) ac_try_echo
=$ac_try;;
42823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42824 (eval "$ac_compile") 2>conftest.er1
42826 grep -v '^ *+' conftest.er1
>conftest.err
42828 cat conftest.err
>&5
42829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42830 (exit $ac_status); } && {
42831 test -z "$ac_c_werror_flag" ||
42832 test ! -s conftest.err
42833 } && test -s conftest.
$ac_objext; then
42834 eval "$as_ac_Header=yes"
42836 echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.
$ac_ext >&5
42839 eval "$as_ac_Header=no"
42842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42844 ac_res
=`eval echo '${'$as_ac_Header'}'`
42845 { echo "$as_me:$LINENO: result: $ac_res" >&5
42846 echo "${ECHO_T}$ac_res" >&6; }
42847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42848 cat >>confdefs.h
<<_ACEOF
42849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42856 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42857 cat >>confdefs.h
<<\_ACEOF
42858 #define wxHAS_INOTIFY 1
42863 for ac_header
in sys
/event.h
42865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42866 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42868 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42869 echo $ECHO_N "(cached) $ECHO_C" >&6
42871 cat >conftest.
$ac_ext <<_ACEOF
42874 cat confdefs.h
>>conftest.
$ac_ext
42875 cat >>conftest.
$ac_ext <<_ACEOF
42876 /* end confdefs.h. */
42877 $ac_includes_default
42879 #include <$ac_header>
42881 rm -f conftest.
$ac_objext
42882 if { (ac_try
="$ac_compile"
42883 case "(($ac_try" in
42884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42885 *) ac_try_echo=$ac_try;;
42887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42888 (eval "$ac_compile") 2>conftest.er1
42890 grep -v '^ *+' conftest.er1 >conftest.err
42892 cat conftest.err >&5
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); } && {
42895 test -z "$ac_c_werror_flag" ||
42896 test ! -s conftest.err
42897 } && test -s conftest.$ac_objext; then
42898 eval "$as_ac_Header=yes"
42900 echo "$as_me: failed program was:" >&5
42901 sed 's/^/| /' conftest.$ac_ext >&5
42903 eval "$as_ac_Header=no"
42906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42908 ac_res=`eval echo '${'$as_ac_Header'}'`
42909 { echo "$as_me:$LINENO: result: $ac_res" >&5
42910 echo "${ECHO_T}$ac_res" >&6; }
42911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42912 cat >>confdefs.h <<_ACEOF
42913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42920 if test "$ac_cv_header_sys_event_h" = "yes"; then
42921 cat >>confdefs.h <<\_ACEOF
42922 #define wxHAS_KQUEUE 1
42934 if test "$wxUSE_FSWATCHER" = "yes"; then
42935 cat >>confdefs.h <<\_ACEOF
42936 #define wxUSE_FSWATCHER 1
42939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42941 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42942 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42947 if test "$wxUSE_STL" = "yes"; then
42948 cat >>confdefs.h <<\_ACEOF
42949 #define wxUSE_STL 1
42954 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42955 cat >>confdefs.h <<\_ACEOF
42956 #define wxUSE_EXTENDED_RTTI 1
42961 if test "$wxUSE_ANY" = "yes"; then
42962 cat >>confdefs.h <<\_ACEOF
42963 #define wxUSE_ANY 1
42968 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42969 cat >>confdefs.h <<\_ACEOF
42970 #define wxUSE_APPLE_IEEE 1
42975 if test "$wxUSE_TIMER" = "yes"; then
42976 cat >>confdefs.h <<\_ACEOF
42977 #define wxUSE_TIMER 1
42982 if test "$USE_UNIX" = 1 ; then
42983 if test "$wxUSE_MGL" != 1; then
42984 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42985 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42986 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42987 echo $ECHO_N "(cached) $ECHO_C" >&6
42990 cat >conftest.$ac_ext <<_ACEOF
42993 cat confdefs.h >>conftest.$ac_ext
42994 cat >>conftest.$ac_ext <<_ACEOF
42995 /* end confdefs.h. */
42997 #include <sys/ioctl.h>
42998 #include <sys/soundcard.h>
43004 ioctl(0, SNDCTL_DSP_SPEED, 0);
43010 rm -f conftest.$ac_objext conftest$ac_exeext
43011 if { (ac_try="$ac_link"
43012 case "(($ac_try" in
43013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43014 *) ac_try_echo
=$ac_try;;
43016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43017 (eval "$ac_link") 2>conftest.er1
43019 grep -v '^ *+' conftest.er1
>conftest.err
43021 cat conftest.err
>&5
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); } && {
43024 test -z "$ac_c_werror_flag" ||
43025 test ! -s conftest.err
43026 } && test -s conftest
$ac_exeext &&
43027 $as_test_x conftest
$ac_exeext; then
43028 ac_cv_header_sys_soundcard
=yes
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.
$ac_ext >&5
43035 LIBS
="$saveLibs -lossaudio"
43036 cat >conftest.
$ac_ext <<_ACEOF
43039 cat confdefs.h
>>conftest.
$ac_ext
43040 cat >>conftest.
$ac_ext <<_ACEOF
43041 /* end confdefs.h. */
43043 #include <sys/ioctl.h>
43044 #include <sys/soundcard.h>
43050 ioctl(0, SNDCTL_DSP_SPEED, 0);
43056 rm -f conftest.
$ac_objext conftest
$ac_exeext
43057 if { (ac_try
="$ac_link"
43058 case "(($ac_try" in
43059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43060 *) ac_try_echo=$ac_try;;
43062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43063 (eval "$ac_link") 2>conftest.er1
43065 grep -v '^ *+' conftest.er1 >conftest.err
43067 cat conftest.err >&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); } && {
43070 test -z "$ac_c_werror_flag" ||
43071 test ! -s conftest.err
43072 } && test -s conftest$ac_exeext &&
43073 $as_test_x conftest$ac_exeext; then
43074 ac_cv_header_sys_soundcard=yes
43076 echo "$as_me: failed program was:" >&5
43077 sed 's/^/| /' conftest.$ac_ext >&5
43081 ac_cv_header_sys_soundcard=no
43086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43087 conftest$ac_exeext conftest.$ac_ext
43092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43093 conftest$ac_exeext conftest.$ac_ext
43096 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43097 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43100 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43101 cat >>confdefs.h <<\_ACEOF
43102 #define HAVE_SYS_SOUNDCARD_H 1
43109 if test "$wxUSE_SOUND" = "yes"; then
43110 if test "$USE_UNIX" = 1 ; then
43111 if test "$wxUSE_LIBSDL" != "no"; then
43113 # Check whether --with-sdl-prefix was given.
43114 if test "${with_sdl_prefix+set}" = set; then
43115 withval=$with_sdl_prefix; sdl_prefix="$withval"
43121 # Check whether --with-sdl-exec-prefix was given.
43122 if test "${with_sdl_exec_prefix+set}" = set; then
43123 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43128 # Check whether --enable-sdltest was given.
43129 if test "${enable_sdltest+set}" = set; then
43130 enableval=$enable_sdltest;
43136 if test x$sdl_exec_prefix != x ; then
43137 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43138 if test x${SDL_CONFIG+set} != xset ; then
43139 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43142 if test x$sdl_prefix != x ; then
43143 sdl_args="$sdl_args --prefix=$sdl_prefix"
43144 if test x${SDL_CONFIG+set} != xset ; then
43145 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43149 if test "x$prefix" != xNONE; then
43150 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43152 # Extract the first word of "sdl-config", so it can be a program name with args.
43153 set dummy sdl-config; ac_word=$2
43154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43156 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43157 echo $ECHO_N "(cached) $ECHO_C" >&6
43159 case $SDL_CONFIG in
43161 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43165 for as_dir in $PATH
43168 test -z "$as_dir" && as_dir=.
43169 for ac_exec_ext in '' $ac_executable_extensions; do
43170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43171 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43179 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43183 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43184 if test -n "$SDL_CONFIG"; then
43185 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43186 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43188 { echo "$as_me:$LINENO: result: no" >&5
43189 echo "${ECHO_T}no" >&6; }
43193 min_sdl_version=1.2.0
43194 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43195 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43197 if test "$SDL_CONFIG" = "no" ; then
43200 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43201 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43203 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43204 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43205 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43206 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43207 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43209 if test "x$enable_sdltest" = "xyes" ; then
43210 ac_save_CFLAGS="$CFLAGS"
43211 ac_save_CXXFLAGS="$CXXFLAGS"
43212 ac_save_LIBS="$LIBS"
43213 CFLAGS="$CFLAGS $SDL_CFLAGS"
43214 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43215 LIBS="$LIBS $SDL_LIBS"
43217 if test "$cross_compiling" = yes; then
43218 echo $ac_n "cross compiling; assumed OK... $ac_c"
43220 cat >conftest.$ac_ext <<_ACEOF
43223 cat confdefs.h >>conftest.$ac_ext
43224 cat >>conftest.$ac_ext <<_ACEOF
43225 /* end confdefs.h. */
43228 #include <stdlib.h>
43229 #include <string.h>
43233 my_strdup (char *str)
43239 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43240 strcpy (new_str, str);
43248 int main (int argc, char *argv[])
43250 int major, minor, micro;
43253 /* This hangs on some systems (?)
43254 system ("touch conf.sdltest");
43256 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43258 /* HP/UX 9 (%@#!) writes to sscanf strings */
43259 tmp_version = my_strdup("$min_sdl_version");
43260 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43261 printf("%s, bad version string\n", "$min_sdl_version");
43265 if (($sdl_major_version > major) ||
43266 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43267 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43273 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43274 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43275 printf("*** best to upgrade to the required version.\n");
43276 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43277 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43278 printf("*** config.cache before re-running configure\n");
43285 rm -f conftest$ac_exeext
43286 if { (ac_try="$ac_link"
43287 case "(($ac_try" in
43288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43289 *) ac_try_echo
=$ac_try;;
43291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43292 (eval "$ac_link") 2>&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43296 { (case "(($ac_try" in
43297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43298 *) ac_try_echo=$ac_try;;
43300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43301 (eval "$ac_try") 2>&5
43303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43304 (exit $ac_status); }; }; then
43307 echo "$as_me: program exited with status $ac_status" >&5
43308 echo "$as_me: failed program was:" >&5
43309 sed 's/^/| /' conftest.$ac_ext >&5
43311 ( exit $ac_status )
43314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43318 CFLAGS="$ac_save_CFLAGS"
43319 CXXFLAGS="$ac_save_CXXFLAGS"
43320 LIBS="$ac_save_LIBS"
43323 if test "x$no_sdl" = x ; then
43324 { echo "$as_me:$LINENO: result: yes" >&5
43325 echo "${ECHO_T}yes" >&6; }
43327 EXTRALIBS_SDL="$SDL_LIBS"
43328 CFLAGS="$SDL_CFLAGS $CFLAGS"
43329 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43330 cat >>confdefs.h <<\_ACEOF
43331 #define wxUSE_LIBSDL 1
43336 { echo "$as_me:$LINENO: result: no" >&5
43337 echo "${ECHO_T}no" >&6; }
43338 if test "$SDL_CONFIG" = "no" ; then
43339 echo "*** The sdl-config script installed by SDL could not be found"
43340 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43341 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43342 echo "*** full path to sdl-config."
43344 if test -f conf.sdltest ; then
43347 echo "*** Could not run SDL test program, checking why..."
43348 CFLAGS="$CFLAGS $SDL_CFLAGS"
43349 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43350 LIBS="$LIBS $SDL_LIBS"
43351 cat >conftest.$ac_ext <<_ACEOF
43354 cat confdefs.h >>conftest.$ac_ext
43355 cat >>conftest.$ac_ext <<_ACEOF
43356 /* end confdefs.h. */
43361 int main(int argc, char *argv[])
43364 #define main K_and_R_C_main
43374 rm -f conftest.$ac_objext conftest$ac_exeext
43375 if { (ac_try="$ac_link"
43376 case "(($ac_try" in
43377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43378 *) ac_try_echo
=$ac_try;;
43380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43381 (eval "$ac_link") 2>conftest.er1
43383 grep -v '^ *+' conftest.er1
>conftest.err
43385 cat conftest.err
>&5
43386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43387 (exit $ac_status); } && {
43388 test -z "$ac_c_werror_flag" ||
43389 test ! -s conftest.err
43390 } && test -s conftest
$ac_exeext &&
43391 $as_test_x conftest
$ac_exeext; then
43392 echo "*** The test program compiled, but did not run. This usually means"
43393 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43394 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43395 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43396 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43397 echo "*** is required on your system"
43399 echo "*** If you have an old version installed, it is best to remove it, although"
43400 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43402 echo "$as_me: failed program was:" >&5
43403 sed 's/^/| /' conftest.
$ac_ext >&5
43405 echo "*** The test program failed to compile or link. See the file config.log for the"
43406 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43407 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43408 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43412 conftest
$ac_exeext conftest.
$ac_ext
43413 CFLAGS
="$ac_save_CFLAGS"
43414 CXXFLAGS
="$ac_save_CXXFLAGS"
43415 LIBS
="$ac_save_LIBS"
43426 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43431 if test "$wxUSE_MGL" = 1; then
43432 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43433 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43439 if test "$wxUSE_SOUND" = "yes"; then
43440 cat >>confdefs.h
<<\_ACEOF
43441 #define wxUSE_SOUND 1
43444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43447 if test "$WXGTK2" = 1; then
43450 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43451 if test -n "$ac_tool_prefix"; then
43452 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43453 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43456 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43457 echo $ECHO_N "(cached) $ECHO_C" >&6
43459 case $PKG_CONFIG in
43461 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43465 for as_dir
in $PATH
43468 test -z "$as_dir" && as_dir
=.
43469 for ac_exec_ext
in '' $ac_executable_extensions; do
43470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43471 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43482 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43483 if test -n "$PKG_CONFIG"; then
43484 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43485 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43487 { echo "$as_me:$LINENO: result: no" >&5
43488 echo "${ECHO_T}no" >&6; }
43493 if test -z "$ac_cv_path_PKG_CONFIG"; then
43494 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43495 # Extract the first word of "pkg-config", so it can be a program name with args.
43496 set dummy pkg
-config; ac_word
=$2
43497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43499 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43500 echo $ECHO_N "(cached) $ECHO_C" >&6
43502 case $ac_pt_PKG_CONFIG in
43504 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43508 for as_dir
in $PATH
43511 test -z "$as_dir" && as_dir
=.
43512 for ac_exec_ext
in '' $ac_executable_extensions; do
43513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43514 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43525 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43526 if test -n "$ac_pt_PKG_CONFIG"; then
43527 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43528 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43530 { echo "$as_me:$LINENO: result: no" >&5
43531 echo "${ECHO_T}no" >&6; }
43534 if test "x$ac_pt_PKG_CONFIG" = x
; then
43537 case $cross_compiling:$ac_tool_warned in
43539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43540 whose name does not start with the host triplet. If you think this
43541 configuration is useful to you, please write to autoconf@gnu.org." >&5
43542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43543 whose name does not start with the host triplet. If you think this
43544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43545 ac_tool_warned
=yes ;;
43547 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43550 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43554 if test -n "$PKG_CONFIG"; then
43555 _pkg_min_version
=0.9.0
43556 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43557 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43558 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43559 { echo "$as_me:$LINENO: result: yes" >&5
43560 echo "${ECHO_T}yes" >&6; }
43562 { echo "$as_me:$LINENO: result: no" >&5
43563 echo "${ECHO_T}no" >&6; }
43569 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43571 if test "$wxUSE_GTKPRINT" = "yes" ; then
43575 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43576 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43578 if test -n "$PKG_CONFIG"; then
43579 if test -n "$GTKPRINT_CFLAGS"; then
43580 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43582 if test -n "$PKG_CONFIG" && \
43583 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43584 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43587 (exit $ac_status); }; then
43588 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43596 if test -n "$PKG_CONFIG"; then
43597 if test -n "$GTKPRINT_LIBS"; then
43598 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43600 if test -n "$PKG_CONFIG" && \
43601 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43602 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); }; then
43606 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43617 if test $pkg_failed = yes; then
43619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43620 _pkg_short_errors_supported
=yes
43622 _pkg_short_errors_supported
=no
43624 if test $_pkg_short_errors_supported = yes; then
43625 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43627 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43629 # Put the nasty error message in config.log where it belongs
43630 echo "$GTKPRINT_PKG_ERRORS" >&5
43633 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43634 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43635 wxUSE_GTKPRINT
="no"
43638 elif test $pkg_failed = untried
; then
43640 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43641 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43642 wxUSE_GTKPRINT
="no"
43646 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43647 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43648 { echo "$as_me:$LINENO: result: yes" >&5
43649 echo "${ECHO_T}yes" >&6; }
43651 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43652 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43653 cat >>confdefs.h
<<\_ACEOF
43654 #define wxUSE_GTKPRINT 1
43661 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43665 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43666 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43668 if test -n "$PKG_CONFIG"; then
43669 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43670 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43672 if test -n "$PKG_CONFIG" && \
43673 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43674 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); }; then
43678 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43686 if test -n "$PKG_CONFIG"; then
43687 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43688 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43690 if test -n "$PKG_CONFIG" && \
43691 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43692 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43695 (exit $ac_status); }; then
43696 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43707 if test $pkg_failed = yes; then
43709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43710 _pkg_short_errors_supported
=yes
43712 _pkg_short_errors_supported
=no
43714 if test $_pkg_short_errors_supported = yes; then
43715 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43717 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43719 # Put the nasty error message in config.log where it belongs
43720 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43723 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43724 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43725 wxUSE_LIBGNOMEPRINT
="no"
43728 elif test $pkg_failed = untried
; then
43730 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43731 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43732 wxUSE_LIBGNOMEPRINT
="no"
43736 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43737 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43738 { echo "$as_me:$LINENO: result: yes" >&5
43739 echo "${ECHO_T}yes" >&6; }
43741 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43742 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43743 cat >>confdefs.h
<<\_ACEOF
43744 #define wxUSE_LIBGNOMEPRINT 1
43752 if test "$wxUSE_MIMETYPE" = "yes" ; then
43753 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43757 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43758 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43760 if test -n "$PKG_CONFIG"; then
43761 if test -n "$GNOMEVFS_CFLAGS"; then
43762 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43764 if test -n "$PKG_CONFIG" && \
43765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43766 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); }; then
43770 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43778 if test -n "$PKG_CONFIG"; then
43779 if test -n "$GNOMEVFS_LIBS"; then
43780 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43782 if test -n "$PKG_CONFIG" && \
43783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43784 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); }; then
43788 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43799 if test $pkg_failed = yes; then
43801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43802 _pkg_short_errors_supported
=yes
43804 _pkg_short_errors_supported
=no
43806 if test $_pkg_short_errors_supported = yes; then
43807 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43809 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43811 # Put the nasty error message in config.log where it belongs
43812 echo "$GNOMEVFS_PKG_ERRORS" >&5
43815 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43816 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43817 wxUSE_LIBGNOMEVFS
="no"
43820 elif test $pkg_failed = untried
; then
43822 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43823 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43824 wxUSE_LIBGNOMEVFS
="no"
43828 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43829 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43830 { echo "$as_me:$LINENO: result: yes" >&5
43831 echo "${ECHO_T}yes" >&6; }
43833 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43834 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43835 cat >>confdefs.h
<<\_ACEOF
43836 #define wxUSE_LIBGNOMEVFS 1
43844 if test "$wxUSE_LIBHILDON" = "yes" ; then
43847 { echo "$as_me:$LINENO: checking for HILDON" >&5
43848 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43850 if test -n "$PKG_CONFIG"; then
43851 if test -n "$HILDON_CFLAGS"; then
43852 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43854 if test -n "$PKG_CONFIG" && \
43855 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43856 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); }; then
43860 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43868 if test -n "$PKG_CONFIG"; then
43869 if test -n "$HILDON_LIBS"; then
43870 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43872 if test -n "$PKG_CONFIG" && \
43873 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43874 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43877 (exit $ac_status); }; then
43878 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43889 if test $pkg_failed = yes; then
43891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43892 _pkg_short_errors_supported
=yes
43894 _pkg_short_errors_supported
=no
43896 if test $_pkg_short_errors_supported = yes; then
43897 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43899 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43901 # Put the nasty error message in config.log where it belongs
43902 echo "$HILDON_PKG_ERRORS" >&5
43905 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43906 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43907 wxUSE_LIBHILDON
="no"
43911 elif test $pkg_failed = untried
; then
43913 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43914 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43915 wxUSE_LIBHILDON
="no"
43920 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43921 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43922 { echo "$as_me:$LINENO: result: yes" >&5
43923 echo "${ECHO_T}yes" >&6; }
43925 EXTRALIBS_HILDON
="$HILDON_LIBS"
43926 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43927 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43928 cat >>confdefs.h
<<\_ACEOF
43929 #define wxUSE_LIBHILDON 1
43936 if test "$ac_hildon_lgpl" = 0 ; then
43939 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43940 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43942 if test -n "$PKG_CONFIG"; then
43943 if test -n "$HILDON2_CFLAGS"; then
43944 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43946 if test -n "$PKG_CONFIG" && \
43947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43948 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); }; then
43952 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43960 if test -n "$PKG_CONFIG"; then
43961 if test -n "$HILDON2_LIBS"; then
43962 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
43964 if test -n "$PKG_CONFIG" && \
43965 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43966 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969 (exit $ac_status); }; then
43970 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43981 if test $pkg_failed = yes; then
43983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43984 _pkg_short_errors_supported
=yes
43986 _pkg_short_errors_supported
=no
43988 if test $_pkg_short_errors_supported = yes; then
43989 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43991 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43993 # Put the nasty error message in config.log where it belongs
43994 echo "$HILDON2_PKG_ERRORS" >&5
43997 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43998 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43999 wxUSE_LIBHILDON2
="no"
44002 elif test $pkg_failed = untried
; then
44004 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44005 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44006 wxUSE_LIBHILDON2
="no"
44010 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44011 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44012 { echo "$as_me:$LINENO: result: yes" >&5
44013 echo "${ECHO_T}yes" >&6; }
44015 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44016 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44017 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44018 cat >>confdefs.h
<<\_ACEOF
44019 #define wxUSE_LIBHILDON2 1
44028 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44029 cat >>confdefs.h
<<\_ACEOF
44030 #define wxUSE_CMDLINE_PARSER 1
44035 if test "$wxUSE_STOPWATCH" = "yes"; then
44036 cat >>confdefs.h
<<\_ACEOF
44037 #define wxUSE_STOPWATCH 1
44042 if test "$wxUSE_DATETIME" = "yes"; then
44043 cat >>confdefs.h
<<\_ACEOF
44044 #define wxUSE_DATETIME 1
44049 if test "$wxUSE_FILE" = "yes"; then
44050 cat >>confdefs.h
<<\_ACEOF
44051 #define wxUSE_FILE 1
44056 if test "$wxUSE_FFILE" = "yes"; then
44057 cat >>confdefs.h
<<\_ACEOF
44058 #define wxUSE_FFILE 1
44063 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44064 if test "$wxUSE_STREAMS" != yes; then
44065 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44066 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44067 wxUSE_ARCHIVE_STREAMS
=no
44069 cat >>confdefs.h
<<\_ACEOF
44070 #define wxUSE_ARCHIVE_STREAMS 1
44076 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44077 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44078 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44079 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44080 elif test "$wxUSE_ZLIB" = "no"; then
44081 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44082 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44084 cat >>confdefs.h
<<\_ACEOF
44085 #define wxUSE_ZIPSTREAM 1
44091 if test "$wxUSE_TARSTREAM" = "yes"; then
44092 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44093 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44094 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44096 cat >>confdefs.h
<<\_ACEOF
44097 #define wxUSE_TARSTREAM 1
44103 if test "$wxUSE_FILESYSTEM" = "yes"; then
44104 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44105 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44106 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44107 wxUSE_FILESYSTEM
=no
44109 cat >>confdefs.h
<<\_ACEOF
44110 #define wxUSE_FILESYSTEM 1
44116 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44117 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44118 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44119 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44121 cat >>confdefs.h
<<\_ACEOF
44122 #define wxUSE_FS_ARCHIVE 1
44128 if test "$wxUSE_FS_ZIP" = "yes"; then
44129 if test "$wxUSE_FS_ARCHIVE" != yes; then
44130 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44131 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44133 cat >>confdefs.h
<<\_ACEOF
44134 #define wxUSE_FS_ZIP 1
44140 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44141 if test "$USE_UNIX" != 1; then
44142 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44143 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44144 wxUSE_ON_FATAL_EXCEPTION
=no
44146 cat >>confdefs.h
<<\_ACEOF
44147 #define wxUSE_ON_FATAL_EXCEPTION 1
44153 if test "$wxUSE_STACKWALKER" = "yes"; then
44154 cat >>confdefs.h
<<\_ACEOF
44155 #define wxUSE_STACKWALKER 1
44160 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44161 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44162 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44163 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44164 wxUSE_DEBUGREPORT
=no
44166 cat >>confdefs.h
<<\_ACEOF
44167 #define wxUSE_DEBUGREPORT 1
44170 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44176 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44177 cat >>confdefs.h
<<\_ACEOF
44178 #define wxUSE_SNGLINST_CHECKER 1
44183 if test "$wxUSE_BUSYINFO" = "yes"; then
44184 cat >>confdefs.h
<<\_ACEOF
44185 #define wxUSE_BUSYINFO 1
44190 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44191 cat >>confdefs.h
<<\_ACEOF
44192 #define wxUSE_STD_IOSTREAM 1
44197 if test "$wxUSE_STD_STRING" = "yes"; then
44198 cat >>confdefs.h
<<\_ACEOF
44199 #define wxUSE_STD_STRING 1
44204 if test "$wxUSE_STDPATHS" = "yes"; then
44205 cat >>confdefs.h
<<\_ACEOF
44206 #define wxUSE_STDPATHS 1
44211 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44212 cat >>confdefs.h
<<\_ACEOF
44213 #define wxUSE_TEXTBUFFER 1
44218 if test "$wxUSE_TEXTFILE" = "yes"; then
44219 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44220 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44221 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44223 cat >>confdefs.h
<<\_ACEOF
44224 #define wxUSE_TEXTFILE 1
44230 if test "$wxUSE_CONFIG" = "yes" ; then
44231 if test "$wxUSE_TEXTFILE" != "yes"; then
44232 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44233 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44235 cat >>confdefs.h
<<\_ACEOF
44236 #define wxUSE_CONFIG 1
44239 cat >>confdefs.h
<<\_ACEOF
44240 #define wxUSE_CONFIG_NATIVE 1
44243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44247 if test "$wxUSE_INTL" = "yes" ; then
44248 if test "$wxUSE_FILE" != "yes"; then
44249 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44250 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44252 cat >>confdefs.h
<<\_ACEOF
44253 #define wxUSE_INTL 1
44256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44257 GUIDIST
="$GUIDIST INTL_DIST"
44261 if test "$wxUSE_XLOCALE" = "yes" ; then
44262 cat >>confdefs.h
<<\_ACEOF
44263 #define wxUSE_XLOCALE 1
44266 { echo "$as_me:$LINENO: checking for locale_t" >&5
44267 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44268 if test "${ac_cv_type_locale_t+set}" = set; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44271 cat >conftest.
$ac_ext <<_ACEOF
44274 cat confdefs.h
>>conftest.
$ac_ext
44275 cat >>conftest.
$ac_ext <<_ACEOF
44276 /* end confdefs.h. */
44277 #include <xlocale.h>
44278 #include <locale.h>
44280 typedef locale_t ac__type_new_;
44284 if ((ac__type_new_ *) 0)
44286 if (sizeof (ac__type_new_))
44292 rm -f conftest.
$ac_objext
44293 if { (ac_try
="$ac_compile"
44294 case "(($ac_try" in
44295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44296 *) ac_try_echo=$ac_try;;
44298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44299 (eval "$ac_compile") 2>conftest.er1
44301 grep -v '^ *+' conftest.er1 >conftest.err
44303 cat conftest.err >&5
44304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44305 (exit $ac_status); } && {
44306 test -z "$ac_c_werror_flag" ||
44307 test ! -s conftest.err
44308 } && test -s conftest.$ac_objext; then
44309 ac_cv_type_locale_t=yes
44311 echo "$as_me: failed program was:" >&5
44312 sed 's/^/| /' conftest.$ac_ext >&5
44314 ac_cv_type_locale_t=no
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44319 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44320 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44321 if test $ac_cv_type_locale_t = yes; then
44323 cat >>confdefs.h <<_ACEOF
44324 #define HAVE_LOCALE_T 1
44332 if test "$wxUSE_LOG" = "yes"; then
44333 cat >>confdefs.h <<\_ACEOF
44334 #define wxUSE_LOG 1
44338 if test "$wxUSE_LOGGUI" = "yes"; then
44339 cat >>confdefs.h <<\_ACEOF
44340 #define wxUSE_LOGGUI 1
44345 if test "$wxUSE_LOGWINDOW" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_LOGWINDOW 1
44352 if test "$wxUSE_LOGDIALOG" = "yes"; then
44353 cat >>confdefs.h <<\_ACEOF
44354 #define wxUSE_LOG_DIALOG 1
44359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44362 if test "$wxUSE_LONGLONG" = "yes"; then
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_LONGLONG 1
44369 if test "$wxUSE_GEOMETRY" = "yes"; then
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_GEOMETRY 1
44376 if test "$wxUSE_BASE64" = "yes"; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define wxUSE_BASE64 1
44383 if test "$wxUSE_STREAMS" = "yes" ; then
44384 cat >>confdefs.h <<\_ACEOF
44385 #define wxUSE_STREAMS 1
44390 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_PRINTF_POS_PARAMS 1
44397 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44398 cat >>confdefs.h <<\_ACEOF
44399 #define wxUSE_OBJC_UNIQUIFYING 1
44405 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44406 cat >>confdefs.h <<\_ACEOF
44407 #define wxUSE_CONSOLE_EVENTLOOP 1
44411 if test "$wxUSE_UNIX" = "yes"; then
44412 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_SELECT_DISPATCHER 1
44419 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44421 for ac_header in sys/epoll.h
44423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44427 echo $ECHO_N "(cached) $ECHO_C" >&6
44429 cat >conftest.$ac_ext <<_ACEOF
44432 cat confdefs.h >>conftest.$ac_ext
44433 cat >>conftest.$ac_ext <<_ACEOF
44434 /* end confdefs.h. */
44435 $ac_includes_default
44437 #include <$ac_header>
44439 rm -f conftest.$ac_objext
44440 if { (ac_try="$ac_compile"
44441 case "(($ac_try" in
44442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44443 *) ac_try_echo
=$ac_try;;
44445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44446 (eval "$ac_compile") 2>conftest.er1
44448 grep -v '^ *+' conftest.er1
>conftest.err
44450 cat conftest.err
>&5
44451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44452 (exit $ac_status); } && {
44453 test -z "$ac_c_werror_flag" ||
44454 test ! -s conftest.err
44455 } && test -s conftest.
$ac_objext; then
44456 eval "$as_ac_Header=yes"
44458 echo "$as_me: failed program was:" >&5
44459 sed 's/^/| /' conftest.
$ac_ext >&5
44461 eval "$as_ac_Header=no"
44464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44466 ac_res
=`eval echo '${'$as_ac_Header'}'`
44467 { echo "$as_me:$LINENO: result: $ac_res" >&5
44468 echo "${ECHO_T}$ac_res" >&6; }
44469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44470 cat >>confdefs.h
<<_ACEOF
44471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44478 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_EPOLL_DISPATCHER 1
44484 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44485 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44494 for ac_func
in gettimeofday ftime
44496 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44497 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44499 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44500 echo $ECHO_N "(cached) $ECHO_C" >&6
44502 cat >conftest.
$ac_ext <<_ACEOF
44505 cat confdefs.h
>>conftest.
$ac_ext
44506 cat >>conftest.
$ac_ext <<_ACEOF
44507 /* end confdefs.h. */
44508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44510 #define $ac_func innocuous_$ac_func
44512 /* System header to define __stub macros and hopefully few prototypes,
44513 which can conflict with char $ac_func (); below.
44514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44515 <limits.h> exists even on freestanding compilers. */
44518 # include <limits.h>
44520 # include <assert.h>
44525 /* Override any GCC internal prototype to avoid an error.
44526 Use char because int might match the return type of a GCC
44527 builtin and then its argument prototype would still apply. */
44532 /* The GNU C library defines this for functions which it implements
44533 to always fail with ENOSYS. Some functions are actually named
44534 something starting with __ and the normal name is an alias. */
44535 #if defined __stub_$ac_func || defined __stub___$ac_func
44542 return $ac_func ();
44547 rm -f conftest.
$ac_objext conftest
$ac_exeext
44548 if { (ac_try
="$ac_link"
44549 case "(($ac_try" in
44550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44551 *) ac_try_echo=$ac_try;;
44553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44554 (eval "$ac_link") 2>conftest.er1
44556 grep -v '^ *+' conftest.er1 >conftest.err
44558 cat conftest.err >&5
44559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44560 (exit $ac_status); } && {
44561 test -z "$ac_c_werror_flag" ||
44562 test ! -s conftest.err
44563 } && test -s conftest$ac_exeext &&
44564 $as_test_x conftest$ac_exeext; then
44565 eval "$as_ac_var=yes"
44567 echo "$as_me: failed program was:" >&5
44568 sed 's/^/| /' conftest.$ac_ext >&5
44570 eval "$as_ac_var=no"
44573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44574 conftest$ac_exeext conftest.$ac_ext
44576 ac_res=`eval echo '${'$as_ac_var'}'`
44577 { echo "$as_me:$LINENO: result: $ac_res" >&5
44578 echo "${ECHO_T}$ac_res" >&6; }
44579 if test `eval echo '${'$as_ac_var'}'` = yes; then
44580 cat >>confdefs.h <<_ACEOF
44581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44588 if test "$ac_cv_func_gettimeofday" = "yes"; then
44589 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44590 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44591 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44592 echo $ECHO_N "(cached) $ECHO_C" >&6
44595 cat >conftest.$ac_ext <<_ACEOF
44598 cat confdefs.h >>conftest.$ac_ext
44599 cat >>conftest.$ac_ext <<_ACEOF
44600 /* end confdefs.h. */
44602 #include <sys/time.h>
44603 #include <unistd.h>
44610 gettimeofday(&tv, NULL);
44616 rm -f conftest.$ac_objext
44617 if { (ac_try="$ac_compile"
44618 case "(($ac_try" in
44619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44620 *) ac_try_echo
=$ac_try;;
44622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44623 (eval "$ac_compile") 2>conftest.er1
44625 grep -v '^ *+' conftest.er1
>conftest.err
44627 cat conftest.err
>&5
44628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629 (exit $ac_status); } && {
44630 test -z "$ac_c_werror_flag" ||
44631 test ! -s conftest.err
44632 } && test -s conftest.
$ac_objext; then
44633 wx_cv_func_gettimeofday_has_2_args
=yes
44635 echo "$as_me: failed program was:" >&5
44636 sed 's/^/| /' conftest.
$ac_ext >&5
44638 cat >conftest.
$ac_ext <<_ACEOF
44641 cat confdefs.h
>>conftest.
$ac_ext
44642 cat >>conftest.
$ac_ext <<_ACEOF
44643 /* end confdefs.h. */
44645 #include <sys/time.h>
44646 #include <unistd.h>
44659 rm -f conftest.
$ac_objext
44660 if { (ac_try
="$ac_compile"
44661 case "(($ac_try" in
44662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44663 *) ac_try_echo=$ac_try;;
44665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44666 (eval "$ac_compile") 2>conftest.er1
44668 grep -v '^ *+' conftest.er1 >conftest.err
44670 cat conftest.err >&5
44671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44672 (exit $ac_status); } && {
44673 test -z "$ac_c_werror_flag" ||
44674 test ! -s conftest.err
44675 } && test -s conftest.$ac_objext; then
44676 wx_cv_func_gettimeofday_has_2_args=no
44678 echo "$as_me: failed program was:" >&5
44679 sed 's/^/| /' conftest.$ac_ext >&5
44682 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44683 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44684 wx_cv_func_gettimeofday_has_2_args=unknown
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44696 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44697 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44699 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44700 cat >>confdefs.h <<\_ACEOF
44701 #define WX_GETTIMEOFDAY_NO_TZ 1
44707 if test "$wxUSE_DATETIME" = "yes"; then
44708 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44709 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44710 if test "${wx_cv_var_timezone+set}" = set; then
44711 echo $ECHO_N "(cached) $ECHO_C" >&6
44715 ac_cpp='$CXXCPP $CPPFLAGS'
44716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44720 cat >conftest.$ac_ext <<_ACEOF
44723 cat confdefs.h >>conftest.$ac_ext
44724 cat >>conftest.$ac_ext <<_ACEOF
44725 /* end confdefs.h. */
44740 rm -f conftest.$ac_objext
44741 if { (ac_try="$ac_compile"
44742 case "(($ac_try" in
44743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44744 *) ac_try_echo
=$ac_try;;
44746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44747 (eval "$ac_compile") 2>conftest.er1
44749 grep -v '^ *+' conftest.er1
>conftest.err
44751 cat conftest.err
>&5
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); } && {
44754 test -z "$ac_cxx_werror_flag" ||
44755 test ! -s conftest.err
44756 } && test -s conftest.
$ac_objext; then
44758 wx_cv_var_timezone
=timezone
44761 echo "$as_me: failed program was:" >&5
44762 sed 's/^/| /' conftest.
$ac_ext >&5
44765 cat >conftest.
$ac_ext <<_ACEOF
44768 cat confdefs.h
>>conftest.
$ac_ext
44769 cat >>conftest.
$ac_ext <<_ACEOF
44770 /* end confdefs.h. */
44785 rm -f conftest.
$ac_objext
44786 if { (ac_try
="$ac_compile"
44787 case "(($ac_try" in
44788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44789 *) ac_try_echo=$ac_try;;
44791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44792 (eval "$ac_compile") 2>conftest.er1
44794 grep -v '^ *+' conftest.er1 >conftest.err
44796 cat conftest.err >&5
44797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44798 (exit $ac_status); } && {
44799 test -z "$ac_cxx_werror_flag" ||
44800 test ! -s conftest.err
44801 } && test -s conftest.$ac_objext; then
44803 wx_cv_var_timezone=_timezone
44806 echo "$as_me: failed program was:" >&5
44807 sed 's/^/| /' conftest.$ac_ext >&5
44810 cat >conftest.$ac_ext <<_ACEOF
44813 cat confdefs.h >>conftest.$ac_ext
44814 cat >>conftest.$ac_ext <<_ACEOF
44815 /* end confdefs.h. */
44830 rm -f conftest.$ac_objext
44831 if { (ac_try="$ac_compile"
44832 case "(($ac_try" in
44833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44834 *) ac_try_echo
=$ac_try;;
44836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44837 (eval "$ac_compile") 2>conftest.er1
44839 grep -v '^ *+' conftest.er1
>conftest.err
44841 cat conftest.err
>&5
44842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843 (exit $ac_status); } && {
44844 test -z "$ac_cxx_werror_flag" ||
44845 test ! -s conftest.err
44846 } && test -s conftest.
$ac_objext; then
44848 wx_cv_var_timezone
=__timezone
44851 echo "$as_me: failed program was:" >&5
44852 sed 's/^/| /' conftest.
$ac_ext >&5
44855 if test "$USE_DOS" = 0 ; then
44856 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44857 echo "$as_me: WARNING: no timezone variable" >&2;}
44863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44875 ac_cpp
='$CPP $CPPFLAGS'
44876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44883 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44884 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44886 if test "x$wx_cv_var_timezone" != x
; then
44887 cat >>confdefs.h
<<_ACEOF
44888 #define WX_TIMEZONE $wx_cv_var_timezone
44894 for ac_func
in localtime
44896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44899 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44900 echo $ECHO_N "(cached) $ECHO_C" >&6
44902 cat >conftest.
$ac_ext <<_ACEOF
44905 cat confdefs.h
>>conftest.
$ac_ext
44906 cat >>conftest.
$ac_ext <<_ACEOF
44907 /* end confdefs.h. */
44908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44910 #define $ac_func innocuous_$ac_func
44912 /* System header to define __stub macros and hopefully few prototypes,
44913 which can conflict with char $ac_func (); below.
44914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44915 <limits.h> exists even on freestanding compilers. */
44918 # include <limits.h>
44920 # include <assert.h>
44925 /* Override any GCC internal prototype to avoid an error.
44926 Use char because int might match the return type of a GCC
44927 builtin and then its argument prototype would still apply. */
44932 /* The GNU C library defines this for functions which it implements
44933 to always fail with ENOSYS. Some functions are actually named
44934 something starting with __ and the normal name is an alias. */
44935 #if defined __stub_$ac_func || defined __stub___$ac_func
44942 return $ac_func ();
44947 rm -f conftest.
$ac_objext conftest
$ac_exeext
44948 if { (ac_try
="$ac_link"
44949 case "(($ac_try" in
44950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44951 *) ac_try_echo=$ac_try;;
44953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44954 (eval "$ac_link") 2>conftest.er1
44956 grep -v '^ *+' conftest.er1 >conftest.err
44958 cat conftest.err >&5
44959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960 (exit $ac_status); } && {
44961 test -z "$ac_c_werror_flag" ||
44962 test ! -s conftest.err
44963 } && test -s conftest$ac_exeext &&
44964 $as_test_x conftest$ac_exeext; then
44965 eval "$as_ac_var=yes"
44967 echo "$as_me: failed program was:" >&5
44968 sed 's/^/| /' conftest.$ac_ext >&5
44970 eval "$as_ac_var=no"
44973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44974 conftest$ac_exeext conftest.$ac_ext
44976 ac_res=`eval echo '${'$as_ac_var'}'`
44977 { echo "$as_me:$LINENO: result: $ac_res" >&5
44978 echo "${ECHO_T}$ac_res" >&6; }
44979 if test `eval echo '${'$as_ac_var'}'` = yes; then
44980 cat >>confdefs.h <<_ACEOF
44981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44988 if test "$ac_cv_func_localtime" = "yes"; then
44989 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44990 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44991 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44992 echo $ECHO_N "(cached) $ECHO_C" >&6
44995 cat >conftest.$ac_ext <<_ACEOF
44998 cat confdefs.h >>conftest.$ac_ext
44999 cat >>conftest.$ac_ext <<_ACEOF
45000 /* end confdefs.h. */
45015 rm -f conftest.$ac_objext
45016 if { (ac_try="$ac_compile"
45017 case "(($ac_try" in
45018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45019 *) ac_try_echo
=$ac_try;;
45021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45022 (eval "$ac_compile") 2>conftest.er1
45024 grep -v '^ *+' conftest.er1
>conftest.err
45026 cat conftest.err
>&5
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); } && {
45029 test -z "$ac_c_werror_flag" ||
45030 test ! -s conftest.err
45031 } && test -s conftest.
$ac_objext; then
45033 wx_cv_struct_tm_has_gmtoff
=yes
45036 echo "$as_me: failed program was:" >&5
45037 sed 's/^/| /' conftest.
$ac_ext >&5
45039 wx_cv_struct_tm_has_gmtoff
=no
45043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45046 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45047 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45050 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45051 cat >>confdefs.h
<<\_ACEOF
45052 #define WX_GMTOFF_IN_TM 1
45057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45061 if test "$wxUSE_SOCKETS" = "yes"; then
45062 if test "$wxUSE_MGL" = 1; then
45063 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45064 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45069 if test "$wxUSE_SOCKETS" = "yes"; then
45070 if test "$TOOLKIT" != "MSW"; then
45071 { echo "$as_me:$LINENO: checking for socket" >&5
45072 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45073 if test "${ac_cv_func_socket+set}" = set; then
45074 echo $ECHO_N "(cached) $ECHO_C" >&6
45076 cat >conftest.
$ac_ext <<_ACEOF
45079 cat confdefs.h
>>conftest.
$ac_ext
45080 cat >>conftest.
$ac_ext <<_ACEOF
45081 /* end confdefs.h. */
45082 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45084 #define socket innocuous_socket
45086 /* System header to define __stub macros and hopefully few prototypes,
45087 which can conflict with char socket (); below.
45088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45089 <limits.h> exists even on freestanding compilers. */
45092 # include <limits.h>
45094 # include <assert.h>
45099 /* Override any GCC internal prototype to avoid an error.
45100 Use char because int might match the return type of a GCC
45101 builtin and then its argument prototype would still apply. */
45106 /* The GNU C library defines this for functions which it implements
45107 to always fail with ENOSYS. Some functions are actually named
45108 something starting with __ and the normal name is an alias. */
45109 #if defined __stub_socket || defined __stub___socket
45121 rm -f conftest.
$ac_objext conftest
$ac_exeext
45122 if { (ac_try
="$ac_link"
45123 case "(($ac_try" in
45124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45125 *) ac_try_echo=$ac_try;;
45127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45128 (eval "$ac_link") 2>conftest.er1
45130 grep -v '^ *+' conftest.er1 >conftest.err
45132 cat conftest.err >&5
45133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45134 (exit $ac_status); } && {
45135 test -z "$ac_c_werror_flag" ||
45136 test ! -s conftest.err
45137 } && test -s conftest$ac_exeext &&
45138 $as_test_x conftest$ac_exeext; then
45139 ac_cv_func_socket=yes
45141 echo "$as_me: failed program was:" >&5
45142 sed 's/^/| /' conftest.$ac_ext >&5
45144 ac_cv_func_socket=no
45147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45148 conftest$ac_exeext conftest.$ac_ext
45150 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45151 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45152 if test $ac_cv_func_socket = yes; then
45156 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45157 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45158 if test "${ac_cv_lib_socket_socket+set}" = set; then
45159 echo $ECHO_N "(cached) $ECHO_C" >&6
45161 ac_check_lib_save_LIBS=$LIBS
45162 LIBS="-lsocket $LIBS"
45163 cat >conftest.$ac_ext <<_ACEOF
45166 cat confdefs.h >>conftest.$ac_ext
45167 cat >>conftest.$ac_ext <<_ACEOF
45168 /* end confdefs.h. */
45170 /* Override any GCC internal prototype to avoid an error.
45171 Use char because int might match the return type of a GCC
45172 builtin and then its argument prototype would still apply. */
45185 rm -f conftest.$ac_objext conftest$ac_exeext
45186 if { (ac_try="$ac_link"
45187 case "(($ac_try" in
45188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45189 *) ac_try_echo
=$ac_try;;
45191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45192 (eval "$ac_link") 2>conftest.er1
45194 grep -v '^ *+' conftest.er1
>conftest.err
45196 cat conftest.err
>&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); } && {
45199 test -z "$ac_c_werror_flag" ||
45200 test ! -s conftest.err
45201 } && test -s conftest
$ac_exeext &&
45202 $as_test_x conftest
$ac_exeext; then
45203 ac_cv_lib_socket_socket
=yes
45205 echo "$as_me: failed program was:" >&5
45206 sed 's/^/| /' conftest.
$ac_ext >&5
45208 ac_cv_lib_socket_socket
=no
45211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45212 conftest
$ac_exeext conftest.
$ac_ext
45213 LIBS
=$ac_check_lib_save_LIBS
45215 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45216 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45217 if test $ac_cv_lib_socket_socket = yes; then
45218 if test "$INET_LINK" != " -lsocket"; then
45219 INET_LINK
="$INET_LINK -lsocket"
45223 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45224 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45237 if test "$wxUSE_SOCKETS" = "yes" ; then
45238 if test "$TOOLKIT" != "MSW"; then
45239 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45240 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45241 if test "${wx_cv_type_getsockname3+set}" = set; then
45242 echo $ECHO_N "(cached) $ECHO_C" >&6
45246 ac_cpp
='$CXXCPP $CPPFLAGS'
45247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45251 cat >conftest.
$ac_ext <<_ACEOF
45254 cat confdefs.h
>>conftest.
$ac_ext
45255 cat >>conftest.
$ac_ext <<_ACEOF
45256 /* end confdefs.h. */
45258 #include <sys/types.h>
45259 #include <sys/socket.h>
45266 getsockname(0, 0, &len);
45272 rm -f conftest.
$ac_objext
45273 if { (ac_try
="$ac_compile"
45274 case "(($ac_try" in
45275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45276 *) ac_try_echo=$ac_try;;
45278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45279 (eval "$ac_compile") 2>conftest.er1
45281 grep -v '^ *+' conftest.er1 >conftest.err
45283 cat conftest.err >&5
45284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45285 (exit $ac_status); } && {
45286 test -z "$ac_cxx_werror_flag" ||
45287 test ! -s conftest.err
45288 } && test -s conftest.$ac_objext; then
45289 wx_cv_type_getsockname3=socklen_t
45291 echo "$as_me: failed program was:" >&5
45292 sed 's/^/| /' conftest.$ac_ext >&5
45295 CFLAGS_OLD="$CFLAGS"
45296 if test "$GCC" = yes ; then
45297 CFLAGS="-Werror $CFLAGS"
45300 cat >conftest.$ac_ext <<_ACEOF
45303 cat confdefs.h >>conftest.$ac_ext
45304 cat >>conftest.$ac_ext <<_ACEOF
45305 /* end confdefs.h. */
45307 #include <sys/types.h>
45308 #include <sys/socket.h>
45315 getsockname(0, 0, &len);
45321 rm -f conftest.$ac_objext
45322 if { (ac_try="$ac_compile"
45323 case "(($ac_try" in
45324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45325 *) ac_try_echo
=$ac_try;;
45327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45328 (eval "$ac_compile") 2>conftest.er1
45330 grep -v '^ *+' conftest.er1
>conftest.err
45332 cat conftest.err
>&5
45333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45334 (exit $ac_status); } && {
45335 test -z "$ac_cxx_werror_flag" ||
45336 test ! -s conftest.err
45337 } && test -s conftest.
$ac_objext; then
45338 wx_cv_type_getsockname3
=size_t
45340 echo "$as_me: failed program was:" >&5
45341 sed 's/^/| /' conftest.
$ac_ext >&5
45343 cat >conftest.
$ac_ext <<_ACEOF
45346 cat confdefs.h
>>conftest.
$ac_ext
45347 cat >>conftest.
$ac_ext <<_ACEOF
45348 /* end confdefs.h. */
45350 #include <sys/types.h>
45351 #include <sys/socket.h>
45358 getsockname(0, 0, &len);
45364 rm -f conftest.
$ac_objext
45365 if { (ac_try
="$ac_compile"
45366 case "(($ac_try" in
45367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45368 *) ac_try_echo=$ac_try;;
45370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45371 (eval "$ac_compile") 2>conftest.er1
45373 grep -v '^ *+' conftest.er1 >conftest.err
45375 cat conftest.err >&5
45376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45377 (exit $ac_status); } && {
45378 test -z "$ac_cxx_werror_flag" ||
45379 test ! -s conftest.err
45380 } && test -s conftest.$ac_objext; then
45381 wx_cv_type_getsockname3=int
45383 echo "$as_me: failed program was:" >&5
45384 sed 's/^/| /' conftest.$ac_ext >&5
45386 wx_cv_type_getsockname3=unknown
45390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45396 CFLAGS="$CFLAGS_OLD"
45401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45403 ac_cpp='$CPP $CPPFLAGS'
45404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45410 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45411 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45413 if test "$wx_cv_type_getsockname3" = "unknown"; then
45415 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45416 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45418 cat >>confdefs.h <<_ACEOF
45419 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45423 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45424 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45425 if test "${wx_cv_type_getsockopt5+set}" = set; then
45426 echo $ECHO_N "(cached) $ECHO_C" >&6
45430 ac_cpp='$CXXCPP $CPPFLAGS'
45431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45435 cat >conftest.$ac_ext <<_ACEOF
45438 cat confdefs.h >>conftest.$ac_ext
45439 cat >>conftest.$ac_ext <<_ACEOF
45440 /* end confdefs.h. */
45442 #include <sys/types.h>
45443 #include <sys/socket.h>
45450 getsockopt(0, 0, 0, 0, &len);
45456 rm -f conftest.$ac_objext
45457 if { (ac_try="$ac_compile"
45458 case "(($ac_try" in
45459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45460 *) ac_try_echo
=$ac_try;;
45462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45463 (eval "$ac_compile") 2>conftest.er1
45465 grep -v '^ *+' conftest.er1
>conftest.err
45467 cat conftest.err
>&5
45468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45469 (exit $ac_status); } && {
45470 test -z "$ac_cxx_werror_flag" ||
45471 test ! -s conftest.err
45472 } && test -s conftest.
$ac_objext; then
45473 wx_cv_type_getsockopt5
=socklen_t
45475 echo "$as_me: failed program was:" >&5
45476 sed 's/^/| /' conftest.
$ac_ext >&5
45479 cat >conftest.
$ac_ext <<_ACEOF
45482 cat confdefs.h
>>conftest.
$ac_ext
45483 cat >>conftest.
$ac_ext <<_ACEOF
45484 /* end confdefs.h. */
45486 #include <sys/types.h>
45487 #include <sys/socket.h>
45494 getsockopt(0, 0, 0, 0, &len);
45500 rm -f conftest.
$ac_objext
45501 if { (ac_try
="$ac_compile"
45502 case "(($ac_try" in
45503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45504 *) ac_try_echo=$ac_try;;
45506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45507 (eval "$ac_compile") 2>conftest.er1
45509 grep -v '^ *+' conftest.er1 >conftest.err
45511 cat conftest.err >&5
45512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45513 (exit $ac_status); } && {
45514 test -z "$ac_cxx_werror_flag" ||
45515 test ! -s conftest.err
45516 } && test -s conftest.$ac_objext; then
45517 wx_cv_type_getsockopt5=size_t
45519 echo "$as_me: failed program was:" >&5
45520 sed 's/^/| /' conftest.$ac_ext >&5
45522 cat >conftest.$ac_ext <<_ACEOF
45525 cat confdefs.h >>conftest.$ac_ext
45526 cat >>conftest.$ac_ext <<_ACEOF
45527 /* end confdefs.h. */
45529 #include <sys/types.h>
45530 #include <sys/socket.h>
45537 getsockopt(0, 0, 0, 0, &len);
45543 rm -f conftest.$ac_objext
45544 if { (ac_try="$ac_compile"
45545 case "(($ac_try" in
45546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45547 *) ac_try_echo
=$ac_try;;
45549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45550 (eval "$ac_compile") 2>conftest.er1
45552 grep -v '^ *+' conftest.er1
>conftest.err
45554 cat conftest.err
>&5
45555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556 (exit $ac_status); } && {
45557 test -z "$ac_cxx_werror_flag" ||
45558 test ! -s conftest.err
45559 } && test -s conftest.
$ac_objext; then
45560 wx_cv_type_getsockopt5
=int
45562 echo "$as_me: failed program was:" >&5
45563 sed 's/^/| /' conftest.
$ac_ext >&5
45565 wx_cv_type_getsockopt5
=unknown
45569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45580 ac_cpp
='$CPP $CPPFLAGS'
45581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45587 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45588 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45590 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45592 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45593 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45595 cat >>confdefs.h
<<_ACEOF
45596 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45603 if test "$wxUSE_SOCKETS" = "yes" ; then
45604 if test "$wxUSE_IPV6" = "yes"; then
45605 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45606 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45607 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45608 echo $ECHO_N "(cached) $ECHO_C" >&6
45611 cat >conftest.
$ac_ext <<_ACEOF
45614 cat confdefs.h
>>conftest.
$ac_ext
45615 cat >>conftest.
$ac_ext <<_ACEOF
45616 /* end confdefs.h. */
45618 #include <sys/types.h>
45619 #include <sys/socket.h>
45620 #include <netinet/in.h>
45626 struct sockaddr_in6 sa6;
45632 rm -f conftest.
$ac_objext
45633 if { (ac_try
="$ac_compile"
45634 case "(($ac_try" in
45635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45636 *) ac_try_echo=$ac_try;;
45638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45639 (eval "$ac_compile") 2>conftest.er1
45641 grep -v '^ *+' conftest.er1 >conftest.err
45643 cat conftest.err >&5
45644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45645 (exit $ac_status); } && {
45646 test -z "$ac_c_werror_flag" ||
45647 test ! -s conftest.err
45648 } && test -s conftest.$ac_objext; then
45649 wx_cv_type_sockaddr_in6=yes
45651 echo "$as_me: failed program was:" >&5
45652 sed 's/^/| /' conftest.$ac_ext >&5
45654 wx_cv_type_sockaddr_in6=no
45658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45662 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45663 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45665 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_IPV6 1
45671 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45672 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_SOCKETS 1
45680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45683 if test "$wxUSE_PROTOCOL" = "yes"; then
45684 if test "$wxUSE_SOCKETS" != "yes"; then
45685 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45686 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45691 if test "$wxUSE_PROTOCOL" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_PROTOCOL 1
45697 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_PROTOCOL_HTTP 1
45703 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_PROTOCOL_FTP 1
45709 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_PROTOCOL_FILE 1
45716 if test "$wxUSE_FS_INET" = "yes"; then
45717 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45718 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45723 if test "$wxUSE_URL" = "yes"; then
45724 if test "$wxUSE_PROTOCOL" != "yes"; then
45725 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45726 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45729 if test "$wxUSE_URL" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_URL 1
45737 if test "$wxUSE_VARIANT" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_VARIANT 1
45744 if test "$wxUSE_FS_INET" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_FS_INET 1
45752 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45755 if test "$TOOLKIT" = "MSW"; then
45758 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45759 if test "$USE_DARWIN" = 1; then
45760 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45761 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45763 ac_cpp='$CXXCPP $CPPFLAGS'
45764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45768 cat >conftest.$ac_ext <<_ACEOF
45771 cat confdefs.h >>conftest.$ac_ext
45772 cat >>conftest.$ac_ext <<_ACEOF
45773 /* end confdefs.h. */
45774 #include <IOKit/hid/IOHIDLib.h>
45778 IOHIDQueueInterface *qi = NULL;
45779 IOHIDCallbackFunction cb = NULL;
45780 qi->setEventCallout(NULL, cb, NULL, NULL);
45785 rm -f conftest.$ac_objext
45786 if { (ac_try="$ac_compile"
45787 case "(($ac_try" in
45788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45789 *) ac_try_echo
=$ac_try;;
45791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45792 (eval "$ac_compile") 2>conftest.er1
45794 grep -v '^ *+' conftest.er1
>conftest.err
45796 cat conftest.err
>&5
45797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798 (exit $ac_status); } && {
45799 test -z "$ac_cxx_werror_flag" ||
45800 test ! -s conftest.err
45801 } && test -s conftest.
$ac_objext; then
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.
$ac_ext >&5
45811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45813 ac_cpp
='$CPP $CPPFLAGS'
45814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45818 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45819 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45823 if test "$wxUSE_MGL" != 1; then
45825 for ac_header
in linux
/joystick.h
45827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45828 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45830 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45831 echo $ECHO_N "(cached) $ECHO_C" >&6
45833 cat >conftest.
$ac_ext <<_ACEOF
45836 cat confdefs.h
>>conftest.
$ac_ext
45837 cat >>conftest.
$ac_ext <<_ACEOF
45838 /* end confdefs.h. */
45839 $ac_includes_default
45841 #include <$ac_header>
45843 rm -f conftest.
$ac_objext
45844 if { (ac_try
="$ac_compile"
45845 case "(($ac_try" in
45846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45847 *) ac_try_echo=$ac_try;;
45849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45850 (eval "$ac_compile") 2>conftest.er1
45852 grep -v '^ *+' conftest.er1 >conftest.err
45854 cat conftest.err >&5
45855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45856 (exit $ac_status); } && {
45857 test -z "$ac_c_werror_flag" ||
45858 test ! -s conftest.err
45859 } && test -s conftest.$ac_objext; then
45860 eval "$as_ac_Header=yes"
45862 echo "$as_me: failed program was:" >&5
45863 sed 's/^/| /' conftest.$ac_ext >&5
45865 eval "$as_ac_Header=no"
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45870 ac_res=`eval echo '${'$as_ac_Header'}'`
45871 { echo "$as_me:$LINENO: result: $ac_res" >&5
45872 echo "${ECHO_T}$ac_res" >&6; }
45873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45874 cat >>confdefs.h <<_ACEOF
45875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45885 if test "$wxUSE_JOYSTICK" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_JOYSTICK 1
45890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45892 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45893 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45899 if test "$wxUSE_FONTENUM" = "yes" ; then
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_FONTENUM 1
45906 if test "$wxUSE_FONTMAP" = "yes" ; then
45907 cat >>confdefs.h <<\_ACEOF
45908 #define wxUSE_FONTMAP 1
45913 if test "$wxUSE_UNICODE" = "yes" ; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_UNICODE 1
45919 if test "$USE_WIN32" != 1; then
45920 wxUSE_UNICODE_MSLU=no
45923 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45924 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45925 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45926 if test "${ac_cv_lib_unicows_main+set}" = set; then
45927 echo $ECHO_N "(cached) $ECHO_C" >&6
45929 ac_check_lib_save_LIBS=$LIBS
45930 LIBS="-lunicows $LIBS"
45931 cat >conftest.$ac_ext <<_ACEOF
45934 cat confdefs.h >>conftest.$ac_ext
45935 cat >>conftest.$ac_ext <<_ACEOF
45936 /* end confdefs.h. */
45947 rm -f conftest.$ac_objext conftest$ac_exeext
45948 if { (ac_try="$ac_link"
45949 case "(($ac_try" in
45950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45951 *) ac_try_echo
=$ac_try;;
45953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45954 (eval "$ac_link") 2>conftest.er1
45956 grep -v '^ *+' conftest.er1
>conftest.err
45958 cat conftest.err
>&5
45959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45960 (exit $ac_status); } && {
45961 test -z "$ac_c_werror_flag" ||
45962 test ! -s conftest.err
45963 } && test -s conftest
$ac_exeext &&
45964 $as_test_x conftest
$ac_exeext; then
45965 ac_cv_lib_unicows_main
=yes
45967 echo "$as_me: failed program was:" >&5
45968 sed 's/^/| /' conftest.
$ac_ext >&5
45970 ac_cv_lib_unicows_main
=no
45973 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45974 conftest
$ac_exeext conftest.
$ac_ext
45975 LIBS
=$ac_check_lib_save_LIBS
45977 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45978 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45979 if test $ac_cv_lib_unicows_main = yes; then
45981 cat >>confdefs.h
<<\_ACEOF
45982 #define wxUSE_UNICODE_MSLU 1
45988 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45989 Applications will only run on Windows NT/2000/XP!" >&5
45990 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45991 Applications will only run on Windows NT/2000/XP!" >&2;}
45992 wxUSE_UNICODE_MSLU
=no
45999 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46000 cat >>confdefs.h
<<\_ACEOF
46001 #define wxUSE_UNICODE_UTF8 1
46005 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46006 cat >>confdefs.h
<<\_ACEOF
46007 #define wxUSE_UTF8_LOCALE_ONLY 1
46014 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46015 cat >>confdefs.h
<<\_ACEOF
46016 #define wxUSE_CONSTRAINTS 1
46019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46022 if test "$wxUSE_MDI" = "yes"; then
46023 cat >>confdefs.h
<<\_ACEOF
46024 #define wxUSE_MDI 1
46028 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46029 cat >>confdefs.h
<<\_ACEOF
46030 #define wxUSE_MDI_ARCHITECTURE 1
46033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46037 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46038 cat >>confdefs.h
<<\_ACEOF
46039 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46045 if test "$wxUSE_HELP" = "yes"; then
46046 cat >>confdefs.h
<<\_ACEOF
46047 #define wxUSE_HELP 1
46050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46052 if test "$wxUSE_MSW" = 1; then
46053 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46054 cat >>confdefs.h
<<\_ACEOF
46055 #define wxUSE_MS_HTML_HELP 1
46061 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46062 if test "$wxUSE_HTML" = "yes"; then
46063 cat >>confdefs.h
<<\_ACEOF
46064 #define wxUSE_WXHTML_HELP 1
46068 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46069 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46070 wxUSE_WXHTML_HELP
=no
46075 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46076 cat >>confdefs.h
<<\_ACEOF
46077 #define wxUSE_PRINTING_ARCHITECTURE 1
46080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46083 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46084 cat >>confdefs.h
<<\_ACEOF
46085 #define wxUSE_POSTSCRIPT 1
46090 cat >>confdefs.h
<<\_ACEOF
46091 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46095 if test "$wxUSE_SVG" = "yes"; then
46096 cat >>confdefs.h
<<\_ACEOF
46097 #define wxUSE_SVG 1
46103 if test "$wxUSE_METAFILE" = "yes"; then
46104 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46105 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46106 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46112 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46113 -o "$wxUSE_CLIPBOARD" = "yes" \
46114 -o "$wxUSE_OLE" = "yes" \
46115 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46116 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46117 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46118 if test "${ac_cv_header_ole2_h+set}" = set; then
46119 echo $ECHO_N "(cached) $ECHO_C" >&6
46121 cat >conftest.
$ac_ext <<_ACEOF
46124 cat confdefs.h
>>conftest.
$ac_ext
46125 cat >>conftest.
$ac_ext <<_ACEOF
46126 /* end confdefs.h. */
46131 rm -f conftest.
$ac_objext
46132 if { (ac_try
="$ac_compile"
46133 case "(($ac_try" in
46134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46135 *) ac_try_echo=$ac_try;;
46137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46138 (eval "$ac_compile") 2>conftest.er1
46140 grep -v '^ *+' conftest.er1 >conftest.err
46142 cat conftest.err >&5
46143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46144 (exit $ac_status); } && {
46145 test -z "$ac_c_werror_flag" ||
46146 test ! -s conftest.err
46147 } && test -s conftest.$ac_objext; then
46148 ac_cv_header_ole2_h=yes
46150 echo "$as_me: failed program was:" >&5
46151 sed 's/^/| /' conftest.$ac_ext >&5
46153 ac_cv_header_ole2_h=no
46156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46158 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46159 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46163 if test "$ac_cv_header_ole2_h" = "yes" ; then
46164 if test "$GCC" = yes ; then
46165 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46166 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46167 cat >conftest.$ac_ext <<_ACEOF
46170 cat confdefs.h >>conftest.$ac_ext
46171 cat >>conftest.$ac_ext <<_ACEOF
46172 /* end confdefs.h. */
46173 #include <windows.h>
46183 rm -f conftest.$ac_objext
46184 if { (ac_try="$ac_compile"
46185 case "(($ac_try" in
46186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46187 *) ac_try_echo
=$ac_try;;
46189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46190 (eval "$ac_compile") 2>conftest.er1
46192 grep -v '^ *+' conftest.er1
>conftest.err
46194 cat conftest.err
>&5
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); } && {
46197 test -z "$ac_c_werror_flag" ||
46198 test ! -s conftest.err
46199 } && test -s conftest.
$ac_objext; then
46200 { echo "$as_me:$LINENO: result: no" >&5
46201 echo "${ECHO_T}no" >&6; }
46203 echo "$as_me: failed program was:" >&5
46204 sed 's/^/| /' conftest.
$ac_ext >&5
46206 { echo "$as_me:$LINENO: result: yes" >&5
46207 echo "${ECHO_T}yes" >&6; }
46208 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46212 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46213 if test "$wxUSE_OLE" = "yes" ; then
46214 cat >>confdefs.h
<<\_ACEOF
46215 #define wxUSE_OLE 1
46218 cat >>confdefs.h
<<\_ACEOF
46219 #define wxUSE_OLE_AUTOMATION 1
46222 cat >>confdefs.h
<<\_ACEOF
46223 #define wxUSE_ACTIVEX 1
46226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46230 if test "$wxUSE_DATAOBJ" = "yes" ; then
46231 cat >>confdefs.h
<<\_ACEOF
46232 #define wxUSE_DATAOBJ 1
46237 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46238 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46241 wxUSE_DRAG_AND_DROP
=no
46246 if test "$wxUSE_METAFILE" = "yes"; then
46247 cat >>confdefs.h
<<\_ACEOF
46248 #define wxUSE_METAFILE 1
46252 cat >>confdefs.h
<<\_ACEOF
46253 #define wxUSE_ENH_METAFILE 1
46259 if test "$wxUSE_IPC" = "yes"; then
46260 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46261 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46262 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46266 if test "$wxUSE_IPC" = "yes"; then
46267 cat >>confdefs.h
<<\_ACEOF
46268 #define wxUSE_IPC 1
46271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46275 if test "$wxUSE_DATAOBJ" = "yes"; then
46276 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46277 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46278 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46281 cat >>confdefs.h
<<\_ACEOF
46282 #define wxUSE_DATAOBJ 1
46287 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46288 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46290 wxUSE_DRAG_AND_DROP
=no
46293 if test "$wxUSE_CLIPBOARD" = "yes"; then
46294 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46295 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46296 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46300 if test "$wxUSE_CLIPBOARD" = "yes"; then
46301 cat >>confdefs.h
<<\_ACEOF
46302 #define wxUSE_CLIPBOARD 1
46308 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46309 if test "$wxUSE_GTK" = 1; then
46310 if test "$WXGTK12" != 1; then
46311 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46312 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46313 wxUSE_DRAG_AND_DROP
=no
46317 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46318 "$wxUSE_DFB" = 1; then
46319 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46320 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46321 wxUSE_DRAG_AND_DROP
=no
46324 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46325 cat >>confdefs.h
<<\_ACEOF
46326 #define wxUSE_DRAG_AND_DROP 1
46333 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46337 if test "$wxUSE_CLIPBOARD" = "yes"; then
46338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46341 if test "$wxUSE_SPLINES" = "yes" ; then
46342 cat >>confdefs.h
<<\_ACEOF
46343 #define wxUSE_SPLINES 1
46348 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46349 cat >>confdefs.h
<<\_ACEOF
46350 #define wxUSE_MOUSEWHEEL 1
46355 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46356 cat >>confdefs.h
<<\_ACEOF
46357 #define wxUSE_UIACTIONSIMULATOR 1
46360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
46365 if test "$wxUSE_CONTROLS" = "yes"; then
46369 if test "$wxUSE_ACCEL" = "yes"; then
46370 cat >>confdefs.h
<<\_ACEOF
46371 #define wxUSE_ACCEL 1
46377 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46378 cat >>confdefs.h
<<\_ACEOF
46379 #define wxUSE_ANIMATIONCTRL 1
46383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46386 if test "$wxUSE_BUTTON" = "yes"; then
46387 cat >>confdefs.h
<<\_ACEOF
46388 #define wxUSE_BUTTON 1
46394 if test "$wxUSE_BMPBUTTON" = "yes"; then
46395 cat >>confdefs.h
<<\_ACEOF
46396 #define wxUSE_BMPBUTTON 1
46402 if test "$wxUSE_CALCTRL" = "yes"; then
46403 cat >>confdefs.h
<<\_ACEOF
46404 #define wxUSE_CALENDARCTRL 1
46408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46411 if test "$wxUSE_CARET" = "yes"; then
46412 cat >>confdefs.h
<<\_ACEOF
46413 #define wxUSE_CARET 1
46417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46420 if test "$wxUSE_COLLPANE" = "yes"; then
46421 cat >>confdefs.h
<<\_ACEOF
46422 #define wxUSE_COLLPANE 1
46426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46429 if test "$wxUSE_COMBOBOX" = "yes"; then
46430 cat >>confdefs.h
<<\_ACEOF
46431 #define wxUSE_COMBOBOX 1
46437 if test "$wxUSE_COMBOCTRL" = "yes"; then
46438 cat >>confdefs.h
<<\_ACEOF
46439 #define wxUSE_COMBOCTRL 1
46445 if test "$wxUSE_CHOICE" = "yes"; then
46446 cat >>confdefs.h
<<\_ACEOF
46447 #define wxUSE_CHOICE 1
46453 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46454 cat >>confdefs.h
<<\_ACEOF
46455 #define wxUSE_CHOICEBOOK 1
46461 if test "$wxUSE_CHECKBOX" = "yes"; then
46462 cat >>confdefs.h
<<\_ACEOF
46463 #define wxUSE_CHECKBOX 1
46469 if test "$wxUSE_CHECKLST" = "yes"; then
46470 cat >>confdefs.h
<<\_ACEOF
46471 #define wxUSE_CHECKLISTBOX 1
46477 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46478 cat >>confdefs.h
<<\_ACEOF
46479 #define wxUSE_COLOURPICKERCTRL 1
46485 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46486 cat >>confdefs.h
<<\_ACEOF
46487 #define wxUSE_DATEPICKCTRL 1
46493 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46494 cat >>confdefs.h
<<\_ACEOF
46495 #define wxUSE_DIRPICKERCTRL 1
46501 if test "$wxUSE_FILECTRL" = "yes"; then
46502 cat >>confdefs.h
<<\_ACEOF
46503 #define wxUSE_FILECTRL 1
46509 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46510 cat >>confdefs.h
<<\_ACEOF
46511 #define wxUSE_FILEPICKERCTRL 1
46517 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46518 cat >>confdefs.h
<<\_ACEOF
46519 #define wxUSE_FONTPICKERCTRL 1
46525 if test "$wxUSE_DISPLAY" = "yes"; then
46526 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46527 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46528 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46531 cat >>confdefs.h
<<\_ACEOF
46532 #define wxUSE_DISPLAY 1
46535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46539 if test "$wxUSE_DETECT_SM" = "yes"; then
46540 cat >>confdefs.h
<<\_ACEOF
46541 #define wxUSE_DETECT_SM 1
46546 if test "$wxUSE_GAUGE" = "yes"; then
46547 cat >>confdefs.h
<<\_ACEOF
46548 #define wxUSE_GAUGE 1
46554 if test "$wxUSE_GRID" = "yes"; then
46555 cat >>confdefs.h
<<\_ACEOF
46556 #define wxUSE_GRID 1
46560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46563 if test "$wxUSE_HEADERCTRL" = "yes"; then
46564 cat >>confdefs.h
<<\_ACEOF
46565 #define wxUSE_HEADERCTRL 1
46571 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46572 cat >>confdefs.h
<<\_ACEOF
46573 #define wxUSE_HYPERLINKCTRL 1
46579 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46580 cat >>confdefs.h
<<\_ACEOF
46581 #define wxUSE_BITMAPCOMBOBOX 1
46587 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46588 cat >>confdefs.h
<<\_ACEOF
46589 #define wxUSE_DATAVIEWCTRL 1
46593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46596 if test "$wxUSE_IMAGLIST" = "yes"; then
46597 cat >>confdefs.h
<<\_ACEOF
46598 #define wxUSE_IMAGLIST 1
46603 if test "$wxUSE_INFOBAR" = "yes"; then
46604 cat >>confdefs.h
<<\_ACEOF
46605 #define wxUSE_INFOBAR 1
46610 if test "$wxUSE_LISTBOOK" = "yes"; then
46611 cat >>confdefs.h
<<\_ACEOF
46612 #define wxUSE_LISTBOOK 1
46618 if test "$wxUSE_LISTBOX" = "yes"; then
46619 cat >>confdefs.h
<<\_ACEOF
46620 #define wxUSE_LISTBOX 1
46626 if test "$wxUSE_LISTCTRL" = "yes"; then
46627 if test "$wxUSE_IMAGLIST" = "yes"; then
46628 cat >>confdefs.h
<<\_ACEOF
46629 #define wxUSE_LISTCTRL 1
46633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46635 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46636 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46640 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46641 cat >>confdefs.h
<<\_ACEOF
46642 #define wxUSE_EDITABLELISTBOX 1
46648 if test "$wxUSE_NOTEBOOK" = "yes"; then
46649 cat >>confdefs.h
<<\_ACEOF
46650 #define wxUSE_NOTEBOOK 1
46654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46657 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46658 cat >>confdefs.h
<<\_ACEOF
46659 #define wxUSE_NOTIFICATION_MESSAGE 1
46664 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46665 cat >>confdefs.h
<<\_ACEOF
46666 #define wxUSE_ODCOMBOBOX 1
46670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46673 if test "$wxUSE_RADIOBOX" = "yes"; then
46674 cat >>confdefs.h
<<\_ACEOF
46675 #define wxUSE_RADIOBOX 1
46681 if test "$wxUSE_RADIOBTN" = "yes"; then
46682 cat >>confdefs.h
<<\_ACEOF
46683 #define wxUSE_RADIOBTN 1
46689 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46690 cat >>confdefs.h
<<\_ACEOF
46691 #define wxUSE_REARRANGECTRL 1
46696 if test "$wxUSE_SASH" = "yes"; then
46697 cat >>confdefs.h
<<\_ACEOF
46698 #define wxUSE_SASH 1
46701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46704 if test "$wxUSE_SCROLLBAR" = "yes"; then
46705 cat >>confdefs.h
<<\_ACEOF
46706 #define wxUSE_SCROLLBAR 1
46710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46713 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46714 cat >>confdefs.h
<<\_ACEOF
46715 #define wxUSE_SEARCHCTRL 1
46721 if test "$wxUSE_SLIDER" = "yes"; then
46722 cat >>confdefs.h
<<\_ACEOF
46723 #define wxUSE_SLIDER 1
46729 if test "$wxUSE_SPINBTN" = "yes"; then
46730 cat >>confdefs.h
<<\_ACEOF
46731 #define wxUSE_SPINBTN 1
46737 if test "$wxUSE_SPINCTRL" = "yes"; then
46738 cat >>confdefs.h
<<\_ACEOF
46739 #define wxUSE_SPINCTRL 1
46745 if test "$wxUSE_SPLITTER" = "yes"; then
46746 cat >>confdefs.h
<<\_ACEOF
46747 #define wxUSE_SPLITTER 1
46750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46753 if test "$wxUSE_STATBMP" = "yes"; then
46754 cat >>confdefs.h
<<\_ACEOF
46755 #define wxUSE_STATBMP 1
46761 if test "$wxUSE_STATBOX" = "yes"; then
46762 cat >>confdefs.h
<<\_ACEOF
46763 #define wxUSE_STATBOX 1
46769 if test "$wxUSE_STATTEXT" = "yes"; then
46770 cat >>confdefs.h
<<\_ACEOF
46771 #define wxUSE_STATTEXT 1
46777 if test "$wxUSE_STATLINE" = "yes"; then
46778 cat >>confdefs.h
<<\_ACEOF
46779 #define wxUSE_STATLINE 1
46785 if test "$wxUSE_STATUSBAR" = "yes"; then
46786 cat >>confdefs.h
<<\_ACEOF
46787 #define wxUSE_NATIVE_STATUSBAR 1
46790 cat >>confdefs.h
<<\_ACEOF
46791 #define wxUSE_STATUSBAR 1
46796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46799 if test "$wxUSE_TEXTCTRL" = "yes"; then
46800 cat >>confdefs.h
<<\_ACEOF
46801 #define wxUSE_TEXTCTRL 1
46805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46807 cat >>confdefs.h
<<\_ACEOF
46808 #define wxUSE_RICHEDIT 1
46811 cat >>confdefs.h
<<\_ACEOF
46812 #define wxUSE_RICHEDIT2 1
46817 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46818 if test "$wxUSE_OLD_COCOA" = 1 ; then
46819 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46820 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46824 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46825 cat >>confdefs.h
<<\_ACEOF
46826 #define wxUSE_TOGGLEBTN 1
46833 if test "$wxUSE_TOOLBAR" = "yes"; then
46834 cat >>confdefs.h
<<\_ACEOF
46835 #define wxUSE_TOOLBAR 1
46840 if test "$wxUSE_UNIVERSAL" = "yes"; then
46841 wxUSE_TOOLBAR_NATIVE
="no"
46843 wxUSE_TOOLBAR_NATIVE
="yes"
46844 cat >>confdefs.h
<<\_ACEOF
46845 #define wxUSE_TOOLBAR_NATIVE 1
46850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46853 if test "$wxUSE_TOOLTIPS" = "yes"; then
46854 if test "$wxUSE_MOTIF" = 1; then
46855 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46856 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46858 if test "$wxUSE_UNIVERSAL" = "yes"; then
46859 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46860 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46862 cat >>confdefs.h
<<\_ACEOF
46863 #define wxUSE_TOOLTIPS 1
46870 if test "$wxUSE_TREEBOOK" = "yes"; then
46871 cat >>confdefs.h
<<\_ACEOF
46872 #define wxUSE_TREEBOOK 1
46878 if test "$wxUSE_TOOLBOOK" = "yes"; then
46879 cat >>confdefs.h
<<\_ACEOF
46880 #define wxUSE_TOOLBOOK 1
46886 if test "$wxUSE_TREECTRL" = "yes"; then
46887 if test "$wxUSE_IMAGLIST" = "yes"; then
46888 cat >>confdefs.h
<<\_ACEOF
46889 #define wxUSE_TREECTRL 1
46893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46895 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46896 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46900 if test "$wxUSE_POPUPWIN" = "yes"; then
46901 if test "$wxUSE_OLD_COCOA" = 1 ; then
46902 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46903 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46905 if test "$wxUSE_PM" = 1; then
46906 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46907 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46909 cat >>confdefs.h
<<\_ACEOF
46910 #define wxUSE_POPUPWIN 1
46913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46920 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46921 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46922 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46923 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46925 cat >>confdefs.h
<<\_ACEOF
46926 #define wxUSE_DIALUP_MANAGER 1
46929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46933 if test "$wxUSE_TIPWINDOW" = "yes"; then
46934 if test "$wxUSE_PM" = 1; then
46935 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46936 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46938 cat >>confdefs.h
<<\_ACEOF
46939 #define wxUSE_TIPWINDOW 1
46945 if test "$USES_CONTROLS" = 1; then
46946 cat >>confdefs.h
<<\_ACEOF
46947 #define wxUSE_CONTROLS 1
46953 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46954 cat >>confdefs.h
<<\_ACEOF
46955 #define wxUSE_ACCESSIBILITY 1
46958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46961 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46962 cat >>confdefs.h
<<\_ACEOF
46963 #define wxUSE_DRAGIMAGE 1
46966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46969 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46970 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46971 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46972 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46974 cat >>confdefs.h
<<\_ACEOF
46975 #define wxUSE_EXCEPTIONS 1
46978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46983 if test "$wxUSE_HTML" = "yes"; then
46984 cat >>confdefs.h
<<\_ACEOF
46985 #define wxUSE_HTML 1
46989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46991 if test "$wxUSE_WEBKIT" = "yes"; then
46992 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46993 old_CPPFLAGS
="$CPPFLAGS"
46994 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46995 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46996 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46997 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46998 echo $ECHO_N "(cached) $ECHO_C" >&6
47000 cat >conftest.
$ac_ext <<_ACEOF
47003 cat confdefs.h
>>conftest.
$ac_ext
47004 cat >>conftest.
$ac_ext <<_ACEOF
47005 /* end confdefs.h. */
47007 #include <Carbon/Carbon.h>
47008 #include <WebKit/WebKit.h>
47011 #include <WebKit/HIWebView.h>
47013 rm -f conftest.
$ac_objext
47014 if { (ac_try
="$ac_compile"
47015 case "(($ac_try" in
47016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47017 *) ac_try_echo=$ac_try;;
47019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47020 (eval "$ac_compile") 2>conftest.er1
47022 grep -v '^ *+' conftest.er1 >conftest.err
47024 cat conftest.err >&5
47025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47026 (exit $ac_status); } && {
47027 test -z "$ac_c_werror_flag" ||
47028 test ! -s conftest.err
47029 } && test -s conftest.$ac_objext; then
47030 ac_cv_header_WebKit_HIWebView_h=yes
47032 echo "$as_me: failed program was:" >&5
47033 sed 's/^/| /' conftest.$ac_ext >&5
47035 ac_cv_header_WebKit_HIWebView_h=no
47038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47040 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47041 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47042 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47044 cat >>confdefs.h <<\_ACEOF
47045 #define wxUSE_WEBKIT 1
47048 WEBKIT_LINK="-framework WebKit"
47052 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47053 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47059 CPPFLAGS="$old_CPPFLAGS"
47060 elif test "$wxUSE_OLD_COCOA" = 1; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_WEBKIT 1
47068 if test "$wxUSE_WEBKIT" = "yes"; then
47069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47074 if test "$wxUSE_XRC" = "yes"; then
47075 if test "$wxUSE_XML" != "yes"; then
47076 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47077 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_XRC 1
47085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47090 if test "$wxUSE_AUI" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_AUI 1
47096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47100 if test "$wxUSE_PROPGRID" = "yes"; then
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_PROPGRID 1
47106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47110 if test "$wxUSE_RIBBON" = "yes"; then
47111 cat >>confdefs.h <<\_ACEOF
47112 #define wxUSE_RIBBON 1
47116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47120 if test "$wxUSE_STC" = "yes"; then
47121 cat >>confdefs.h <<\_ACEOF
47122 #define wxUSE_STC 1
47126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47128 # Extract the first word of "python", so it can be a program name with args.
47129 set dummy python; ac_word=$2
47130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47132 if test "${ac_cv_path_PYTHON+set}" = set; then
47133 echo $ECHO_N "(cached) $ECHO_C" >&6
47137 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47141 for as_dir in $PATH
47144 test -z "$as_dir" && as_dir=.
47145 for ac_exec_ext in '' $ac_executable_extensions; do
47146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47147 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47158 PYTHON=$ac_cv_path_PYTHON
47159 if test -n "$PYTHON"; then
47160 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47161 echo "${ECHO_T}$PYTHON" >&6; }
47163 { echo "$as_me:$LINENO: result: no" >&5
47164 echo "${ECHO_T}no" >&6; }
47168 if test "x$PYTHON" = "x"; then
47174 if test "$wxUSE_MENUS" = "yes"; then
47175 cat >>confdefs.h <<\_ACEOF
47176 #define wxUSE_MENUS 1
47179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47182 if test "$wxUSE_METAFILE" = "yes"; then
47183 cat >>confdefs.h <<\_ACEOF
47184 #define wxUSE_METAFILE 1
47189 if test "$wxUSE_MIMETYPE" = "yes"; then
47190 cat >>confdefs.h <<\_ACEOF
47191 #define wxUSE_MIMETYPE 1
47196 if test "$wxUSE_MINIFRAME" = "yes"; then
47197 cat >>confdefs.h <<\_ACEOF
47198 #define wxUSE_MINIFRAME 1
47203 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47204 cat >>confdefs.h <<\_ACEOF
47205 #define wxUSE_SYSTEM_OPTIONS 1
47210 if test "$wxUSE_TASKBARICON" = "yes"; then
47211 cat >>confdefs.h <<\_ACEOF
47212 #define wxUSE_TASKBARICON 1
47215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47219 if test "$wxUSE_VALIDATORS" = "yes"; then
47220 cat >>confdefs.h <<\_ACEOF
47221 #define wxUSE_VALIDATORS 1
47224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47227 if test "$wxUSE_PALETTE" = "yes" ; then
47228 if test "$wxUSE_DFB" = 1; then
47229 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47230 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47233 cat >>confdefs.h <<\_ACEOF
47234 #define wxUSE_PALETTE 1
47240 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47241 LIBS=" -lunicows $LIBS"
47245 if test "$wxUSE_RICHTEXT" = "yes"; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_RICHTEXT 1
47251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47255 if test "$wxUSE_IMAGE" = "yes" ; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_IMAGE 1
47261 if test "$wxUSE_GIF" = "yes" ; then
47262 cat >>confdefs.h <<\_ACEOF
47263 #define wxUSE_GIF 1
47268 if test "$wxUSE_PCX" = "yes" ; then
47269 cat >>confdefs.h <<\_ACEOF
47270 #define wxUSE_PCX 1
47275 if test "$wxUSE_TGA" = "yes" ; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_TGA 1
47282 if test "$wxUSE_IFF" = "yes" ; then
47283 cat >>confdefs.h <<\_ACEOF
47284 #define wxUSE_IFF 1
47289 if test "$wxUSE_PNM" = "yes" ; then
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_PNM 1
47296 if test "$wxUSE_XPM" = "yes" ; then
47297 cat >>confdefs.h <<\_ACEOF
47298 #define wxUSE_XPM 1
47303 if test "$wxUSE_ICO_CUR" = "yes" ; then
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_ICO_CUR 1
47312 if test "$wxUSE_ABOUTDLG" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_ABOUTDLG 1
47319 if test "$wxUSE_CHOICEDLG" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_CHOICEDLG 1
47326 if test "$wxUSE_COLOURDLG" = "yes"; then
47327 cat >>confdefs.h <<\_ACEOF
47328 #define wxUSE_COLOURDLG 1
47333 if test "$wxUSE_FILEDLG" = "yes"; then
47334 cat >>confdefs.h <<\_ACEOF
47335 #define wxUSE_FILEDLG 1
47340 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47341 cat >>confdefs.h <<\_ACEOF
47342 #define wxUSE_FINDREPLDLG 1
47347 if test "$wxUSE_FONTDLG" = "yes"; then
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_FONTDLG 1
47354 if test "$wxUSE_DIRDLG" = "yes"; then
47355 if test "$wxUSE_TREECTRL" != "yes"; then
47356 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47357 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_DIRDLG 1
47366 if test "$wxUSE_MSGDLG" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_MSGDLG 1
47373 if test "$wxUSE_NUMBERDLG" = "yes"; then
47374 cat >>confdefs.h <<\_ACEOF
47375 #define wxUSE_NUMBERDLG 1
47380 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47381 cat >>confdefs.h <<\_ACEOF
47382 #define wxUSE_PROGRESSDLG 1
47387 if test "$wxUSE_SPLASH" = "yes"; then
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_SPLASH 1
47392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47395 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_STARTUP_TIPS 1
47402 if test "$wxUSE_TEXTDLG" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_TEXTDLG 1
47409 if test "$wxUSE_WIZARDDLG" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_WIZARDDLG 1
47414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47418 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47419 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47420 cat >>confdefs.h <<\_ACEOF
47421 #define wxUSE_OWNER_DRAWN 1
47428 if test "$wxUSE_MSW" = 1 ; then
47430 if test "$wxUSE_DC_CACHEING" = "yes"; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_DC_CACHEING 1
47437 if test "$wxUSE_DIB" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_WXDIB 1
47444 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47445 cat >>confdefs.h <<\_ACEOF
47446 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47451 if test "$wxUSE_UXTHEME" = "yes"; then
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_UXTHEME 1
47460 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47461 cat >>confdefs.h <<\_ACEOF
47462 #define wxUSE_AUTOID_MANAGEMENT 1
47467 if test "$USE_WIN32" = 1 ; then
47468 if test "$wxUSE_INICONF" = "yes"; then
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_INICONF 1
47475 if test "$wxUSE_REGKEY" = "yes"; then
47476 cat >>confdefs.h <<\_ACEOF
47477 #define wxUSE_REGKEY 1
47484 if test "$wxUSE_MAC" = 1; then
47485 wxUSE_GRAPHICS_CONTEXT="yes"
47488 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47490 if test "$wxUSE_MSW" = 1; then
47491 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47492 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47493 if test "${wx_cv_lib_gdiplus+set}" = set; then
47494 echo $ECHO_N "(cached) $ECHO_C" >&6
47498 ac_cpp='$CXXCPP $CPPFLAGS'
47499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47503 cat >conftest.$ac_ext <<_ACEOF
47506 cat confdefs.h >>conftest.$ac_ext
47507 cat >>conftest.$ac_ext <<_ACEOF
47508 /* end confdefs.h. */
47509 #include <gdiplus.h>
47514 using namespace Gdiplus;
47520 rm -f conftest.$ac_objext
47521 if { (ac_try="$ac_compile"
47522 case "(($ac_try" in
47523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47524 *) ac_try_echo
=$ac_try;;
47526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47527 (eval "$ac_compile") 2>conftest.er1
47529 grep -v '^ *+' conftest.er1
>conftest.err
47531 cat conftest.err
>&5
47532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47533 (exit $ac_status); } && {
47534 test -z "$ac_cxx_werror_flag" ||
47535 test ! -s conftest.err
47536 } && test -s conftest.
$ac_objext; then
47537 wx_cv_lib_gdiplus
=yes
47539 echo "$as_me: failed program was:" >&5
47540 sed 's/^/| /' conftest.
$ac_ext >&5
47542 wx_cv_lib_gdiplus
=no
47546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47548 ac_cpp
='$CPP $CPPFLAGS'
47549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47556 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47557 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47558 if test "$wx_cv_lib_gdiplus" = "yes"; then
47561 elif test "$wxUSE_GTK" = 1; then
47564 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47565 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47567 if test -n "$PKG_CONFIG"; then
47568 if test -n "$CAIRO_CFLAGS"; then
47569 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47571 if test -n "$PKG_CONFIG" && \
47572 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47573 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47576 (exit $ac_status); }; then
47577 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47585 if test -n "$PKG_CONFIG"; then
47586 if test -n "$CAIRO_LIBS"; then
47587 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47589 if test -n "$PKG_CONFIG" && \
47590 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47591 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47594 (exit $ac_status); }; then
47595 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47606 if test $pkg_failed = yes; then
47608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47609 _pkg_short_errors_supported
=yes
47611 _pkg_short_errors_supported
=no
47613 if test $_pkg_short_errors_supported = yes; then
47614 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47616 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47618 # Put the nasty error message in config.log where it belongs
47619 echo "$CAIRO_PKG_ERRORS" >&5
47621 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47622 echo "$as_me: WARNING: Cairo library not found" >&2;}
47624 elif test $pkg_failed = untried
; then
47625 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47626 echo "$as_me: WARNING: Cairo library not found" >&2;}
47629 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47630 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47631 { echo "$as_me:$LINENO: result: yes" >&5
47632 echo "${ECHO_T}yes" >&6; }
47639 if test "$wx_has_graphics" = 1; then
47640 cat >>confdefs.h
<<\_ACEOF
47641 #define wxUSE_GRAPHICS_CONTEXT 1
47645 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47646 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47653 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47656 if test "$wxUSE_GTK" = 1; then
47657 wxUSE_GSTREAMER
="no"
47659 GST_VERSION_MAJOR
=0
47660 GST_VERSION_MINOR
=10
47661 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47663 if test "$wxUSE_GSTREAMER8" = "no"; then
47666 { echo "$as_me:$LINENO: checking for GST" >&5
47667 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47669 if test -n "$PKG_CONFIG"; then
47670 if test -n "$GST_CFLAGS"; then
47671 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47673 if test -n "$PKG_CONFIG" && \
47674 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47675 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47678 (exit $ac_status); }; then
47679 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47687 if test -n "$PKG_CONFIG"; then
47688 if test -n "$GST_LIBS"; then
47689 pkg_cv_GST_LIBS
="$GST_LIBS"
47691 if test -n "$PKG_CONFIG" && \
47692 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47693 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; then
47697 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47708 if test $pkg_failed = yes; then
47710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47711 _pkg_short_errors_supported
=yes
47713 _pkg_short_errors_supported
=no
47715 if test $_pkg_short_errors_supported = yes; then
47716 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47718 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47720 # Put the nasty error message in config.log where it belongs
47721 echo "$GST_PKG_ERRORS" >&5
47724 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47725 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47726 GST_VERSION_MINOR
=8
47729 elif test $pkg_failed = untried
; then
47731 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47732 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47733 GST_VERSION_MINOR
=8
47737 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47738 GST_LIBS
=$pkg_cv_GST_LIBS
47739 { echo "$as_me:$LINENO: result: yes" >&5
47740 echo "${ECHO_T}yes" >&6; }
47742 wxUSE_GSTREAMER
="yes"
47743 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47747 GST_VERSION_MINOR
=8
47750 if test $GST_VERSION_MINOR = "8"; then
47751 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47754 { echo "$as_me:$LINENO: checking for GST" >&5
47755 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47757 if test -n "$PKG_CONFIG"; then
47758 if test -n "$GST_CFLAGS"; then
47759 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47761 if test -n "$PKG_CONFIG" && \
47762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47763 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766 (exit $ac_status); }; then
47767 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47775 if test -n "$PKG_CONFIG"; then
47776 if test -n "$GST_LIBS"; then
47777 pkg_cv_GST_LIBS
="$GST_LIBS"
47779 if test -n "$PKG_CONFIG" && \
47780 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47781 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47784 (exit $ac_status); }; then
47785 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47796 if test $pkg_failed = yes; then
47798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47799 _pkg_short_errors_supported
=yes
47801 _pkg_short_errors_supported
=no
47803 if test $_pkg_short_errors_supported = yes; then
47804 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47806 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47808 # Put the nasty error message in config.log where it belongs
47809 echo "$GST_PKG_ERRORS" >&5
47812 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47813 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47815 elif test $pkg_failed = untried
; then
47817 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47818 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47821 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47822 GST_LIBS
=$pkg_cv_GST_LIBS
47823 { echo "$as_me:$LINENO: result: yes" >&5
47824 echo "${ECHO_T}yes" >&6; }
47825 wxUSE_GSTREAMER
="yes"
47830 if test "$wxUSE_GSTREAMER" = "yes"; then
47831 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47832 EXTRALIBS_MEDIA
="$GST_LIBS"
47834 cat >>confdefs.h
<<\_ACEOF
47835 #define wxUSE_GSTREAMER 1
47843 if test $USE_MEDIA = 1; then
47844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47845 cat >>confdefs.h
<<\_ACEOF
47846 #define wxUSE_MEDIACTRL 1
47850 if test "$wxUSE_MEDIACTRL" = "yes"; then
47851 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47852 echo "$as_me: error: GStreamer not available" >&2;}
47853 { (exit 1); exit 1; }; }
47855 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47856 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47862 if test "$cross_compiling" != "no"; then
47865 OSINFO
=`uname -s -r -m`
47866 OSINFO
="\"$OSINFO\""
47869 cat >>confdefs.h
<<_ACEOF
47870 #define WXWIN_OS_DESCRIPTION $OSINFO
47875 if test "x$prefix" != "xNONE"; then
47878 wxPREFIX
=$ac_default_prefix
47881 cat >>confdefs.h
<<_ACEOF
47882 #define wxINSTALL_PREFIX "$wxPREFIX"
47888 STD_BASE_LIBS
="base"
47890 BUILT_WX_LIBS
="base"
47891 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47893 if test "$wxUSE_SOCKETS" = "yes" ; then
47894 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47895 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47897 if test "$wxUSE_XML" = "yes" ; then
47898 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47899 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47902 if test "$wxUSE_GUI" = "yes"; then
47903 STD_GUI_LIBS
="adv core"
47904 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47906 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47907 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47908 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47910 if test "$wxUSE_HTML" = "yes" ; then
47911 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47912 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47914 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47915 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47917 if test "$wxUSE_OPENGL" = "yes" ; then
47918 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47920 if test "$wxUSE_AUI" = "yes" ; then
47921 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47923 if test "$wxUSE_PROPGRID" = "yes" ; then
47924 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47926 if test "$wxUSE_RIBBON" = "yes" ; then
47927 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47929 if test "$wxUSE_RICHTEXT" = "yes" ; then
47930 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47932 if test "$wxUSE_STC" = "yes" ; then
47933 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47935 if test "$wxUSE_XRC" = "yes" ; then
47936 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47937 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
47948 if test "$wxUSE_MAC" = 1 ; then
47949 if test "$USE_DARWIN" = 1; then
47950 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47953 if test "$wxUSE_OLD_COCOA" = 1 ; then
47954 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
47955 if test "$wxUSE_MEDIACTRL" = "yes"; then
47956 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
47959 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
47960 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47963 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
47964 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47966 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47968 if test "$wxUSE_GUI" = "yes"; then
47971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47972 erase event exec font image minimal render \
47973 shaped svg taborder vscroll widgets wrapsizer"
47975 if test "$wxUSE_MONOLITHIC" != "yes"; then
47976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47978 if test "$TOOLKIT" = "MSW"; then
47979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47980 if test "$wxUSE_UNIVERSAL" != "yes"; then
47981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47984 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47988 SAMPLES_SUBDIRS
="console"
47989 if test "$wxUSE_SOCKETS" = "yes" ; then
47990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47992 if test "$wxUSE_IPC" = "yes" ; then
47993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47998 if test "x$INTELCC" = "xyes" ; then
47999 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48000 elif test "$GCC" = yes ; then
48001 CWARNINGS
="-Wall -Wundef"
48004 if test "x$INTELCXX" = "xyes" ; then
48005 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48006 elif test "$GXX" = yes ; then
48007 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48008 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48009 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48010 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48011 echo $ECHO_N "(cached) $ECHO_C" >&6
48013 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48016 ac_cpp
='$CXXCPP $CPPFLAGS'
48017 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48021 ac_save_CXXFLAGS
="$CXXFLAGS"
48022 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48023 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48024 cat >conftest.
$ac_ext <<_ACEOF
48027 cat confdefs.h
>>conftest.
$ac_ext
48028 cat >>conftest.
$ac_ext <<_ACEOF
48029 /* end confdefs.h. */
48039 rm -f conftest.
$ac_objext
48040 if { (ac_try
="$ac_compile"
48041 case "(($ac_try" in
48042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48043 *) ac_try_echo=$ac_try;;
48045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48046 (eval "$ac_compile") 2>conftest.er1
48048 grep -v '^ *+' conftest.er1 >conftest.err
48050 cat conftest.err >&5
48051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48052 (exit $ac_status); } && {
48053 test -z "$ac_cxx_werror_flag" ||
48054 test ! -s conftest.err
48055 } && test -s conftest.$ac_objext; then
48056 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48058 echo "$as_me: failed program was:" >&5
48059 sed 's/^/| /' conftest.$ac_ext >&5
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48066 CXXFLAGS="$ac_save_CXXFLAGS"
48068 ac_cpp='$CPP $CPPFLAGS'
48069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48075 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48076 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48077 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48081 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48082 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48083 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48086 (exit $ac_status); }
48087 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48088 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); }
48092 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48098 if test "$wxUSE_MAC" = 1 ; then
48099 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48104 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48105 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48108 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48109 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48110 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48113 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48114 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48115 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48116 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48117 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48119 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48122 if test "x$MWCC" = "xyes"; then
48124 CC="$CC -cwd source -I-"
48125 CXX="$CXX -cwd source -I-"
48130 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48131 EXTRALIBS_XML="$EXPAT_LINK"
48132 EXTRALIBS_HTML="$MSPACK_LINK"
48133 EXTRALIBS_MEDIA="$GST_LIBS"
48134 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48135 if test "$wxUSE_GUI" = "yes"; then
48136 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48138 if test "$wxUSE_OPENGL" = "yes"; then
48139 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48142 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48144 WXCONFIG_LIBS="$LIBS"
48146 if test "$wxUSE_REGEX" = "builtin" ; then
48147 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48149 if test "$wxUSE_EXPAT" = "builtin" ; then
48150 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48152 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48153 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48155 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48156 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48158 if test "$wxUSE_LIBPNG" = "builtin" ; then
48159 wxconfig_3rdparty="png $wxconfig_3rdparty"
48161 if test "$wxUSE_ZLIB" = "builtin" ; then
48162 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48165 for i in $wxconfig_3rdparty ; do
48166 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48170 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48173 case "$wxUNIV_THEMES" in
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_ALL_THEMES 1
48182 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48183 cat >>confdefs.h <<_ACEOF
48184 #define wxUSE_THEME_$t 1
48200 if test $wxUSE_MONOLITHIC = "yes" ; then
48206 if test $wxUSE_PLUGINS = "yes" ; then
48212 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48218 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48250 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48263 TOOLKIT_DESC="GTK+"
48264 if test "$WXGTK2" = 1; then
48265 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48266 if test "$wxUSE_GTKPRINT" = "yes" ; then
48267 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48269 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48270 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48272 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48273 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48275 if test "$wxUSE_LIBHILDON" = "yes"; then
48276 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48278 if test "$wxUSE_LIBHILDON2" = "yes"; then
48279 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48282 if test "$TOOLKIT_EXTRA" != ""; then
48283 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48289 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48293 TOOLKIT_DESC="base only"
48297 if test "$wxUSE_WINE" = "yes"; then
48298 BAKEFILE_FORCE_PLATFORM=win32
48301 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48303 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48304 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48305 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48306 echo $ECHO_N "(cached) $ECHO_C" >&6
48309 echo '#include <stdio.h>
48310 const wchar_t test_var[] = L"awidetest";' > conftest.h
48312 echo '#include "conftest.h"
48315 printf("%ls", test_var);
48319 wx_cv_gcc_pch_bug="pch not supported"
48321 if $CXX conftest.h >/dev/null 2>&1
48325 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48327 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48328 grep awidetest >/dev/null
48330 wx_cv_gcc_pch_bug=no
48332 wx_cv_gcc_pch_bug=yes
48337 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48340 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48341 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48343 if test "$wx_cv_gcc_pch_bug" = yes; then
48354 if test "x$BAKEFILE_HOST" = "x"; then
48355 if test "x${host}" = "x" ; then
48356 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48357 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48358 { (exit 1); exit 1; }; }
48361 BAKEFILE_HOST="${host}"
48364 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48366 if test -n "$ac_tool_prefix"; then
48367 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48368 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48371 if test "${ac_cv_prog_RANLIB+set}" = set; then
48372 echo $ECHO_N "(cached) $ECHO_C" >&6
48374 if test -n "$RANLIB"; then
48375 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48378 for as_dir in $PATH
48381 test -z "$as_dir" && as_dir=.
48382 for ac_exec_ext in '' $ac_executable_extensions; do
48383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48384 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48394 RANLIB=$ac_cv_prog_RANLIB
48395 if test -n "$RANLIB"; then
48396 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48397 echo "${ECHO_T}$RANLIB" >&6; }
48399 { echo "$as_me:$LINENO: result: no" >&5
48400 echo "${ECHO_T}no" >&6; }
48405 if test -z "$ac_cv_prog_RANLIB"; then
48406 ac_ct_RANLIB=$RANLIB
48407 # Extract the first word of "ranlib", so it can be a program name with args.
48408 set dummy ranlib; ac_word=$2
48409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48412 echo $ECHO_N "(cached) $ECHO_C" >&6
48414 if test -n "$ac_ct_RANLIB"; then
48415 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48418 for as_dir in $PATH
48421 test -z "$as_dir" && as_dir=.
48422 for ac_exec_ext in '' $ac_executable_extensions; do
48423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48424 ac_cv_prog_ac_ct_RANLIB="ranlib"
48425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48435 if test -n "$ac_ct_RANLIB"; then
48436 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48437 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48439 { echo "$as_me:$LINENO: result: no" >&5
48440 echo "${ECHO_T}no" >&6; }
48443 if test "x$ac_ct_RANLIB" = x; then
48446 case $cross_compiling:$ac_tool_warned in
48448 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48449 whose name does not start with the host triplet. If you think this
48450 configuration is useful to you, please write to autoconf@gnu.org." >&5
48451 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48452 whose name does not start with the host triplet. If you think this
48453 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48454 ac_tool_warned=yes ;;
48456 RANLIB=$ac_ct_RANLIB
48459 RANLIB="$ac_cv_prog_RANLIB"
48462 # Find a good install program. We prefer a C program (faster),
48463 # so one script is as good as another. But avoid the broken or
48464 # incompatible versions:
48465 # SysV /etc/install, /usr/sbin/install
48466 # SunOS /usr/etc/install
48467 # IRIX /sbin/install
48469 # AmigaOS /C/install, which installs bootblocks on floppy discs
48470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48473 # OS/2's system install, which has a completely different semantic
48474 # ./install, which can be erroneously created by make from ./install.sh.
48475 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48476 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48477 if test -z "$INSTALL"; then
48478 if test "${ac_cv_path_install+set}" = set; then
48479 echo $ECHO_N "(cached) $ECHO_C" >&6
48481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48482 for as_dir in $PATH
48485 test -z "$as_dir" && as_dir=.
48486 # Account for people who put trailing slashes in PATH elements.
48488 ./ | .// | /cC/* | \
48489 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48490 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48493 # OSF1 and SCO ODT 3.0 have their own names for install.
48494 # Don't use installbsd from OSF since it installs stuff as root
48496 for ac_prog in ginstall scoinst install; do
48497 for ac_exec_ext in '' $ac_executable_extensions; do
48498 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48499 if test $ac_prog = install &&
48500 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48501 # AIX install. It has an incompatible calling convention.
48503 elif test $ac_prog = install &&
48504 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48505 # program-specific install script used by HP pwplus--don't use.
48508 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48521 if test "${ac_cv_path_install+set}" = set; then
48522 INSTALL=$ac_cv_path_install
48524 # As a last resort, use the slow shell script. Don't cache a
48525 # value for INSTALL within a source directory, because that will
48526 # break other packages using the cache if that directory is
48527 # removed, or if the value is a relative name.
48528 INSTALL=$ac_install_sh
48531 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48532 echo "${ECHO_T}$INSTALL" >&6; }
48534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48535 # It thinks the first close brace ends the variable substitution.
48536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48540 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48542 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48543 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48545 if test "$LN_S" = "ln -s"; then
48546 { echo "$as_me:$LINENO: result: yes" >&5
48547 echo "${ECHO_T}yes" >&6; }
48549 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48550 echo "${ECHO_T}no, using $LN_S" >&6; }
48554 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48555 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48556 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48557 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48558 echo $ECHO_N "(cached) $ECHO_C" >&6
48560 cat >conftest.make <<\_ACEOF
48563 @echo '@@@%%%=$(MAKE)=@@@%%%'
48565 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48566 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48567 *@@@%%%=?*=@@@%%%*)
48568 eval ac_cv_prog_make_${ac_make}_set=yes;;
48570 eval ac_cv_prog_make_${ac_make}_set=no;;
48572 rm -f conftest.make
48574 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48575 { echo "$as_me:$LINENO: result: yes" >&5
48576 echo "${ECHO_T}yes" >&6; }
48579 { echo "$as_me:$LINENO: result: no" >&5
48580 echo "${ECHO_T}no" >&6; }
48581 SET_MAKE="MAKE=${MAKE-make}"
48586 if test "x$SUNCXX" = "xyes"; then
48588 AROPTIONS="-xar -o"
48590 elif test "x$SGICC" = "xyes"; then
48595 if test -n "$ac_tool_prefix"; then
48596 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48597 set dummy ${ac_tool_prefix}ar; ac_word=$2
48598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48600 if test "${ac_cv_prog_AR+set}" = set; then
48601 echo $ECHO_N "(cached) $ECHO_C" >&6
48603 if test -n "$AR"; then
48604 ac_cv_prog_AR="$AR" # Let the user override the test.
48606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48607 for as_dir in $PATH
48610 test -z "$as_dir" && as_dir=.
48611 for ac_exec_ext in '' $ac_executable_extensions; do
48612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48613 ac_cv_prog_AR="${ac_tool_prefix}ar"
48614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48624 if test -n "$AR"; then
48625 { echo "$as_me:$LINENO: result: $AR" >&5
48626 echo "${ECHO_T}$AR" >&6; }
48628 { echo "$as_me:$LINENO: result: no" >&5
48629 echo "${ECHO_T}no" >&6; }
48634 if test -z "$ac_cv_prog_AR"; then
48636 # Extract the first word of "ar", so it can be a program name with args.
48637 set dummy ar; ac_word=$2
48638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48640 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48641 echo $ECHO_N "(cached) $ECHO_C" >&6
48643 if test -n "$ac_ct_AR"; then
48644 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48647 for as_dir in $PATH
48650 test -z "$as_dir" && as_dir=.
48651 for ac_exec_ext in '' $ac_executable_extensions; do
48652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48653 ac_cv_prog_ac_ct_AR="ar"
48654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48663 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48664 if test -n "$ac_ct_AR"; then
48665 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48666 echo "${ECHO_T}$ac_ct_AR" >&6; }
48668 { echo "$as_me:$LINENO: result: no" >&5
48669 echo "${ECHO_T}no" >&6; }
48672 if test "x$ac_ct_AR" = x; then
48675 case $cross_compiling:$ac_tool_warned in
48677 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48678 whose name does not start with the host triplet. If you think this
48679 configuration is useful to you, please write to autoconf@gnu.org." >&5
48680 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48681 whose name does not start with the host triplet. If you think this
48682 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48683 ac_tool_warned=yes ;;
48688 AR="$ac_cv_prog_AR"
48695 if test -n "$ac_tool_prefix"; then
48696 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48697 set dummy ${ac_tool_prefix}strip; ac_word=$2
48698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48700 if test "${ac_cv_prog_STRIP+set}" = set; then
48701 echo $ECHO_N "(cached) $ECHO_C" >&6
48703 if test -n "$STRIP"; then
48704 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48707 for as_dir in $PATH
48710 test -z "$as_dir" && as_dir=.
48711 for ac_exec_ext in '' $ac_executable_extensions; do
48712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48713 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48723 STRIP=$ac_cv_prog_STRIP
48724 if test -n "$STRIP"; then
48725 { echo "$as_me:$LINENO: result: $STRIP" >&5
48726 echo "${ECHO_T}$STRIP" >&6; }
48728 { echo "$as_me:$LINENO: result: no" >&5
48729 echo "${ECHO_T}no" >&6; }
48734 if test -z "$ac_cv_prog_STRIP"; then
48736 # Extract the first word of "strip", so it can be a program name with args.
48737 set dummy strip; ac_word=$2
48738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48740 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48741 echo $ECHO_N "(cached) $ECHO_C" >&6
48743 if test -n "$ac_ct_STRIP"; then
48744 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48747 for as_dir in $PATH
48750 test -z "$as_dir" && as_dir=.
48751 for ac_exec_ext in '' $ac_executable_extensions; do
48752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48753 ac_cv_prog_ac_ct_STRIP="strip"
48754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48763 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48764 if test -n "$ac_ct_STRIP"; then
48765 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48766 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48768 { echo "$as_me:$LINENO: result: no" >&5
48769 echo "${ECHO_T}no" >&6; }
48772 if test "x$ac_ct_STRIP" = x; then
48775 case $cross_compiling:$ac_tool_warned in
48777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48778 whose name does not start with the host triplet. If you think this
48779 configuration is useful to you, please write to autoconf@gnu.org." >&5
48780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48781 whose name does not start with the host triplet. If you think this
48782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48783 ac_tool_warned=yes ;;
48788 STRIP="$ac_cv_prog_STRIP"
48791 if test -n "$ac_tool_prefix"; then
48792 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48793 set dummy ${ac_tool_prefix}nm; ac_word=$2
48794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48796 if test "${ac_cv_prog_NM+set}" = set; then
48797 echo $ECHO_N "(cached) $ECHO_C" >&6
48799 if test -n "$NM"; then
48800 ac_cv_prog_NM="$NM" # Let the user override the test.
48802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48803 for as_dir in $PATH
48806 test -z "$as_dir" && as_dir=.
48807 for ac_exec_ext in '' $ac_executable_extensions; do
48808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48809 ac_cv_prog_NM="${ac_tool_prefix}nm"
48810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48820 if test -n "$NM"; then
48821 { echo "$as_me:$LINENO: result: $NM" >&5
48822 echo "${ECHO_T}$NM" >&6; }
48824 { echo "$as_me:$LINENO: result: no" >&5
48825 echo "${ECHO_T}no" >&6; }
48830 if test -z "$ac_cv_prog_NM"; then
48832 # Extract the first word of "nm", so it can be a program name with args.
48833 set dummy nm; ac_word=$2
48834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48836 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48837 echo $ECHO_N "(cached) $ECHO_C" >&6
48839 if test -n "$ac_ct_NM"; then
48840 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48843 for as_dir in $PATH
48846 test -z "$as_dir" && as_dir=.
48847 for ac_exec_ext in '' $ac_executable_extensions; do
48848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48849 ac_cv_prog_ac_ct_NM="nm"
48850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48859 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48860 if test -n "$ac_ct_NM"; then
48861 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48862 echo "${ECHO_T}$ac_ct_NM" >&6; }
48864 { echo "$as_me:$LINENO: result: no" >&5
48865 echo "${ECHO_T}no" >&6; }
48868 if test "x$ac_ct_NM" = x; then
48871 case $cross_compiling:$ac_tool_warned in
48873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48874 whose name does not start with the host triplet. If you think this
48875 configuration is useful to you, please write to autoconf@gnu.org." >&5
48876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48877 whose name does not start with the host triplet. If you think this
48878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48879 ac_tool_warned=yes ;;
48884 NM="$ac_cv_prog_NM"
48888 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48889 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48890 INSTALL_TEST_DIR=acbftest$$
48891 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48892 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48893 rmdir $INSTALL_TEST_DIR
48894 INSTALL_DIR='$(INSTALL) -d'
48895 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48896 echo "${ECHO_T}$INSTALL -d" >&6; }
48898 INSTALL_DIR="mkdir -p"
48899 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48900 echo "${ECHO_T}mkdir -p" >&6; }
48905 case ${BAKEFILE_HOST} in
48906 *-*-cygwin* | *-*-mingw32* )
48907 LDFLAGS_GUI="-mwindows"
48913 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48914 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48915 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48916 echo $ECHO_N "(cached) $ECHO_C" >&6
48919 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48920 egrep -s GNU > /dev/null); then
48921 bakefile_cv_prog_makeisgnu="yes"
48923 bakefile_cv_prog_makeisgnu="no"
48927 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48928 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48930 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48947 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48948 case "${BAKEFILE_HOST}" in
48955 *-pc-os2_emx | *-pc-os2-emx )
48965 powerpc-apple-macos* )
48974 case "$BAKEFILE_FORCE_PLATFORM" in
48995 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48996 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48997 { (exit 1); exit 1; }; }
49012 # Check whether --enable-omf was given.
49013 if test "${enable_omf+set}" = set; then
49014 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49018 case "${BAKEFILE_HOST}" in
49020 if test "x$GCC" = "xyes"; then
49021 CFLAGS="$CFLAGS -fno-common"
49022 CXXFLAGS="$CXXFLAGS -fno-common"
49024 if test "x$XLCC" = "xyes"; then
49025 CFLAGS="$CFLAGS -qnocommon"
49026 CXXFLAGS="$CXXFLAGS -qnocommon"
49030 *-pc-os2_emx | *-pc-os2-emx )
49031 if test "x$bk_os2_use_omf" = "xyes" ; then
49034 LDFLAGS="-Zomf $LDFLAGS"
49035 CFLAGS="-Zomf $CFLAGS"
49036 CXXFLAGS="-Zomf $CXXFLAGS"
49044 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49050 SO_SUFFIX_MODULE="so"
49055 DLLPREFIX_MODULE=""
49059 case "${BAKEFILE_HOST}" in
49064 SO_SUFFIX_MODULE="sl"
49068 SO_SUFFIX_MODULE="a"
49072 SO_SUFFIX_MODULE="dll"
49073 DLLIMP_SUFFIX="dll.a"
49080 SO_SUFFIX_MODULE="dll"
49081 DLLIMP_SUFFIX="dll.a"
49091 *-pc-os2_emx | *-pc-os2-emx )
49093 SO_SUFFIX_MODULE="dll"
49094 DLLIMP_SUFFIX=$OS2_LIBEXT
49098 LIBEXT=".$OS2_LIBEXT"
49103 SO_SUFFIX_MODULE="bundle"
49107 if test "x$DLLIMP_SUFFIX" = "x" ; then
49108 DLLIMP_SUFFIX="$SO_SUFFIX"
49123 if test "x$GCC" = "xyes"; then
49127 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49128 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49131 case "${BAKEFILE_HOST}" in
49133 if test "x$GCC" != "xyes"; then
49134 LDFLAGS="$LDFLAGS -L/usr/lib"
49136 SHARED_LD_CC="${CC} -b -o"
49137 SHARED_LD_CXX="${CXX} -b -o"
49143 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49145 elif test "x$SUNCXX" = "xyes"; then
49146 SHARED_LD_CC="${CC} -G -o"
49147 SHARED_LD_CXX="${CXX} -G -o"
49153 if test "x$SUNCXX" = xyes ; then
49154 SHARED_LD_CC="${CC} -G -o"
49155 SHARED_LD_CXX="${CXX} -G -o"
49163 cat <<EOF >shared-ld-sh
49165 #-----------------------------------------------------------------------------
49166 #-- Name: distrib/mac/shared-ld-sh
49167 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49168 #-- Author: Gilles Depeyrot
49169 #-- Copyright: (c) 2002 Gilles Depeyrot
49170 #-- Licence: any use permitted
49171 #-----------------------------------------------------------------------------
49176 linking_flag="-dynamiclib"
49177 ldargs="-r -keep_private_externs -nostdlib"
49179 if test "x${D}CXX" = "x"; then
49183 while test ${D}# -gt 0; do
49190 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49191 # collect these options and values
49192 args="${D}{args} ${D}1 ${D}2"
49197 # collect these options and values
49198 ldargs="${D}{ldargs} ${D}1 ${D}2"
49203 # collect these load args
49204 ldargs="${D}{ldargs} ${D}1"
49207 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49208 # collect these options
49209 args="${D}{args} ${D}1"
49212 -dynamiclib|-bundle)
49213 linking_flag="${D}1"
49217 echo "shared-ld: unhandled option '${D}1'"
49221 *.o | *.a | *.dylib)
49222 # collect object files
49223 objects="${D}{objects} ${D}1"
49227 echo "shared-ld: unhandled argument '${D}1'"
49238 # Link one module containing all the others
49240 if test ${D}{verbose} = 1; then
49241 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49243 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49247 # Link the shared library from the single module created, but only if the
49248 # previous command didn't fail:
49250 if test ${D}{status} = 0; then
49251 if test ${D}{verbose} = 1; then
49252 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49254 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49259 # Remove intermediate module
49261 rm -f master.${D}${D}.o
49266 chmod +x shared-ld-sh
49268 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49269 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49272 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49273 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49274 if test "${bakefile_cv_gcc31+set}" = set; then
49275 echo $ECHO_N "(cached) $ECHO_C" >&6
49278 cat >conftest.$ac_ext <<_ACEOF
49281 cat confdefs.h >>conftest.$ac_ext
49282 cat >>conftest.$ac_ext <<_ACEOF
49283 /* end confdefs.h. */
49289 #if (__GNUC__ < 3) || \
49290 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49298 rm -f conftest.$ac_objext
49299 if { (ac_try="$ac_compile"
49300 case "(($ac_try" in
49301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49302 *) ac_try_echo
=$ac_try;;
49304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49305 (eval "$ac_compile") 2>conftest.er1
49307 grep -v '^ *+' conftest.er1
>conftest.err
49309 cat conftest.err
>&5
49310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49311 (exit $ac_status); } && {
49312 test -z "$ac_c_werror_flag" ||
49313 test ! -s conftest.err
49314 } && test -s conftest.
$ac_objext; then
49316 bakefile_cv_gcc31
=yes
49319 echo "$as_me: failed program was:" >&5
49320 sed 's/^/| /' conftest.
$ac_ext >&5
49323 bakefile_cv_gcc31
=no
49328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49331 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49332 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49333 if test "$bakefile_cv_gcc31" = "no"; then
49334 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49335 SHARED_LD_CXX
="$SHARED_LD_CC"
49337 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49338 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49341 if test "x$GCC" == "xyes"; then
49342 PIC_FLAG
="-dynamic -fPIC"
49344 if test "x$XLCC" = "xyes"; then
49345 PIC_FLAG
="-dynamic -DPIC"
49350 if test "x$GCC" = "xyes"; then
49353 case "${BAKEFILE_HOST}" in
49355 LD_EXPFULL
="-Wl,-bexpfull"
49359 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49360 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49362 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49363 set dummy makeC
++SharedLib
; ac_word
=$2
49364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49366 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49367 echo $ECHO_N "(cached) $ECHO_C" >&6
49369 if test -n "$AIX_CXX_LD"; then
49370 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49373 for as_dir
in $PATH
49376 test -z "$as_dir" && as_dir
=.
49377 for ac_exec_ext
in '' $ac_executable_extensions; do
49378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49379 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49387 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49390 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49391 if test -n "$AIX_CXX_LD"; then
49392 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49393 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49395 { echo "$as_me:$LINENO: result: no" >&5
49396 echo "${ECHO_T}no" >&6; }
49400 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49401 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49406 SHARED_LD_CC
="${LD} -nostart -o"
49407 SHARED_LD_CXX
="${LD} -nostart -o"
49411 if test "x$GCC" != "xyes"; then
49416 *-*-cygwin* | *-*-mingw32* )
49418 SHARED_LD_CC
="\$(CC) -shared -o"
49419 SHARED_LD_CXX
="\$(CXX) -shared -o"
49423 *-pc-os2_emx | *-pc-os2-emx )
49424 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49425 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49429 cat <<EOF >dllar.sh
49432 # dllar - a tool to build both a .dll and an .a file
49433 # from a set of object (.o) files for EMX/OS2.
49435 # Written by Andrew Zabolotny, bit@freya.etu.ru
49436 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49438 # This script will accept a set of files on the command line.
49439 # All the public symbols from the .o files will be exported into
49440 # a .DEF file, then linker will be run (through gcc) against them to
49441 # build a shared library consisting of all given .o files. All libraries
49442 # (.a) will be first decompressed into component .o files then act as
49443 # described above. You can optionally give a description (-d "description")
49444 # which will be put into .DLL. To see the list of accepted options (as well
49445 # as command-line format) simply run this program without options. The .DLL
49446 # is built to be imported by name (there is no guarantee that new versions
49447 # of the library you build will have same ordinals for same symbols).
49449 # dllar is free software; you can redistribute it and/or modify
49450 # it under the terms of the GNU General Public License as published by
49451 # the Free Software Foundation; either version 2, or (at your option)
49452 # any later version.
49454 # dllar is distributed in the hope that it will be useful,
49455 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49456 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49457 # GNU General Public License for more details.
49459 # You should have received a copy of the GNU General Public License
49460 # along with dllar; see the file COPYING. If not, write to the Free
49461 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49464 # To successfuly run this program you will need:
49465 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49466 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49468 # (used to build the .dll)
49470 # (used to create .def file from .o files)
49472 # (used to create .a file from .def file)
49473 # - GNU text utilites (cat, sort, uniq)
49474 # used to process emxexp output
49475 # - GNU file utilities (mv, rm)
49477 # - lxlite (optional, see flag below)
49478 # (used for general .dll cleanup)
49485 # basnam, variant of basename, which does _not_ remove the path, _iff_
49486 # second argument (suffix to remove) is given
49490 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49493 echo ${D}1 | sed 's/'${D}2'${D}//'
49496 echo "error in basnam ${D}*"
49502 # Cleanup temporary files and output
49505 for i in ${D}inputFiles ; do
49508 rm -rf \`basnam ${D}i !\`
49515 # Kill result in case of failure as there is just to many stupid make/nmake
49516 # things out there which doesn't do this.
49517 if [ ${D}# -eq 0 ]; then
49518 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49522 # Print usage and exit script with rc=1.
49524 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49525 echo ' [-name-mangler-script script.sh]'
49526 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49527 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49528 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49529 echo ' [*.o] [*.a]'
49530 echo '*> "output_file" should have no extension.'
49531 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49532 echo ' The import library name is derived from this and is set to "name".a,'
49533 echo ' unless overridden by -import'
49534 echo '*> "importlib_name" should have no extension.'
49535 echo ' If it has the .o, or .a extension, it is automatically removed.'
49536 echo ' This name is used as the import library name and may be longer and'
49537 echo ' more descriptive than the DLL name which has to follow the old '
49538 echo ' 8.3 convention of FAT.'
49539 echo '*> "script.sh may be given to override the output_file name by a'
49540 echo ' different name. It is mainly useful if the regular make process'
49541 echo ' of some package does not take into account OS/2 restriction of'
49542 echo ' DLL name lengths. It takes the importlib name as input and is'
49543 echo ' supposed to procude a shorter name as output. The script should'
49544 echo ' expect to get importlib_name without extension and should produce'
49545 echo ' a (max.) 8 letter name without extension.'
49546 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49547 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49548 echo ' These flags will be put at the start of GCC command line.'
49549 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49550 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49551 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49552 echo ' If the last character of a symbol is "*", all symbols beginning'
49553 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49554 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49555 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49556 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49557 echo ' C runtime DLLs.'
49558 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49559 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49560 echo ' unchanged to GCC at the end of command line.'
49561 echo '*> If you create a DLL from a library and you do not specify -o,'
49562 echo ' the basename for DLL and import library will be set to library name,'
49563 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49564 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49565 echo ' library will be renamed into gcc_s.a.'
49568 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49569 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49574 # Execute a command.
49575 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49576 # @Uses Whatever CleanUp() uses.
49582 if [ ${D}rcCmd -ne 0 ]; then
49583 echo "command failed, exit code="${D}rcCmd
49598 CFLAGS="-s -Zcrtdll"
49600 EXPORT_BY_ORDINALS=0
49605 case ${D}curDirS in
49609 curDirS=${D}{curDirS}"/"
49612 # Parse commandline
49615 while [ ${D}1 ]; do
49618 EXPORT_BY_ORDINALS=1;
49628 -name-mangler-script)
49649 exclude_symbols=${D}{exclude_symbols}${D}1" "
49653 library_flags=${D}{library_flags}${D}1" "
49672 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49675 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49676 if [ ${D}omfLinking -eq 1 ]; then
49677 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49679 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49684 if [ ${D}libsToLink -ne 0 ]; then
49685 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49687 for file in ${D}1 ; do
49688 if [ -f ${D}file ]; then
49689 inputFiles="${D}{inputFiles} ${D}file"
49693 if [ ${D}found -eq 0 ]; then
49694 echo "ERROR: No file(s) found: "${D}1
49701 done # iterate cmdline words
49704 if [ -z "${D}inputFiles" ]; then
49705 echo "dllar: no input files"
49709 # Now extract all .o files from .a files
49711 for file in ${D}inputFiles ; do
49722 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49727 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49729 if [ ${D}? -ne 0 ]; then
49730 echo "Failed to create subdirectory ./${D}dirname"
49734 # Append '!' to indicate archive
49735 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49736 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49739 for subfile in ${D}dirname/*.o* ; do
49740 if [ -f ${D}subfile ]; then
49742 if [ -s ${D}subfile ]; then
49743 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49744 newInputFiles="${D}newInputFiles ${D}subfile"
49748 if [ ${D}found -eq 0 ]; then
49749 echo "WARNING: there are no files in archive \\'${D}file\\'"
49753 newInputFiles="${D}{newInputFiles} ${D}file"
49757 inputFiles="${D}newInputFiles"
49759 # Output filename(s).
49761 if [ -z ${D}outFile ]; then
49763 set outFile ${D}inputFiles; outFile=${D}2
49766 # If it is an archive, remove the '!' and the '_%' suffixes
49767 case ${D}outFile in
49769 outFile=\`basnam ${D}outFile _%!\`
49774 case ${D}outFile in
49776 outFile=\`basnam ${D}outFile .dll\`
49779 outFile=\`basnam ${D}outFile .DLL\`
49782 outFile=\`basnam ${D}outFile .o\`
49785 outFile=\`basnam ${D}outFile .obj\`
49788 outFile=\`basnam ${D}outFile .a\`
49791 outFile=\`basnam ${D}outFile .lib\`
49796 case ${D}outimpFile in
49798 outimpFile=\`basnam ${D}outimpFile .a\`
49801 outimpFile=\`basnam ${D}outimpFile .lib\`
49806 if [ -z ${D}outimpFile ]; then
49807 outimpFile=${D}outFile
49809 defFile="${D}{outFile}.def"
49810 arcFile="${D}{outimpFile}.a"
49811 arcFile2="${D}{outimpFile}.lib"
49813 #create ${D}dllFile as something matching 8.3 restrictions,
49814 if [ -z ${D}renameScript ] ; then
49815 dllFile="${D}outFile"
49817 dllFile=\`${D}renameScript ${D}outimpFile\`
49820 if [ ${D}do_backup -ne 0 ] ; then
49821 if [ -f ${D}arcFile ] ; then
49822 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49824 if [ -f ${D}arcFile2 ] ; then
49825 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49829 # Extract public symbols from all the object files.
49830 tmpdefFile=${D}{defFile}_%
49831 rm -f ${D}tmpdefFile
49832 for file in ${D}inputFiles ; do
49837 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49842 # Create the def file.
49844 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49845 dllFile="${D}{dllFile}.dll"
49846 if [ ! -z ${D}description ]; then
49847 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49849 echo "EXPORTS" >> ${D}defFile
49851 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49852 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49854 # Checks if the export is ok or not.
49855 for word in ${D}exclude_symbols; do
49856 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49857 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49861 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49862 sed "=" < ${D}tmpdefFile | \\
49866 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49868 ' > ${D}{tmpdefFile}%
49869 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49871 rm -f ${D}{tmpdefFile}%
49873 cat ${D}tmpdefFile >> ${D}defFile
49874 rm -f ${D}tmpdefFile
49876 # Do linking, create implib, and apply lxlite.
49878 for file in ${D}inputFiles ; do
49883 gccCmdl="${D}gccCmdl ${D}file"
49887 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49888 touch "${D}{outFile}.dll"
49890 doCommand "emximp -o ${D}arcFile ${D}defFile"
49891 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49893 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49896 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49898 doCommand "emxomf -s -l ${D}arcFile"
49908 powerpc
-apple-macos* | \
49909 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49919 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49920 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49921 { (exit 1); exit 1; }; }
49924 if test "x$PIC_FLAG" != "x" ; then
49925 PIC_FLAG
="$PIC_FLAG -DPIC"
49928 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49929 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49931 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49932 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49947 USE_SOTWOSYMLINKS
=0
49951 case "${BAKEFILE_HOST}" in
49952 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49953 *-*-k*bsd
*-gnu | *-*-mirbsd* )
49954 if test "x$SUNCXX" = "xyes"; then
49957 SONAME_FLAG
="-Wl,-soname,"
49961 USE_SOTWOSYMLINKS
=1
49973 USE_SOTWOSYMLINKS
=1
49991 # Check whether --enable-dependency-tracking was given.
49992 if test "${enable_dependency_tracking+set}" = set; then
49993 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
49997 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49998 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50001 if test "x$bk_use_trackdeps" = "xno" ; then
50003 { echo "$as_me:$LINENO: result: disabled" >&5
50004 echo "${ECHO_T}disabled" >&6; }
50008 if test "x$GCC" = "xyes"; then
50010 case "${BAKEFILE_HOST}" in
50012 DEPSFLAG
="-no-cpp-precomp -MMD"
50018 { echo "$as_me:$LINENO: result: gcc" >&5
50019 echo "${ECHO_T}gcc" >&6; }
50020 elif test "x$MWCC" = "xyes"; then
50023 { echo "$as_me:$LINENO: result: mwcc" >&5
50024 echo "${ECHO_T}mwcc" >&6; }
50025 elif test "x$SUNCC" = "xyes"; then
50028 { echo "$as_me:$LINENO: result: Sun cc" >&5
50029 echo "${ECHO_T}Sun cc" >&6; }
50030 elif test "x$SGICC" = "xyes"; then
50033 { echo "$as_me:$LINENO: result: SGI cc" >&5
50034 echo "${ECHO_T}SGI cc" >&6; }
50035 elif test "x$HPCC" = "xyes"; then
50038 { echo "$as_me:$LINENO: result: HP cc" >&5
50039 echo "${ECHO_T}HP cc" >&6; }
50040 elif test "x$COMPAQCC" = "xyes"; then
50043 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50044 echo "${ECHO_T}Compaq cc" >&6; }
50047 { echo "$as_me:$LINENO: result: none" >&5
50048 echo "${ECHO_T}none" >&6; }
50051 if test $DEPS_TRACKING = 1 ; then
50057 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50058 # script. It is used to track C/C++ files dependencies in portable way.
50060 # Permission is given to use this file in any way.
50062 DEPSMODE=${DEPSMODE}
50063 DEPSFLAG="${DEPSFLAG}"
50066 if test ${D}DEPSMODE = gcc ; then
50067 ${D}* ${D}{DEPSFLAG}
50070 # determine location of created files:
50071 while test ${D}# -gt 0; do
50085 objfilebase=\`basename ${D}objfile\`
50086 builddir=\`dirname ${D}objfile\`
50087 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50088 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50089 depsdir=${D}builddir/${D}DEPSDIRBASE
50090 mkdir -p ${D}depsdir
50092 # if the compiler failed, we're done:
50093 if test ${D}{status} != 0 ; then
50098 # move created file to the location we want it in:
50099 if test -f ${D}depfile ; then
50100 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50103 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50104 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50105 if test ! -f ${D}depfile ; then
50106 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50107 depfile="${D}objfile.d"
50109 if test -f ${D}depfile ; then
50110 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50116 elif test ${D}DEPSMODE = mwcc ; then
50117 ${D}* || exit ${D}?
50118 # Run mwcc again with -MM and redirect into the dep file we want
50119 # NOTE: We can't use shift here because we need ${D}* to be valid
50121 for arg in ${D}* ; do
50122 if test "${D}prevarg" = "-o"; then
50136 objfilebase=\`basename ${D}objfile\`
50137 builddir=\`dirname ${D}objfile\`
50138 depsdir=${D}builddir/${D}DEPSDIRBASE
50139 mkdir -p ${D}depsdir
50141 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50144 elif test ${D}DEPSMODE = unixcc; then
50145 ${D}* || exit ${D}?
50146 # Run compiler again with deps flag and redirect into the dep file.
50147 # It doesn't work if the '-o FILE' option is used, but without it the
50148 # dependency file will contain the wrong name for the object. So it is
50149 # removed from the command line, and the dep file is fixed with sed.
50151 while test ${D}# -gt 0; do
50158 eval arg${D}#=\\${D}1
50159 cmd="${D}cmd \\${D}arg${D}#"
50165 objfilebase=\`basename ${D}objfile\`
50166 builddir=\`dirname ${D}objfile\`
50167 depsdir=${D}builddir/${D}DEPSDIRBASE
50168 mkdir -p ${D}depsdir
50170 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50180 BK_DEPS
="`pwd`/bk-deps"
50188 case ${BAKEFILE_HOST} in
50189 *-*-cygwin* | *-*-mingw32* )
50190 if test -n "$ac_tool_prefix"; then
50191 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50192 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50195 if test "${ac_cv_prog_WINDRES+set}" = set; then
50196 echo $ECHO_N "(cached) $ECHO_C" >&6
50198 if test -n "$WINDRES"; then
50199 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50202 for as_dir
in $PATH
50205 test -z "$as_dir" && as_dir
=.
50206 for ac_exec_ext
in '' $ac_executable_extensions; do
50207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50208 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50218 WINDRES
=$ac_cv_prog_WINDRES
50219 if test -n "$WINDRES"; then
50220 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50221 echo "${ECHO_T}$WINDRES" >&6; }
50223 { echo "$as_me:$LINENO: result: no" >&5
50224 echo "${ECHO_T}no" >&6; }
50229 if test -z "$ac_cv_prog_WINDRES"; then
50230 ac_ct_WINDRES
=$WINDRES
50231 # Extract the first word of "windres", so it can be a program name with args.
50232 set dummy windres
; ac_word
=$2
50233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50235 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50236 echo $ECHO_N "(cached) $ECHO_C" >&6
50238 if test -n "$ac_ct_WINDRES"; then
50239 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50242 for as_dir
in $PATH
50245 test -z "$as_dir" && as_dir
=.
50246 for ac_exec_ext
in '' $ac_executable_extensions; do
50247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50248 ac_cv_prog_ac_ct_WINDRES
="windres"
50249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50258 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50259 if test -n "$ac_ct_WINDRES"; then
50260 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50261 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50263 { echo "$as_me:$LINENO: result: no" >&5
50264 echo "${ECHO_T}no" >&6; }
50267 if test "x$ac_ct_WINDRES" = x
; then
50270 case $cross_compiling:$ac_tool_warned in
50272 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50273 whose name does not start with the host triplet. If you think this
50274 configuration is useful to you, please write to autoconf@gnu.org." >&5
50275 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50276 whose name does not start with the host triplet. If you think this
50277 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50278 ac_tool_warned
=yes ;;
50280 WINDRES
=$ac_ct_WINDRES
50283 WINDRES
="$ac_cv_prog_WINDRES"
50288 *-*-darwin* | powerpc
-apple-macos* )
50289 # Extract the first word of "Rez", so it can be a program name with args.
50290 set dummy Rez
; ac_word
=$2
50291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50293 if test "${ac_cv_prog_REZ+set}" = set; then
50294 echo $ECHO_N "(cached) $ECHO_C" >&6
50296 if test -n "$REZ"; then
50297 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50300 for as_dir
in $PATH
50303 test -z "$as_dir" && as_dir
=.
50304 for ac_exec_ext
in '' $ac_executable_extensions; do
50305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50306 ac_cv_prog_REZ
="Rez"
50307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50314 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50317 REZ
=$ac_cv_prog_REZ
50318 if test -n "$REZ"; then
50319 { echo "$as_me:$LINENO: result: $REZ" >&5
50320 echo "${ECHO_T}$REZ" >&6; }
50322 { echo "$as_me:$LINENO: result: no" >&5
50323 echo "${ECHO_T}no" >&6; }
50327 # Extract the first word of "SetFile", so it can be a program name with args.
50328 set dummy SetFile
; ac_word
=$2
50329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50331 if test "${ac_cv_prog_SETFILE+set}" = set; then
50332 echo $ECHO_N "(cached) $ECHO_C" >&6
50334 if test -n "$SETFILE"; then
50335 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50338 for as_dir
in $PATH
50341 test -z "$as_dir" && as_dir
=.
50342 for ac_exec_ext
in '' $ac_executable_extensions; do
50343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50344 ac_cv_prog_SETFILE
="SetFile"
50345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50352 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50355 SETFILE
=$ac_cv_prog_SETFILE
50356 if test -n "$SETFILE"; then
50357 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50358 echo "${ECHO_T}$SETFILE" >&6; }
50360 { echo "$as_me:$LINENO: result: no" >&5
50361 echo "${ECHO_T}no" >&6; }
50376 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50379 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50383 # Check whether --enable-precomp-headers was given.
50384 if test "${enable_precomp_headers+set}" = set; then
50385 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50394 case ${BAKEFILE_HOST} in
50400 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50401 if test "x$GCC" = "xyes"; then
50402 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50403 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50404 cat >conftest.
$ac_ext <<_ACEOF
50407 cat confdefs.h
>>conftest.
$ac_ext
50408 cat >>conftest.
$ac_ext <<_ACEOF
50409 /* end confdefs.h. */
50415 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50416 There is no PCH support
50419 There is no PCH support
50421 #if (__GNUC__ == 3) && \
50422 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50423 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50424 ( defined(__INTEL_COMPILER) )
50425 There is no PCH support
50432 rm -f conftest.
$ac_objext
50433 if { (ac_try
="$ac_compile"
50434 case "(($ac_try" in
50435 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50436 *) ac_try_echo=$ac_try;;
50438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50439 (eval "$ac_compile") 2>conftest.er1
50441 grep -v '^ *+' conftest.er1 >conftest.err
50443 cat conftest.err >&5
50444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50445 (exit $ac_status); } && {
50446 test -z "$ac_c_werror_flag" ||
50447 test ! -s conftest.err
50448 } && test -s conftest.$ac_objext; then
50450 { echo "$as_me:$LINENO: result: yes" >&5
50451 echo "${ECHO_T}yes" >&6; }
50455 echo "$as_me: failed program was:" >&5
50456 sed 's/^/| /' conftest.$ac_ext >&5
50459 if test "$INTELCXX8" = "yes"; then
50460 { echo "$as_me:$LINENO: result: yes" >&5
50461 echo "${ECHO_T}yes" >&6; }
50463 if test "$INTELCXX10" = "yes"; then
50464 ICC_PCH_CREATE_SWITCH="-pch-create"
50465 ICC_PCH_USE_SWITCH="-pch-use"
50467 ICC_PCH_CREATE_SWITCH="-create-pch"
50468 ICC_PCH_USE_SWITCH="-use-pch"
50471 { echo "$as_me:$LINENO: result: no" >&5
50472 echo "${ECHO_T}no" >&6; }
50477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50478 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50482 cat <<EOF >bk-make-pch
50485 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50486 # script. It is used to generated precompiled headers.
50488 # Permission is given to use this file in any way.
50495 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50500 while test ${D}{#} -gt 0; do
50504 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50505 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50506 headerfile="${D}{incdir}/${D}{header}"
50509 -use-pch|-use_pch|-pch-use )
50514 if test ${D}add_to_cmdline = 1 ; then
50515 compiler="${D}{compiler} ${D}{1}"
50520 if test "x${D}{headerfile}" = "x" ; then
50521 echo "error: can't find header ${D}{header} in include paths" >&2
50523 if test -f ${D}{outfile} ; then
50524 rm -f ${D}{outfile}
50526 mkdir -p \`dirname ${D}{outfile
}\
`
50528 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50529 mkdir -p ${D}{builddir}/.deps
50530 if test "x${GCC_PCH}" = "x1" ; then
50531 # can do this because gcc is >= 3.4:
50532 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50533 elif test "x${ICC_PCH}" = "x1" ; then
50534 filename=pch_gen-${D}${D}
50535 file=${D}{filename}.c
50536 dfile=${D}{filename}.d
50537 cat > ${D}file <<EOT
50538 #include "${D}header"
50540 # using -MF icc complains about differing command lines in creation/use
50541 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50542 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50543 rm -f ${D}file ${D}dfile ${D}{filename}.o
50549 chmod +x bk-make-pch
50550 BK_MAKE_PCH="`pwd`/bk-make-pch"
50561 COND_BUILD_DEBUG="#"
50562 if test "x$BUILD" = "xdebug" ; then
50563 COND_BUILD_DEBUG=""
50566 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50567 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50568 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50571 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50572 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50573 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50576 COND_BUILD_DEBUG_UNICODE_0="#"
50577 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50578 COND_BUILD_DEBUG_UNICODE_0=""
50581 COND_BUILD_DEBUG_UNICODE_1="#"
50582 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50583 COND_BUILD_DEBUG_UNICODE_1=""
50586 COND_BUILD_RELEASE="#"
50587 if test "x$BUILD" = "xrelease" ; then
50588 COND_BUILD_RELEASE=""
50591 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50592 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50593 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50596 COND_BUILD_RELEASE_UNICODE_0="#"
50597 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50598 COND_BUILD_RELEASE_UNICODE_0=""
50601 COND_BUILD_RELEASE_UNICODE_1="#"
50602 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50603 COND_BUILD_RELEASE_UNICODE_1=""
50606 COND_BUILD_debug="#"
50607 if test "x$BUILD" = "xdebug" ; then
50608 COND_BUILD_debug=""
50611 COND_BUILD_debug_DEBUG_FLAG_default="#"
50612 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50613 COND_BUILD_debug_DEBUG_FLAG_default=""
50616 COND_BUILD_debug_DEBUG_INFO_default="#"
50617 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50618 COND_BUILD_debug_DEBUG_INFO_default=""
50621 COND_BUILD_debug_UNICODE_0="#"
50622 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50623 COND_BUILD_debug_UNICODE_0=""
50626 COND_BUILD_debug_UNICODE_1="#"
50627 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50628 COND_BUILD_debug_UNICODE_1=""
50631 COND_BUILD_release="#"
50632 if test "x$BUILD" = "xrelease" ; then
50633 COND_BUILD_release=""
50636 COND_BUILD_release_DEBUG_INFO_default="#"
50637 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50638 COND_BUILD_release_DEBUG_INFO_default=""
50641 COND_BUILD_release_UNICODE_0="#"
50642 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50643 COND_BUILD_release_UNICODE_0=""
50646 COND_BUILD_release_UNICODE_1="#"
50647 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50648 COND_BUILD_release_UNICODE_1=""
50651 COND_DEBUG_FLAG_0="#"
50652 if test "x$DEBUG_FLAG" = "x0" ; then
50653 COND_DEBUG_FLAG_0=""
50656 COND_DEBUG_FLAG_1="#"
50657 if test "x$DEBUG_FLAG" = "x1" ; then
50658 COND_DEBUG_FLAG_1=""
50661 COND_DEBUG_INFO_0="#"
50662 if test "x$DEBUG_INFO" = "x0" ; then
50663 COND_DEBUG_INFO_0=""
50666 COND_DEBUG_INFO_1="#"
50667 if test "x$DEBUG_INFO" = "x1" ; then
50668 COND_DEBUG_INFO_1=""
50671 COND_DEPS_TRACKING_0="#"
50672 if test "x$DEPS_TRACKING" = "x0" ; then
50673 COND_DEPS_TRACKING_0=""
50676 COND_DEPS_TRACKING_1="#"
50677 if test "x$DEPS_TRACKING" = "x1" ; then
50678 COND_DEPS_TRACKING_1=""
50682 if test "x$GCC_PCH" = "x1" ; then
50687 if test "x$ICC_PCH" = "x1" ; then
50691 COND_MONOLITHIC_0="#"
50692 if test "x$MONOLITHIC" = "x0" ; then
50693 COND_MONOLITHIC_0=""
50696 COND_MONOLITHIC_0_SHARED_0="#"
50697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50698 COND_MONOLITHIC_0_SHARED_0=""
50701 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50703 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50706 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50726 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50728 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50731 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50733 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50736 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50738 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50741 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50743 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50746 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50748 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50751 COND_MONOLITHIC_0_SHARED_1="#"
50752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50753 COND_MONOLITHIC_0_SHARED_1=""
50756 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50758 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50766 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50771 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50776 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50781 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50783 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50786 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50788 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50791 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50793 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50796 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50798 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50801 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50803 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50806 COND_MONOLITHIC_0_USE_AUI_1="#"
50807 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50808 COND_MONOLITHIC_0_USE_AUI_1=""
50811 COND_MONOLITHIC_0_USE_GUI_1="#"
50812 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50813 COND_MONOLITHIC_0_USE_GUI_1=""
50816 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50817 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50818 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50821 COND_MONOLITHIC_0_USE_HTML_1="#"
50822 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50823 COND_MONOLITHIC_0_USE_HTML_1=""
50826 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50827 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50828 COND_MONOLITHIC_0_USE_MEDIA_1=""
50831 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50832 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50833 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50836 COND_MONOLITHIC_0_USE_QA_1="#"
50837 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50838 COND_MONOLITHIC_0_USE_QA_1=""
50841 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50842 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50843 COND_MONOLITHIC_0_USE_RIBBON_1=""
50846 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50847 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50848 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50851 COND_MONOLITHIC_0_USE_STC_1="#"
50852 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50853 COND_MONOLITHIC_0_USE_STC_1=""
50856 COND_MONOLITHIC_0_USE_XRC_1="#"
50857 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50858 COND_MONOLITHIC_0_USE_XRC_1=""
50861 COND_MONOLITHIC_1="#"
50862 if test "x$MONOLITHIC" = "x1" ; then
50863 COND_MONOLITHIC_1=""
50866 COND_MONOLITHIC_1_SHARED_0="#"
50867 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50868 COND_MONOLITHIC_1_SHARED_0=""
50871 COND_MONOLITHIC_1_SHARED_1="#"
50872 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50873 COND_MONOLITHIC_1_SHARED_1=""
50876 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50877 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50882 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50886 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50887 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50888 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50891 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50892 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50893 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50896 COND_PLATFORM_MACOSX_1="#"
50897 if test "x$PLATFORM_MACOSX" = "x1" ; then
50898 COND_PLATFORM_MACOSX_1=""
50901 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50902 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50903 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50906 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50907 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50908 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50911 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50912 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50913 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50916 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50918 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50921 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50923 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50926 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50928 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50931 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50933 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50936 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50938 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50941 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50943 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50946 COND_PLATFORM_MACOS_1="#"
50947 if test "x$PLATFORM_MACOS" = "x1" ; then
50948 COND_PLATFORM_MACOS_1=""
50951 COND_PLATFORM_MAC_0="#"
50952 if test "x$PLATFORM_MAC" = "x0" ; then
50953 COND_PLATFORM_MAC_0=""
50956 COND_PLATFORM_MAC_1="#"
50957 if test "x$PLATFORM_MAC" = "x1" ; then
50958 COND_PLATFORM_MAC_1=""
50961 COND_PLATFORM_MSDOS_0="#"
50962 if test "x$PLATFORM_MSDOS" = "x0" ; then
50963 COND_PLATFORM_MSDOS_0=""
50966 COND_PLATFORM_MSDOS_1="#"
50967 if test "x$PLATFORM_MSDOS" = "x1" ; then
50968 COND_PLATFORM_MSDOS_1=""
50971 COND_PLATFORM_OS2_1="#"
50972 if test "x$PLATFORM_OS2" = "x1" ; then
50973 COND_PLATFORM_OS2_1=""
50976 COND_PLATFORM_UNIX_0="#"
50977 if test "x$PLATFORM_UNIX" = "x0" ; then
50978 COND_PLATFORM_UNIX_0=""
50981 COND_PLATFORM_UNIX_1="#"
50982 if test "x$PLATFORM_UNIX" = "x1" ; then
50983 COND_PLATFORM_UNIX_1=""
50986 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50987 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50988 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50991 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50992 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50993 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50996 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50997 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50998 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51001 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51002 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51003 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51006 COND_PLATFORM_WIN32_0="#"
51007 if test "x$PLATFORM_WIN32" = "x0" ; then
51008 COND_PLATFORM_WIN32_0=""
51011 COND_PLATFORM_WIN32_1="#"
51012 if test "x$PLATFORM_WIN32" = "x1" ; then
51013 COND_PLATFORM_WIN32_1=""
51016 COND_PLATFORM_WIN32_1_SHARED_0="#"
51017 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51018 COND_PLATFORM_WIN32_1_SHARED_0=""
51022 if test "x$SHARED" = "x0" ; then
51026 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51027 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51028 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51031 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51032 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51033 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51036 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51037 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51038 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51041 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51042 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51043 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51046 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51047 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51048 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51051 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51052 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51053 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51056 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51057 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51058 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51061 COND_SHARED_0_USE_STC_1="#"
51062 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51063 COND_SHARED_0_USE_STC_1=""
51066 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51067 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51068 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51071 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51072 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51073 COND_SHARED_0_wxUSE_REGEX_builtin=""
51076 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51077 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51078 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51082 if test "x$SHARED" = "x1" ; then
51086 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51087 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51088 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51092 if test "x$TOOLKIT" = "x" ; then
51096 COND_TOOLKIT_COCOA="#"
51097 if test "x$TOOLKIT" = "xCOCOA" ; then
51098 COND_TOOLKIT_COCOA=""
51101 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51102 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51103 COND_TOOLKIT_COCOA_USE_GUI_1=""
51106 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51107 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51108 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51111 COND_TOOLKIT_DFB="#"
51112 if test "x$TOOLKIT" = "xDFB" ; then
51113 COND_TOOLKIT_DFB=""
51116 COND_TOOLKIT_DFB_USE_GUI_1="#"
51117 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51118 COND_TOOLKIT_DFB_USE_GUI_1=""
51121 COND_TOOLKIT_GTK="#"
51122 if test "x$TOOLKIT" = "xGTK" ; then
51123 COND_TOOLKIT_GTK=""
51126 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51127 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51128 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51132 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51133 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51137 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51138 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51141 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51142 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51143 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51146 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51147 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51148 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51151 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51153 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51156 COND_TOOLKIT_GTK_USE_GUI_1="#"
51157 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51158 COND_TOOLKIT_GTK_USE_GUI_1=""
51161 COND_TOOLKIT_MAC="#"
51162 if test "x$TOOLKIT" = "xMAC" ; then
51163 COND_TOOLKIT_MAC=""
51166 COND_TOOLKIT_MGL="#"
51167 if test "x$TOOLKIT" = "xMGL" ; then
51168 COND_TOOLKIT_MGL=""
51171 COND_TOOLKIT_MGL_USE_GUI_1="#"
51172 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51173 COND_TOOLKIT_MGL_USE_GUI_1=""
51176 COND_TOOLKIT_MOTIF="#"
51177 if test "x$TOOLKIT" = "xMOTIF" ; then
51178 COND_TOOLKIT_MOTIF=""
51181 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51182 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51183 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51186 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51187 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51188 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51191 COND_TOOLKIT_MSW="#"
51192 if test "x$TOOLKIT" = "xMSW" ; then
51193 COND_TOOLKIT_MSW=""
51196 COND_TOOLKIT_MSW_USE_GUI_1="#"
51197 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51198 COND_TOOLKIT_MSW_USE_GUI_1=""
51201 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51202 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51203 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51206 COND_TOOLKIT_MSW_WXUNIV_0="#"
51207 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51208 COND_TOOLKIT_MSW_WXUNIV_0=""
51211 COND_TOOLKIT_OSX_CARBON="#"
51212 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51213 COND_TOOLKIT_OSX_CARBON=""
51216 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51217 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51218 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51221 COND_TOOLKIT_OSX_COCOA="#"
51222 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51223 COND_TOOLKIT_OSX_COCOA=""
51226 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51227 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51228 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51231 COND_TOOLKIT_OSX_IPHONE="#"
51232 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51233 COND_TOOLKIT_OSX_IPHONE=""
51236 COND_TOOLKIT_PM="#"
51237 if test "x$TOOLKIT" = "xPM" ; then
51241 COND_TOOLKIT_PM_USE_GUI_1="#"
51242 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51243 COND_TOOLKIT_PM_USE_GUI_1=""
51246 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51247 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51248 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51251 COND_TOOLKIT_WINCE="#"
51252 if test "x$TOOLKIT" = "xWINCE" ; then
51253 COND_TOOLKIT_WINCE=""
51256 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51257 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51258 COND_TOOLKIT_WINCE_USE_GUI_1=""
51261 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51262 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51263 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51266 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51267 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51268 COND_TOOLKIT_WINCE_WXUNIV_0=""
51271 COND_TOOLKIT_X11="#"
51272 if test "x$TOOLKIT" = "xX11" ; then
51273 COND_TOOLKIT_X11=""
51276 COND_TOOLKIT_X11_USE_GUI_1="#"
51277 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51278 COND_TOOLKIT_X11_USE_GUI_1=""
51282 if test "x$UNICODE" = "x1" ; then
51286 COND_USE_CAIRO_1="#"
51287 if test "x$USE_CAIRO" = "x1" ; then
51288 COND_USE_CAIRO_1=""
51291 COND_USE_EXCEPTIONS_0="#"
51292 if test "x$USE_EXCEPTIONS" = "x0" ; then
51293 COND_USE_EXCEPTIONS_0=""
51296 COND_USE_EXCEPTIONS_1="#"
51297 if test "x$USE_EXCEPTIONS" = "x1" ; then
51298 COND_USE_EXCEPTIONS_1=""
51302 if test "x$USE_GUI" = "x0" ; then
51307 if test "x$USE_GUI" = "x1" ; then
51311 COND_USE_GUI_1_USE_OPENGL_1="#"
51312 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51313 COND_USE_GUI_1_USE_OPENGL_1=""
51316 COND_USE_GUI_1_WXUNIV_0="#"
51317 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51318 COND_USE_GUI_1_WXUNIV_0=""
51321 COND_USE_GUI_1_WXUNIV_1="#"
51322 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51323 COND_USE_GUI_1_WXUNIV_1=""
51326 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51327 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51328 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51331 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51332 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51333 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51336 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51337 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51338 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51341 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51342 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51343 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51346 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51347 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51348 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51351 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51352 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51353 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51356 COND_USE_OPENGL_1="#"
51357 if test "x$USE_OPENGL" = "x1" ; then
51358 COND_USE_OPENGL_1=""
51362 if test "x$USE_PCH" = "x1" ; then
51366 COND_USE_PLUGINS_0="#"
51367 if test "x$USE_PLUGINS" = "x0" ; then
51368 COND_USE_PLUGINS_0=""
51371 COND_USE_RTTI_0="#"
51372 if test "x$USE_RTTI" = "x0" ; then
51376 COND_USE_RTTI_1="#"
51377 if test "x$USE_RTTI" = "x1" ; then
51381 COND_USE_SOTWOSYMLINKS_1="#"
51382 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51383 COND_USE_SOTWOSYMLINKS_1=""
51386 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51387 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51388 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51391 COND_USE_SOVERLINUX_1="#"
51392 if test "x$USE_SOVERLINUX" = "x1" ; then
51393 COND_USE_SOVERLINUX_1=""
51396 COND_USE_SOVERSION_0="#"
51397 if test "x$USE_SOVERSION" = "x0" ; then
51398 COND_USE_SOVERSION_0=""
51401 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51402 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51403 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51406 COND_USE_SOVERSOLARIS_1="#"
51407 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51408 COND_USE_SOVERSOLARIS_1=""
51412 if test "x$USE_STC" = "x1" ; then
51416 COND_USE_THREADS_0="#"
51417 if test "x$USE_THREADS" = "x0" ; then
51418 COND_USE_THREADS_0=""
51421 COND_USE_THREADS_1="#"
51422 if test "x$USE_THREADS" = "x1" ; then
51423 COND_USE_THREADS_1=""
51427 if test "x$USE_XRC" = "x1" ; then
51431 COND_WINDOWS_IMPLIB_1="#"
51432 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51433 COND_WINDOWS_IMPLIB_1=""
51436 COND_WITH_PLUGIN_SDL_1="#"
51437 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51438 COND_WITH_PLUGIN_SDL_1=""
51442 if test "x$WXUNIV" = "x0" ; then
51447 if test "x$WXUNIV" = "x1" ; then
51451 COND_WXUSE_EXPAT_BUILTIN="#"
51452 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51453 COND_WXUSE_EXPAT_BUILTIN=""
51456 COND_WXUSE_LIBJPEG_BUILTIN="#"
51457 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51458 COND_WXUSE_LIBJPEG_BUILTIN=""
51461 COND_WXUSE_LIBPNG_BUILTIN="#"
51462 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51463 COND_WXUSE_LIBPNG_BUILTIN=""
51466 COND_WXUSE_LIBTIFF_BUILTIN="#"
51467 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51468 COND_WXUSE_LIBTIFF_BUILTIN=""
51471 COND_WXUSE_REGEX_BUILTIN="#"
51472 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51473 COND_WXUSE_REGEX_BUILTIN=""
51476 COND_WXUSE_ZLIB_BUILTIN="#"
51477 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51478 COND_WXUSE_ZLIB_BUILTIN=""
51481 COND_wxUSE_EXPAT_builtin="#"
51482 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51483 COND_wxUSE_EXPAT_builtin=""
51486 COND_wxUSE_LIBJPEG_builtin="#"
51487 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51488 COND_wxUSE_LIBJPEG_builtin=""
51491 COND_wxUSE_LIBPNG_builtin="#"
51492 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51493 COND_wxUSE_LIBPNG_builtin=""
51496 COND_wxUSE_LIBTIFF_builtin="#"
51497 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51498 COND_wxUSE_LIBTIFF_builtin=""
51501 COND_wxUSE_REGEX_builtin="#"
51502 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51503 COND_wxUSE_REGEX_builtin=""
51506 COND_wxUSE_ZLIB_builtin="#"
51507 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51508 COND_wxUSE_ZLIB_builtin=""
51513 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51514 { { 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
51515 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;}
51516 { (exit 1); exit 1; }; }
51519 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51520 { { 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
51521 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;}
51522 { (exit 1); exit 1; }; }
51529 ?:* ) # Drive letter, considered as absolute.
51532 INSTALL=`pwd`/${INSTALL} ;;
51535 if test "$wxUSE_GUI" = "yes"; then
51537 if test "$wxUSE_MSW" = 1 ; then
51538 if test "x$WINDRES" = "x"; then
51539 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51540 echo "$as_me: error: Required windres program not found" >&2;}
51541 { (exit 1); exit 1; }; }
51544 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51547 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51548 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51549 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51551 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51553 # Extract the first word of "DeRez", so it can be a program name with args.
51554 set dummy DeRez; ac_word=$2
51555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51557 if test "${ac_cv_prog_DEREZ+set}" = set; then
51558 echo $ECHO_N "(cached) $ECHO_C" >&6
51560 if test -n "$DEREZ"; then
51561 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51564 for as_dir in $PATH
51567 test -z "$as_dir" && as_dir=.
51568 for ac_exec_ext in '' $ac_executable_extensions; do
51569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51570 ac_cv_prog_DEREZ="DeRez"
51571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51578 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51581 DEREZ=$ac_cv_prog_DEREZ
51582 if test -n "$DEREZ"; then
51583 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51584 echo "${ECHO_T}$DEREZ" >&6; }
51586 { echo "$as_me:$LINENO: result: no" >&5
51587 echo "${ECHO_T}no" >&6; }
51592 MACSETFILE="\$(SETFILE)"
51594 if test "$wxUSE_OSX_CARBON" = 1; then
51595 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51597 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51599 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51600 RESCOMP="cat /dev/null \| $REZ"
51601 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51607 if test "$wxUSE_PM" = 1; then
51609 WXCONFIG_RESFLAGS="-ep"
51611 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51613 POSTLINK_COMMAND="@true"
51620 if test $GCC_PCH = 1
51622 if test "$wx_cv_gcc_pch_bug" = yes; then
51623 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51624 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51625 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51626 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51627 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51628 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51631 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51632 # the headers that benefit from precompilation are mostly C++ headers.
51633 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51634 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51635 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51639 if test "$wxUSE_MAC" = 1 ; then
51640 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51641 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51647 if test "$wxUSE_SHARED" = "yes"; then
51649 *-pc-os2_emx | *-pc-os2-emx )
51650 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51651 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51652 cp -p ${srcdir}/src/os2/dllnames.sh .
51653 cp -p ${srcdir}/src/os2/dllar.sh .
51657 if test "$wxUSE_OMF" = "yes"; then
51659 *-pc-os2_emx | *-pc-os2-emx )
51660 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51661 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51662 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51667 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51672 if test "$GCC" = yes; then
51673 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51674 LIBS=`echo $LIBS | sed 's/-mt//'`
51675 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51680 if test "x$SUNCXX" = xyes; then
51681 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51682 LIBS=`echo $LIBS | sed 's/-pthread//'`
51683 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51688 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51689 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51690 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51691 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51693 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51754 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51755 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51756 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51757 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51758 echo $ECHO_N "(cached) $ECHO_C" >&6
51760 cat >conftest.make <<\_ACEOF
51763 @echo '@@@%%%=$(MAKE)=@@@%%%'
51765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51766 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51767 *@@@%%%=?*=@@@%%%*)
51768 eval ac_cv_prog_make_${ac_make}_set=yes;;
51770 eval ac_cv_prog_make_${ac_make}_set=no;;
51772 rm -f conftest.make
51774 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51775 { echo "$as_me:$LINENO: result: yes" >&5
51776 echo "${ECHO_T}yes" >&6; }
51779 { echo "$as_me:$LINENO: result: no" >&5
51780 echo "${ECHO_T}no" >&6; }
51781 SET_MAKE="MAKE=${MAKE-make}"
51786 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51789 if test "$USE_WIN32" = 1; then
51790 ac_config_commands="$ac_config_commands rcdefs.h"
51794 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51797 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51800 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51803 if test "$wx_cv_version_script" = "yes"; then
51804 ac_config_files="$ac_config_files version-script"
51807 ac_config_files="$ac_config_files Makefile"
51810 ac_config_commands="$ac_config_commands wx-config"
51814 if test "$wxWITH_SUBDIRS" != "no"; then
51815 if test "$wxUSE_GUI" = "yes"; then
51816 SUBDIRS="samples demos utils"
51818 SUBDIRS="samples utils"
51823 # Check whether --with-cppunit-prefix was given.
51824 if test "${with_cppunit_prefix+set}" = set; then
51825 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51827 cppunit_config_prefix=""
51831 # Check whether --with-cppunit-exec-prefix was given.
51832 if test "${with_cppunit_exec_prefix+set}" = set; then
51833 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51835 cppunit_config_exec_prefix=""
51839 if test x$cppunit_config_exec_prefix != x ; then
51840 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51841 if test x${CPPUNIT_CONFIG+set} != xset ; then
51842 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51845 if test x$cppunit_config_prefix != x ; then
51846 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51847 if test x${CPPUNIT_CONFIG+set} != xset ; then
51848 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51852 # Extract the first word of "cppunit-config", so it can be a program name with args.
51853 set dummy cppunit-config; ac_word=$2
51854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51856 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51857 echo $ECHO_N "(cached) $ECHO_C" >&6
51859 case $CPPUNIT_CONFIG in
51861 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51865 for as_dir in $PATH
51868 test -z "$as_dir" && as_dir=.
51869 for ac_exec_ext in '' $ac_executable_extensions; do
51870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51871 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51879 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51883 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51884 if test -n "$CPPUNIT_CONFIG"; then
51885 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51886 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51888 { echo "$as_me:$LINENO: result: no" >&5
51889 echo "${ECHO_T}no" >&6; }
51893 cppunit_version_min=1.8.0
51895 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51896 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51898 if test "$CPPUNIT_CONFIG" = "no" ; then
51899 { echo "$as_me:$LINENO: result: no" >&5
51900 echo "${ECHO_T}no" >&6; }
51903 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51904 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51905 cppunit_version=`$CPPUNIT_CONFIG --version`
51907 cppunit_major_version=`echo $cppunit_version | \
51908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51909 cppunit_minor_version=`echo $cppunit_version | \
51910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51911 cppunit_micro_version=`echo $cppunit_version | \
51912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51914 cppunit_major_min=`echo $cppunit_version_min | \
51915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51916 cppunit_minor_min=`echo $cppunit_version_min | \
51917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51918 cppunit_micro_min=`echo $cppunit_version_min | \
51919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51921 cppunit_version_proper=`expr \
51922 $cppunit_major_version \
> $cppunit_major_min \
| \
51923 $cppunit_major_version \
= $cppunit_major_min \
& \
51924 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51925 $cppunit_major_version \
= $cppunit_major_min \
& \
51926 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51927 $cppunit_micro_version \
>= $cppunit_micro_min `
51929 if test "$cppunit_version_proper" = "1" ; then
51930 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51931 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51933 { echo "$as_me:$LINENO: result: no" >&5
51934 echo "${ECHO_T}no" >&6; }
51939 if test "x$no_cppunit" = x ; then
51940 SUBDIRS="$SUBDIRS tests"
51951 for subdir in $SUBDIRS; do
51952 if test -d ${srcdir}/${subdir} ; then
51953 if test "$wxUSE_GUI" = "yes"; then
51954 if test ${subdir} = "samples"; then
51955 makefiles="samples/Makefile.in $makefiles"
51956 for sample in $SAMPLES_SUBDIRS; do
51957 if test -d $srcdir/samples/$sample; then
51958 makefiles="samples/$sample/Makefile.in $makefiles"
51962 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51963 eval "disabled=\$$disabled_var"
51964 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51965 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51968 if test ${subdir} = "samples"; then
51969 makefiles="samples/Makefile.in $makefiles"
51970 for sample in `echo $SAMPLES_SUBDIRS`; do
51971 if test -d $srcdir/samples/$sample; then
51972 makefiles="samples/$sample/Makefile.in $makefiles"
51975 elif test ${subdir} = "utils"; then
51977 for util in ifacecheck ; do
51978 if test -d $srcdir/utils/$util ; then
51979 makefiles="utils/$util/src/Makefile.in \
51984 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51988 for mkin in $makefiles ; do
51989 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51990 ac_config_files="$ac_config_files $mk"
51996 cat >confcache <<\_ACEOF
51997 # This file is a shell script that caches the results of configure
51998 # tests run on this system so they can be shared between configure
51999 # scripts and configure runs, see configure's option --config-cache.
52000 # It is not useful on other systems. If it contains results you don't
52001 # want to keep, you may remove or edit it.
52003 # config.status only pays attention to the cache file if you give it
52004 # the --recheck option to rerun configure.
52006 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52007 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52008 # following values.
52012 # The following way of writing the cache mishandles newlines in values,
52013 # but we know of no workaround that is simple, portable, and efficient.
52014 # So, we kill variables containing newlines.
52015 # Ultrix sh set writes to stderr and can't be redirected directly,
52016 # and sets the high bit in the cache file unless we assign to the vars.
52018 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52019 eval ac_val
=\$
$ac_var
52023 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52024 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52027 _
| IFS
| as_nl
) ;; #(
52028 *) $as_unset $ac_var ;;
52034 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52035 *${as_nl}ac_space
=\
*)
52036 # `set' does not quote correctly, so add quotes (double-quote
52037 # substitution turns \\\\ into \\, and sed turns \\ into \).
52040 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52043 # `set' quotes correctly as required by POSIX, so do not add quotes.
52044 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52053 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52055 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52057 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52058 if test -w "$cache_file"; then
52059 test "x$cache_file" != "x/dev/null" &&
52060 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52061 echo "$as_me: updating cache $cache_file" >&6;}
52062 cat confcache
>$cache_file
52064 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52065 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52070 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52071 # Let make expand exec_prefix.
52072 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52074 DEFS
=-DHAVE_CONFIG_H
52078 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52079 # 1. Remove the extension, and $U if already installed.
52080 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52081 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52082 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52083 # will be set to the directory where LIBOBJS objects are built.
52084 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52085 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52087 LIBOBJS
=$ac_libobjs
52089 LTLIBOBJS
=$ac_ltlibobjs
52093 : ${CONFIG_STATUS=./config.status}
52094 ac_clean_files_save
=$ac_clean_files
52095 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52096 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52097 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52098 cat >$CONFIG_STATUS <<_ACEOF
52100 # Generated by $as_me.
52101 # Run this file to recreate the current configuration.
52102 # Compiler output produced by configure, useful for debugging
52103 # configure, is in config.log if it exists.
52106 ac_cs_recheck=false
52108 SHELL=\${CONFIG_SHELL-$SHELL}
52111 cat >>$CONFIG_STATUS <<\_ACEOF
52112 ## --------------------- ##
52113 ## M4sh Initialization. ##
52114 ## --------------------- ##
52116 # Be more Bourne compatible
52117 DUALCASE
=1; export DUALCASE
# for MKS sh
52118 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52121 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52122 # is contrary to our usage. Disable this feature.
52123 alias -g '${1+"$@"}'='"$@"'
52124 setopt NO_GLOB_SUBST
52126 case `(set -o) 2>/dev/null` in
52127 *posix
*) set -o posix
;;
52136 # Avoid depending upon Character Ranges.
52137 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52138 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52139 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52140 as_cr_digits
='0123456789'
52141 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52143 # The user is always right.
52144 if test "${PATH_SEPARATOR+set}" != set; then
52145 echo "#! /bin/sh" >conf$$.sh
52146 echo "exit 0" >>conf$$.sh
52148 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52156 # Support unset when possible.
52157 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52165 # We need space, tab and new line, in precisely that order. Quoting is
52166 # there to prevent editors from complaining about space-tab.
52167 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52168 # splitting by setting IFS to empty value.)
52173 # Find who we are. Look in the path if we contain no directory separator.
52175 *[\\/]* ) as_myself
=$0 ;;
52176 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52177 for as_dir
in $PATH
52180 test -z "$as_dir" && as_dir
=.
52181 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52187 # We did not find ourselves, most probably we were run as `sh COMMAND'
52188 # in which case we are not to be found in the path.
52189 if test "x$as_myself" = x
; then
52192 if test ! -f "$as_myself"; then
52193 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52194 { (exit 1); exit 1; }
52197 # Work around bugs in pre-3.0 UWIN ksh.
52198 for as_var
in ENV MAIL MAILPATH
52199 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52207 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52208 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52209 LC_TELEPHONE LC_TIME
52211 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52212 eval $as_var=C
; export $as_var
52214 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52218 # Required to use basename.
52219 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52220 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52226 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52227 as_basename
=basename
52233 # Name of the executable.
52234 as_me
=`$as_basename -- "$0" ||
52235 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52236 X"$0" : 'X\(//\)$' \| \
52237 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52239 sed '/^.*\/\([^/][^/]*\)\/*$/{
52258 as_lineno_1
=$LINENO
52259 as_lineno_2
=$LINENO
52260 test "x$as_lineno_1" != "x$as_lineno_2" &&
52261 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52263 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52264 # uniformly replaced by the line number. The first 'sed' inserts a
52265 # line-number line after each line using $LINENO; the second 'sed'
52266 # does the real work. The second script uses 'N' to pair each
52267 # line-number line with the line containing $LINENO, and appends
52268 # trailing '-' during substitution so that $LINENO is not a special
52269 # case at line end.
52270 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52271 # scripts with optimization help from Paolo Bonzini. Blame Lee
52272 # E. McMahon (1931-1989) for sed's syntax. :-)
52284 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52287 ' >$as_me.lineno
&&
52288 chmod +x
"$as_me.lineno" ||
52289 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52290 { (exit 1); exit 1; }; }
52292 # Don't try to exec as it changes $[0], causing all sort of problems
52293 # (the dirname of $[0] is not the place where we might find the
52294 # original and so on. Autoconf is especially sensitive to this).
52295 .
"./$as_me.lineno"
52296 # Exit status is that of the last command.
52301 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52307 ECHO_C
= ECHO_N
= ECHO_T
=
52308 case `echo -n x` in
52310 case `echo 'x\c'` in
52311 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52318 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52319 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52325 rm -f conf$$ conf$$.exe conf$$.
file
52326 if test -d conf$$.dir
; then
52327 rm -f conf$$.dir
/conf$$.
file
52333 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52335 # ... but there are two gotchas:
52336 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52337 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52338 # In both cases, we have to default to `cp -p'.
52339 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52341 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52346 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52347 rmdir conf$$.dir
2>/dev
/null
52349 if mkdir -p .
2>/dev
/null
; then
52352 test -d .
/-p && rmdir .
/-p
52356 if test -x / >/dev
/null
2>&1; then
52357 as_test_x
='test -x'
52359 if ls -dL / >/dev
/null
2>&1; then
52366 if test -d "$1"; then
52372 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52373 ???[sx]*):;;*)false;;esac;fi
52377 as_executable_p
=$as_test_x
52379 # Sed expression to map a string onto a valid CPP name.
52380 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52382 # Sed expression to map a string onto a valid variable name.
52383 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52388 # Save the log message, to keep $[0] and so on meaningful, and to
52389 # report actual input values of CONFIG_FILES etc. instead of their
52390 # values after options handling.
52392 This file was extended by wxWidgets $as_me 2.9.1, which was
52393 generated by GNU Autoconf 2.61. Invocation command line was
52395 CONFIG_FILES = $CONFIG_FILES
52396 CONFIG_HEADERS = $CONFIG_HEADERS
52397 CONFIG_LINKS = $CONFIG_LINKS
52398 CONFIG_COMMANDS = $CONFIG_COMMANDS
52401 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52406 cat >>$CONFIG_STATUS <<_ACEOF
52407 # Files that config.status was made for.
52408 config_files="$ac_config_files"
52409 config_headers="$ac_config_headers"
52410 config_commands="$ac_config_commands"
52414 cat >>$CONFIG_STATUS <<\_ACEOF
52416 \`$as_me' instantiates files from templates according to the
52417 current configuration.
52419 Usage: $0 [OPTIONS] [FILE]...
52421 -h, --help print this help, then exit
52422 -V, --version print version number and configuration settings, then exit
52423 -q, --quiet do not print progress messages
52424 -d, --debug don't remove temporary files
52425 --recheck update $as_me by reconfiguring in the same conditions
52426 --file=FILE[:TEMPLATE]
52427 instantiate the configuration file FILE
52428 --header=FILE[:TEMPLATE]
52429 instantiate the configuration header FILE
52431 Configuration files:
52434 Configuration headers:
52437 Configuration commands:
52440 Report bugs to <bug-autoconf@gnu.org>."
52443 cat >>$CONFIG_STATUS <<_ACEOF
52445 wxWidgets config.status 2.9.1
52446 configured by $0, generated by GNU Autoconf 2.61,
52447 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52449 Copyright (C) 2006 Free Software Foundation, Inc.
52450 This config.status script is free software; the Free Software Foundation
52451 gives unlimited permission to copy, distribute and modify it."
52458 cat >>$CONFIG_STATUS <<\_ACEOF
52459 # If no file are specified by the user, then we need to provide default
52460 # value. By we need to know if files were specified by the user.
52466 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52467 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52478 # Handling of the options.
52479 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52481 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52482 echo "$ac_cs_version"; exit ;;
52483 --debug | --debu | --deb | --de | --d | -d )
52485 --file | --fil | --fi | --f )
52487 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52488 ac_need_defaults
=false
;;
52489 --header | --heade | --head | --hea )
52491 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52492 ac_need_defaults
=false
;;
52494 # Conflict between --help and --header
52495 { echo "$as_me: error: ambiguous option: $1
52496 Try \`$0 --help' for more information." >&2
52497 { (exit 1); exit 1; }; };;
52498 --help | --hel | -h )
52499 echo "$ac_cs_usage"; exit ;;
52500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52501 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52504 # This is an error.
52505 -*) { echo "$as_me: error: unrecognized option: $1
52506 Try \`$0 --help' for more information." >&2
52507 { (exit 1); exit 1; }; } ;;
52509 *) ac_config_targets
="$ac_config_targets $1"
52510 ac_need_defaults
=false
;;
52516 ac_configure_extra_args
=
52518 if $ac_cs_silent; then
52520 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52524 cat >>$CONFIG_STATUS <<_ACEOF
52525 if \$ac_cs_recheck; then
52526 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52527 CONFIG_SHELL=$SHELL
52528 export CONFIG_SHELL
52529 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52533 cat >>$CONFIG_STATUS <<\_ACEOF
52537 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52538 ## Running $as_me. ##
52544 cat >>$CONFIG_STATUS <<_ACEOF
52550 infile="$srcdir/include/wx/msw/genrcdefs.h"
52551 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52554 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52555 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52556 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52562 cat >>$CONFIG_STATUS <<\_ACEOF
52564 # Handling of arguments.
52565 for ac_config_target
in $ac_config_targets
52567 case $ac_config_target in
52568 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52569 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52570 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52571 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52572 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52573 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52574 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52575 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52576 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52578 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52579 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52580 { (exit 1); exit 1; }; };;
52585 # If the user did not use the arguments to specify the items to instantiate,
52586 # then the envvar interface is used. Set only those that are not.
52587 # We use the long form for the default assignment because of an extremely
52588 # bizarre bug on SunOS 4.1.3.
52589 if $ac_need_defaults; then
52590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52592 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52595 # Have a temporary directory for convenience. Make it in the build tree
52596 # simply because there is no reason against having it here, and in addition,
52597 # creating and moving files from /tmp can sometimes cause problems.
52598 # Hook for its removal unless debugging.
52599 # Note that there is a small window in which the directory will not be cleaned:
52600 # after its creation but before its name has been assigned to `$tmp'.
52604 trap 'exit_status=$?
52605 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52607 trap '{ (exit 1); exit 1; }' 1 2 13 15
52609 # Create a (secure) tmp directory for tmp files.
52612 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52613 test -n "$tmp" && test -d "$tmp"
52616 tmp
=.
/conf$$
-$RANDOM
52617 (umask 077 && mkdir "$tmp")
52620 echo "$me: cannot create a temporary directory in ." >&2
52621 { (exit 1); exit 1; }
52625 # Set up the sed scripts for CONFIG_FILES section.
52628 # No need to generate the scripts if there are no CONFIG_FILES.
52629 # This happens for instance when ./config.status config.h
52630 if test -n "$CONFIG_FILES"; then
52637 for ac_last_try
in false false false false false
:; do
52638 cat >conf$
$subs.
sed <<_ACEOF
52639 SHELL!$SHELL$ac_delim
52640 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52641 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52642 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52643 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52644 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52645 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52646 exec_prefix!$exec_prefix$ac_delim
52647 prefix!$prefix$ac_delim
52648 program_transform_name!$program_transform_name$ac_delim
52649 bindir!$bindir$ac_delim
52650 sbindir!$sbindir$ac_delim
52651 libexecdir!$libexecdir$ac_delim
52652 datarootdir!$datarootdir$ac_delim
52653 datadir!$datadir$ac_delim
52654 sysconfdir!$sysconfdir$ac_delim
52655 sharedstatedir!$sharedstatedir$ac_delim
52656 localstatedir!$localstatedir$ac_delim
52657 includedir!$includedir$ac_delim
52658 oldincludedir!$oldincludedir$ac_delim
52659 docdir!$docdir$ac_delim
52660 infodir!$infodir$ac_delim
52661 htmldir!$htmldir$ac_delim
52662 dvidir!$dvidir$ac_delim
52663 pdfdir!$pdfdir$ac_delim
52664 psdir!$psdir$ac_delim
52665 libdir!$libdir$ac_delim
52666 localedir!$localedir$ac_delim
52667 mandir!$mandir$ac_delim
52668 DEFS!$DEFS$ac_delim
52669 ECHO_C!$ECHO_C$ac_delim
52670 ECHO_N!$ECHO_N$ac_delim
52671 ECHO_T!$ECHO_T$ac_delim
52672 LIBS!$LIBS$ac_delim
52673 build_alias!$build_alias$ac_delim
52674 host_alias!$host_alias$ac_delim
52675 target_alias!$target_alias$ac_delim
52676 build!$build$ac_delim
52677 build_cpu!$build_cpu$ac_delim
52678 build_vendor!$build_vendor$ac_delim
52679 build_os!$build_os$ac_delim
52680 host!$host$ac_delim
52681 host_cpu!$host_cpu$ac_delim
52682 host_vendor!$host_vendor$ac_delim
52683 host_os!$host_os$ac_delim
52684 wx_top_builddir!$wx_top_builddir$ac_delim
52686 CFLAGS!$CFLAGS$ac_delim
52687 LDFLAGS!$LDFLAGS$ac_delim
52688 CPPFLAGS!$CPPFLAGS$ac_delim
52689 ac_ct_CC!$ac_ct_CC$ac_delim
52690 EXEEXT!$EXEEXT$ac_delim
52691 OBJEXT!$OBJEXT$ac_delim
52693 GREP!$GREP$ac_delim
52694 EGREP!$EGREP$ac_delim
52696 CXXFLAGS!$CXXFLAGS$ac_delim
52697 ac_ct_CXX!$ac_ct_CXX$ac_delim
52699 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52700 subdirs!$subdirs$ac_delim
52701 PKG_CONFIG!$PKG_CONFIG$ac_delim
52702 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52703 GTK_LIBS!$GTK_LIBS$ac_delim
52704 GTK_CONFIG!$GTK_CONFIG$ac_delim
52705 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52706 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52707 XMKMF!$XMKMF$ac_delim
52708 X_CFLAGS!$X_CFLAGS$ac_delim
52709 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52710 X_LIBS!$X_LIBS$ac_delim
52711 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52712 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52713 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52714 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52715 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52716 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52717 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52718 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52719 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52720 LIBICONV!$LIBICONV$ac_delim
52721 GXX_VERSION!$GXX_VERSION$ac_delim
52722 SDL_CONFIG!$SDL_CONFIG$ac_delim
52723 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52724 SDL_LIBS!$SDL_LIBS$ac_delim
52725 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52726 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52727 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52728 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52729 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52730 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52731 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52732 HILDON_LIBS!$HILDON_LIBS$ac_delim
52733 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52734 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52735 PYTHON!$PYTHON$ac_delim
52738 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52740 elif $ac_last_try; then
52741 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52742 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52743 { (exit 1); exit 1; }; }
52745 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52749 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52750 if test -n "$ac_eof"; then
52751 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52752 ac_eof
=`expr $ac_eof + 1`
52755 cat >>$CONFIG_STATUS <<_ACEOF
52756 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52760 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52761 s/^/s,@/; s/!/@,|#_!!_#|/
52764 s/'"$ac_delim"'$/,g/; t
52766 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52767 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52768 rm -f conf$
$subs.
sed
52769 cat >>$CONFIG_STATUS <<_ACEOF
52775 for ac_last_try
in false false false false false
:; do
52776 cat >conf$
$subs.
sed <<_ACEOF
52777 COND_PYTHON!$COND_PYTHON$ac_delim
52778 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52779 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52780 GST_CFLAGS!$GST_CFLAGS$ac_delim
52781 GST_LIBS!$GST_LIBS$ac_delim
52782 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52783 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52784 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52785 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52786 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52787 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52788 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52789 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52790 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52791 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52792 VENDOR!$VENDOR$ac_delim
52793 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52794 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52795 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52796 WXUNIV!$WXUNIV$ac_delim
52797 MONOLITHIC!$MONOLITHIC$ac_delim
52798 USE_PLUGINS!$USE_PLUGINS$ac_delim
52799 CXXWARNINGS!$CXXWARNINGS$ac_delim
52800 EXTRALIBS!$EXTRALIBS$ac_delim
52801 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52802 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52803 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52804 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52805 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52806 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52807 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52808 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52809 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52810 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52811 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52812 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52813 UNICODE!$UNICODE$ac_delim
52814 DEBUG_INFO!$DEBUG_INFO$ac_delim
52815 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52816 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52817 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52818 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52819 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52820 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52821 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52822 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52823 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52824 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52825 RANLIB!$RANLIB$ac_delim
52826 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52827 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52828 INSTALL_DATA!$INSTALL_DATA$ac_delim
52829 LN_S!$LN_S$ac_delim
52830 SET_MAKE!$SET_MAKE$ac_delim
52831 MAKE_SET!$MAKE_SET$ac_delim
52832 AROPTIONS!$AROPTIONS$ac_delim
52833 STRIP!$STRIP$ac_delim
52835 INSTALL_DIR!$INSTALL_DIR$ac_delim
52836 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52837 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52838 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52839 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52840 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52841 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52842 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52843 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52844 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52845 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52846 SO_SUFFIX!$SO_SUFFIX$ac_delim
52847 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52848 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52849 LIBPREFIX!$LIBPREFIX$ac_delim
52850 LIBEXT!$LIBEXT$ac_delim
52851 DLLPREFIX!$DLLPREFIX$ac_delim
52852 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52853 dlldir!$dlldir$ac_delim
52854 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52855 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52856 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52857 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52858 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52859 PIC_FLAG!$PIC_FLAG$ac_delim
52860 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52861 USE_SOVERSION!$USE_SOVERSION$ac_delim
52862 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52863 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52864 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52865 USE_MACVERSION!$USE_MACVERSION$ac_delim
52866 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52867 SONAME_FLAG!$SONAME_FLAG$ac_delim
52868 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52869 BK_DEPS!$BK_DEPS$ac_delim
52870 WINDRES!$WINDRES$ac_delim
52872 SETFILE!$SETFILE$ac_delim
52873 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52876 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52878 elif $ac_last_try; then
52879 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52880 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52881 { (exit 1); exit 1; }; }
52883 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52887 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52888 if test -n "$ac_eof"; then
52889 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52890 ac_eof
=`expr $ac_eof + 1`
52893 cat >>$CONFIG_STATUS <<_ACEOF
52894 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52898 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52899 s/^/s,@/; s/!/@,|#_!!_#|/
52902 s/'"$ac_delim"'$/,g/; t
52904 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52905 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52906 rm -f conf$
$subs.
sed
52907 cat >>$CONFIG_STATUS <<_ACEOF
52913 for ac_last_try
in false false false false false
:; do
52914 cat >conf$
$subs.
sed <<_ACEOF
52915 GCC_PCH!$GCC_PCH$ac_delim
52916 ICC_PCH!$ICC_PCH$ac_delim
52917 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52918 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52919 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52920 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52921 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52922 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52923 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52924 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52925 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52926 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52927 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52928 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52929 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52930 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52931 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52932 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52933 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52934 COND_BUILD_release!$COND_BUILD_release$ac_delim
52935 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52936 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52937 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52938 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52939 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52940 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52941 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52942 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52943 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52944 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52945 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52946 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52947 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52948 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52949 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52950 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52951 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52953 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52954 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52955 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52956 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52957 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52958 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52959 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52964 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52965 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52966 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52967 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52968 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52969 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52970 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52971 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52972 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52973 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52974 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52975 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52976 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52977 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52978 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52979 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52980 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52981 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52982 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52983 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52984 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52985 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52986 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52987 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52988 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52989 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52990 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52991 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
52992 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52993 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
52994 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52995 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52996 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52997 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52998 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52999 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53000 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53001 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53002 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53003 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53004 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53005 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53006 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53007 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53008 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53009 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53010 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53011 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53014 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53016 elif $ac_last_try; then
53017 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53018 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53019 { (exit 1); exit 1; }; }
53021 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53025 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53026 if test -n "$ac_eof"; then
53027 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53028 ac_eof
=`expr $ac_eof + 1`
53031 cat >>$CONFIG_STATUS <<_ACEOF
53032 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53033 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53036 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53037 s/^/s,@/; s/!/@,|#_!!_#|/
53040 s/'"$ac_delim"'$/,g/; t
53042 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53043 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53044 rm -f conf$
$subs.
sed
53045 cat >>$CONFIG_STATUS <<_ACEOF
53051 for ac_last_try
in false false false false false
:; do
53052 cat >conf$
$subs.
sed <<_ACEOF
53053 COND_SHARED_0!$COND_SHARED_0$ac_delim
53054 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53055 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53056 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53057 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53058 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53059 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53060 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53061 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53062 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53063 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53064 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53065 COND_SHARED_1!$COND_SHARED_1$ac_delim
53066 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53067 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53068 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53069 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53070 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53071 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53072 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53073 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53075 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53076 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53078 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53080 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53081 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53082 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53083 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53084 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53085 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53086 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53087 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53088 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53089 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53090 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53091 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53092 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53093 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53094 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53095 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53096 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53097 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53098 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53099 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53100 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53101 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53102 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53103 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53104 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53105 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53106 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53107 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53108 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53109 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53110 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53111 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53112 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53113 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53114 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53115 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53116 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53117 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53118 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53119 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53120 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53121 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53122 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53123 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53124 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53125 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53126 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53127 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53128 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53129 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53130 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53131 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53132 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53133 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53134 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53135 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53136 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53137 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53138 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53139 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53140 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53141 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53142 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53143 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53144 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53145 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53146 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53147 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53148 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53149 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53152 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53154 elif $ac_last_try; then
53155 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53156 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53157 { (exit 1); exit 1; }; }
53159 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53163 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53164 if test -n "$ac_eof"; then
53165 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53166 ac_eof
=`expr $ac_eof + 1`
53169 cat >>$CONFIG_STATUS <<_ACEOF
53170 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53171 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53174 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53175 s/^/s,@/; s/!/@,|#_!!_#|/
53178 s/'"$ac_delim"'$/,g/; t
53180 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53181 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53182 rm -f conf$
$subs.
sed
53183 cat >>$CONFIG_STATUS <<_ACEOF
53189 for ac_last_try
in false false false false false
:; do
53190 cat >conf$
$subs.
sed <<_ACEOF
53191 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53192 DEREZ!$DEREZ$ac_delim
53193 SHARED!$SHARED$ac_delim
53194 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53195 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53196 USE_GUI!$USE_GUI$ac_delim
53197 AFMINSTALL!$AFMINSTALL$ac_delim
53198 WIN32INSTALL!$WIN32INSTALL$ac_delim
53199 TOOLKIT!$TOOLKIT$ac_delim
53200 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53201 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53202 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53203 cross_compiling!$cross_compiling$ac_delim
53204 WIDGET_SET!$WIDGET_SET$ac_delim
53205 WX_RELEASE!$WX_RELEASE$ac_delim
53206 WX_VERSION!$WX_VERSION$ac_delim
53207 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53208 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53209 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53210 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53211 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53212 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53213 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53214 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53215 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53216 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53217 GUIDIST!$GUIDIST$ac_delim
53218 DISTDIR!$DISTDIR$ac_delim
53219 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53220 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53221 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53222 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53223 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53224 RESCOMP!$RESCOMP$ac_delim
53225 RESFLAGS!$RESFLAGS$ac_delim
53226 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53227 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53228 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53229 LIBWXMACRES!$LIBWXMACRES$ac_delim
53230 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53231 MACSETFILE!$MACSETFILE$ac_delim
53233 DLLTOOL!$DLLTOOL$ac_delim
53234 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53235 LIBOBJS!$LIBOBJS$ac_delim
53236 LTLIBOBJS!$LTLIBOBJS$ac_delim
53239 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53241 elif $ac_last_try; then
53242 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53243 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53244 { (exit 1); exit 1; }; }
53246 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53250 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53251 if test -n "$ac_eof"; then
53252 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53253 ac_eof
=`expr $ac_eof + 1`
53256 cat >>$CONFIG_STATUS <<_ACEOF
53257 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53261 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53262 s/^/s,@/; s/!/@,|#_!!_#|/
53265 s/'"$ac_delim"'$/,g/; t
53267 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53268 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53269 rm -f conf$
$subs.
sed
53270 cat >>$CONFIG_STATUS <<_ACEOF
53277 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53278 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53279 # trailing colons and then remove the whole line if VPATH becomes empty
53280 # (actually we leave an empty line to preserve line numbers).
53281 if test "x$srcdir" = x.
; then
53282 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53283 s/:*\$(srcdir):*/:/
53284 s/:*\${srcdir}:*/:/
53286 s/^\([^=]*=[ ]*\):*/\1/
53292 cat >>$CONFIG_STATUS <<\_ACEOF
53293 fi # test -n "$CONFIG_FILES"
53296 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53299 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53301 case $ac_mode$ac_tag in
53303 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53304 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53305 { (exit 1); exit 1; }; };;
53306 :[FH
]-) ac_tag
=-:-;;
53307 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53324 -) ac_f
="$tmp/stdin";;
53325 *) # Look for the file first in the build tree, then in the source tree
53326 # (if the path is not absolute). The absolute path cannot be DOS-style,
53327 # because $ac_f cannot contain `:'.
53331 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53333 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53334 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53335 { (exit 1); exit 1; }; };;
53337 ac_file_inputs
="$ac_file_inputs $ac_f"
53340 # Let's still pretend it is `configure' which instantiates (i.e., don't
53341 # use $as_me), people would be surprised to read:
53342 # /* config.h. Generated by config.status. */
53343 configure_input
="Generated from "`IFS=:
53344 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53345 if test x
"$ac_file" != x
-; then
53346 configure_input
="$ac_file. $configure_input"
53347 { echo "$as_me:$LINENO: creating $ac_file" >&5
53348 echo "$as_me: creating $ac_file" >&6;}
53352 *:-:* | *:-) cat >"$tmp/stdin";;
53357 ac_dir
=`$as_dirname -- "$ac_file" ||
53358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53359 X"$ac_file" : 'X\(//\)[^/]' \| \
53360 X"$ac_file" : 'X\(//\)$' \| \
53361 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53367 /^X\(\/\/\)[^/].*/{
53382 -*) as_dir
=.
/$as_dir;;
53384 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53388 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53389 *) as_qdir
=$as_dir;;
53391 as_dirs
="'$as_qdir' $as_dirs"
53392 as_dir
=`$as_dirname -- "$as_dir" ||
53393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53394 X"$as_dir" : 'X\(//\)[^/]' \| \
53395 X"$as_dir" : 'X\(//\)$' \| \
53396 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53402 /^X\(\/\/\)[^/].*/{
53415 test -d "$as_dir" && break
53417 test -z "$as_dirs" || eval "mkdir $as_dirs"
53418 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53419 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53420 { (exit 1); exit 1; }; }; }
53424 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53426 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53427 # A ".." for each directory in $ac_dir_suffix.
53428 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53429 case $ac_top_builddir_sub in
53430 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53431 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53434 ac_abs_top_builddir
=$ac_pwd
53435 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53436 # for backward compatibility:
53437 ac_top_builddir
=$ac_top_build_prefix
53440 .
) # We are building in place.
53442 ac_top_srcdir
=$ac_top_builddir_sub
53443 ac_abs_top_srcdir
=$ac_pwd ;;
53444 [\\/]* | ?
:[\\/]* ) # Absolute name.
53445 ac_srcdir
=$srcdir$ac_dir_suffix;
53446 ac_top_srcdir
=$srcdir
53447 ac_abs_top_srcdir
=$srcdir ;;
53448 *) # Relative name.
53449 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53450 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53451 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53453 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53463 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53464 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53468 cat >>$CONFIG_STATUS <<\_ACEOF
53469 # If the template does not know about datarootdir, expand it.
53470 # FIXME: This hack should be removed a few years after 2.60.
53471 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53473 case `sed -n '/datarootdir/ {
53482 ' $ac_file_inputs` in
53483 *datarootdir
*) ac_datarootdir_seen
=yes;;
53484 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53485 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53486 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53488 cat >>$CONFIG_STATUS <<_ACEOF
53489 ac_datarootdir_hack='
53490 s&@datadir@&$datadir&g
53491 s&@docdir@&$docdir&g
53492 s&@infodir@&$infodir&g
53493 s&@localedir@&$localedir&g
53494 s&@mandir@&$mandir&g
53495 s&\\\${datarootdir}&$datarootdir&g' ;;
53499 # Neutralize VPATH when `$srcdir' = `.'.
53500 # Shell code in configure.ac might set extrasub.
53501 # FIXME: do we really want to maintain this feature?
53502 cat >>$CONFIG_STATUS <<_ACEOF
53506 cat >>$CONFIG_STATUS <<\_ACEOF
53508 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53509 s
&@configure_input@
&$configure_input&;t t
53510 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53511 s
&@srcdir@
&$ac_srcdir&;t t
53512 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53513 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53514 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53515 s
&@builddir@
&$ac_builddir&;t t
53516 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53517 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53518 s
&@INSTALL@
&$ac_INSTALL&;t t
53519 $ac_datarootdir_hack
53520 " $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
53522 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53523 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53524 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53525 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53526 which seems to be undefined. Please make sure it is defined." >&5
53527 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53528 which seems to be undefined. Please make sure it is defined." >&2;}
53532 -) cat "$tmp/out"; rm -f "$tmp/out";;
53533 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53542 # Transform confdefs.h into a sed script `conftest.defines', that
53543 # substitutes the proper values into config.h.in to produce config.h.
53544 rm -f conftest.defines conftest.
tail
53545 # First, append a space to every undef/define line, to ease matching.
53546 echo 's/$/ /' >conftest.defines
53547 # Then, protect against being on the right side of a sed subst, or in
53548 # an unquoted here document, in config.status. If some macros were
53549 # called several times there might be several #defines for the same
53550 # symbol, which is useless. But do not sort them, since the last
53551 # AC_DEFINE must be honored.
53552 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53553 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53554 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53555 # PARAMS is the parameter list in the macro definition--in most cases, it's
53556 # just an empty string.
53557 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53558 ac_dB
='\\)[ (].*,\\1define\\2'
53566 s/^[ ]*#[ ]*define[ ][ ]*//
53571 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53572 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53573 ' >>conftest.defines
53575 # Remove the space that was appended to ease matching.
53576 # Then replace #undef with comments. This is necessary, for
53577 # example, in the case of _POSIX_SOURCE, which is predefined and required
53578 # on some systems where configure will not decide to define it.
53579 # (The regexp can be short, since the line contains either #define or #undef.)
53581 s,^[ #]*u.*,/* & */,' >>conftest.defines
53583 # Break up conftest.defines:
53584 ac_max_sed_lines
=50
53586 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53587 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53588 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53590 ac_in
='$ac_file_inputs'
53591 ac_out
='"$tmp/out1"'
53592 ac_nxt
='"$tmp/out2"'
53596 # Write a here document:
53597 cat >>$CONFIG_STATUS <<_ACEOF
53598 # First, check the format of the line:
53599 cat >"\$tmp/defines.sed" <<\\CEOF
53600 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53601 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53605 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53607 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53608 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53609 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53610 grep . conftest.
tail >/dev
/null
|| break
53611 rm -f conftest.defines
53612 mv conftest.
tail conftest.defines
53614 rm -f conftest.defines conftest.
tail
53616 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53617 cat >>$CONFIG_STATUS <<\_ACEOF
53618 if test x
"$ac_file" != x
-; then
53619 echo "/* $configure_input */" >"$tmp/config.h"
53620 cat "$ac_result" >>"$tmp/config.h"
53621 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53622 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53623 echo "$as_me: $ac_file is unchanged" >&6;}
53626 mv "$tmp/config.h" $ac_file
53629 echo "/* $configure_input */"
53635 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53636 echo "$as_me: executing $ac_file commands" >&6;}
53641 case $ac_file$ac_mode in
53643 mkdir -p $outdir &&
53644 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53646 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53647 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53648 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53649 "wx-config":C
) rm -f wx
-config
53650 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53657 { (exit 0); exit 0; }
53659 chmod +x
$CONFIG_STATUS
53660 ac_clean_files
=$ac_clean_files_save
53663 # configure is writing to config.log, and then calls config.status.
53664 # config.status does its own redirection, appending to config.log.
53665 # Unfortunately, on DOS this fails, as config.log is still kept open
53666 # by configure, so config.status won't be able to write to it; its
53667 # output is simply discarded. So we exec the FD to /dev/null,
53668 # effectively closing config.log, so it can be properly (re)opened and
53669 # appended to by config.status. When coming back to configure, we
53670 # need to make the FD available again.
53671 if test "$no_create" != yes; then
53673 ac_config_status_args
=
53674 test "$silent" = yes &&
53675 ac_config_status_args
="$ac_config_status_args --quiet"
53677 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53679 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53680 # would make configure fail if this is the last instruction.
53681 $ac_cs_success || { (exit 1); exit 1; }
53685 # CONFIG_SUBDIRS section.
53687 if test "$no_recursion" != yes; then
53689 # Remove --cache-file and --srcdir arguments so they do not pile up.
53690 ac_sub_configure_args
=
53692 eval "set x $ac_configure_args"
53696 if test -n "$ac_prev"; then
53701 -cache-file | --cache-file | --cache-fil | --cache-fi \
53702 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53703 ac_prev
=cache_file
;;
53704 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53705 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53708 --config-cache | -C)
53710 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53712 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53714 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53716 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53720 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53722 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53726 # Always prepend --prefix to ensure using the same prefix
53727 # in subdir configurations.
53728 ac_arg
="--prefix=$prefix"
53730 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53732 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53735 if test "$silent" = yes; then
53736 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53740 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53742 # Do not complain, so a configure script can configure whichever
53743 # parts of a large source tree are present.
53744 test -d "$srcdir/$ac_dir" || continue
53746 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53747 echo "$as_me:$LINENO: $ac_msg" >&5
53751 -*) as_dir
=.
/$as_dir;;
53753 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53757 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53758 *) as_qdir
=$as_dir;;
53760 as_dirs
="'$as_qdir' $as_dirs"
53761 as_dir
=`$as_dirname -- "$as_dir" ||
53762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53763 X"$as_dir" : 'X\(//\)[^/]' \| \
53764 X"$as_dir" : 'X\(//\)$' \| \
53765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53771 /^X\(\/\/\)[^/].*/{
53784 test -d "$as_dir" && break
53786 test -z "$as_dirs" || eval "mkdir $as_dirs"
53787 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53788 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53789 { (exit 1); exit 1; }; }; }
53793 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53795 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53796 # A ".." for each directory in $ac_dir_suffix.
53797 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53798 case $ac_top_builddir_sub in
53799 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53800 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53803 ac_abs_top_builddir
=$ac_pwd
53804 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53805 # for backward compatibility:
53806 ac_top_builddir
=$ac_top_build_prefix
53809 .
) # We are building in place.
53811 ac_top_srcdir
=$ac_top_builddir_sub
53812 ac_abs_top_srcdir
=$ac_pwd ;;
53813 [\\/]* | ?
:[\\/]* ) # Absolute name.
53814 ac_srcdir
=$srcdir$ac_dir_suffix;
53815 ac_top_srcdir
=$srcdir
53816 ac_abs_top_srcdir
=$srcdir ;;
53817 *) # Relative name.
53818 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53819 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53820 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53822 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53827 # Check for guested configure; otherwise get Cygnus style configure.
53828 if test -f "$ac_srcdir/configure.gnu"; then
53829 ac_sub_configure
=$ac_srcdir/configure.gnu
53830 elif test -f "$ac_srcdir/configure"; then
53831 ac_sub_configure
=$ac_srcdir/configure
53832 elif test -f "$ac_srcdir/configure.in"; then
53833 # This should be Cygnus configure.
53834 ac_sub_configure
=$ac_aux_dir/configure
53836 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53837 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53841 # The recursion is here.
53842 if test -n "$ac_sub_configure"; then
53843 # Make the cache file name correct relative to the subdirectory.
53844 case $cache_file in
53845 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53846 *) # Relative name.
53847 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53850 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53851 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53852 # The eval makes quoting arguments work.
53853 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53854 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53855 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53856 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53857 { (exit 1); exit 1; }; }
53866 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53868 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53869 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53870 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53871 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53872 if test "$wxUSE_UNICODE" = "yes"; then
53873 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53874 echo " (using UTF-8)"
53876 echo " (using wchar_t)"
53882 echo " What level of wxWidgets compatibility should be enabled?"
53883 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53884 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53886 echo " Which libraries should wxWidgets use?"
53887 echo " STL ${wxUSE_STL}"
53888 echo " jpeg ${wxUSE_LIBJPEG-none}"
53889 echo " png ${wxUSE_LIBPNG-none}"
53890 echo " regex ${wxUSE_REGEX}"
53891 echo " tiff ${wxUSE_LIBTIFF-none}"
53892 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53893 echo " xpm ${wxUSE_LIBXPM-none}"
53895 echo " zlib ${wxUSE_ZLIB}"
53896 echo " expat ${wxUSE_EXPAT}"
53897 echo " libmspack ${wxUSE_LIBMSPACK}"
53898 echo " sdl ${wxUSE_LIBSDL}"